diff options
author | nork <nork@FreeBSD.org> | 2006-09-23 23:03:36 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2006-09-23 23:03:36 +0800 |
commit | 402329f106a3c269990202a54f5ad73b5ea6b776 (patch) | |
tree | f1ab9e1ebfed69a0e337a6a8c1fed999f9ad267e /net-mgmt | |
parent | 7894cad62c516434d17ffc11c7cb05dcc06b4699 (diff) | |
download | freebsd-ports-gnome-402329f106a3c269990202a54f5ad73b5ea6b776.tar.gz freebsd-ports-gnome-402329f106a3c269990202a54f5ad73b5ea6b776.tar.zst freebsd-ports-gnome-402329f106a3c269990202a54f5ad73b5ea6b776.zip |
Fix -z bug.
Pointed out by: ume
Approved by: kuriyama (implicitly)
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/net-snmp-devel/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/net-snmp-devel/files/snmpd.sh.in | 4 | ||||
-rw-r--r-- | net-mgmt/net-snmp/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/net-snmp/files/snmpd.sh.in | 2 | ||||
-rw-r--r-- | net-mgmt/net-snmp53/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/net-snmp53/files/snmpd.sh.in | 4 |
6 files changed, 8 insertions, 8 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile index 49814d88b016..11aaceda9c23 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 11648059a77d..fb0a7a3a5b4f 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 ;; diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile index 49814d88b016..11aaceda9c23 100644 --- a/net-mgmt/net-snmp/Makefile +++ b/net-mgmt/net-snmp/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/files/snmpd.sh.in b/net-mgmt/net-snmp/files/snmpd.sh.in index 73b6e27d9189..2cb0a3535b79 100644 --- a/net-mgmt/net-snmp/files/snmpd.sh.in +++ b/net-mgmt/net-snmp/files/snmpd.sh.in @@ -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 ;; diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile index 49814d88b016..11aaceda9c23 100644 --- a/net-mgmt/net-snmp53/Makefile +++ b/net-mgmt/net-snmp53/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-snmp53/files/snmpd.sh.in b/net-mgmt/net-snmp53/files/snmpd.sh.in index 661354a75bd3..746899a9b41e 100644 --- a/net-mgmt/net-snmp53/files/snmpd.sh.in +++ b/net-mgmt/net-snmp53/files/snmpd.sh.in @@ -1,6 +1,6 @@ #!/bin/sh # -# $FreeBSD: /tmp/pcvs/ports/net-mgmt/net-snmp53/files/Attic/snmpd.sh.in,v 1.3 2006-09-23 11:31:09 nork Exp $ +# $FreeBSD: /tmp/pcvs/ports/net-mgmt/net-snmp53/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 ;; |