From owner-svn-ports-all@FreeBSD.ORG Sat Oct 27 13:57:08 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63CBBE55; Sat, 27 Oct 2012 13:57:08 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5B5898FC08; Sat, 27 Oct 2012 13:57:07 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1593524bkc.13 for ; Sat, 27 Oct 2012 06:57:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=iRiYATnHDI5WZNko7x6hIuCoZm5TuvuJTxStIZYEJNs=; b=Yock48HIwFgyMt8/eHxaFyJOFkVC/gUBsRgmuGFziSOEnkew4irRycAWlaCZYNtSI/ 0ey+jf0HH3gCAwaYKM9GBZOOKjTpeuQDXgmapsPFFMgoUmN66buVbuFPvpnDeYAHPKow QMl8VxCBkXxE3y/Ot+4Jy1pcBhFc+/a7sJjxuVE5JcazSszv5y66cMODXNBImOLTDcDP FRi4tufI16Yvkgcj0nMvodPG047ZQjqYSC0D49S8x8jak7Y1MaXwTbV+bwUt3Tln6lT6 NRJsxhL1K0aLLZnHqLp6Q33LuD3z062ChuEygUlFZt2OIBuj+hwHMgbgRFfrHs143rjT 0Odg== Received: by 10.204.11.207 with SMTP id u15mr8032889bku.40.1351346226301; Sat, 27 Oct 2012 06:57:06 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.50.197 with HTTP; Sat, 27 Oct 2012 06:56:35 -0700 (PDT) In-Reply-To: <201210271044.q9RAivId055539@svn.freebsd.org> References: <201210271044.q9RAivId055539@svn.freebsd.org> From: Chris Rees Date: Sat, 27 Oct 2012 14:56:35 +0100 X-Google-Sender-Auth: ajnbY7cERW7150CRnIB11BlHIQ8 Message-ID: Subject: Re: svn commit: r306484 - in head: . sysutils/rubygem-fluentd sysutils/rubygem-fluentd/files To: Jun Kuriyama Content-Type: text/plain; charset=ISO-8859-1 Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 27 Oct 2012 13:57:08 -0000 On 27 October 2012 11:44, Jun Kuriyama wrote: > XXX Ports RC script present > Author: kuriyama > Date: Sat Oct 27 10:44:57 2012 > New Revision: 306484 > URL: http://svn.freebsd.org/changeset/ports/306484 > > Log: > - Upgrade to 0.10.27. > - Install rc script and own user/group. > > Feature safe: yes > > Added: > head/sysutils/rubygem-fluentd/files/ > head/sysutils/rubygem-fluentd/files/fluentd.in (contents, props changed) > Modified: > head/GIDs > head/UIDs > head/sysutils/rubygem-fluentd/Makefile > head/sysutils/rubygem-fluentd/distinfo > > Modified: head/GIDs > ============================================================================== > --- head/GIDs Sat Oct 27 10:01:15 2012 (r306483) > +++ head/GIDs Sat Oct 27 10:44:57 2012 (r306484) > @@ -242,5 +242,6 @@ c_icap:*:959: > trytond:*:960: > gearmand:*:961: > zookeeper:*:962: > +fluentd:*:963: > nogroup:*:65533: > nobody:*:65534: > > Modified: head/UIDs > ============================================================================== > --- head/UIDs Sat Oct 27 10:01:15 2012 (r306483) > +++ head/UIDs Sat Oct 27 10:44:57 2012 (r306484) > @@ -246,4 +246,5 @@ c_icap:*:959:959::0:0:c-icap daemon:/var > trytond:*:960:960::0:0:trytond daemon:/var/empty:/usr/sbin/nologin > gearmand:*:961:961::0:0:gearmand daemon:/var/empty:/usr/sbin/nologin > zookeeper:*:962:962::0:0:zookeeper user:/nonexistent:/usr/sbin/nologin > +fluentd:*:963:963::0:0:fluentd user:/nonexistent:/usr/sbin/nologin > nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin > > Modified: head/sysutils/rubygem-fluentd/Makefile > ============================================================================== > --- head/sysutils/rubygem-fluentd/Makefile Sat Oct 27 10:01:15 2012 (r306483) > +++ head/sysutils/rubygem-fluentd/Makefile Sat Oct 27 10:44:57 2012 (r306484) > @@ -1,12 +1,7 @@ > -# New ports collection makefile for: rubygem-fluentd > -# Date created: 10 Jul 2012 > -# Whom: Jun Kuriyama > -# > # $FreeBSD$ > -# > > PORTNAME= fluentd > -PORTVERSION= 0.10.25 > +PORTVERSION= 0.10.27 > CATEGORIES= sysutils rubygems > MASTER_SITES= RG > > @@ -23,8 +18,14 @@ RUN_DEPENDS= \ > USE_RUBY= yes > #RUBY_VER= 1.9 # Please set RUBY_DEFAULT_VER=1.9 in /etc/make.conf > USE_RUBYGEMS= yes > -PLIST_FILES= bin/fluent-cat bin/fluent-gem bin/fluentd > +PLIST_FILES= bin/fluent-cat bin/fluent-debug bin/fluent-gem bin/fluentd \ > + "@exec ${INSTALL} -d -o ${USERS} -g ${GROUPS} -m 775 /var/run/fluentd" \ > + "@unexec ${RMDIR} /var/run/fluentd 2>/dev/null || true" > RUBYGEM_AUTOPLIST= yes > +USE_RC_SUBR= fluentd > +USERS= fluentd > +GROUPS= fluentd > +SUB_LIST+= USER=${USERS} GROUP=${GROUPS} > > .include > > @@ -32,4 +33,7 @@ RUBYGEM_AUTOPLIST= yes > IGNORE= requires Ruby 1.9, please install this first > .endif > > +post-install: > + ${INSTALL} -d -o ${USERS} -g ${GROUPS} -m 775 /var/run/fluentd > + Lovely rc script, which also makes the post-install target pointless :) Chris