[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

please hint policyd-weight 0.1.14-beta-6 for etch



Hi,

please consider upgrade to 0.1.14-beta-6 as it solves the problem that it 
should be started before / stoped after postfix (+ fixing upgrade path) and 
removed DNSBL of ordb.org from default config (see 
http://www.ordb.org/news/?id=38).

The diff against the version in testing is attached.

Thanks in advance, Jan.
-- 
Never write mail to <waja@spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d-- s+: a- C+++ UL++++ P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE
Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++
------END GEEK CODE BLOCK------
diff -Nur policyd-weight-0.1.14-beta.orig/debian/changelog policyd-weight-0.1.14-beta/debian/changelog
--- policyd-weight-0.1.14-beta.orig/debian/changelog	2006-12-21 10:31:15.000000000 +0100
+++ policyd-weight-0.1.14-beta/debian/changelog	2006-12-21 10:31:56.000000000 +0100
@@ -1,3 +1,25 @@
+policyd-weight (0.1.14-beta-6) unstable; urgency=medium
+
+  * fix upgrade path for initscript
+  * changed init scripts to 19 21 to make shure postfix is not running when
+    polw not
+
+ -- Jan Wagner <waja@cyconet.org>  Wed, 20 Dec 2006 19:55:38 +0100
+
+policyd-weight (0.1.14-beta-5) unstable; urgency=medium
+
+  * add remove_ordb.diff to remove ORDB DNSBL from default config since they
+    got offline today
+
+ -- Jan Wagner <waja@cyconet.org>  Mon, 18 Dec 2006 00:05:29 +0100
+
+policyd-weight (0.1.14-beta-4) unstable; urgency=medium
+
+  * fix startup script S20, so make polw start before postfix
+  * provide update path via postinst
+
+ -- Jan Wagner <waja@cyconet.org>  Sun, 17 Dec 2006 14:19:46 +0100
+
 policyd-weight (0.1.14-beta-3) unstable; urgency=medium
 
   * fixed attributes of system user (Closes: #402314).
diff -Nur policyd-weight-0.1.14-beta.orig/debian/patches/remove_ordb.diff policyd-weight-0.1.14-beta/debian/patches/remove_ordb.diff
--- policyd-weight-0.1.14-beta.orig/debian/patches/remove_ordb.diff	1970-01-01 01:00:00.000000000 +0100
+++ policyd-weight-0.1.14-beta/debian/patches/remove_ordb.diff	2006-12-21 10:31:56.000000000 +0100
@@ -0,0 +1,11 @@
+diff -Nur trunk.orig/policyd-weight trunk/policyd-weight
+--- trunk.orig/policyd-weight	2006-11-09 22:17:47.000000000 +0100
++++ trunk/policyd-weight	2006-12-19 14:33:02.954849015 +0100
+@@ -331,7 +331,6 @@
+     'dnsbl.njabl.org',        4.25,       -1.5,        'BL_NJABL',
+     'list.dsbl.org',          4.35,          0,        'DSBL_ORG',
+     'ix.dnsbl.manitu.net',    4.35,          0,        'IX_MANITU',
+-    'relays.ordb.org',        3.25,          0,        'ORDB_ORG'
+ );
+ 
+ my $MAXDNSBLHITS  = 2;  # If Client IP is listed in MORE
diff -Nur policyd-weight-0.1.14-beta.orig/debian/postinst policyd-weight-0.1.14-beta/debian/postinst
--- policyd-weight-0.1.14-beta.orig/debian/postinst	2006-12-21 10:31:15.000000000 +0100
+++ policyd-weight-0.1.14-beta/debian/postinst	2006-12-21 10:31:56.000000000 +0100
@@ -41,6 +41,13 @@
 				--shell /bin/false	\
 				$NUSER
 		fi
+		
+		# be shure we get new startscript
+		if [ -n "$2" ] && dpkg --compare-versions "$2" lt "0.1.14-beta-6"; then
+			if [ -L /etc/rc2.d/S40policyd-weight ] || [ -L /etc/rc2.d/S20policyd-weight ] ; then
+				update-rc.d -f policyd-weight remove >/dev/null
+			fi
+		fi
 
 		# Set up home directory.
 		if [ -d $NHOME ]; then
diff -Nur policyd-weight-0.1.14-beta.orig/debian/rules policyd-weight-0.1.14-beta/debian/rules
--- policyd-weight-0.1.14-beta.orig/debian/rules	2006-12-21 10:31:15.000000000 +0100
+++ policyd-weight-0.1.14-beta/debian/rules	2006-12-21 10:31:56.000000000 +0100
@@ -19,6 +19,8 @@
 
 	# Add here commands to install the package into debian/policyd-weight.
 	install -D -m 644 policyd-weight debian/policyd-weight/usr/sbin/policyd-weight
+	# patch polw
+	patch -p0<debian/patches/remove_ordb.diff debian/policyd-weight/usr/sbin/policyd-weight
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -26,7 +28,7 @@
 	dh_testroot
 	dh_installchangelogs changes.txt
 	dh_installdocs
-	dh_installinit -- defaults 40
+	dh_installinit -- defaults 19 21
 	dh_installman man/man5/policyd-weight.conf.5 man/man8/policyd-weight.8
 	dh_link
 	dh_compress

Attachment: pgp6ln1nhMywD.pgp
Description: PGP signature


Reply to: