summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-03-22 22:01:21 +0000
committerChristian Ruppert <idl0r@gentoo.org>2012-03-22 22:01:21 +0000
commitdfb482f61f77bb7442b7fb6bffa54558395cf13c (patch)
tree7a5a27bb44c894d0f596c2c40a031db0f0e19d37
parentVersion bump. Ebuild clean up. EAPI4 (diff)
downloadgentoo-2-dfb482f61f77bb7442b7fb6bffa54558395cf13c.tar.gz
gentoo-2-dfb482f61f77bb7442b7fb6bffa54558395cf13c.tar.bz2
gentoo-2-dfb482f61f77bb7442b7fb6bffa54558395cf13c.zip
Simplify the init script.
(Portage version: 2.1.10.44/cvs/Linux i686)
-rw-r--r--net-misc/rsync/ChangeLog8
-rw-r--r--net-misc/rsync/files/rsyncd.init.d-r112
-rw-r--r--net-misc/rsync/rsync-3.0.9-r2.ebuild (renamed from net-misc/rsync/rsync-3.0.9-r1.ebuild)4
3 files changed, 21 insertions, 3 deletions
diff --git a/net-misc/rsync/ChangeLog b/net-misc/rsync/ChangeLog
index eabe58bb171d..57c13fa95932 100644
--- a/net-misc/rsync/ChangeLog
+++ b/net-misc/rsync/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/rsync
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.222 2012/03/15 21:55:20 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/ChangeLog,v 1.223 2012/03/22 22:01:21 idl0r Exp $
+
+*rsync-3.0.9-r2 (22 Mar 2012)
+
+ 22 Mar 2012; Christian Ruppert <idl0r@gentoo.org> -rsync-3.0.9-r1.ebuild,
+ +rsync-3.0.9-r2.ebuild, +files/rsyncd.init.d-r1:
+ Simplify the init script.
15 Mar 2012; Markus Meier <maekke@gentoo.org> rsync-3.0.9.ebuild:
arm stable, bug #406055
diff --git a/net-misc/rsync/files/rsyncd.init.d-r1 b/net-misc/rsync/files/rsyncd.init.d-r1
new file mode 100644
index 000000000000..d2e608e49607
--- /dev/null
+++ b/net-misc/rsync/files/rsyncd.init.d-r1
@@ -0,0 +1,12 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/files/rsyncd.init.d-r1,v 1.1 2012/03/22 22:01:21 idl0r Exp $
+
+command="/usr/bin/rsync"
+command_args="--daemon ${RSYNC_OPTS}"
+pidfile="/var/run/${SVCNAME}.pid"
+
+depend() {
+ use net
+}
diff --git a/net-misc/rsync/rsync-3.0.9-r1.ebuild b/net-misc/rsync/rsync-3.0.9-r2.ebuild
index fe7870fc3d9d..d1ae4fd754e1 100644
--- a/net-misc/rsync/rsync-3.0.9-r1.ebuild
+++ b/net-misc/rsync/rsync-3.0.9-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-3.0.9-r1.ebuild,v 1.2 2012/03/05 21:10:06 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rsync/rsync-3.0.9-r2.ebuild,v 1.1 2012/03/22 22:01:21 idl0r Exp $
EAPI="4"
@@ -43,7 +43,7 @@ src_configure() {
src_install() {
emake DESTDIR="${D}" install
newconfd "${FILESDIR}"/rsyncd.conf.d rsyncd
- newinitd "${FILESDIR}"/rsyncd.init.d rsyncd
+ newinitd "${FILESDIR}"/rsyncd.init.d-r1 rsyncd
dodoc NEWS OLDNEWS README TODO tech_report.tex
insinto /etc
newins "${FILESDIR}"/rsyncd.conf-3.0.9-r1 rsyncd.conf