postfix/tls sid/woody package - potato patch
Florian Lohoff
flo at rfc822.org
Tue Sep 25 00:04:18 CEST 2001
Hi,
damit compiled es und laesst sich auch installieren - Das certificate
und key erzeugen habe ich noch nicht wirklich gerafft.
Ach ja - Man braucht neues openssl. Das aus sid/woody compiled
unter potato aus der tuete ...
Flo
diff -Nur postfix-tls-0.0.20010502.SNAPSHOT+tls-0.7.2/debian/changelog postfix-tls-flo/debian/changelog
--- postfix-tls-0.0.20010502.SNAPSHOT+tls-0.7.2/debian/changelog Mon Sep 24 22:00:20 2001
+++ postfix-tls-flo/debian/changelog Mon Sep 24 20:36:15 2001
@@ -1,3 +1,12 @@
+postfix-tls (0.0.20010502.SNAPSHOT+tls-0.7.2-1.1) unstable; urgency=low
+
+ * Change debian/config to include Debian::DebConf:: for older debconf
+ * Change debian/rules to also link against -llber
+ * Fix dpkg-statoverride occurencies
+ * Remove last instance of $version
+
+ -- Florian Lohoff <flo at rfc822.org> Mon, 24 Sep 2001 20:32:47 +0000
+
postfix-tls (0.0.20010502.SNAPSHOT+tls-0.7.2-1) unstable; urgency=low
* new upstream versions of postfix and pfixtls. Closes: #87256
* got rid of rm -rf /etc/postfix from postrm purge. Closes: #98987
diff -Nur postfix-tls-0.0.20010502.SNAPSHOT+tls-0.7.2/debian/config postfix-tls-flo/debian/config
--- postfix-tls-0.0.20010502.SNAPSHOT+tls-0.7.2/debian/config Mon Sep 24 22:00:20 2001
+++ postfix-tls-flo/debian/config Mon Sep 24 20:09:52 2001
@@ -4,7 +4,7 @@
# Based on code by Colin Walters <walters at cis.ohio-state.edu>,
# and John Goerzen <jgoerzen at progenylinux.com>.
-use Debconf::Client::ConfModule qw(:all);
+use Debian::DebConf::Client::ConfModule qw(:all);
use File::Copy;
use Fcntl;
diff -Nur postfix-tls-0.0.20010502.SNAPSHOT+tls-0.7.2/debian/control postfix-tls-flo/debian/control
--- postfix-tls-0.0.20010502.SNAPSHOT+tls-0.7.2/debian/control Mon Sep 24 22:00:20 2001
+++ postfix-tls-flo/debian/control Mon Sep 24 20:38:38 2001
@@ -7,7 +7,7 @@
Package: postfix-tls
Architecture: any
-Depends: ${shlibs:Depends}, netbase, adduser, debconf, dpkg (>= 1.8.3)
+Depends: ${shlibs:Depends}, netbase, adduser, debconf
Recommends: mail-reader
Suggests: procmail
Conflicts: mail-transport-agent, smail, postfix, libnss-db (<< 2.2-3)
diff -Nur postfix-tls-0.0.20010502.SNAPSHOT+tls-0.7.2/debian/files postfix-tls-flo/debian/files
--- postfix-tls-0.0.20010502.SNAPSHOT+tls-0.7.2/debian/files Thu Jan 1 00:00:00 1970
+++ postfix-tls-flo/debian/files Mon Sep 24 20:50:53 2001
@@ -0,0 +1 @@
+postfix-tls_0.0.20010502.SNAPSHOT+tls-0.7.2-1.1_i386.deb non-US extra
diff -Nur postfix-tls-0.0.20010502.SNAPSHOT+tls-0.7.2/debian/postinst postfix-tls-flo/debian/postinst
--- postfix-tls-0.0.20010502.SNAPSHOT+tls-0.7.2/debian/postinst Mon Sep 24 22:00:20 2001
+++ postfix-tls-flo/debian/postinst Mon Sep 24 20:32:13 2001
@@ -20,8 +20,8 @@
addgroup postdrop
chown postfix:postdrop $MAILDROP
fi
- dpkg-statoverride --remove $POSTDROP >/dev/null 2>&1 || true
- dpkg-statoverride --update --add root postdrop 02555 $POSTDROP
+ #dpkg-statoverride --remove $POSTDROP >/dev/null 2>&1 || true
+ #dpkg-statoverride --update --add root postdrop 02555 $POSTDROP
chmod 1730 $MAILDROP
[ -f ${SCRIPT} ] || ln -sf ${SCRIPT}-sgid ${SCRIPT}
;;
@@ -29,7 +29,7 @@
chown postfix:postfix $MAILDROP
chmod 1733 $MAILDROP
chmod 555 $POSTDROP
- dpkg-statoverride --remove $POSTDROP >/dev/null 2>&1 || true
+ #dpkg-statoverride --remove $POSTDROP >/dev/null 2>&1 || true
[ -f ${SCRIPT} ] || ln -sf ${SCRIPT}-nosgid ${SCRIPT}
;;
esac
diff -Nur postfix-tls-0.0.20010502.SNAPSHOT+tls-0.7.2/debian/preinst postfix-tls-flo/debian/preinst
--- postfix-tls-0.0.20010502.SNAPSHOT+tls-0.7.2/debian/preinst Mon Sep 24 22:00:20 2001
+++ postfix-tls-flo/debian/preinst Mon Sep 24 20:35:59 2001
@@ -69,36 +69,36 @@
touch /var/spool/postfix/restart
fi
export LANG=C # for the comparison of mail version...
- if dpkg --compare-versions $version lt 0.0.20010329.SNAPSHOT-6; then
- # are there any maps that need to be converted?
- # alias files get rebuilt always.
- # Likewise, if there's no config, then there is nothing to
- # upgrade...
- if [ -f $CONFIG ]; then
- maps=$(postconf | grep -ve alias_database -e alias_maps |
- (grep -e hash: -e btree: || true) )
- if [ -n "$maps" ]; then
- touch /var/spool/postfix/db2-db3-upgrade
- db_upgrade_warning
- fi
- fi
- if dpkg --compare-versions $version lt 0.0.20001217.SNAPSHOT-4; then
- if dpkg --compare-versions $dpkg_vers ge 1.8; then
- # was postdrop setgid before? If so, add the override.
- set -- $(ls -l $POSTDROP)
- sgid=${1#??????}
- if [ "${sgid%???}" = "s" ]; then
- dpkg-statoverride --remove $POSTDROP >/dev/null 2>&1 || true
- dpkg-statoverride --add root $4 02555 $POSTDROP
- fi
- fi
- if dpkg --compare-versions $version lt 0.0.19991231; then
- if [ -f $CONFIG -a -n "$(postconf -h transport_maps)" ]; then
- transport_map_warning
- fi
- fi
- fi
- fi
+# if dpkg --compare-versions $version lt 0.0.20010329.SNAPSHOT-6; then
+# # are there any maps that need to be converted?
+# # alias files get rebuilt always.
+# # Likewise, if there's no config, then there is nothing to
+# # upgrade...
+# if [ -f $CONFIG ]; then
+# maps=$(postconf | grep -ve alias_database -e alias_maps |
+# (grep -e hash: -e btree: || true) )
+# if [ -n "$maps" ]; then
+# touch /var/spool/postfix/db2-db3-upgrade
+# db_upgrade_warning
+# fi
+# fi
+# if dpkg --compare-versions $version lt 0.0.20001217.SNAPSHOT-4; then
+# if dpkg --compare-versions $dpkg_vers ge 1.8; then
+# # was postdrop setgid before? If so, add the override.
+# set -- $(ls -l $POSTDROP)
+# sgid=${1#??????}
+# if [ "${sgid%???}" = "s" ]; then
+# dpkg-statoverride --remove $POSTDROP >/dev/null 2>&1 || true
+# dpkg-statoverride --add root $4 02555 $POSTDROP
+# fi
+# fi
+# if dpkg --compare-versions $version lt 0.0.19991231; then
+# if [ -f $CONFIG -a -n "$(postconf -h transport_maps)" ]; then
+# transport_map_warning
+# fi
+# fi
+# fi
+# fi
if [ ! start-stop-daemon -K -q -o \
--pidfile /var/spool/postfix/pid/master.pid \
--exec /usr/sbin/postfix 2>/dev/null ]; then :; fi
diff -Nur postfix-tls-0.0.20010502.SNAPSHOT+tls-0.7.2/debian/rules postfix-tls-flo/debian/rules
--- postfix-tls-0.0.20010502.SNAPSHOT+tls-0.7.2/debian/rules Mon Sep 24 22:00:20 2001
+++ postfix-tls-flo/debian/rules Mon Sep 24 20:11:17 2001
@@ -21,7 +21,7 @@
bindir=debian/$(package)/usr/bin
confdir=debian/$(package)/etc/$(package_short)
-AUXLIBS = -lpcre -lldap -lgdbm
+AUXLIBS = -lpcre -llber -lldap -lgdbm
OFLAGS = -O2
SHELL=/bin/bash
--
Florian Lohoff flo at rfc822.org +49-5201-669912
Nine nineth on september the 9th Welcome to the new billenium
More information about the Linux
mailing list