Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2016 12:05:08 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r405134 - branches/2016Q1/news/newsx/files
Message-ID:  <201601031205.u03C583n080208@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sun Jan  3 12:05:08 2016
New Revision: 405134
URL: https://svnweb.freebsd.org/changeset/ports/405134

Log:
  MFH: r405133
  
  Fix staging (as a regular user) / packaging (as root)
  
  Reported by:	pkg-fallout

Added:
  branches/2016Q1/news/newsx/files/patch-src_Makefile.in
     - copied unchanged from r405133, head/news/newsx/files/patch-src_Makefile.in
Modified:
Directory Properties:
  branches/2016Q1/   (props changed)

Copied: branches/2016Q1/news/newsx/files/patch-src_Makefile.in (from r405133, head/news/newsx/files/patch-src_Makefile.in)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2016Q1/news/newsx/files/patch-src_Makefile.in	Sun Jan  3 12:05:08 2016	(r405134, copy of r405133, head/news/newsx/files/patch-src_Makefile.in)
@@ -0,0 +1,21 @@
+--- src/Makefile.in.orig	2003-05-18 17:26:44 UTC
++++ src/Makefile.in
+@@ -533,7 +533,7 @@ crc.h: mkcrc.c
+ 
+ # Prepare a place for newsx in the news spool: 
+ install-exec-local:
+-	if test ! -d ${INHOSTS} ; then \
++	if test ! -d ${DESTDIR}${INHOSTS} ; then \
+ 	    if test -d ${SPOOL}/in.hosts ; then \
+ 		echo The default location has changed, so we move ;\
+ 		echo the directory ${SPOOL}/in.hosts to ${INHOSTS} ;\
+@@ -541,8 +541,7 @@ install-exec-local:
+ 	    else \
+ 		echo Creating directory ${INHOSTS} ;\
+ 		umask @INN_NEWSUMASK@ ;\
+-		mkdir ${INHOSTS} ;\
+-		chown ${NEWSUSER} ${INHOSTS} ;\
++		mkdir -p ${DESTDIR}${INHOSTS} ;\
+ 	    fi ;\
+ 	fi
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601031205.u03C583n080208>