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 ([email protected])
   Approved by:    chifeng<[email protected]>  (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/

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"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to