Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Jun 2011 14:20:53 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Wesley Shields <wxs@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/mail/sqlgrey Makefile distinfo ports/mail/sqlgrey/files sqlgrey.in sqlgrey.sh.in
Message-ID:  <4DE95035.80908@FreeBSD.org>
In-Reply-To: <201106031125.p53BPBqm007367@repoman.freebsd.org>
References:  <201106031125.p53BPBqm007367@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------030909010902010104000406
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Attached are a few minor changes. The one important change is 
s#/usr/local#%%PREFIX%%#


hth,

Doug


On 06/03/2011 04:25, Wesley Shields wrote:
> wxs         2011-06-03 11:25:11 UTC
>
>    FreeBSD ports repository
>
>    Modified files:
>      mail/sqlgrey         Makefile distinfo
>    Added files:
>      mail/sqlgrey/files   sqlgrey.in
>    Removed files:
>      mail/sqlgrey/files   sqlgrey.sh.in
>    Log:
>    - Update to 1.8.0rc2.
>    - Rename RC script.
>
>    PR:             ports/157485  http://www.FreeBSD.org/cgi/query-pr.cgi?pr=157485
>    Submitted by:   Ryan Steinmetz (rpsfa@rit.edu)
>    Approved by:    chifeng<chifeng@gmail.com>  (maintainer)
>
>    Revision  Changes    Path
>    1.19      +3 -4      ports/mail/sqlgrey/Makefile
>    1.9       +2 -3      ports/mail/sqlgrey/distinfo
>    1.1       +40 -0     ports/mail/sqlgrey/files/sqlgrey.in (new)
>    1.6       +0 -40     ports/mail/sqlgrey/files/sqlgrey.sh.in (dead)
>
> http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/mail/sqlgrey/Makefile.diff?&r1=1.18&r2=1.19&f=h
> http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/mail/sqlgrey/distinfo.diff?&r1=1.8&r2=1.9&f=h
> http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/mail/sqlgrey/files/sqlgrey.in
> http://www.FreeBSD.org/cgi/cvsweb.cgi/ports/mail/sqlgrey/files/sqlgrey.sh.in
>



-- 

	Nothin' ever doesn't change, but nothin' changes much.
			-- OK Go

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/


--------------030909010902010104000406
Content-Type: text/plain;
 name="sqlgrey-in.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="sqlgrey-in.diff"

Index: sqlgrey.in
===================================================================
RCS file: /home/pcvs/ports/mail/sqlgrey/files/sqlgrey.in,v
retrieving revision 1.1
diff -u -r1.1 sqlgrey.in
--- sqlgrey.in	3 Jun 2011 11:25:11 -0000	1.1
+++ sqlgrey.in	3 Jun 2011 21:19:36 -0000
@@ -1,19 +1,17 @@
 #!/bin/sh
+
 # $FreeBSD: ports/mail/sqlgrey/files/sqlgrey.in,v 1.1 2011/06/03 11:25:11 wxs Exp $
 #
-
 # PROVIDE: sqlgrey
 # REQUIRE: LOGIN
 # BEFORE: mail
 # KEYWORD: shutdown
-
 #
 # Add the following lines to /etc/rc.conf to enable sqlgrey:
 #
 # sqlgrey_enable="YES"
 #
 # See man sqlgrey for flags or the config file.
-#
 
 . /etc/rc.subr
 
@@ -34,7 +32,8 @@
 load_rc_config $name
 
 sqlgrey_enable=${sqlgrey_enable-"NO"}
-sqlgrey_config=${sqlgrey_config-"/usr/local/%%ETCDIR%%/sqlgrey.conf"}
-sqlgrey_flags=${sqlgrey_flags-"--daemonize --configfile=${sqlgrey_config}"}
+required_files=${sqlgrey_config-"%%PREFIX%%/%%ETCDIR%%/sqlgrey.conf"}
+
+command_args="--configfile=${required_files} --daemonize"
 
 run_rc_command "$1"

--------------030909010902010104000406--



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