Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2014 13:14:22 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367831 - head/misc/upclient
Message-ID:  <201409101314.s8ADEMLE054271@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Sep 10 13:14:22 2014
New Revision: 367831
URL: http://svnweb.freebsd.org/changeset/ports/367831
QAT: https://qat.redports.org/buildarchive/r367831/

Log:
  Allow staging as a regular user

Modified:
  head/misc/upclient/Makefile
  head/misc/upclient/pkg-plist

Modified: head/misc/upclient/Makefile
==============================================================================
--- head/misc/upclient/Makefile	Wed Sep 10 13:11:28 2014	(r367830)
+++ head/misc/upclient/Makefile	Wed Sep 10 13:14:22 2014	(r367831)
@@ -39,7 +39,7 @@ post-patch:
 		${WRKSRC}/src/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} -m 2555 ${WRKSRC}/src/products/upclient \
+	${INSTALL_PROGRAM} ${WRKSRC}/src/products/upclient \
 		${STAGEDIR}${PREFIX}/sbin
 	${INSTALL_MAN} ${WRKSRC}/src/products/upclient.8 \
 		${STAGEDIR}${MAN8PREFIX}/man/man8

Modified: head/misc/upclient/pkg-plist
==============================================================================
--- head/misc/upclient/pkg-plist	Wed Sep 10 13:11:28 2014	(r367830)
+++ head/misc/upclient/pkg-plist	Wed Sep 10 13:14:22 2014	(r367831)
@@ -1,14 +1,8 @@
-@unexec if cmp -s %D/etc/upclient.conf %D/etc/upclient.conf.sample; then rm -f %D/etc/upclient.conf; fi
-@group kmem
-etc/upclient.conf.sample
-@group wheel
-@exec [ -f %D/etc/upclient.conf ] || cp -p %D/etc/upclient.conf.sample %D/etc/upclient.conf
+@sample(,kmem,) etc/upclient.conf.sample
 man/man8/upclient.8.gz
 sbin/clientchk
 sbin/upchk
-@group kmem
-sbin/upclient
-@group wheel
+@(,kmem,2555) sbin/upclient
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/FAQ



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