summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-21 01:11:33 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-21 01:11:33 +0000
commitca2128f56a3a50d15ea9802affa5a7a2a9b08dc7 (patch)
treee53504b71bfd61fe80c782937455031415efcf61 /app-admin/gentoo-rsync-mirror
parentbetter stop() function (Manifest recommit) (diff)
downloadgentoo-2-ca2128f56a3a50d15ea9802affa5a7a2a9b08dc7.tar.gz
gentoo-2-ca2128f56a3a50d15ea9802affa5a7a2a9b08dc7.tar.bz2
gentoo-2-ca2128f56a3a50d15ea9802affa5a7a2a9b08dc7.zip
Dont install init.d script anymore #59599 by Bjarke Istrup Pedersen.
Diffstat (limited to 'app-admin/gentoo-rsync-mirror')
-rw-r--r--app-admin/gentoo-rsync-mirror/ChangeLog6
-rw-r--r--app-admin/gentoo-rsync-mirror/files/rsyncd.init23
-rw-r--r--app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r4.ebuild18
3 files changed, 14 insertions, 33 deletions
diff --git a/app-admin/gentoo-rsync-mirror/ChangeLog b/app-admin/gentoo-rsync-mirror/ChangeLog
index 33b7b70145e8..698195e2d356 100644
--- a/app-admin/gentoo-rsync-mirror/ChangeLog
+++ b/app-admin/gentoo-rsync-mirror/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-admin/gentoo-rsync-mirror
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoo-rsync-mirror/ChangeLog,v 1.21 2004/09/12 21:13:34 tantive Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoo-rsync-mirror/ChangeLog,v 1.22 2004/10/21 01:11:33 vapier Exp $
+
+ 20 Oct 2004; Mike Frysinger <vapier@gentoo.org> -files/rsyncd.init,
+ gentoo-rsync-mirror-1.0-r4.ebuild:
+ Dont install init.d script anymore #59599 by Bjarke Istrup Pedersen.
12 Sep 2004; Michael Imhof <tantive@gentoo.org> files/gentoo-mirror.conf:
Fixed path in config file. Closes #63671.
diff --git a/app-admin/gentoo-rsync-mirror/files/rsyncd.init b/app-admin/gentoo-rsync-mirror/files/rsyncd.init
deleted file mode 100644
index 9a95ea6a770e..000000000000
--- a/app-admin/gentoo-rsync-mirror/files/rsyncd.init
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoo-rsync-mirror/files/rsyncd.init,v 1.7 2004/07/14 21:12:47 agriffis Exp $
-
-depend() {
-need net
-}
-
-# FYI: --sparce seems to cause problems.
-RSYNCOPTS="--daemon --safe-links --timeout=300"
-
-start() {
-ebegin "Starting rsync daemon"
-start-stop-daemon --start --quiet --pidfile /var/run/rsyncd.pid --nicelevel 15 --exec /usr/bin/rsync -- ${RSYNCOPTS}
-eend $?
-}
-
-stop() {
-ebegin "Stopping rsync daemon"
-start-stop-daemon --stop --quiet --pidfile /var/run/rsyncd.pid
-eend $?
-}
diff --git a/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r4.ebuild b/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r4.ebuild
index 642b89e93299..fdc022cd6416 100644
--- a/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r4.ebuild
+++ b/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r4.ebuild
@@ -1,18 +1,21 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r4.ebuild,v 1.2 2004/09/04 17:46:04 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/gentoo-rsync-mirror/gentoo-rsync-mirror-1.0-r4.ebuild,v 1.3 2004/10/21 01:11:33 vapier Exp $
-IUSE=""
-S=${WORKDIR}/gentoo-rsync-mirror-${PV}
DESCRIPTION="Ebuild for setting up a Gentoo rsync mirror"
HOMEPAGE="http://www.gentoo.org/doc/en/rsync.xml"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 alpha ppc sparc x86"
+IUSE=""
DEPEND="virtual/libc"
RDEPEND="net-misc/rsync
dev-lang/perl"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 ppc sparc alpha amd64"
+
+S=${WORKDIR}/gentoo-rsync-mirror-${PV}
src_install() {
dodir /opt/gentoo-rsync
@@ -23,8 +26,6 @@ src_install() {
doins ${FILESDIR}/rsyncd.motd
doins ${FILESDIR}/gentoo-mirror.conf
dodir /opt/gentoo-rsync/portage
- exeinto /etc/init.d
- newexe ${FILESDIR}/rsyncd.init rsyncd
}
pkg_postinst() {
@@ -50,4 +51,3 @@ pkg_postinst() {
einfo
einfo "For more information visit: http://www.gentoo.org/doc/en/rsync.xml"
}
-