aboutsummaryrefslogtreecommitdiff
path: root/mail/spamd
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-06-24 09:15:03 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-06-24 09:15:03 +0000
commita29062c6d66e04759cdd3f090b924678d53b6fd4 (patch)
treef93ae66e0bf0e1ca7d4ea4adc1e3424b3542e23c /mail/spamd
parent300f5b86adb4b70f7048714765b9261de59664c8 (diff)
downloadports-a29062c6d66e04759cdd3f090b924678d53b6fd4.tar.gz
ports-a29062c6d66e04759cdd3f090b924678d53b6fd4.zip
Notes
Diffstat (limited to 'mail/spamd')
-rw-r--r--mail/spamd/files/patch-makefile13
-rw-r--r--mail/spamd/files/patch-spamlogd15
2 files changed, 28 insertions, 0 deletions
diff --git a/mail/spamd/files/patch-makefile b/mail/spamd/files/patch-makefile
new file mode 100644
index 000000000000..18f76d9465c1
--- /dev/null
+++ b/mail/spamd/files/patch-makefile
@@ -0,0 +1,13 @@
+--- spamlogd/Makefile.old Mon Apr 2 01:33:46 2007
++++ spamlogd/Makefile Sat Jun 23 15:29:03 2007
+@@ -4,6 +4,10 @@
+ SRCS= spamlogd.c sync.c
+ MAN= spamlogd.8
+
++.if ${OSVERSION} < 601000
++SRCS+= ../spamd/strtonum.c
++.endif
++
+ CFLAGS+= -Wall -Wstrict-prototypes -I${.CURDIR}/../spamd
+ LDADD+= -lpcap -lcrypto -lmd
+ DPADD+= ${LIBPCAP} ${LIBMD}
diff --git a/mail/spamd/files/patch-spamlogd b/mail/spamd/files/patch-spamlogd
new file mode 100644
index 000000000000..1a3e2d35b5a6
--- /dev/null
+++ b/mail/spamd/files/patch-spamlogd
@@ -0,0 +1,15 @@
+--- spamlogd/spamlogd.c.orig Sat Jun 23 15:28:14 2007
++++ spamlogd/spamlogd.c Sat Jun 23 15:28:27 2007
+@@ -158,10 +158,12 @@
+
+ pcap_freecode(&bpfp);
+
++#ifdef BIOLOCK
+ if (ioctl(pcap_fileno(hpcap), BIOCLOCK) < 0) {
+ logmsg(LOG_ERR, "BIOCLOCK: %s", strerror(errno));
+ return (-1);
+ }
++#endif
+
+ return (0);
+ }