From 4f8adac348f13a597ba7612548933ce7eb22c5ae Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Tue, 9 Mar 2010 01:43:59 -0500 Subject: [PATCH] initial debian packaging --- debian/changelog | 6 ++++++ debian/compat | 1 + debian/control | 27 +++++++++++++++++++++++++++ debian/copyright | 17 +++++++++++++++++ debian/msva-perl.install | 1 + debian/msva-perl.manpages | 1 + debian/msva-perl.postinst | 11 +++++++++++ debian/msva-perl.prerm | 9 +++++++++ debian/rules | 3 +++ debian/source/format | 1 + 10 files changed, 77 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/msva-perl.install create mode 100644 debian/msva-perl.manpages create mode 100644 debian/msva-perl.postinst create mode 100644 debian/msva-perl.prerm create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..33d459e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +msva-perl (0.1-1) unstable; urgency=low + + * Initial Release (Closes: #573120) + + -- Daniel Kahn Gillmor Tue, 09 Mar 2010 00:39:56 -0500 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7b47533 --- /dev/null +++ b/debian/control @@ -0,0 +1,27 @@ +Source: msva-perl +Section: net +Priority: extra +Maintainer: Daniel Kahn Gillmor +Build-Depends: debhelper (>= 7.0), + perl +Standards-Version: 3.8.4 +Homepage: http://web.monkeysphere.info/ +Vcs-Git: git://git.monkeysphere.info/msva-perl + +Package: msva-perl +Architecture: all +Depends: monkeysphere, + libcrypt-x509-perl, + libconvert-asn1-perl, + libnet-server-perl, + libhttp-server-simple-perl, + ${misc:Depends} +Provides: monkeysphere-validation-agent +Description: Cryptographic identity validation agent (Perl implementation) + The Monkeysphere Validation Agent offers a local service for tools to + validate certificates (both X.509 and OpenPGP) and other public keys. + . + This package contains a perl implementation of a Monkeysphere + Validation Agent. + + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d8ba861 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,17 @@ +Name: Monkeysphere Validation Agent (Perl) +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Source: http://web.monkeysphere.info/validation-agent/ +Maintainer: Monkeysphere Developers + +Files: * +Copyright: 2010 Daniel Kahn Gillmor +License: GPL-3+ + +License: GPL-3+ + 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 3 of the License, or + (at your option) any later version. + . + On Debian systems, the complete text of the GNU General Public License + version 3 can be found in file "/usr/share/common-licenses/GPL-3". diff --git a/debian/msva-perl.install b/debian/msva-perl.install new file mode 100644 index 0000000..a9c5191 --- /dev/null +++ b/debian/msva-perl.install @@ -0,0 +1 @@ +msva-perl usr/bin diff --git a/debian/msva-perl.manpages b/debian/msva-perl.manpages new file mode 100644 index 0000000..519a355 --- /dev/null +++ b/debian/msva-perl.manpages @@ -0,0 +1 @@ +msva-perl.1 diff --git a/debian/msva-perl.postinst b/debian/msva-perl.postinst new file mode 100644 index 0000000..a4f7b50 --- /dev/null +++ b/debian/msva-perl.postinst @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then + update-alternatives --install /usr/bin/monkeysphere-validation-agent monkeysphere-validation-agent /usr/bin/msva-perl 40 \ + --slave /usr/share/man/man1/monkeysphere-validation-agent.1.gz monkeysphere-validation-agent.1.gz \ + /usr/share/man/man1/msva-perl.1.gz +fi + +#DEBHELPER# diff --git a/debian/msva-perl.prerm b/debian/msva-perl.prerm new file mode 100644 index 0000000..a382835 --- /dev/null +++ b/debian/msva-perl.prerm @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +if [ "$1" != "upgrade" ]; then + update-alternatives --remove monkeysphere-validation-agent /usr/bin/msva-perl +fi + +#DEBHELPER# diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cbe925d --- /dev/null +++ b/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) -- 2.26.2