From owner-freebsd-ports Thu Feb 21 14:10:40 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3A8FF37B419 for ; Thu, 21 Feb 2002 14:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g1LMA1T49656; Thu, 21 Feb 2002 14:10:01 -0800 (PST) (envelope-from gnats) Received: from sep.oldach.net (sep.oldach.net [194.180.25.6]) by hub.freebsd.org (Postfix) with ESMTP id 7ADE637B436 for ; Thu, 21 Feb 2002 14:00:41 -0800 (PST) Received: (from hmo@localhost) by sep.oldach.net (8.11.6/8.11.6/hmo27jul01) id g1LM0ed34048; Thu, 21 Feb 2002 23:00:40 +0100 (CET) (envelope-from hmo) Message-Id: <200202212200.g1LM0ed34048@sep.oldach.net> Date: Thu, 21 Feb 2002 23:00:40 +0100 (CET) From: Helge Oldach Reply-To: Helge Oldach To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35192: ports/net/net-snmp garbles /usr/local/share/snmp/mibs Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35192 >Category: ports >Synopsis: ports/net/net-snmp garbles /usr/local/share/snmp/mibs >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 21 14:10:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Helge Oldach >Release: FreeBSD 4.5-STABLE i386 >Organization: >Environment: System: FreeBSD sep.oldach.net 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Jan 30 13:46:58 CET 2002 toor@sep.oldach.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: The port-install target in Makefile unnecessarily garbles /usr/local/share/snmp/mibs and /usr/local/include/ucd-snmp. Sub-directories in those directories are made chmod 0644 which makes them unreadable. >How-To-Repeat: >Fix: --- /tmp/Makefile.orig Fri Feb 15 08:08:44 2002 +++ /tmp/Makefile Thu Feb 21 22:59:35 2002 @@ -73,8 +73,8 @@ 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 -type f | xargs ${CHMOD} 644 ) + @( find ${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 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message