tags 459165 + patch thank you
Hi, Here is an NMU that fixes this bug as well as adding the LSB formatted init.d. I was hoping to add the po and debconf changes but am having some machine trouble. Thanks, Barry deFreese
diff -u roxen4-4.0.425/debian/postinst roxen4-4.0.425/debian/postinst --- roxen4-4.0.425/debian/postinst +++ roxen4-4.0.425/debian/postinst @@ -152,10 +152,9 @@ then pushd /var/lib/roxen4 echo -n "Unpacking Roxen4 MySQL database... " - tar xzf /usr/share/doc/roxen4/examples/mysql-template.tar.gz - chown -R 33:33 . + tar -C /var/lib/roxen4 -xzf /usr/share/doc/roxen4/examples/mysql-template.tar.gz + chown -R 33:33 /var/lib/roxen4 echo "done." - popd fi # ======================================= diff -u roxen4-4.0.425/debian/changelog roxen4-4.0.425/debian/changelog --- roxen4-4.0.425/debian/changelog +++ roxen4-4.0.425/debian/changelog @@ -1,3 +1,14 @@ +roxen4 (4.0.425-7.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix bashisms. (Closes: #459165). + + debian/rules using {foo,bar}. + + postinst using pushd/popd. + * Add LSB info to init.d. (Closes: #469615). + + Thanks to Petter Reinholdtsen. + + -- Barry deFreese <[EMAIL PROTECTED]> Tue, 11 Mar 2008 10:00:56 -0400 + roxen4 (4.0.425-7) unstable; urgency=low * New Spanish, German, Portuguese and French debconf template diff -u roxen4-4.0.425/debian/init.d roxen4-4.0.425/debian/init.d --- roxen4-4.0.425/debian/init.d +++ roxen4-4.0.425/debian/init.d @@ -1,6 +1,12 @@ #!/bin/sh -# -# Start the Roxen webserver +### BEGIN INIT INFO +# Provides: roxen4 +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start the Roxen webserver +### END INIT INFO # ----------------- # Please don't change this file. The file /usr/share/roxen4/start_options diff -u roxen4-4.0.425/debian/rules roxen4-4.0.425/debian/rules --- roxen4-4.0.425/debian/rules +++ roxen4-4.0.425/debian/rules @@ -169,8 +169,9 @@ rm -rf tools mysql/README etc/Makefile* \ tools/nt_service/Makefile \ translations/Makefile \ - java/classes/{com,Makefile} \ - java/{src,doc} perl/bin/ntperl.pl) + java/classes/com \ + java/classes/Makefile \ + java/src java/doc perl/bin/ntperl.pl) # Rename and chmod pike scripts... (cd debian/roxen4/usr/share/roxen4 && \ @@ -208,7 +209,9 @@ # Chmod/Chown files/directories (cd debian/roxen4 && \ - chown -R 33:33 var/{lib,log,run}/roxen4 etc/roxen4; \ + chown -R 33:33 var/lib/roxen4 etc/roxen4; \ + chown -R 33:33 var/log/roxen4 etc/roxen4; \ + chown -R 33:33 var/run/roxen4 etc/roxen4; \ rm usr/share/roxen4/etc/docs.*) (cd debian/roxen4/usr/share/roxen4/local && ln -s /etc/default/roxen4 environment)