svn commit: r369292 - in head: . net-mgmt/iog
Antoine Brodin
antoine at FreeBSD.org
Thu Sep 25 20:24:42 UTC 2014
Author: antoine
Date: Thu Sep 25 20:24:41 2014
New Revision: 369292
URL: http://svnweb.freebsd.org/changeset/ports/369292
QAT: https://qat.redports.org/buildarchive/r369292/
Log:
- Use ports framework to create iog user
- Bump portrevision as both configuration file and sample configuration file
were packaged
Deleted:
head/net-mgmt/iog/pkg-install
Modified:
head/UIDs
head/net-mgmt/iog/Makefile
head/net-mgmt/iog/pkg-plist
Modified: head/UIDs
==============================================================================
--- head/UIDs Thu Sep 25 20:18:05 2014 (r369291)
+++ head/UIDs Thu Sep 25 20:24:41 2014 (r369292)
@@ -94,6 +94,7 @@ ipv6mon:*:148:148::0:0:IPv6 Address Moni
avenger:*:149:149::0:0:Mail Avenger:/var/spool/avenger:/usr/sbin/nologin
cbsd:*:150:150::0:0:Cbsd user:/nonexistent:/bin/sh
pop3vscan:*:151:6::0:0:POP3VScan Daemon:/var/spool/pop3vscan:/usr/sbin/nologin
+iog:*:152:80::0:0:iog Monitoring Owner:/usr/local/iog:/usr/sbin/nologin
rbldns:*:153:153::0:0:rbldnsd pseudo-user:/nonexistent:/usr/sbin/nologin
trircd:*:154:154::0:0:& user:/usr/local/etc/tr-ircd:/usr/sbin/nologin
monetdb:*:156:156::0:0:MonetDB user:/usr/local/monetdb5:/bin/sh
Modified: head/net-mgmt/iog/Makefile
==============================================================================
--- head/net-mgmt/iog/Makefile Thu Sep 25 20:18:05 2014 (r369291)
+++ head/net-mgmt/iog/Makefile Thu Sep 25 20:24:41 2014 (r369292)
@@ -3,7 +3,7 @@
PORTNAME= iog
PORTVERSION= 1.03
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-mgmt
MASTER_SITES= http://www.dynw.com/iog/
@@ -13,19 +13,15 @@ COMMENT= Graphs Byte Counts for switches
NO_BUILD= yes
USES= perl5 tar:tgz
PLIST_SUB= VERSION=${PORTVERSION}
-IOG_USER= iog
-IOG_GROUP= www
+USERS= iog
IOGDIR= ${PREFIX}/iog/iog-${PORTVERSION}
do-install:
- PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
+ ${FIND} ${WRKSRC} -name '*.bak' -or -name '*.orig' -delete
${MKDIR} -m 755 ${STAGEDIR}${IOGDIR}
- ${CHMOD} 0600 ${WRKSRC}/iog.cfg
- ${CP} ${WRKSRC}/iog.cfg ${WRKSRC}/iog.cfg.sample
+ ${INSTALL} ${COPY} -m 0600 ${WRKSRC}/iog.cfg ${WRKSRC}/iog.cfg.sample
${CP} -R ${WRKSRC}/* ${STAGEDIR}${IOGDIR}
- ${CP} ${STAGEDIR}${IOGDIR}/iog.cfg.sample ${STAGEDIR}${IOGDIR}/iog.cfg
- ${FIND} ${STAGEDIR}${IOGDIR} -name '*.bak' -or -name '*.orig' -delete
${LN} -sf ${IOGDIR} ${STAGEDIR}${PREFIX}/iog/iog
.include <bsd.port.mk>
Modified: head/net-mgmt/iog/pkg-plist
==============================================================================
--- head/net-mgmt/iog/pkg-plist Thu Sep 25 20:18:05 2014 (r369291)
+++ head/net-mgmt/iog/pkg-plist Thu Sep 25 20:24:41 2014 (r369292)
@@ -9,11 +9,9 @@ iog/iog-%%VERSION%%/howto-iog.html
iog/iog-%%VERSION%%/in.gif
iog/iog-%%VERSION%%/index.php
iog/iog-%%VERSION%%/iog
-iog/iog-%%VERSION%%/iog.cfg
@sample iog/iog-%%VERSION%%/iog.cfg.sample
iog/iog-%%VERSION%%/ioglogo.gif
iog/iog-%%VERSION%%/out.gif
- at dirrmtry iog/iog-%%VERSION%%
- at dirrmtry iog
+ at dir iog/iog-%%VERSION%%
@owner
@group
More information about the svn-ports-head
mailing list