aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2009-11-04 23:54:51 +0800
committergarga <garga@FreeBSD.org>2009-11-04 23:54:51 +0800
commite0f788d174e658f9b0a3244bfc907961148df898 (patch)
treeec8835bfc7dd20bc3c92849aa739da61182fd3a2 /sysutils
parent4d8cbde946aeb1d4683acb60cb5198123d23f8b4 (diff)
downloadfreebsd-ports-gnome-e0f788d174e658f9b0a3244bfc907961148df898.tar.gz
freebsd-ports-gnome-e0f788d174e658f9b0a3244bfc907961148df898.tar.zst
freebsd-ports-gnome-e0f788d174e658f9b0a3244bfc907961148df898.zip
Add IPv6 support, optional, off by default
Submitted by: Doug Kelly <dougk@dougk-ff7.net>
Diffstat (limited to 'sysutils')
-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