r4510 - in /packages/libmail-spf-query-perl/trunk/debian: changelog
postinst prerm rules
jmehnle-guest at users.alioth.debian.org
jmehnle-guest at users.alioth.debian.org
Sat Dec 2 23:35:56 CET 2006
Author: jmehnle-guest
Date: Sat Dec 2 23:35:55 2006
New Revision: 4510
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=4510
Log:
trunk/debian/rules
trunk/debian/postinst
trunk/debian/prerm
* Make `spfquery` and `spfd` tools and their man-pages use the alternatives
system in order not to conflict with other packages providing those tools.
trunk/debian/changelog
* Updated for 1:1.999.1-3 release.
Added:
packages/libmail-spf-query-perl/trunk/debian/postinst (with props)
packages/libmail-spf-query-perl/trunk/debian/prerm (with props)
Modified:
packages/libmail-spf-query-perl/trunk/debian/changelog
packages/libmail-spf-query-perl/trunk/debian/rules
Modified: packages/libmail-spf-query-perl/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmail-spf-query-perl/trunk/debian/changelog?rev=4510&op=diff
==============================================================================
--- packages/libmail-spf-query-perl/trunk/debian/changelog (original)
+++ packages/libmail-spf-query-perl/trunk/debian/changelog Sat Dec 2 23:35:55 2006
@@ -1,3 +1,11 @@
+libmail-spf-query-perl (1:1.999.1-3) unstable; urgency=low
+
+ * Make `spfquery` and `spfd` tools and their man-pages use the alternatives
+ system in order not to conflict with other packages providing those tools
+ (the "spfquery" package still needs to be updated likewise).
+
+ -- Julian Mehnle <julian at mehnle.net> Sat, 2 Dec 2006 22:23:07 +0000
+
libmail-spf-query-perl (1:1.999.1-2) unstable; urgency=low
* Does not run the test suite anymore, as when building as root (or
Added: packages/libmail-spf-query-perl/trunk/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmail-spf-query-perl/trunk/debian/postinst?rev=4510&op=file
==============================================================================
--- packages/libmail-spf-query-perl/trunk/debian/postinst (added)
+++ packages/libmail-spf-query-perl/trunk/debian/postinst Sat Dec 2 23:35:55 2006
@@ -1,0 +1,18 @@
+#!/bin/sh -e
+
+mode=$1
+
+source_package=mail-spf-query-perl
+
+case "$mode" in
+ configure )
+ prev_version=$2
+
+ update-alternatives --install /usr/bin/spfquery spfquery /usr/bin/spfquery.$source_package 50 \
+ --slave /usr/share/man/man1/spfquery.1.gz spfquery.1.gz /usr/share/man/man1/spfquery.$source_package.1p.gz
+ update-alternatives --install /usr/sbin/spfd spfd /usr/sbin/spfd.$source_package 50 \
+ --slave /usr/share/man/man8/spfd.8.gz spfd.8.gz /usr/share/man/man8/spfd.$source_package.8p.gz
+ ;;
+esac
+
+#DEBHELPER#
Propchange: packages/libmail-spf-query-perl/trunk/debian/postinst
------------------------------------------------------------------------------
svn:executable = *
Added: packages/libmail-spf-query-perl/trunk/debian/prerm
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmail-spf-query-perl/trunk/debian/prerm?rev=4510&op=file
==============================================================================
--- packages/libmail-spf-query-perl/trunk/debian/prerm (added)
+++ packages/libmail-spf-query-perl/trunk/debian/prerm Sat Dec 2 23:35:55 2006
@@ -1,0 +1,14 @@
+#!/bin/sh -e
+
+mode=$1
+
+source_package=mail-spf-query-perl
+
+case "$mode" in
+ remove )
+ update-alternatives --remove spfquery /usr/bin/spfquery.$source_package
+ update-alternatives --remove spfd /usr/sbin/spfd.$source_package
+ ;;
+esac
+
+#DEBHELPER#
Propchange: packages/libmail-spf-query-perl/trunk/debian/prerm
------------------------------------------------------------------------------
svn:executable = *
Modified: packages/libmail-spf-query-perl/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/packages/libmail-spf-query-perl/trunk/debian/rules?rev=4510&op=diff
==============================================================================
--- packages/libmail-spf-query-perl/trunk/debian/rules (original)
+++ packages/libmail-spf-query-perl/trunk/debian/rules Sat Dec 2 23:35:55 2006
@@ -1,5 +1,6 @@
#!/usr/bin/make -f
+SOURCE_PACKAGE = mail-spf-query-perl
PACKAGE = $(shell dh_listpackages)
ifndef PERL
@@ -35,9 +36,16 @@
#$(MAKE) test
$(MAKE) install DESTDIR=$(TMP)/
- # Put spfd in /usr/sbin:
+ # Move spfd to /usr/sbin/, and move its man-page, too:
mkdir -p $(TMP)/usr/sbin
- mv $(TMP)/usr/bin/spfd $(TMP)/usr/sbin
+ mv $(TMP)/usr/bin/spfd $(TMP)/usr/sbin
+ mv $(TMP)/usr/share/man/man1/spfd.1p $(TMP)/usr/share/man/man8/spfd.8p
+
+ # Rename the `spfquery` and `spfd` tools and their man-pages for the alternatives system:
+ mv $(TMP)/usr/bin/spfquery $(TMP)/usr/bin/spfquery.$(SOURCE_PACKAGE)
+ mv $(TMP)/usr/share/man/man1/spfquery.1p $(TMP)/usr/share/man/man1/spfquery.$(SOURCE_PACKAGE).1p
+ mv $(TMP)/usr/sbin/spfd $(TMP)/usr/sbin/spfd.$(SOURCE_PACKAGE)
+ mv $(TMP)/usr/share/man/man8/spfd.8p $(TMP)/usr/share/man/man8/spfd.$(SOURCE_PACKAGE).8p
touch install-stamp
More information about the Pkg-perl-cvs-commits
mailing list