Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2012 17:29:18 +0000 (UTC)
From:      Chris Rees <crees@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309401 - in head: . net/rtpproxy
Message-ID:  <201212221729.qBMHTIO6020840@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: crees
Date: Sat Dec 22 17:29:17 2012
New Revision: 309401
URL: http://svnweb.freebsd.org/changeset/ports/309401

Log:
  Use USERS and GROUPS
  
  Approved by:	sobomax (maintainer)

Deleted:
  head/net/rtpproxy/pkg-install
Modified:
  head/GIDs
  head/UIDs
  head/net/rtpproxy/Makefile

Modified: head/GIDs
==============================================================================
--- head/GIDs	Sat Dec 22 17:25:08 2012	(r309400)
+++ head/GIDs	Sat Dec 22 17:29:17 2012	(r309401)
@@ -110,6 +110,7 @@ hg:*:212:
 drizzle:*:213:
 opendnssec:*:215:
 bs:*:220:
+rtpproxy:*:222:
 postgrey:*:225:
 sqlgrey:*:226:
 kismet:*:229:

Modified: head/UIDs
==============================================================================
--- head/UIDs	Sat Dec 22 17:25:08 2012	(r309400)
+++ head/UIDs	Sat Dec 22 17:29:17 2012	(r309401)
@@ -117,6 +117,7 @@ hg:*:212:212::0:0:mercurial-server user:
 drizzle:*:213:213::0:0:Drizzle daemon:/var/db/drizzle:/usr/sbin/nologin
 opendnssec:*:215:215::0:0:Opendnssec Pseudo User:/nonexistent:/usr/sbin/nologin
 bs:*:220:220::0:0:Big Sister:/usr/local/bigsister:/bin/sh
+rtpproxy:*:222:222::0:0:& user:/nonexistent:/sbin/nologin
 postgrey:*:225:225::0:0:Postgrey Owner:/nonexistent:/usr/sbin/nologin
 sqlgrey:*:226:226::0:0:SQLgrey Owner:/nonexistent:/usr/sbin/nologin
 aprsd:*:240:240::0:0:aprsd:/nonexistent:/bin/sh

Modified: head/net/rtpproxy/Makefile
==============================================================================
--- head/net/rtpproxy/Makefile	Sat Dec 22 17:25:08 2012	(r309400)
+++ head/net/rtpproxy/Makefile	Sat Dec 22 17:29:17 2012	(r309401)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   rtpproxy
-# Date created:        20 April 2005
-# Whom:                sobomax@FreeBSD.org
-#
+# Created by: sobomax
 # $FreeBSD$
-#
 
 PORTNAME=	rtpproxy
 PORTVERSION=	1.2.1
@@ -12,7 +8,7 @@ CATEGORIES=	net
 MASTER_SITES=	http://www.rtpproxy.org/chrome/site/
 
 MAINTAINER=	sobomax@FreeBSD.org
-COMMENT=	A high-performance RTP proxy server for the SIP Express Router (SER)
+COMMENT=	High-performance RTP proxy server for the SIP Express Router (SER)
 
 LIB_DEPENDS=	gsm.1:${PORTSDIR}/audio/gsm
 
@@ -22,13 +18,13 @@ CPPFLAGS+=	-I${LOCALBASE}/include
 #CONFIGURE_ARGS=	--mandir=${LOCALBASE}/man
 MAN8=		rtpproxy.8
 
+USERS=		${PORTNAME}
+GROUPS=		${PORTNAME}
+
 post-build:
 	${SED} 's|%%PREFIX%%|${PREFIX}|g ; s|%%RC_SUBR%%|/etc/rc.subr|g' \
 	    ${WRKSRC}/freebsd/rtpproxy.in > ${WRKDIR}/rtpproxy
 
-pre-install:
-	@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
-
 post-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/rtpproxy ${PREFIX}/etc/rc.d/rtpproxy
 



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