dma-0.10_owners.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. diff -uNr dma-0.10.orig/Makefile dma-0.10/Makefile
  2. --- dma-0.10.orig/Makefile 2015-09-26 06:45:29.000000000 +0900
  3. +++ dma-0.10/Makefile 2015-12-27 21:06:56.838022791 +0900
  4. @@ -50,8 +50,8 @@
  5. install: all
  6. ${INSTALL} -d ${DESTDIR}${SBIN}
  7. ${INSTALL} -d ${DESTDIR}${MAN}/man8 ${DESTDIR}${LIBEXEC}
  8. - ${INSTALL} -m 2755 -o root -g mail dma ${DESTDIR}${SBIN}
  9. - ${INSTALL} -m 4754 -o root -g mail dma-mbox-create ${DESTDIR}${LIBEXEC}
  10. + ${INSTALL} -m 2755 dma ${DESTDIR}${SBIN}
  11. + ${INSTALL} -m 4754 dma-mbox-create ${DESTDIR}${LIBEXEC}
  12. ${INSTALL} -m 0644 dma.8 ${DESTDIR}${MAN}/man8/
  13. sendmail-link:
  14. @@ -61,11 +61,10 @@
  15. cd ${DESTDIR}${SBIN} && ${LN} ${SYMLINK} dma mailq
  16. install-spool-dirs:
  17. - ${INSTALL} -d -m 2775 -o root -g mail ${DESTDIR}${DMASPOOL}
  18. - ${INSTALL} -d -m 2775 -o root -g mail ${DESTDIR}${VARMAIL}
  19. + ${INSTALL} -d -m 2775 ${DESTDIR}${DMASPOOL}
  20. + ${INSTALL} -d -m 2775 ${DESTDIR}${VARMAIL}
  21. permissions:
  22. - -${CHGRP} mail ${DESTDIR}${VARMAIL}/*
  23. -${CHMOD} g+w ${DESTDIR}${VARMAIL}/*
  24. -${CHMOD} 660 ${DESTDIR}${DMASPOOL}/flush
  25. @@ -74,14 +73,14 @@
  26. @if [ -e ${DESTDIR}${CONFDIR}/dma.conf ]; then \
  27. echo "Not overwriting ${DESTDIR}${CONFDIR}/dma.conf."; \
  28. else \
  29. - echo ${INSTALL} -m 644 -o root -g mail dma.conf ${DESTDIR}${CONFDIR}; \
  30. - ${INSTALL} -m 644 -o root -g mail dma.conf ${DESTDIR}${CONFDIR}; \
  31. + echo ${INSTALL} -m 644 dma.conf ${DESTDIR}${CONFDIR}; \
  32. + ${INSTALL} -m 644 dma.conf ${DESTDIR}${CONFDIR}; \
  33. fi
  34. @if [ -e ${DESTDIR}${CONFDIR}/auth.conf ]; then \
  35. echo "Not overwriting ${DESTDIR}${CONFDIR}/auth.conf."; \
  36. else \
  37. - echo ${INSTALL} -m 640 -o root -g mail auth.conf ${DESTDIR}${CONFDIR}; \
  38. - ${INSTALL} -m 640 -o root -g mail auth.conf ${DESTDIR}${CONFDIR}; \
  39. + echo ${INSTALL} -m 640 auth.conf ${DESTDIR}${CONFDIR}; \
  40. + ${INSTALL} -m 640 auth.conf ${DESTDIR}${CONFDIR}; \
  41. fi
  42. aliases_parse.c: aliases_parse.y