Package: bip
Version: 0.5.3-4
The file /etc/bip.default contains ENABLED=0. This prevents the
init.dscript from doing anything by default. This should be ENABLED=1
for the
user's convenience, since this is undocumented behavior.
Additionally, the patch to bip 0.5.3-4 that fixed /etc/bip.conf's
permissions on a clean install does not fix them when the package is
upgraded, making it undesirable if a user with bip already installed tries
to upgrade it. (His password will still be world-readable, see Bug
415855 @<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=415855%29.>
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=415855<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=415855%29.>
). <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=415855%29.>
Neither of these are architecture-specific so I don't feel that hardware
details would help.
I have attached a patch (Ubuntu bug #105199) that would solve both of these
problems.
diff -Nru /tmp/P2V2aJ8Kzr/bip-0.5.3/debian/bip.default /tmp/x3WgRXxnYq/bip-0.5.3/debian/bip.default
--- /tmp/P2V2aJ8Kzr/bip-0.5.3/debian/bip.default 2007-04-10 14:32:03.000000000 -0400
+++ /tmp/x3WgRXxnYq/bip-0.5.3/debian/bip.default 2007-04-10 14:32:03.000000000 -0400
@@ -1 +1 @@
-ENABLED=0
+ENABLED=1
diff -Nru /tmp/P2V2aJ8Kzr/bip-0.5.3/debian/bip.postinst /tmp/x3WgRXxnYq/bip-0.5.3/debian/bip.postinst
--- /tmp/P2V2aJ8Kzr/bip-0.5.3/debian/bip.postinst 2007-04-10 14:32:03.000000000 -0400
+++ /tmp/x3WgRXxnYq/bip-0.5.3/debian/bip.postinst 2007-04-10 14:32:03.000000000 -0400
@@ -23,10 +23,7 @@
/usr/sbin/update-rc.d bip defaults
fi
-if [ "$1" = "configure" -a "$2" = "" ]
-then
- chown root:"$BIPGROUP" /etc/bip.conf
- chmod 640 /etc/bip.conf
-fi
+chown root:"$BIPGROUP" /etc/bip.conf
+chmod 640 /etc/bip.conf
#DEBHELPER#
diff -Nru /tmp/P2V2aJ8Kzr/bip-0.5.3/debian/changelog /tmp/x3WgRXxnYq/bip-0.5.3/debian/changelog
--- /tmp/P2V2aJ8Kzr/bip-0.5.3/debian/changelog 2007-04-10 14:32:03.000000000 -0400
+++ /tmp/x3WgRXxnYq/bip-0.5.3/debian/changelog 2007-04-10 14:32:03.000000000 -0400
@@ -1,3 +1,14 @@
+bip (0.5.3-4ubuntu1) feisty; urgency=high
+
+ * Change ENABLED in bip.default to 1 by default (Closes LP: #105199).
+ - Init script now starts bip without user intervention.
+
+ * Set proper permissions in postinst (Closes: #415855).
+ - Removed "if" block from postinst that prevented the 0.5.3-4 patch
+ from being applied on an "upgrade".
+
+ -- xtknight <[EMAIL PROTECTED]> Tue, 10 Apr 2007 12:39:00 -0400
+
bip (0.5.3-4) unstable; urgency=high
* Set proper permissions in postinst (Closes: #415855).
diff -Nru /tmp/P2V2aJ8Kzr/bip-0.5.3/debian/control /tmp/x3WgRXxnYq/bip-0.5.3/debian/control
--- /tmp/P2V2aJ8Kzr/bip-0.5.3/debian/control 2007-04-10 14:32:03.000000000 -0400
+++ /tmp/x3WgRXxnYq/bip-0.5.3/debian/control 2007-04-10 14:32:03.000000000 -0400
@@ -1,7 +1,8 @@
Source: bip
Section: net
Priority: optional
-Maintainer: Arnaud Cornet <[EMAIL PROTECTED]>
+XSBC-Original-Maintainer: Arnaud Cornet <[EMAIL PROTECTED]>
+Maintainer: Ubuntu MOTU Developers <[email protected]>
Standards-Version: 3.7.2
Build-Depends: cdbs, debhelper (>= 5.0.37.2), bison, flex, libssl-dev