[Pkg-erlang-devel] Bug#600051: slightly revised NMU in delayed/2

Serafeim Zanikolas sez at debian.org
Tue Nov 2 22:33:49 UTC 2010


diff -Nurp couchdb-0.11.0.orig//debian/changelog couchdb-0.11.0/debian/changelog
--- couchdb-0.11.0.orig//debian/changelog	2010-11-01 22:11:58.000000000 +0100
+++ couchdb-0.11.0/debian/changelog	2010-11-01 22:11:00.000000000 +0100
@@ -1,3 +1,19 @@
+couchdb (0.11.0-2.3) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * debian/rules: make sure /var/{lib,log}/couchdb have permission set to 750
+    (related to #600051).
+
+ -- Serafeim Zanikolas <sez at debian.org>  Mon, 01 Nov 2010 20:08:08 +0100
+
+couchdb (0.11.0-2.2) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Apply permission settings during package build (as opposed to during
+    package installation) (Closes: #600051). Setting high urgency for RC bug.
+
+ -- Serafeim Zanikolas <sez at debian.org>  Sat, 30 Oct 2010 13:03:20 +0200
+
 couchdb (0.11.0-2.1) unstable; urgency=high
 
   * Non-maintainer upload by the Security Team.
diff -Nurp couchdb-0.11.0.orig//debian/postinst couchdb-0.11.0/debian/postinst
--- couchdb-0.11.0.orig//debian/postinst	2010-11-01 22:11:58.000000000 +0100
+++ couchdb-0.11.0/debian/postinst	2010-11-01 19:51:04.000000000 +0100
@@ -24,9 +24,6 @@ case $1 in
         chown -R couchdb:couchdb /etc/couchdb
         chown -R couchdb:couchdb /var/lib/couchdb
         chown -R couchdb:couchdb /var/log/couchdb
-        chmod -R 0770 /etc/couchdb
-        chmod -R 0770 /var/lib/couchdb
-        chmod -R 0770 /var/log/couchdb
         ;;
 esac
 
diff -Nurp couchdb-0.11.0.orig//debian/rules couchdb-0.11.0/debian/rules
--- couchdb-0.11.0.orig//debian/rules	2010-11-01 22:11:58.000000000 +0100
+++ couchdb-0.11.0/debian/rules	2010-11-01 22:07:51.000000000 +0100
@@ -35,6 +35,10 @@ common-binary-post-install-arch::
 	cp debian/binary.lintian-overrides debian/couchdb/usr/share/lintian/overrides/couchdb
 
 common-binary-predeb-arch::
+	dh_fixperms debian/couchdb/
+	chmod 660 debian/couchdb/etc/couchdb/local.ini
+	chmod 750 debian/couchdb/var/lib/couchdb
+	chmod 750 debian/couchdb/var/log/couchdb
 	erlang-depends
 
 # @@ only works from source directory, see #494141





More information about the Pkg-erlang-devel mailing list