aboutsummaryrefslogtreecommitdiff
path: root/mail/dspam
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-05-14 17:48:24 +0000
committerRenato Botelho <garga@FreeBSD.org>2014-05-14 17:48:24 +0000
commit28b355e601edf3d03c25894266706d8d7f042e24 (patch)
tree10bf21548ae550eeae78ae5d58332e66ba73a708 /mail/dspam
parent296a50fbbefdfd7a9682eb1d23abc76d249b778f (diff)
downloadports-28b355e601edf3d03c25894266706d8d7f042e24.tar.gz
ports-28b355e601edf3d03c25894266706d8d7f042e24.zip
Notes
Diffstat (limited to 'mail/dspam')
-rw-r--r--mail/dspam/files/patch-src__Makefile.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/mail/dspam/files/patch-src__Makefile.in b/mail/dspam/files/patch-src__Makefile.in
new file mode 100644
index 000000000000..d4c6c5894e95
--- /dev/null
+++ b/mail/dspam/files/patch-src__Makefile.in
@@ -0,0 +1,19 @@
+--- src/Makefile.in.orig 2014-05-14 17:35:13.000000000 -0300
++++ src/Makefile.in 2014-05-14 17:35:48.000000000 -0300
+@@ -1117,11 +1117,11 @@
+ mkdir -p $(DESTDIR)$(sysconfdir); \
+ chmod 755 $(DESTDIR)$(sysconfdir); \
+ fi
+- -if test ! -f $(DESTDIR)$(sysconfdir)/dspam.conf; then \
+- cp dspam.conf $(DESTDIR)$(sysconfdir)/dspam.conf; \
+- chmod 640 $(DESTDIR)$(sysconfdir)/dspam.conf; \
+- chown "$(dspam_owner)" $(DESTDIR)$(sysconfdir)/dspam.conf; \
+- chgrp "$(dspam_group)" $(DESTDIR)$(sysconfdir)/dspam.conf; \
++ -if test ! -f $(DESTDIR)$(sysconfdir)/dspam.conf.sample; then \
++ cp dspam.conf $(DESTDIR)$(sysconfdir)/dspam.conf.sample; \
++ chmod 640 $(DESTDIR)$(sysconfdir)/dspam.conf.sample; \
++ chown "$(dspam_owner)" $(DESTDIR)$(sysconfdir)/dspam.conf.sample; \
++ chgrp "$(dspam_group)" $(DESTDIR)$(sysconfdir)/dspam.conf.sample; \
+ fi
+ -if test x"$(dspam_owner)" != xnone; then \
+ chown "$(dspam_owner)" $(DESTDIR)$(bindir)/dspam; \