summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-06-24 00:35:47 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-06-24 00:35:47 +0000
commit3d65731aabe5dfd4111d1b3c34309cbd0093d704 (patch)
treea086ffe49ba8ba8f51e000d84742fbddc59fcc68
parentUpgrade to 7.2.2. (diff)
Don't chmod to 644 directories.
Submitted by: Mark Pulford <markp@FreeBSD.org>
-rw-r--r--net-mgmt/net-snmp-devel/Makefile10
-rw-r--r--net-mgmt/net-snmp/Makefile10
-rw-r--r--net-mgmt/net-snmp53/Makefile10
-rw-r--r--net/net-snmp/Makefile10
4 files changed, 20 insertions, 20 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile
index c8d782307eb3..7fd42b60abff 100644
--- a/net-mgmt/net-snmp-devel/Makefile
+++ b/net-mgmt/net-snmp-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= net-snmp
PORTVERSION= 5.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \
@@ -81,10 +81,10 @@ post-patch:
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/aclocal.m4
post-install:
- @( cd ${PREFIX}/bin && strip ${BIN} )
- @( cd ${PREFIX}/sbin && strip ${SBIN} )
- @( cd ${PREFIX}/include/net-snmp && ${CHMOD} 644 * )
- @( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * )
+ @( cd ${PREFIX}/bin && ${STRIP_CMD} ${BIN} )
+ @( cd ${PREFIX}/sbin && ${STRIP_CMD} ${SBIN} )
+ @${FIND} ${PREFIX}/include/net-snmp ${PREFIX}/share/snmp/mibs -type f \
+ | ${XARGS} ${CHMOD} 644
@${INSTALL_SCRIPT} -m 751 ${FILESDIR}/snmpd.sh.sample ${PREFIX}/etc/rc.d
@if [ ! -f ${STARTUP_FILE} ]; then \
${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index c8d782307eb3..7fd42b60abff 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= net-snmp
PORTVERSION= 5.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \
@@ -81,10 +81,10 @@ post-patch:
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/aclocal.m4
post-install:
- @( cd ${PREFIX}/bin && strip ${BIN} )
- @( cd ${PREFIX}/sbin && strip ${SBIN} )
- @( cd ${PREFIX}/include/net-snmp && ${CHMOD} 644 * )
- @( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * )
+ @( cd ${PREFIX}/bin && ${STRIP_CMD} ${BIN} )
+ @( cd ${PREFIX}/sbin && ${STRIP_CMD} ${SBIN} )
+ @${FIND} ${PREFIX}/include/net-snmp ${PREFIX}/share/snmp/mibs -type f \
+ | ${XARGS} ${CHMOD} 644
@${INSTALL_SCRIPT} -m 751 ${FILESDIR}/snmpd.sh.sample ${PREFIX}/etc/rc.d
@if [ ! -f ${STARTUP_FILE} ]; then \
${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \
diff --git a/net-mgmt/net-snmp53/Makefile b/net-mgmt/net-snmp53/Makefile
index c8d782307eb3..7fd42b60abff 100644
--- a/net-mgmt/net-snmp53/Makefile
+++ b/net-mgmt/net-snmp53/Makefile
@@ -7,7 +7,7 @@
PORTNAME= net-snmp
PORTVERSION= 5.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \
@@ -81,10 +81,10 @@ post-patch:
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/aclocal.m4
post-install:
- @( cd ${PREFIX}/bin && strip ${BIN} )
- @( cd ${PREFIX}/sbin && strip ${SBIN} )
- @( cd ${PREFIX}/include/net-snmp && ${CHMOD} 644 * )
- @( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * )
+ @( cd ${PREFIX}/bin && ${STRIP_CMD} ${BIN} )
+ @( cd ${PREFIX}/sbin && ${STRIP_CMD} ${SBIN} )
+ @${FIND} ${PREFIX}/include/net-snmp ${PREFIX}/share/snmp/mibs -type f \
+ | ${XARGS} ${CHMOD} 644
@${INSTALL_SCRIPT} -m 751 ${FILESDIR}/snmpd.sh.sample ${PREFIX}/etc/rc.d
@if [ ! -f ${STARTUP_FILE} ]; then \
${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index c8d782307eb3..7fd42b60abff 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= net-snmp
PORTVERSION= 5.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://sunsite.cnlab-switch.ch/mirror/ucd-snmp/ \
@@ -81,10 +81,10 @@ post-patch:
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/aclocal.m4
post-install:
- @( cd ${PREFIX}/bin && strip ${BIN} )
- @( cd ${PREFIX}/sbin && strip ${SBIN} )
- @( cd ${PREFIX}/include/net-snmp && ${CHMOD} 644 * )
- @( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * )
+ @( cd ${PREFIX}/bin && ${STRIP_CMD} ${BIN} )
+ @( cd ${PREFIX}/sbin && ${STRIP_CMD} ${SBIN} )
+ @${FIND} ${PREFIX}/include/net-snmp ${PREFIX}/share/snmp/mibs -type f \
+ | ${XARGS} ${CHMOD} 644
@${INSTALL_SCRIPT} -m 751 ${FILESDIR}/snmpd.sh.sample ${PREFIX}/etc/rc.d
@if [ ! -f ${STARTUP_FILE} ]; then \
${ECHO} "Creating ${PREFIX}/etc/rc.d/snmpd.sh startup file."; \