Date: Wed, 10 Sep 2014 09:36:24 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367807 - in head/net/rsync: . files Message-ID: <201409100936.s8A9aO0U043945@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Wed Sep 10 09:36:24 2014 New Revision: 367807 URL: http://svnweb.freebsd.org/changeset/ports/367807 QAT: https://qat.redports.org/buildarchive/r367807/ Log: Allow specifying config path in rc.conf PR: 191601 Submitted by: daniel@blodan.se Modified: head/net/rsync/Makefile head/net/rsync/files/rsyncd.in Modified: head/net/rsync/Makefile ============================================================================== --- head/net/rsync/Makefile Wed Sep 10 09:19:27 2014 (r367806) +++ head/net/rsync/Makefile Wed Sep 10 09:36:24 2014 (r367807) @@ -3,7 +3,7 @@ PORTNAME= rsync PORTVERSION= 3.1.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net ipv6 MASTER_SITES= http://rsync.samba.org/ftp/%SUBDIR%/ \ ftp://ftp.samba.org/pub/%SUBDIR%/ \ Modified: head/net/rsync/files/rsyncd.in ============================================================================== --- head/net/rsync/files/rsyncd.in Wed Sep 10 09:19:27 2014 (r367806) +++ head/net/rsync/files/rsyncd.in Wed Sep 10 09:36:24 2014 (r367807) @@ -22,14 +22,17 @@ name="%%NAME%%" rcvar=%%NAME%%_enable command="%%PREFIX%%/bin/rsync" -command_args="--daemon" start_precmd="%%NAME%%_precmd" pidfile="/var/run/$name.pid" -required_files="%%ETCDIR%%/$name.conf" # read configuration and set defaults load_rc_config "$name" : ${%%NAME%%_enable="NO"} +: ${%%NAME%%_configfile:=%%ETCDIR%%/$name.conf} + +required_files="${%%NAME%%_configfile}" + +command_args="--daemon --config ${%%NAME%%_configfile}" %%NAME%%_precmd() {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409100936.s8A9aO0U043945>