Initial release of nirgal-keyring
authorJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sat, 5 Apr 2008 16:50:30 +0000 (16:50 +0000)
committerJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sat, 5 Apr 2008 16:50:30 +0000 (16:50 +0000)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/postinst [new file with mode: 0644]
debian/prerm [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..b845eda
--- /dev/null
@@ -0,0 +1,5 @@
+nirgal-keyring (1.0) unstable; urgency=low
+
+  * Initial release
+
+ -- Jean-Michel Vourgère <jmv_deb@nirgal.com>  Sat, 05 Apr 2008 15:45:45 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..886cce3
--- /dev/null
@@ -0,0 +1,13 @@
+Source: nirgal-keyring
+Section: misc
+Priority: optional
+Maintainer: Jean-Michel Vourgère <jmv_deb@nirgal.com>
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.7.3
+
+Package: nirgal-keyring
+Section: misc
+Architecture: all
+Depends: apt (>= 0.6.46)
+Description: Nirgal public keyring
+ Contains nirgal public key for apt-key
diff --git a/debian/postinst b/debian/postinst
new file mode 100644 (file)
index 0000000..8da4a8b
--- /dev/null
@@ -0,0 +1,77 @@
+#! /bin/sh
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+#
+# quoting from the policy:
+#     Any necessary prompting should almost always be confined to the
+#     post-installation script, and should be protected with a conditional
+#     so that unnecessary prompting doesn't happen if a package's
+#     installation fails and the `postinst' is called with `abort-upgrade',
+#     `abort-remove' or `abort-deconfigure'.
+
+function addNirgalKey {
+    cat - <<EOS | apt-key add -
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+mQGiBEf3e8sRBACssXliEMVZl3ElRg4tBmmEM9C8Ig1v32bC8PzRE80W5WGgAcbB
+dZkNHIEg8DeyQC9hXt7cAmYewenQj8NjOdIp1A/ZDlzdWA9PbSikLWdWmN9qBKSM
++3EuCKexfrT/oo4MB5blPZfN6UzAl0hZ27N98bMkmGUVx0PP/N6K4SC9hwCgicDL
+VryyH3kL13yRc945g6G/oIUD/3HVrDAyo9HWx/9Y8VZSf+zaKHdPs9qrgwOt+cVG
+wKw65BmD4ZfOkIW4M72PQCvCZZYP4Q2fRGOdMkE1aG9zeoVSJlG65D+gKnBY0US1
+ZOSS3f4Mmc7plPzTSBxa9l2q4nkj3DzpRUERQD9vvE+tD81ukineuafU3FiQ+5hn
+NBR9BACgMH+QpJWnwprykrTmC45UwjbnKMqC/V/dKlh4Qxk+c09OHu/cxT/OHSg6
+ZiGzt9dZWA5cKGJqSWdUHILwTyF/pzSWIeILBM41CConSOvWaVvD82+kbN8Uxh5d
+bAyeFWHd5dGE3J0rD+NDoYFN5/htD3WvOj93i9pMOa4nFhaJS7QxTmlyZ2FsIEF1
+dG9tYXRpYyBTaWduaW5nIEtleSA8am12X2RlYkBuaXJnYWwuY29tPohgBBMRAgAg
+BQJH93vLAhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQr2yG9EIF1ghh6gCf
+WUA3MKO80U/RhsDm+hG01FQoEJkAn1g4JKtZbRL2LPF2jIBdBU4BH5qNuQINBEf3
+e+wQCACHId+DaQOhm/NLrv2yNM75frGunKj/Sg7SjorGqZPuQVnmQ/4OjmaMoB+P
+mnt8foa3YTdqcjk02H6FoNjv7/hSdpsrfS/+ZpJJta8IMyTKtc0lhhRZSsU5Ysi5
+MLqSUW7W10ws7u/GZcvAtT9u4nVJPOFIiUbgtEcGMOwo1HGvsRP9N/UcQiRIX64J
+Jpe0aN1ydrReCsRH5Ruut0DWvMq0nt6x6dzLUmzkOMcmSC+/1lIjmeHpeaJtLFg0
+sNUQ/w1FyZ14LDvwlMpYn9sqbgFHANZvvkhIvgJLBhxeFDofkCXDCavx9KzvLyuj
+Hs7BbPt8bElxxjasEj4A6Kb/4MG3AAMHB/9H6HBhXOCpsM2pgRsb6BJkJw9zi5gS
+wmDCn9vXRg2VQapNwbDFuVNosCXRwxSO3HZYOuoNk+YWdVg1/FQldIsPq8du1hn2
+kTevAOq5iwT+FG8RNOr4N1kkolm1mRx3zo6PDhBKJzDvopGFgq84npruLjlq40+H
+0TAZp0XVKXNNlOdLVypbLEcrJmlIUwYX13V2HvSeWBVl6vlyaPQWTSPRmWmFRmHe
+NN8RZ7vrK0vFTQXAzJUVq8XmBaXZ49ab4EM1yh2tntHC87hPIqQma9+Kx47rTB3i
+WEiLlz71VufQrRfPfRJa0loVBslfaezzVxtKunwsHxZcmmiOgLOaBVfUiEkEGBEC
+AAkFAkf3e+wCGwwACgkQr2yG9EIF1ggg1gCfS59eg23MB6h6ckoGMiEIrOiqVnAA
+n2Shp3+XHuenFo1V3AxRhtfbeaop
+=jyeV
+-----END PGP PUBLIC KEY BLOCK-----
+EOS
+}
+
+case "$1" in
+    configure)
+        addNirgalKey
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst 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
diff --git a/debian/prerm b/debian/prerm
new file mode 100644 (file)
index 0000000..76f2289
--- /dev/null
@@ -0,0 +1,44 @@
+#!/bin/sh
+# prerm script
+#
+# 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
+
+
+case "$1" in
+    remove|deconfigure)
+        apt-key del "Nirgal Automatic Signing Key <jmv_deb@nirgal.com>"
+    ;;
+
+    upgrade)
+    ;;
+
+    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
+
+
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..a962038
--- /dev/null
@@ -0,0 +1,69 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+
+       # Add here commands to compile the package.
+       # -$(MAKE)
+       #docbook-to-man debian/gentoo.sgml > gentoo.1
+
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+       # Add here commands to clean up after the build process.
+       # -$(MAKE) clean
+       dh_clean
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean
+       dh_installdirs
+       
+       # Add here commands to install the package into debian/dolbian-keyring.
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+#      dh_installdebconf
+       dh_installdocs
+       dh_installexamples
+       dh_installmenu
+#      dh_installlogrotate
+#      dh_installemacsen
+#      dh_installpam
+#      dh_installmime
+#      dh_installinit
+#      dh_installcron
+#      dh_installman
+       dh_installinfo
+#      dh_undocumented
+       dh_installchangelogs
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+#      dh_makeshlibs
+       dh_installdeb
+#      dh_perl
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install