diff -u flamethrower-0.1.8/debian/compat flamethrower-0.1.8/debian/compat --- flamethrower-0.1.8/debian/compat +++ flamethrower-0.1.8/debian/compat @@ -1 +1 @@ -4 +5 diff -u flamethrower-0.1.8/debian/control flamethrower-0.1.8/debian/control --- flamethrower-0.1.8/debian/control +++ flamethrower-0.1.8/debian/control @@ -2,12 +2,12 @@ Section: admin Priority: optional Maintainer: dann frazier -Build-Depends: debhelper (>> 3.0.0) -Standards-Version: 3.8.0 +Build-Depends: debhelper (>> 5) +Standards-Version: 3.8.3 Package: flamethrower Architecture: all -Depends: ${perl:Depends}, udpcast, libappconfig-perl +Depends: ${perl:Depends}, ${misc:Depends}, udpcast, libappconfig-perl Description: Multicast file distribution utility Flamethrower is intended to be an easy to use multicast file distribution system. It was created to add multicast install capabilities to diff -u flamethrower-0.1.8/debian/changelog flamethrower-0.1.8/debian/changelog --- flamethrower-0.1.8/debian/changelog +++ flamethrower-0.1.8/debian/changelog @@ -1,3 +1,14 @@ +flamethrower (0.1.8-3) unstable; urgency=low + + * Fix runlevels in LSB section of initscript and add dependency + on syslog (Closes: #542283). Thanks to Petter Reinholdtsen for + his work here. + * Fix build failure caused by change in MakeMaker + * Update Standards-Version to 3.8.3 + * Use debhelper 5 & add ${misc:Depends} + + -- dann frazier Wed, 19 Aug 2009 16:01:03 -0600 + flamethrower (0.1.8-2) unstable; urgency=low * Fix /tmp symlink attack vector. Closes: #506350 (CVE-2008-5141) diff -u flamethrower-0.1.8/debian/rules flamethrower-0.1.8/debian/rules --- flamethrower-0.1.8/debian/rules +++ flamethrower-0.1.8/debian/rules @@ -30,14 +30,14 @@ dh_testdir -dh_testroot dh_installdirs - $(MAKE) install PREFIX="$(PREFIX)" CONFDIR="$(tmp)" SITEPREFIX="$(PREFIX)" + $(MAKE) install PREFIX="$(PREFIX)" CONFDIR="$(tmp)" SITEPREFIX="$(PREFIX)" INSTALLSITEARCH="$(PREFIX)" # upstream installs this as executable chmod 644 $(tmp)/usr/lib/flamethrower/*.pm # this directory tree is empty - rm -rf $(tmp)/usr/lib/perl - rm -rf $(tmp)/usr/lib/flamethrower/auto + rm -rf $(tmp)/usr/perllocal.pod + rm -rf $(tmp)/usr/auto # let debhelper install this for us rm -rf $(tmp)/etc/init.d diff -u flamethrower-0.1.8/etc/init.d/flamethrower-server flamethrower-0.1.8/etc/init.d/flamethrower-server --- flamethrower-0.1.8/etc/init.d/flamethrower-server +++ flamethrower-0.1.8/etc/init.d/flamethrower-server @@ -16,10 +16,10 @@ # Support for LSB compliant init system: ### BEGIN INIT INFO # Provides: flamethrowerd -# Required-Start: $network $syslog -# Required-Stop: -# Default-Start: 3 5 -# Default-Stop: 0 1 2 6 +# Required-Start: $remote_fs $syslog $network +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 # Short-Description: Daemon for multicast file distribution # Description: Daemon for multicast file distribution ### END INIT INFO only in patch2: unchanged: --- flamethrower-0.1.8.orig/debian/postinst +++ flamethrower-0.1.8/debian/postinst @@ -0,0 +1,43 @@ +#!/bin/sh +# postinst script for flamethrower +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-remove' +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + configure) + # part of fix for 542283 + if [ "$2" != "" ] && dpkg --compare-versions "$2" lt 0.1.8-3; then + update-rc.d -f flamethrower remove >/dev/null + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0