summaryrefslogtreecommitdiffstats
path: root/net-mgmt/net-snmp-devel
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2006-09-23 15:03:36 +0000
committernork <nork@FreeBSD.org>2006-09-23 15:03:36 +0000
commit402329f106a3c269990202a54f5ad73b5ea6b776 (patch)
treef1ab9e1ebfed69a0e337a6a8c1fed999f9ad267e /net-mgmt/net-snmp-devel
parent7894cad62c516434d17ffc11c7cb05dcc06b4699 (diff)
downloadFreeBSD-ports-402329f106a3c269990202a54f5ad73b5ea6b776.zip
FreeBSD-ports-402329f106a3c269990202a54f5ad73b5ea6b776.tar.gz
Fix -z bug.
Pointed out by: ume Approved by: kuriyama (implicitly)
Diffstat (limited to 'net-mgmt/net-snmp-devel')
-rw-r--r--net-mgmt/net-snmp-devel/Makefile2
-rw-r--r--net-mgmt/net-snmp-devel/files/snmpd.sh.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile
index 49814d8..11aaced 100644
--- a/net-mgmt/net-snmp-devel/Makefile
+++ b/net-mgmt/net-snmp-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= snmp
PORTVERSION= 5.2.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-mgmt ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= net-snmp
diff --git a/net-mgmt/net-snmp-devel/files/snmpd.sh.in b/net-mgmt/net-snmp-devel/files/snmpd.sh.in
index 1164805..fb0a7a3 100644
--- a/net-mgmt/net-snmp-devel/files/snmpd.sh.in
+++ b/net-mgmt/net-snmp-devel/files/snmpd.sh.in
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/net-mgmt/net-snmp-devel/files/Attic/snmpd.sh.in,v 1.3 2006-09-23 11:31:09 nork Exp $
+# $FreeBSD: /tmp/pcvs/ports/net-mgmt/net-snmp-devel/files/Attic/snmpd.sh.in,v 1.4 2006-09-23 15:03:36 nork Exp $
#
# PROVIDE: snmpd
# REQUIRE: DAEMON
@@ -51,7 +51,7 @@ case "${snmpd_flags}" in
"Please use \$snmpd_conffile instead."
;;
*)
- if [ ! -z ${snmpd_conffile} -a -f ${snmpd_conffile} ]; then
+ if [ ! -z "${snmpd_conffile}" -a -f ${snmpd_conffile} ]; then
snmpd_flags="-c ${snmpd_conffile} ${snmpd_flags}"
fi
;;
OpenPOWER on IntegriCloud