From: Peter Pentchev Date: Fri, 18 Jun 2010 14:45:01 +0000 (+0000) Subject: Actually, we still need the 04-debian-setgid patch. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=883c7982e4f996e6e8a0d7c433d3878258f6c037;p=people%2Fms%2Fdma.git Actually, we still need the 04-debian-setgid patch. --- diff --git a/changelog b/changelog index 29586ee..4acf484 100644 --- a/changelog +++ b/changelog @@ -6,7 +6,7 @@ dma (0.0.2010.06.17-1) UNRELEASED; urgency=low - remove the compatibility shims implemented upstream in a different way - in the 03-debian-locations patch, make the Debian defaults actual defaults for the dma binary, not just in the dma.conf file - - remove the 04-debian-setgid patch, using the GNU Makefile now + - adapt the 04-debian-setgid patch for the GNU Makefile - in the 10-liblockfile patch, change the GNU Makefile, not the BSD one - enhance the 11-double-bounce patch a bit: - use dma's own delqueue() function instead of a naive unlink() so diff --git a/patches/04-debian-setgid.patch b/patches/04-debian-setgid.patch new file mode 100644 index 0000000..5ffd6f3 --- /dev/null +++ b/patches/04-debian-setgid.patch @@ -0,0 +1,19 @@ +Description: Install the dma binary with the correct permissions. + The /usr/sbin/dma binary needs to run as set-group-id to properly access + its own mail queue. +Origin: other: http://svn.ringlet.net/svn/ringlet/mail/dma/ +Forwarded: not-needed +Author: Peter Pentchev +Last-Update: 2010-06-18 + +--- a/Makefile.plain ++++ b/Makefile.plain +@@ -30,7 +30,7 @@ + install: all + ${INSTALL} -d ${DESTDIR}${SBIN} ${DESTDIR}${CONFDIR} + ${INSTALL} -d ${DESTDIR}${MAN}/man8 +- ${INSTALL} -m 0755 dma ${DESTDIR}${SBIN} ++ ${INSTALL} -g mail -m 2755 dma ${DESTDIR}${SBIN} + ${INSTALL} -m 0644 dma.8 ${DESTDIR}${MAN}/man8/ + + aliases_parse.c: aliases_parse.y diff --git a/patches/series b/patches/series index 09c3705..6fc138b 100644 --- a/patches/series +++ b/patches/series @@ -1,5 +1,6 @@ 01-debian-build.patch 03-debian-locations.patch +04-debian-setgid.patch 09-typos.patch 10-liblockfile.patch 11-double-bounce.patch