ports/104279: [patch] Fix bug in Makefile for astro/xephem causing files to be installed with wrong ownership
Josh Paetzel <josh@tcbug.org>
josh at tcbug.org
Tue Oct 10 22:40:34 UTC 2006
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list