summaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-09-30 22:44:19 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-12-31 01:37:05 +0100
commitbbab7f59e9630416397189df70ec133bdd690e38 (patch)
tree2ebb595d5a675fda686781b56ea08f80b933cb61 /net-mgmt
parentRevert "audio/mythplugin-mythmusic: Remove expired port" (diff)
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm - Remove all references to defunct ARCH sparc64 - Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64 ARCH - Remove sysutils/afbinit requires defunct sparc64 ARCH - Remove all references to bktr driver - Remove all references to defunct FreeBSD_12 - Remove all references to OSVERSION/OSREL corresponding to 12 - Remove conditionals in Mk/Uses/cabal.mk - Remove sparc reference from Mk/Uses/qt-dist.mk - Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64 - Remove BROKEN_FreeBSD_12* from: - Remove OpenSSL patches from: - Remove conditional flags for OSVERSION >= 1300000 to fixed flags. Also move conditional flags for non sparc64/arm ARCH to fixed flags. Reviewed by: brooks, jbeich, rene, salvadore Differential Revision: https://reviews.freebsd.org/D42068
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/monitoring-plugins/Makefile4
-rw-r--r--net-mgmt/nagios-plugins/Makefile8
-rw-r--r--net-mgmt/nfs-exporter/Makefile6
3 files changed, 1 insertions, 17 deletions
diff --git a/net-mgmt/monitoring-plugins/Makefile b/net-mgmt/monitoring-plugins/Makefile
index aacf9dfddfa7..194c8ae74d74 100644
--- a/net-mgmt/monitoring-plugins/Makefile
+++ b/net-mgmt/monitoring-plugins/Makefile
@@ -122,11 +122,7 @@ NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin
.include <bsd.port.options.mk>
-.if ${OSVERSION} < 1300041
-_PING6_CMD= /sbin/ping6 -n -X %d -c %d %s
-.else
_PING6_CMD= /sbin/ping6 -n -t %d -c %d %s
-.endif
.if !exists(/usr/bin/ssh) && empty(PORT_OPTIONS:MSSH_PORTABLE)
PLIST_SUB+= SSH="@comment "
diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile
index 49a2819e40ad..93a1d39bb466 100644
--- a/net-mgmt/nagios-plugins/Makefile
+++ b/net-mgmt/nagios-plugins/Makefile
@@ -31,7 +31,7 @@ CONFIGURE_ARGS+= --datadir=${PREFIX}/share \
# Also, force some commands with their expected paths so that they don't get
# disabled.
CONFIGURE_ARGS+= --with-ping-command="/sbin/ping -n -t %d -c %d %s" \
- --with-ping6-command="${_PING6_CMD}" \
+ --with-ping6-command="/sbin/ping6 -n -t %d -c %d %s" \
ac_cv_path_PATH_TO_PING6=/sbin/ping6 \
ac_cv_path_PATH_TO_PING=/sbin/ping \
ac_cv_path_PATH_TO_QMAIL_QSTAT=/var/qmail/bin/qmail-qstat \
@@ -126,12 +126,6 @@ NAGIOSCGIURL?= ${NAGIOSHTMURL}/cgi-bin
.include <bsd.port.options.mk>
-.if ${OSVERSION} < 1300041
-_PING6_CMD= /sbin/ping6 -n -X %d -c %d %s
-.else
-_PING6_CMD= /sbin/ping6 -n -t %d -c %d %s
-.endif
-
.if !exists(/usr/bin/ssh) && empty(PORT_OPTIONS:MSSH_PORTABLE)
PLIST_SUB+= SSH="@comment "
.else
diff --git a/net-mgmt/nfs-exporter/Makefile b/net-mgmt/nfs-exporter/Makefile
index b23a14675117..be4197f8d1b4 100644
--- a/net-mgmt/nfs-exporter/Makefile
+++ b/net-mgmt/nfs-exporter/Makefile
@@ -25,13 +25,7 @@ BUILD_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
USES= cargo
USE_RC_SUBR= nfs_exporter
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1302000
SUB_LIST= USER=nobody
-.else
-SUB_LIST= USER=root
-.endif
PLIST_FILES= bin/${PORTNAME} \
man/man8/${PORTNAME}.8.gz