mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Remove dependencies on security/pf, it was removed. pf is in base since
502106 Pointy hat to: pav
This commit is contained in:
parent
ac1f9d347a
commit
3ba03fca82
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142767
@ -20,19 +20,14 @@ PLIST_FILES= sbin/pfflowd \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= "Only for 5.0 and above"
|
||||
.if ${OSVERSION} < 502106
|
||||
IGNORE= "Only for 5.3 and above"
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 502119
|
||||
EXTRA_PATCHES+= ${FILESDIR}/pf34-Makefile
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 502106
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf
|
||||
RUN_DEPENDS= ${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${SED} -e 's|@@PREFIX@@|${PREFIX}|g' < ${FILESDIR}/pfflowd.sh.sample \
|
||||
> ${WRKSRC}/pfflowd.sh.sample
|
||||
|
@ -28,10 +28,8 @@ SUB_LIST= PFW_PREFIX=${PFW_PREFIX}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= pf is only in 5.x
|
||||
.elif ${OSVERSION} < 502105
|
||||
RUN_DEPENDS+= pf:${PORTSDIR}/security/pf
|
||||
.if ${OSVERSION} < 502105
|
||||
IGNORE= pf is only in 5.x and newer
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
|
@ -23,8 +23,7 @@ MAKE_ENV= NOPORTDOCS="${NOPORTDOCS}"
|
||||
.endif
|
||||
|
||||
.ifdef WITH_PF
|
||||
DEPENDS= ${PORTSDIR}/security/pf
|
||||
PF_INCLUDE_DIR?= ${PREFIX}/include/pf
|
||||
PF_INCLUDE_DIR?= /usr/include/net
|
||||
MAKE_ARGS+= PF_INCLUDE_DIR=${PF_INCLUDE_DIR}
|
||||
.endif
|
||||
|
||||
|
@ -32,15 +32,8 @@ PLIST_FILES= bin/pfstat
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= "Only for 5.0 and above"
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 502106
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf
|
||||
RUN_DEPENDS= ${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include/pf
|
||||
IGNORE= "Only for 5.3 and above"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
|
@ -21,8 +21,8 @@ MANCOMPRESSED= no
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= Only for 5.0 and above
|
||||
.if ${OSVERSION} < 502106
|
||||
IGNORE= Only for 5.3 and above
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 502116
|
||||
@ -38,16 +38,6 @@ MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=37
|
||||
CFLAGS+= -DHAVE_ALTQ=1
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 502106
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf
|
||||
.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
|
||||
BUILD_DEPENDS+=${LOCALBASE}/include/pf/altq/altq.h:${PORTSDIR}/security/pf
|
||||
.endif
|
||||
RUN_DEPENDS= ${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include/pf
|
||||
.endif
|
||||
|
||||
PLIST_FILES= sbin/pftop
|
||||
|
||||
do-install:
|
||||
|
@ -296,10 +296,7 @@ CONFIGURE_ARGS+= --enable-arp-acl
|
||||
.if defined(WITH_SQUID_PF)
|
||||
CONFIGURE_ARGS+= --enable-pf-transparent
|
||||
.if ${OSVERSION} < 502106
|
||||
pf_includedir= ${LOCALBASE}/include/pf
|
||||
BUILD_DEPENDS+= ${pf_includedir}/net/pfvar.h:${PORTSDIR}/security/pf
|
||||
CFLAGS+= -I${pf_includedir}
|
||||
EXTRA_PATCHES+= ${WRKDIR}/pf_from_ports.patch
|
||||
IGNORE= pf available only in FreeBSD 5.3 and newer
|
||||
.endif
|
||||
.endif
|
||||
# IPFilter-headers are not installed on FreeBSD 4 since 4.7-RELEASE,
|
||||
|
@ -296,10 +296,7 @@ CONFIGURE_ARGS+= --enable-arp-acl
|
||||
.if defined(WITH_SQUID_PF)
|
||||
CONFIGURE_ARGS+= --enable-pf-transparent
|
||||
.if ${OSVERSION} < 502106
|
||||
pf_includedir= ${LOCALBASE}/include/pf
|
||||
BUILD_DEPENDS+= ${pf_includedir}/net/pfvar.h:${PORTSDIR}/security/pf
|
||||
CFLAGS+= -I${pf_includedir}
|
||||
EXTRA_PATCHES+= ${WRKDIR}/pf_from_ports.patch
|
||||
IGNORE= pf available only in FreeBSD 5.3 and newer
|
||||
.endif
|
||||
.endif
|
||||
# IPFilter-headers are not installed on FreeBSD 4 since 4.7-RELEASE,
|
||||
|
@ -296,10 +296,7 @@ CONFIGURE_ARGS+= --enable-arp-acl
|
||||
.if defined(WITH_SQUID_PF)
|
||||
CONFIGURE_ARGS+= --enable-pf-transparent
|
||||
.if ${OSVERSION} < 502106
|
||||
pf_includedir= ${LOCALBASE}/include/pf
|
||||
BUILD_DEPENDS+= ${pf_includedir}/net/pfvar.h:${PORTSDIR}/security/pf
|
||||
CFLAGS+= -I${pf_includedir}
|
||||
EXTRA_PATCHES+= ${WRKDIR}/pf_from_ports.patch
|
||||
IGNORE= pf available only in FreeBSD 5.3 and newer
|
||||
.endif
|
||||
.endif
|
||||
# IPFilter-headers are not installed on FreeBSD 4 since 4.7-RELEASE,
|
||||
|
@ -296,10 +296,7 @@ CONFIGURE_ARGS+= --enable-arp-acl
|
||||
.if defined(WITH_SQUID_PF)
|
||||
CONFIGURE_ARGS+= --enable-pf-transparent
|
||||
.if ${OSVERSION} < 502106
|
||||
pf_includedir= ${LOCALBASE}/include/pf
|
||||
BUILD_DEPENDS+= ${pf_includedir}/net/pfvar.h:${PORTSDIR}/security/pf
|
||||
CFLAGS+= -I${pf_includedir}
|
||||
EXTRA_PATCHES+= ${WRKDIR}/pf_from_ports.patch
|
||||
IGNORE= pf available only in FreeBSD 5.3 and newer
|
||||
.endif
|
||||
.endif
|
||||
# IPFilter-headers are not installed on FreeBSD 4 since 4.7-RELEASE,
|
||||
|
@ -296,10 +296,7 @@ CONFIGURE_ARGS+= --enable-arp-acl
|
||||
.if defined(WITH_SQUID_PF)
|
||||
CONFIGURE_ARGS+= --enable-pf-transparent
|
||||
.if ${OSVERSION} < 502106
|
||||
pf_includedir= ${LOCALBASE}/include/pf
|
||||
BUILD_DEPENDS+= ${pf_includedir}/net/pfvar.h:${PORTSDIR}/security/pf
|
||||
CFLAGS+= -I${pf_includedir}
|
||||
EXTRA_PATCHES+= ${WRKDIR}/pf_from_ports.patch
|
||||
IGNORE= pf available only in FreeBSD 5.3 and newer
|
||||
.endif
|
||||
.endif
|
||||
# IPFilter-headers are not installed on FreeBSD 4 since 4.7-RELEASE,
|
||||
|
@ -296,10 +296,7 @@ CONFIGURE_ARGS+= --enable-arp-acl
|
||||
.if defined(WITH_SQUID_PF)
|
||||
CONFIGURE_ARGS+= --enable-pf-transparent
|
||||
.if ${OSVERSION} < 502106
|
||||
pf_includedir= ${LOCALBASE}/include/pf
|
||||
BUILD_DEPENDS+= ${pf_includedir}/net/pfvar.h:${PORTSDIR}/security/pf
|
||||
CFLAGS+= -I${pf_includedir}
|
||||
EXTRA_PATCHES+= ${WRKDIR}/pf_from_ports.patch
|
||||
IGNORE= pf available only in FreeBSD 5.3 and newer
|
||||
.endif
|
||||
.endif
|
||||
# IPFilter-headers are not installed on FreeBSD 4 since 4.7-RELEASE,
|
||||
|
Loading…
Reference in New Issue
Block a user