[85579] trunk/dports/net/rsync/Portfile
snc at macports.org
snc at macports.org
Fri Oct 14 11:34:52 PDT 2011
Revision: 85579
http://trac.macports.org/changeset/85579
Author: snc at macports.org
Date: 2011-10-14 11:34:52 -0700 (Fri, 14 Oct 2011)
Log Message:
-----------
rsync: fix rsyncd launchd error, #25992
Modified Paths:
--------------
trunk/dports/net/rsync/Portfile
Modified: trunk/dports/net/rsync/Portfile
===================================================================
--- trunk/dports/net/rsync/Portfile 2011-10-14 18:20:14 UTC (rev 85578)
+++ trunk/dports/net/rsync/Portfile 2011-10-14 18:34:52 UTC (rev 85579)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -4,6 +5,7 @@
name rsync
version 3.0.8
+revision 1
categories net
license GPL-3+
installs_libs no
@@ -51,34 +53,25 @@
COPYING INSTALL NEWS OLDNEWS TODO README doc/README-SGML \
doc/profile.txt doc/rsync.sgml \
${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 ${filespath}/rsyncd.conf.example \
+ ${destroot}${prefix}/etc/rsyncd.conf.example
+ reinplace "s|__PREFIX__|${prefix}|g" \
+ ${destroot}${prefix}/etc/rsyncd.conf.example
}
livecheck.type regex
livecheck.regex "Rsync version (\\d+(?:\\.\\d+)*) released"
-variant rsyncd description {Installs rsyncd.conf and a StartupItem for rsyncd} {
- post-destroot {
- xinstall -m 644 ${filespath}/rsyncd.conf.example \
- ${destroot}${prefix}/etc/rsyncd.conf.example
- reinplace "s|__PREFIX__|${prefix}|g" \
- ${destroot}${prefix}/etc/rsyncd.conf.example
- }
+startupitem.create yes
+startupitem.name rsyncd
+startupitem.logfile ${prefix}/var/log/rsyncd.log
+startupitem.start "${prefix}/bin/rsync --daemon --config=${prefix}/etc/rsyncd.conf"
+startupitem.stop "kill `cat ${prefix}/var/run/rsyncd.pid`"
+startupitem.pidfile auto ${prefix}/var/run/rsyncd.pid
- post-install {
- ui_msg "****************************************************************"
- ui_msg "* *"
- ui_msg "* To use the rsyncd server you must copy *"
- ui_msg "* ${prefix}/etc/rsyncd.conf.example to rsyncd.conf and add *"
- ui_msg "* your modules there. See 'man rsyncd.conf' for more *"
- ui_msg "* information. *"
- ui_msg "* *"
- ui_msg "****************************************************************"
- }
-
- startupitem.create yes
- startupitem.name rsyncd
- startupitem.logfile ${prefix}/var/log/rsyncd.log
- startupitem.start "${prefix}/bin/rsync --daemon --config=${prefix}/etc/rsyncd.conf"
- startupitem.stop "kill `cat ${prefix}/var/run/rsyncd.pid`"
- startupitem.pidfile auto ${prefix}/var/run/rsyncd.pid
-}
+notes "
+To use the rsyncd server you must copy\
+${prefix}/etc/rsyncd.conf.example to rsyncd.conf and add\
+your modules there. See 'man rsyncd.conf' for more\
+information.
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111014/320df49e/attachment.html>
More information about the macports-changes
mailing list