diff options
Diffstat (limited to 'libpiny/debian')
-rw-r--r-- | libpiny/debian/changelog | 6 | ||||
-rw-r--r-- | libpiny/debian/control | 2 | ||||
-rwxr-xr-x | libpiny/debian/libpiny-perl.postinst | 16 | ||||
-rwxr-xr-x | libpiny/debian/libpiny-perl.postrm | 13 |
4 files changed, 36 insertions, 1 deletions
diff --git a/libpiny/debian/changelog b/libpiny/debian/changelog index 8bd42ee..d9d0db8 100644 --- a/libpiny/debian/changelog +++ b/libpiny/debian/changelog @@ -1,3 +1,9 @@ +libpiny-perl (0.17) unstable; urgency=low + + * Added Piny::Auth and key file. + + -- Julian Blake Kongslie <jblake@omgwallhack.org> Sat, 29 Jan 2011 19:50:58 -0800 + libpiny-perl (0.16) unstable; urgency=low * Fix some of the mutators in Piny::Repo. diff --git a/libpiny/debian/control b/libpiny/debian/control index d066800..2bb329a 100644 --- a/libpiny/debian/control +++ b/libpiny/debian/control @@ -8,7 +8,7 @@ Standards-version: 3.9.1 Package: libpiny-perl Architecture: all -Depends: ${perl:Depends}, ${misc:Depends}, libconfig-simple-perl, libemail-valid-loose-perl, libmoose-perl, libmoosex-singleton-perl, libmoosex-strictconstructor-perl +Depends: ${perl:Depends}, ${misc:Depends}, libconfig-simple-perl, libdigest-hmac-perl, libdigest-sha1-perl, libemail-valid-loose-perl, libmoose-perl, libmoosex-singleton-perl, libmoosex-strictconstructor-perl Description: Perl interface for the piny infrastructure This is a set of modules for accomplishing administrative tasks in the piny.be infrastructure. diff --git a/libpiny/debian/libpiny-perl.postinst b/libpiny/debian/libpiny-perl.postinst new file mode 100755 index 0000000..ba29e39 --- /dev/null +++ b/libpiny/debian/libpiny-perl.postinst @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +case "$1" in + + configure) + + if [ ! -f /etc/libpiny.key ]; then + umask 0177 + dd if=/dev/random of=/etc/libpiny.key bs=512 count=1 + fi + + ;; + +esac diff --git a/libpiny/debian/libpiny-perl.postrm b/libpiny/debian/libpiny-perl.postrm new file mode 100755 index 0000000..575ea84 --- /dev/null +++ b/libpiny/debian/libpiny-perl.postrm @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +case "$1" in + + purge) + + rm -f /etc/libpiny.key + + ;; + +esac |