aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ucspi-tcp
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2009-11-04 15:54:51 +0000
committerRenato Botelho <garga@FreeBSD.org>2009-11-04 15:54:51 +0000
commit66f67ad3863664cfcdf03652a396a4f1ce763a92 (patch)
treed86edb210f73729d387598b6a17870818416b5b8 /sysutils/ucspi-tcp
parent14d5ef9859a1e09dcce47cc809b360c0da0e9985 (diff)
downloadports-66f67ad3863664cfcdf03652a396a4f1ce763a92.tar.gz
ports-66f67ad3863664cfcdf03652a396a4f1ce763a92.zip
Notes
Diffstat (limited to 'sysutils/ucspi-tcp')
-rw-r--r--sysutils/ucspi-tcp/Makefile18
-rw-r--r--sysutils/ucspi-tcp/distinfo3
2 files changed, 20 insertions, 1 deletions
diff --git a/sysutils/ucspi-tcp/Makefile b/sysutils/ucspi-tcp/Makefile
index 163f1692681c..10abc6978351 100644
--- a/sysutils/ucspi-tcp/Makefile
+++ b/sysutils/ucspi-tcp/Makefile
@@ -22,7 +22,8 @@ OPTIONS= MAN "Install man(1) pages" on \
RSS_DIFF "Patch rblsmtpd for qmail users" off \
SSL "Adds support for SSL (Secure Socket Layer)" off \
RBL2SMTPD "Don't drop connection, pass envvar to smtpd" off \
- LIMITS "Implement per-connection and other limits" off
+ LIMITS "Implement per-connection and other limits" off \
+ IPV6 "Add IPv6 support" off
MAKE_JOBS_SAFE= yes
@@ -97,6 +98,21 @@ PATCH_SITES+= http://linux.voyager.hr/ucspi-tcp/files/:limits
PATCHFILES+= tcpserver-limits-2006-01-26.diff:limits
.endif
+# Neither can IPv6 and SSL
+.if defined(WITH_IPV6) && defined(WITH_SSL)
+BROKEN= SSL and IPv6 options cannot coexist, please choose one of them
+.endif
+
+# Same for IPv6 and LIMITS
+.if defined(WITH_IPV6) && defined(WITH_LIMITS)
+BROKEN= IPv6 and LIMITS options cannot coexist, please choose one of them
+.endif
+
+.if defined(WITH_IPV6)
+PATCH_SITES+= http://www.fefe.de/ucspi/:ipv6
+PATCHFILES+= ucspi-tcp-0.88-ipv6.diff19.bz2:ipv6
+.endif
+
PATCH_SITES+= ${MASTER_SITE_LOCAL:S/$/:rss,ssl,rbl2smtpd/}
PATCH_SITE_SUBDIR+= garga/ucspi-tcp/:rss,ssl,rbl2smtpd
diff --git a/sysutils/ucspi-tcp/distinfo b/sysutils/ucspi-tcp/distinfo
index 12df7fa3a111..9396a8c69c0d 100644
--- a/sysutils/ucspi-tcp/distinfo
+++ b/sysutils/ucspi-tcp/distinfo
@@ -16,3 +16,6 @@ SIZE (ucspi-tcp_rbl2smtpd.diff) = 570
MD5 (tcpserver-limits-2006-01-26.diff) = 61de274e951e99a5034fd4628bcb4bbb
SHA256 (tcpserver-limits-2006-01-26.diff) = 859e8bebff07c10576fe10f0c3bad2a6efda7acf30dd9c0e72e38808851d2a11
SIZE (tcpserver-limits-2006-01-26.diff) = 15523
+MD5 (ucspi-tcp-0.88-ipv6.diff19.bz2) = d87d31ba2d34a0fb60141282d5233a51
+SHA256 (ucspi-tcp-0.88-ipv6.diff19.bz2) = 35952cd290d714452c840580126004cbae8db65b1632df67ac9c8fad7d1f9ace
+SIZE (ucspi-tcp-0.88-ipv6.diff19.bz2) = 22632