tags 656456 + patch tags 656456 + pending tags 694145 + patch tags 694145 + pending thanks
Dear maintainer, I've prepared an NMU for cipux-cat-web (versioned as 3.4.0.3-4.1) and uploaded it to DELAYED/5. Please feel free to tell me if I should delay it longer. Regards. -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Joan Baez & Mercedes Sosa: Gracias A La Vida
diff -Nru cipux-cat-web-3.4.0.3/debian/changelog cipux-cat-web-3.4.0.3/debian/changelog --- cipux-cat-web-3.4.0.3/debian/changelog 2011-05-04 22:10:41.000000000 +0200 +++ cipux-cat-web-3.4.0.3/debian/changelog 2012-12-07 15:46:41.000000000 +0100 @@ -1,3 +1,20 @@ +cipux-cat-web (3.4.0.3-4.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "cipux-cat-web, libcipux-cat-web-perl: inconsistent permission + handling of /etc/cipux-cat-web/": + - drop debian/postinst, instead + - ship directories in both binary packages, with group/permissions set + appropriately (debian/libcipux-cat-web-perl.dirs added, debian/rules + extended) + - add lintian overrides for non-standard-dir-perm warnings + (Closes: #694145) + * This also fixes "unowned files after purge (policy 6.8, 10.8)" which was + caused by the directories being created in postinst but never removed. + (Closes: #656456) + + -- gregor herrmann <gre...@debian.org> Fri, 07 Dec 2012 15:46:40 +0100 + cipux-cat-web (3.4.0.3-4) unstable; urgency=low * Improve package relations: diff -Nru cipux-cat-web-3.4.0.3/debian/cipux-cat-web.lintian-overrides cipux-cat-web-3.4.0.3/debian/cipux-cat-web.lintian-overrides --- cipux-cat-web-3.4.0.3/debian/cipux-cat-web.lintian-overrides 1970-01-01 01:00:00.000000000 +0100 +++ cipux-cat-web-3.4.0.3/debian/cipux-cat-web.lintian-overrides 2012-12-07 15:31:46.000000000 +0100 @@ -0,0 +1 @@ +cipux-cat-web: non-standard-dir-perm etc/cipux-cat-web/ 0750 != 0755 diff -Nru cipux-cat-web-3.4.0.3/debian/libcipux-cat-web-perl.dirs cipux-cat-web-3.4.0.3/debian/libcipux-cat-web-perl.dirs --- cipux-cat-web-3.4.0.3/debian/libcipux-cat-web-perl.dirs 1970-01-01 01:00:00.000000000 +0100 +++ cipux-cat-web-3.4.0.3/debian/libcipux-cat-web-perl.dirs 2012-12-07 15:24:06.000000000 +0100 @@ -0,0 +1,3 @@ +etc/cipux-cat-web +var/cache/cipux-cat-web +var/log/cipux-cat-web diff -Nru cipux-cat-web-3.4.0.3/debian/libcipux-cat-web-perl.lintian-overrides cipux-cat-web-3.4.0.3/debian/libcipux-cat-web-perl.lintian-overrides --- cipux-cat-web-3.4.0.3/debian/libcipux-cat-web-perl.lintian-overrides 1970-01-01 01:00:00.000000000 +0100 +++ cipux-cat-web-3.4.0.3/debian/libcipux-cat-web-perl.lintian-overrides 2012-12-07 15:32:08.000000000 +0100 @@ -0,0 +1,3 @@ +libcipux-cat-web-perl: non-standard-dir-perm etc/cipux-cat-web/ 0750 != 0755 +libcipux-cat-web-perl: non-standard-dir-perm var/cache/cipux-cat-web/ 0750 != 0755 +libcipux-cat-web-perl: non-standard-dir-perm var/log/cipux-cat-web/ 0750 != 0755 diff -Nru cipux-cat-web-3.4.0.3/debian/postinst cipux-cat-web-3.4.0.3/debian/postinst --- cipux-cat-web-3.4.0.3/debian/postinst 2011-05-04 22:09:31.000000000 +0200 +++ cipux-cat-web-3.4.0.3/debian/postinst 1970-01-01 01:00:00.000000000 +0100 @@ -1,24 +0,0 @@ -#!/bin/sh - -#DEBHELPER# - -set -e - -case "$1" in - configure) - ourdirs="/var/log/cipux-cat-web /var/cache/cipux-cat-web /etc/cipux-cat-web" - for dir in $ourdirs; do - [ -d $dir ] || mkdir -p $dir - chgrp www-data $dir - chmod 750 $dir - done - ;; - abort-upgrade|abort-remove|abort-deconfigure) - ;; - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - -exit 0 diff -Nru cipux-cat-web-3.4.0.3/debian/rules cipux-cat-web-3.4.0.3/debian/rules --- cipux-cat-web-3.4.0.3/debian/rules 2011-05-04 18:08:30.000000000 +0200 +++ cipux-cat-web-3.4.0.3/debian/rules 2012-12-07 15:51:27.000000000 +0100 @@ -69,10 +69,18 @@ -name web -not -name dpkg-daemon-helper \ -exec mv -t debian/$(cdbs_curpkg)/usr/share/cipux-cat-web/web '{}' ';' +# Set permissions/group (#694145) +binary-fixup/cipux-cat-web:: + chgrp www-data debian/$(cdbs_curpkg)/etc/cipux-cat-web + chmod 750 debian/$(cdbs_curpkg)/etc/cipux-cat-web + # Override upstream default: secure connection is unneeded to localhost +# Set permissions/group (#694145) binary-fixup/libcipux-cat-web-perl:: perl -i -pe "s|^(\h*catweb_rpc_server\h*=>\h*).*,\h*(#.*)?\$$|\$$1'http://localhost:8001/RPC2',|" \ debian/$(cdbs_curpkg)/etc/cipux-cat-web/cipux-cat-web.conf + chgrp www-data debian/$(cdbs_curpkg)/var/log/cipux-cat-web debian/$(cdbs_curpkg)/var/cache/cipux-cat-web debian/$(cdbs_curpkg)/etc/cipux-cat-web + chmod 750 debian/$(cdbs_curpkg)/var/log/cipux-cat-web debian/$(cdbs_curpkg)/var/cache/cipux-cat-web debian/$(cdbs_curpkg)/etc/cipux-cat-web # Ensure debconf PO files is in sync with templates clean::
signature.asc
Description: Digital signature