diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2002-07-26 06:25:56 +0000 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2002-07-26 06:25:56 +0000 |
commit | 2063aa407c1ce6754677548ec2bb423dfebbf904 (patch) | |
tree | 3fa76339c8b62e53f2101a6bab201ce9dd185f64 | |
parent | 740bc8913adb83ffea652c982a73226ad28f7452 (diff) | |
download | FreeBSD-ports-2063aa407c1ce6754677548ec2bb423dfebbf904.zip FreeBSD-ports-2063aa407c1ce6754677548ec2bb423dfebbf904.tar.gz |
Fix incorrect chmod for directory.
PR: ports/35192
Submitted by: Helge Oldach <ports-net-snmp@oldach.net>
-rw-r--r-- | net-mgmt/net-snmp4/Makefile | 5 | ||||
-rw-r--r-- | net/net-snmp4/Makefile | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/net-mgmt/net-snmp4/Makefile b/net-mgmt/net-snmp4/Makefile index 706675e..90ecbac 100644 --- a/net-mgmt/net-snmp4/Makefile +++ b/net-mgmt/net-snmp4/Makefile @@ -7,6 +7,7 @@ PORTNAME= ucd-snmp PORTVERSION= 4.2.5 +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://ucd-snmp.ucdavis.edu/ \ @@ -73,8 +74,8 @@ post-patch: post-install: @( cd ${PREFIX}/bin && strip ${BIN} ) @( cd ${PREFIX}/sbin && strip ${SBIN} ) - @( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * ) - @( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * ) + @${FIND} ${PREFIX}/include/ucd-snmp ${PREFIX}/share/snmp/mibs -type f \ + | ${XARGS} ${CHMOD} 644 @${MKDIR} ${PREFIX}/share/examples/ucd-snmp @for F in ${WRKSRC}/EXAMPLE.conf ${WRKSRC}/agent/mibgroup/examples/ucdDemoPublic.conf; do \ ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done diff --git a/net/net-snmp4/Makefile b/net/net-snmp4/Makefile index 706675e..90ecbac 100644 --- a/net/net-snmp4/Makefile +++ b/net/net-snmp4/Makefile @@ -7,6 +7,7 @@ PORTNAME= ucd-snmp PORTVERSION= 4.2.5 +PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ ftp://ucd-snmp.ucdavis.edu/ \ @@ -73,8 +74,8 @@ post-patch: post-install: @( cd ${PREFIX}/bin && strip ${BIN} ) @( cd ${PREFIX}/sbin && strip ${SBIN} ) - @( cd ${PREFIX}/include/ucd-snmp && ${CHMOD} 644 * ) - @( cd ${PREFIX}/share/snmp/mibs && ${CHMOD} 644 * ) + @${FIND} ${PREFIX}/include/ucd-snmp ${PREFIX}/share/snmp/mibs -type f \ + | ${XARGS} ${CHMOD} 644 @${MKDIR} ${PREFIX}/share/examples/ucd-snmp @for F in ${WRKSRC}/EXAMPLE.conf ${WRKSRC}/agent/mibgroup/examples/ucdDemoPublic.conf; do \ ${INSTALL_DATA} $$F ${PREFIX}/share/examples/ucd-snmp ; done |