Date: 1 Oct 2000 19:51:46 -0000 From: "Mario Sergio Fujikawa Ferreira" <lioux@uol.com.br> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/21684: Port update: Makefile cleaning on astro/xearth Message-ID: <20001001195146.85255.qmail@Fedaykin.here>
next in thread | raw e-mail | index | archive | help
>Number: 21684 >Category: ports >Synopsis: Port update: Makefile cleaning on astro/xearth >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 01 13:00:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Mario Sergio Fujikawa Ferreira >Release: FreeBSD 4.0-STABLE i386 >Organization: >Environment: FreeBSD Fedaykin.here 4.1-STABLE FreeBSD 4.1-STABLE #10: Sun Sep 24 15:18:36 BRT 2000 lioux@Fedaykin.here:/usr/src/sys/compile/LIOUX i386 >Description: The CP command is inadequate for ports style. It was replaced by INSTALL_DATA. Besides, it is dependant on the user umask, for some systems this means that it will install it with wrong permissions for most users. For the same reason, I added the CHMOD to make sure the other file is correct. >How-To-Repeat: do a umask 077 and then, install it you are going to get permissions such as 0600 for most files. This proves impossivel for users other than the installing one to use the marker files. >Fix: --- Makefile.orig Sun Oct 1 17:43:50 2000 +++ Makefile Sun Oct 1 17:45:00 2000 @@ -22,11 +22,12 @@ # Copy the list of FreeBSD sites post-install: ${MKDIR} ${PREFIX}/lib/X11/xearth - ${CP} ${FILESDIR}/freebsd.core.markers ${PREFIX}/lib/X11/xearth - ${CP} ${FILESDIR}/freebsd.committers.markers ${PREFIX}/lib/X11/xearth - ${CP} ${FILESDIR}/freebsd.ftp.markers ${PREFIX}/lib/X11/xearth + ${INSTALL_DATA} ${FILESDIR}/freebsd.core.markers ${PREFIX}/lib/X11/xearth + ${INSTALL_DATA} ${FILESDIR}/freebsd.committers.markers ${PREFIX}/lib/X11/xearth + ${INSTALL_DATA} ${FILESDIR}/freebsd.ftp.markers ${PREFIX}/lib/X11/xearth ${ECHO} "# All of FreeBSD's committers, including core :)" > \ ${PREFIX}/lib/X11/xearth/freebsd.core_and_committers.markers + ${CHMOD} 0444 ${PREFIX}/lib/X11/xearth/freebsd.core_and_committers.markers ${GREP} -hv '^[[:space:]]*#' ${FILESDIR}/freebsd.core.markers \ ${FILESDIR}/freebsd.committers.markers >> \ ${PREFIX}/lib/X11/xearth/freebsd.core_and_committers.markers >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001001195146.85255.qmail>