- 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
--- /dev/null
+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 <roam@ringlet.net>
+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
01-debian-build.patch
03-debian-locations.patch
+04-debian-setgid.patch
09-typos.patch
10-liblockfile.patch
11-double-bounce.patch