summaryrefslogtreecommitdiff
path: root/mail/fdm/patches
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2012-08-17 17:45:40 +0000
committerseb <seb@pkgsrc.org>2012-08-17 17:45:40 +0000
commitc95b4a8e6a0d09a7365e35a844ac20f53cb83e34 (patch)
tree046543fc5f7bc3afab6bcdcfb9aabdae87dc9eed /mail/fdm/patches
parentf60c078010281f897d3e3959d604789174fa019d (diff)
downloadpkgsrc-c95b4a8e6a0d09a7365e35a844ac20f53cb83e34.tar.gz
Initial import of fdm version 1.6 in the NetBSD Packages Collection.
fdm is a program to fetch mail and deliver it in various ways depending on a user-supplied ruleset. Mail may be fetched from stdin, IMAP or POP3 servers, or from local maildirs, and filtered based on whether it matches a regexp, its size or age, or the output of a shell command. It can be rewritten by an external process, dropped, left on the server or delivered into maildirs, mboxes, to a file or pipe, or any combination. fdm is designed to be lightweight but powerful, with a compact but clear configuration syntax. It is primarily designed for single-user uses but may also be configured to deliver mail in a multi-user setup. In this case, it uses privilege separation to minimise the amount of code running as the root user.
Diffstat (limited to 'mail/fdm/patches')
-rw-r--r--mail/fdm/patches/patch-aa25
1 files changed, 25 insertions, 0 deletions
diff --git a/mail/fdm/patches/patch-aa b/mail/fdm/patches/patch-aa
new file mode 100644
index 00000000000..7eb89218712
--- /dev/null
+++ b/mail/fdm/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1.1.1 2012/08/17 17:45:40 seb Exp $
+
+cleanup cpp args dans adjust/fix Darwin build
+
+--- Makefile.orig 2008-12-22 16:20:05.000000000 +0000
++++ Makefile
+@@ -37,7 +37,7 @@ HDRS= fdm.h array.h fetch.h match.h deli
+ YACC= yacc -d
+
+ CC?= cc
+-INCDIRS+= -I. -I- -I/usr/local/include
++INCDIRS+= -I.
+ .ifdef PROFILE
+ # Don't use ccache
+ CC= /usr/bin/gcc
+@@ -70,7 +70,8 @@ LIBS+= -lpcre
+ .if ${OS} == "Darwin"
+ SRCS+= compat/strtonum.c
+ INCDIRS+= -Icompat -I/usr/local/include/openssl
+-CFLAGS+= -DNO_STRTONUM -DNO_SETRESUID -DNO_SETRESGID -DNO_SETPROCTITLE
++CFLAGS+= -DNO_STRTONUM -DNO_SETRESUID -DNO_SETRESGID -DNO_SETPROCTITLE -DNO_QUEUE_H -DNO_TREE_H
++LIBS+= -lresolv
+ .endif
+
+ # NetBSD