Date: Tue, 10 Oct 2006 17:38:41 -0500 From: "Josh Paetzel <josh@tcbug.org>" <josh@tcbug.org> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/104279: [patch] Fix bug in Makefile for astro/xephem causing files to be installed with wrong ownership Message-ID: <1160519921.1512@gimpy.tcbug.org> Resent-Message-ID: <200610102240.k9AMeOtK079212@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 104279 >Category: ports >Synopsis: [patch] Fix bug in Makefile for astro/xephem causing files to be installed with wrong ownership >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Oct 10 22:40:23 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Josh Paetzel <josh@tcbug.org> >Release: FreeBSD 6.1-RELEASE-p6 i386 >Organization: >Environment: System: FreeBSD 6.1-RELEASE-p6 #1: Mon Sep 18 19:09:47 UTC 2006 jpaetzel@gimpy.tcbug.org:/usr/obj/usr/src/sys/GIMPY >Description: The Makefile for astro/xephem has an error in it which causes files to be installed owned by root:444 instead of root:wheel >How-To-Repeat: cd /usr/ports/astro/xephem make install ls -la /usr/X11R6/lib/X11/xephem drwxr-xr-x 2 root 444 1024 20 вер 22:04 auxil drwxr-xr-x 2 root 444 512 20 вер 22:04 catalogs drwxr-xr-x 2 root 444 512 20 вер 22:06 f >Fix: --- Makefile.old Tue Oct 10 17:31:00 2006 +++ Makefile Tue Oct 10 17:31:20 2006 @@ -62,7 +62,7 @@ @${MKDIR} ${PREFIX}/lib/X11/xephem ${TAR} -C ${WRKSRC} -cf - auxil catalogs fifos fits gallery help lo tools \ | ${TAR} -C ${PREFIX}/lib/X11/xephem --unlink -xf - - @${FIND} ${PREFIX}/lib/X11/xephem | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREMODE} + @${FIND} ${PREFIX}/lib/X11/xephem | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGROUP} @${FIND} ${PREFIX}/lib/X11/xephem -type f | ${XARGS} ${CHMOD} ${SHAREMODE} .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1160519921.1512>