2017-01-04 03:14:12 +01:00
|
|
|
# $NetBSD: options.mk,v 1.5 2017/01/04 02:14:12 schmonz Exp $
|
2007-02-02 14:00:36 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.ucspi-tcp
|
2011-06-09 03:47:13 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS+= inet6 ucspi-tcp-nodefaultrbl
|
2012-06-12 17:45:54 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS+= inet6 ucspi-tcp-nodefaultrbl
|
2007-02-02 14:00:36 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2011-06-09 03:47:13 +02:00
|
|
|
PLIST_VARS+= inet6
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
2017-01-04 03:14:12 +01:00
|
|
|
IPV6_PATCH= ucspi-tcp-0.88-ipv6.diff20.bz2
|
2011-06-09 03:47:13 +02:00
|
|
|
PATCHFILES+= ${IPV6_PATCH}
|
|
|
|
SITES.${IPV6_PATCH}= http://www.fefe.de/ucspi/
|
|
|
|
PATCH_DIST_STRIP.${IPV6_PATCH}= -p1
|
|
|
|
PLIST.inet6= yes
|
2012-06-24 12:10:55 +02:00
|
|
|
|
|
|
|
SUBST_CLASSES+= hier
|
|
|
|
SUBST_STAGE.hier= post-patch
|
|
|
|
SUBST_MESSAGE.hier= Fixing manpage path.
|
|
|
|
SUBST_FILES.hier= hier.c
|
|
|
|
SUBST_SED.hier= -e 's,man,${PKGMANDIR},'
|
2011-06-09 03:47:13 +02:00
|
|
|
.endif
|
|
|
|
|
2007-02-02 14:00:36 +01:00
|
|
|
.if !empty(PKG_OPTIONS:Mucspi-tcp-nodefaultrbl)
|
2011-06-09 03:47:13 +02:00
|
|
|
NODEFAULTRBL_PATCH= rblsmtpd-nodefaultrbl.patch
|
|
|
|
PATCHFILES+= ${NODEFAULTRBL_PATCH}
|
2007-02-02 14:00:36 +01:00
|
|
|
SITES.${NODEFAULTRBL_PATCH}= http://pyropus.ca/software/misc/
|
|
|
|
PATCH_DIST_STRIP.${NODEFAULTRBL_PATCH}= -p1
|
|
|
|
.endif
|