summaryrefslogtreecommitdiff
path: root/net/ucspi-tcp/options.mk
blob: cb1a15e48385a06e8547cfed753d8eeb04c402fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: options.mk,v 1.3 2012/06/12 15:46:02 wiz Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.ucspi-tcp
PKG_SUPPORTED_OPTIONS+=	inet6 ucspi-tcp-nodefaultrbl
PKG_SUGGESTED_OPTIONS+=	inet6 ucspi-tcp-nodefaultrbl

.include "../../mk/bsd.options.mk"

PLIST_VARS+=			inet6
.if !empty(PKG_OPTIONS:Minet6)
IPV6_PATCH=			ucspi-tcp-0.88-ipv6.diff19.bz2
PATCHFILES+=			${IPV6_PATCH}
SITES.${IPV6_PATCH}=		http://www.fefe.de/ucspi/
PATCH_DIST_STRIP.${IPV6_PATCH}=	-p1
PLIST.inet6=			yes
.endif

.if !empty(PKG_OPTIONS:Mucspi-tcp-nodefaultrbl)
NODEFAULTRBL_PATCH=		rblsmtpd-nodefaultrbl.patch
PATCHFILES+=			${NODEFAULTRBL_PATCH}
SITES.${NODEFAULTRBL_PATCH}=	http://pyropus.ca/software/misc/
PATCH_DIST_STRIP.${NODEFAULTRBL_PATCH}=	-p1
.endif