aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2002-06-24 08:35:47 +0800
committerkuriyama <kuriyama@FreeBSD.org>2002-06-24 08:35:47 +0800
commit17630fa790d6b384bb1cc3fc6a5a2863bd97e4e1 (patch)
tree3735966515259a708623f5952124fac3ca2c34f3 /net
parent2b28555220e1158316108a15221a98a650c3e974 (diff)
downloadfreebsd-ports-gnome-17630fa790d6b384bb1cc3fc6a5a2863bd97e4e1.tar.gz
freebsd-ports-gnome-17630fa790d6b384bb1cc3fc6a5a2863bd97e4e1.tar.zst
freebsd-ports-gnome-17630fa790d6b384bb1cc3fc6a5a2863bd97e4e1.zip
Don't chmod to 644 directories.
Submitted by: Mark Pulford <markp@FreeBSD.org>
Diffstat (limited to 'net')
-rw-r--r--net/net-snmp/Makefile10
1 files changed, 5 insertions, 5 deletions
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."; \