+++ /dev/null
-# Defaults for cacert-gigi initscript
-# sourced by /etc/init.d/cacert-gigi
-# installed at /etc/default/cacert-gigi by the maintainer scripts
-
-#
-# This is a POSIX shell fragment
-#
-
-# Additional options that are passed to the Daemon.
-DAEMON_OPTS=""
--- /dev/null
+debian/gigi.1
-cacert-gigi (0.1-1) unstable; urgency=low
+cacert-gigi (0.1) unstable; urgency=low
- * Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
+ * Initial Release
- -- unknown <software@cacert.org> Thu, 25 Sep 2014 03:19:20 +0200
+ -- CAcert Software Team <cacert-devel@cacert.org> Thu, 25 Sep 2014 03:19:20 +0200
+++ /dev/null
-#!/bin/sh
-
-set -e
-
-# source debconf stuff
-. /usr/share/debconf/confmodule
-# source dbconfig-common shell library, and call the hook function
-#if [ -f /usr/share/dbconfig-common/dpkg/config.mysql ]; then
-# . /usr/share/dbconfig-common/dpkg/config.mysql
-# dbc_go cacert-gigi $@
-#fi
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: cacert-gigi
-Source: <url://example.com>
+Upstream-Name: gigi
+Source: <https://github.com/CAcertOrg/cacert-gigi>
Files: *
-Copyright: <years> <put author's name and email here>
- <years> <likewise for another author>
-License: <special license>
- <Put the license of the package here indented by 1 space>
- <This follows the format of Description: lines in control file>
- .
- <Including paragraphs>
+Copyright: 2014 CAcert Software Team <cacert-devel@cacert.org>
+License: GPL-2.0+
-# If you want to use GPL v2 or later for the /debian/* files use
-# the following clauses, or change it to suit. Delete these two lines
Files: debian/*
-Copyright: 2014 unknown <software@cacert.org>
-License: GPL-2+
+Copyright: 2014 CAcert Software Team <cacert-devel@cacert.org>
+License: GPL-2.0+
+
+License: GPL-2.0+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
-
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
-# Please avoid to pick license terms that are more restrictive than the
-# packaged work, as it may make Debian's contributions unacceptable upstream.
;;
esac
-#. /usr/share/debconf/confmodule
-#. /usr/share/dbconfig-common/dpkg/postinst.mysql
-
-# you can set the default database encoding to something else
-#dbc_mysql_createdb_encoding="UTF8"
-#dbc_generate_include=sh:/etc/cacert-gigi/debian-db.sh
-#dbc_go cacert-gigi $@
+if [ -f /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+fi
gigi fetch-locales
+++ /dev/null
-#!/bin/sh
-# postrm script for cacert-gigi
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <postrm> `remove'
-# * <postrm> `purge'
-# * <old-postrm> `upgrade' <new-version>
-# * <new-postrm> `failed-upgrade' <old-version>
-# * <new-postrm> `abort-install'
-# * <new-postrm> `abort-install' <old-version>
-# * <new-postrm> `abort-upgrade' <old-version>
-# * <disappearer's-postrm> `disappear' <overwriter>
-# <overwriter-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
- purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#if [ -f /usr/share/debconf/confmodule ]; then
-# . /usr/share/debconf/confmodule
-#fi
-#if [ -f /usr/share/dbconfig-common/dpkg/postrm.mysql ]; then
-# . /usr/share/dbconfig-common/dpkg/postrm.mysql
-# dbc_go cacert-gigi $@
-#fi
-
-
-#if [ "$1" = "purge" ]; then
-# rm -f /etc/cacert-gigi/debian-db.sh
-# if which ucf >/dev/null 2>&1; then
-# ucf --purge /etc/cacert-gigi/debian-db.sh
-# ucfr --purge cacert-gigi /etc/cacert-gigi/debian-db.sh
-# fi
-#fi
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
+++ /dev/null
-#!/bin/sh
-# prerm script for cacert-gigi
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-# * <prerm> `remove'
-# * <old-prerm> `upgrade' <new-version>
-# * <new-prerm> `failed-upgrade' <old-version>
-# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-# * <deconfigured's-prerm> `deconfigure' `in-favour'
-# <package-being-installed> <version> `removing'
-# <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-#. /usr/share/debconf/confmodule
-#. /usr/share/dbconfig-common/dpkg/prerm.mysql
-#dbc_go cacert-gigi $@
-
-
-case "$1" in
- remove)
- ;;
-
- upgrade|deconfigure)
- ;;
-
- failed-upgrade)
- ;;
-
- *)
- echo "prerm called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-
-#DEBHELPER#
-
-exit 0
override_dh_auto_clean:
echo i dont clean
+override_dh_installinit:
+ dh_installinit --name=cacert-gigi
+ dh_installinit --name=cacert-gigi-signer
-binary:
- dh_testdir
- dh_testroot
+override_dh_auto_build: build
+
+override_dh_auto_install:
DESTDIR=debian/cacert-gigi ant install
DESTDIR=debian/cacert-gigi-setuid ant install-native
+
+binarya:
+ dh_testdir
+ dh_testroot
dh_installman debian/gigi.1
dh_installdebconf
dh_installchangelogs
dh_installinit --name=cacert-gigi
dh_installinit --name=cacert-gigi-signer
+ dh_installdocs
+ dh_strip
dh_shlibdeps
dh_compress
dh_fixperms