svn commit: r367831 - head/misc/upclient

Antoine Brodin antoine at FreeBSD.org
Wed Sep 10 13:14:22 UTC 2014


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 @@
- at unexec if cmp -s %D/etc/upclient.conf %D/etc/upclient.conf.sample; then rm -f %D/etc/upclient.conf; fi
- at group kmem
-etc/upclient.conf.sample
- at group wheel
- at exec [ -f %D/etc/upclient.conf ] || cp -p %D/etc/upclient.conf.sample %D/etc/upclient.conf
+ at sample(,kmem,) etc/upclient.conf.sample
 man/man8/upclient.8.gz
 sbin/clientchk
 sbin/upchk
- at group kmem
-sbin/upclient
- at group wheel
+@(,kmem,2555) sbin/upclient
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/FAQ


More information about the svn-ports-head mailing list