summaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2009-01-06 17:59:31 +0000
committerpav <pav@FreeBSD.org>2009-01-06 17:59:31 +0000
commit8ef21a396d8627cdfced24744c2bacb7cb0c9453 (patch)
tree06fbb407306ac7e1b7b00946df69737e787c8891 /net-mgmt
parente32973556a174646ad93cdf1b43963a9fc18eb55 (diff)
downloadFreeBSD-ports-8ef21a396d8627cdfced24744c2bacb7cb0c9453.zip
FreeBSD-ports-8ef21a396d8627cdfced24744c2bacb7cb0c9453.tar.gz
- Remove conditional checks for FreeBSD 5.x and older
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/bsnmptools/Makefile8
-rw-r--r--net-mgmt/ettercap/Makefile5
-rw-r--r--net-mgmt/ipsectrace/Makefile8
-rw-r--r--net-mgmt/kismet/Makefile4
-rw-r--r--net-mgmt/nagircbot/Makefile8
-rw-r--r--net-mgmt/net-snmp4/Makefile6
-rw-r--r--net-mgmt/send/Makefile4
-rw-r--r--net-mgmt/snmp++/Makefile8
-rw-r--r--net-mgmt/vidalia/Makefile6
9 files changed, 5 insertions, 52 deletions
diff --git a/net-mgmt/bsnmptools/Makefile b/net-mgmt/bsnmptools/Makefile
index 2db29de..058b919 100644
--- a/net-mgmt/bsnmptools/Makefile
+++ b/net-mgmt/bsnmptools/Makefile
@@ -28,12 +28,6 @@ BIN_FILES= bsnmpget bsnmpset bsnmpwalk
MAN1= ${BIN_FILES:S/$/.1/}
MAN3= ${PORTNAME}.3
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600029
-IGNORE= does not compile on FreeBSD before 6.x
-.endif
-
post-extract:
@${CHMOD} -R u+w ${WRKSRC}
@${MV} ${WRKSRC}/lib/libbsnmptools/libbsnmptools ${WRKSRC}/tlib
@@ -44,4 +38,4 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e 's/usr.sbin/tools/' ${WRKSRC}/Makefile
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/ettercap/Makefile b/net-mgmt/ettercap/Makefile
index 79f663a..577acf8 100644
--- a/net-mgmt/ettercap/Makefile
+++ b/net-mgmt/ettercap/Makefile
@@ -47,11 +47,6 @@ CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
LIBS="${LDFLAGS}"
CONFIGURE_ARGS+= --enable-plugins
-.if ${OSVERSION} < 502111
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
-CONFIGURE_ARGS+= --with-libpcap=${LOCALBASE}
-.endif
-
.if !defined(WITHOUT_GTK)
USE_GNOME= glib20 atk pango gtk20
PKGNAMESUFFIX+= -gtk2
diff --git a/net-mgmt/ipsectrace/Makefile b/net-mgmt/ipsectrace/Makefile
index 2081924..f007e6f7 100644
--- a/net-mgmt/ipsectrace/Makefile
+++ b/net-mgmt/ipsectrace/Makefile
@@ -26,10 +26,4 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ipsectrace ${PREFIX}/bin/ipsectrace
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600032
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/kismet/Makefile b/net-mgmt/kismet/Makefile
index ee006cd..042a6257 100644
--- a/net-mgmt/kismet/Makefile
+++ b/net-mgmt/kismet/Makefile
@@ -74,10 +74,6 @@ MAN5= kismet.conf.5 kismet_drone.conf.5 kismet_ui.conf.5
PORTDOCS+= README
-.if ${OSVERSION} < 502000
-CONFIGURE_ARGS+= --disable-pcap
-.endif
-
post-extract:
.ifdef(WITH_GMAP) && defined(WITH_GPSMAP)
@${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${PATCHFILES}
diff --git a/net-mgmt/nagircbot/Makefile b/net-mgmt/nagircbot/Makefile
index 9090f4a..3552be0 100644
--- a/net-mgmt/nagircbot/Makefile
+++ b/net-mgmt/nagircbot/Makefile
@@ -19,10 +19,4 @@ USE_RC_SUBR= nagircbot
PLIST_FILES= bin/nagircbot
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= need at least FreeBSD-6
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/net-snmp4/Makefile b/net-mgmt/net-snmp4/Makefile
index 7338a63..ee9ed60 100644
--- a/net-mgmt/net-snmp4/Makefile
+++ b/net-mgmt/net-snmp4/Makefile
@@ -17,7 +17,7 @@ COMMENT= An extendable SNMP implementation
GNU_CONFIGURE= yes
USE_PERL5= yes
USE_LDCONFIG= yes
-CFLAGS+= -fPIC
+CFLAGS+= -fPIC -Dfreebsd5
CONFIGURE_ARGS+= --enable-shared \
--with-mib-modules="host ucd-snmp/diskio" \
@@ -100,10 +100,6 @@ OPTIONS= IPV6 "Enable IPv6 support" On
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 600000
-CFLAGS+= -Dfreebsd5
-.endif
-
.if defined(WITH_IPV6)
CONFIGURE_ARGS+= --enable-ipv6
.endif
diff --git a/net-mgmt/send/Makefile b/net-mgmt/send/Makefile
index 3b7603d..754d3fe 100644
--- a/net-mgmt/send/Makefile
+++ b/net-mgmt/send/Makefile
@@ -26,10 +26,6 @@ PORTDOCS= UserGuide.pdf
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-BROKEN= doesn't compile in FreeBSD < 6.0
-.endif
-
.if ${OSVERSION} > 700000
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-include_pkixip__ext__asn.h
.endif
diff --git a/net-mgmt/snmp++/Makefile b/net-mgmt/snmp++/Makefile
index effa8f5..49b4939 100644
--- a/net-mgmt/snmp++/Makefile
+++ b/net-mgmt/snmp++/Makefile
@@ -24,10 +24,4 @@ USE_LDCONFIG= yes
post-extract:
${CP} ${FILESDIR}/Makefile.FreeBSD ${WRKSRC}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= does not work on FreeBSD < 6 because of absence of gethostbyname_r
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-mgmt/vidalia/Makefile b/net-mgmt/vidalia/Makefile
index 5655ec5..cc5f372 100644
--- a/net-mgmt/vidalia/Makefile
+++ b/net-mgmt/vidalia/Makefile
@@ -39,12 +39,6 @@ OPTIONS= TOR_DEVEL "Depend on tor-devel" On \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-.if ${ARCH} == "amd64"
-BROKEN= Does not compile on amd64 5, probably gcc-related
-.endif
-.endif
-
.if defined(WITH_TOR_DEVEL)
.if defined(WITH_TOR)
IGNORE= cannot depend on tor and tor-devel at the same time
OpenPOWER on IntegriCloud