From owner-freebsd-ports Fri Aug 13 5: 0:33 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id EA82E14E75 for ; Fri, 13 Aug 1999 05:00:29 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA06936; Fri, 13 Aug 1999 05:00:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id A593D14D42; Fri, 13 Aug 1999 04:51:58 -0700 (PDT) Message-Id: <19990813115158.A593D14D42@hub.freebsd.org> Date: Fri, 13 Aug 1999 04:51:58 -0700 (PDT) From: odip@bionet.nsc.ru To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: ports/13114: [patch] security and file owner/group fix to libtool 1.3 port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 13114 >Category: ports >Synopsis: [patch] security and file owner/group fix to libtool 1.3 port >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Aug 13 05:00:00 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Dmitry Grigorovich >Release: FreeBSD 3.2-RELEASE >Organization: ICiG >Environment: FreeBSD ghost.bionet.nsc.ru 3.2-RELEASE FreeBSD 3.2-RELEASE #0: Sun Jul 25 01:58:38 NOVST 1999 root@ghost.bionet.nsc.ru:/usr/src/sys/compile/ODIP i386 >Description: In libtool-1.3 port some files installed via poor script There are two problems after install: 1) directory /usr/local/share/libtool/libltdl have permissions 777 2) files in this directory have randomly uig/gid, depending of the source permissions >How-To-Repeat: build and install libtool-1.3 port cd /usr/local/share/libtool/ ls -la libltdl >Fix: add file "patch-af" to port libtool-1.3: --- libltdl/Makefile.in.orig Thu Apr 29 20:28:34 1999 +++ libltdl/Makefile.in Fri Aug 13 12:44:32 1999 @@ -336,17 +336,16 @@ distdir: $(DISTFILES) -rm -rf $(distdir) mkdir $(distdir) - -chmod 777 $(distdir) + -chmod 555 $(distdir) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ - cp -pr $$d/$$file $(distdir)/$$file; \ + echo no copy dir $$d/$$file; \ else \ - test -f $(distdir)/$$file \ - || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ - || cp -p $$d/$$file $(distdir)/$$file || :; \ + install -c -o root -g wheel -m 444 $$d/$$file $(distdir)/$$file; \ fi; \ done + -chmod a+x $(distdir)/configure info-am: info: info-am >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message