From owner-svn-ports-all@FreeBSD.ORG Thu Sep 25 20:24:42 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7C0DD30C; Thu, 25 Sep 2014 20:24:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5B5C7B0F; Thu, 25 Sep 2014 20:24:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8PKOgsJ077890; Thu, 25 Sep 2014 20:24:42 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8PKOf99077887; Thu, 25 Sep 2014 20:24:41 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201409252024.s8PKOf99077887@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Thu, 25 Sep 2014 20:24:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r369292 - in head: . net-mgmt/iog X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 20:24:42 -0000 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 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 -@dirrmtry iog/iog-%%VERSION%% -@dirrmtry iog +@dir iog/iog-%%VERSION%% @owner @group