diff options
author | Martin Holzer <mholzer@gentoo.org> | 2004-01-27 20:49:23 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2004-01-27 20:49:23 +0000 |
commit | 54c36b7c24bb9af77671335e48b52d8fc5303252 (patch) | |
tree | 6e481af0be182d66aad51214cbdb9d8e80036718 /sys-apps/noflushd | |
parent | cleanup (diff) | |
download | gentoo-2-54c36b7c24bb9af77671335e48b52d8fc5303252.tar.gz gentoo-2-54c36b7c24bb9af77671335e48b52d8fc5303252.tar.bz2 gentoo-2-54c36b7c24bb9af77671335e48b52d8fc5303252.zip |
cleanup
Diffstat (limited to 'sys-apps/noflushd')
-rw-r--r-- | sys-apps/noflushd/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/noflushd/Manifest | 1 | ||||
-rw-r--r-- | sys-apps/noflushd/files/digest-noflushd-2.4-r3 | 1 | ||||
-rw-r--r-- | sys-apps/noflushd/files/digest-noflushd-2.4-r6 | 1 | ||||
-rw-r--r-- | sys-apps/noflushd/files/noflushd.rc5 | 43 | ||||
-rw-r--r-- | sys-apps/noflushd/noflushd-2.4-r3.ebuild | 50 | ||||
-rw-r--r-- | sys-apps/noflushd/noflushd-2.4-r6.ebuild | 48 |
7 files changed, 6 insertions, 146 deletions
diff --git a/sys-apps/noflushd/ChangeLog b/sys-apps/noflushd/ChangeLog index 445ff10bf4dc..6df9e0520ebe 100644 --- a/sys-apps/noflushd/ChangeLog +++ b/sys-apps/noflushd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/noflushd -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/noflushd/ChangeLog,v 1.7 2003/04/16 17:51:07 cretin Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/noflushd/ChangeLog,v 1.8 2004/01/27 20:48:02 mholzer Exp $ + + 27 Jan 2004; Martin Holzer <mholzer@gentoo.org> noflushd-2.4-r3.ebuild, + noflushd-2.4-r6.ebuild, noflushd-2.6.3.ebuild: + adding RESTRICT=nomirror *noflushd-2.6.3 (15 Jul 2002) diff --git a/sys-apps/noflushd/Manifest b/sys-apps/noflushd/Manifest index b33e26a176e6..4eb9103a2281 100644 --- a/sys-apps/noflushd/Manifest +++ b/sys-apps/noflushd/Manifest @@ -4,5 +4,4 @@ MD5 33de662f99e07dc463388fb52e12b714 noflushd-2.6.3.ebuild 1171 MD5 9b47b101b4b9a87a7e2fe13ae8700e01 files/digest-noflushd-2.6.3 66 MD5 27662aecff22f74ae029a76f5dfffa3f files/noflushd.conf 400 MD5 cffb2a2c67b26d0d3e4b86836f607267 files/noflushd.confd 133 -MD5 faf1ae95aba5c2b34b269e5e63bf4cf2 files/noflushd.rc5 894 MD5 5fa6a20ac64c122fefc933cf0bd3f421 files/noflushd.rc6 794 diff --git a/sys-apps/noflushd/files/digest-noflushd-2.4-r3 b/sys-apps/noflushd/files/digest-noflushd-2.4-r3 deleted file mode 100644 index 07ab18a3b4fb..000000000000 --- a/sys-apps/noflushd/files/digest-noflushd-2.4-r3 +++ /dev/null @@ -1 +0,0 @@ -MD5 b248ff04030ffa79a14ef76f3d0ff8f0 noflushd_2.4.orig.tar.gz 79239 diff --git a/sys-apps/noflushd/files/digest-noflushd-2.4-r6 b/sys-apps/noflushd/files/digest-noflushd-2.4-r6 deleted file mode 100644 index 07ab18a3b4fb..000000000000 --- a/sys-apps/noflushd/files/digest-noflushd-2.4-r6 +++ /dev/null @@ -1 +0,0 @@ -MD5 b248ff04030ffa79a14ef76f3d0ff8f0 noflushd_2.4.orig.tar.gz 79239 diff --git a/sys-apps/noflushd/files/noflushd.rc5 b/sys-apps/noflushd/files/noflushd.rc5 deleted file mode 100644 index 852b11fd2ab8..000000000000 --- a/sys-apps/noflushd/files/noflushd.rc5 +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh -#RCUPDATE:2 3 4:70:This line is required for script management - -. /etc/rc.d/config/functions -. /etc/rc.d/config/basic - -SERVICE="noflushd" -opts="start stop restart" - -PIDFILE=/var/run/noflushd.pid -EXE=/usr/sbin/noflushd - -start() { - - # defaults - TIMEOUT=60 - DISKS='/dev/discs/disc0/disc' - EXTRA='' - - # Pull in configuration file if exists, overrides defaults - [ -f /etc/rc.d/config/noflushd.conf ] && . /etc/noflushd.conf - - OPTIONS='-n $TIMEOUT $DISKS $EXTRA' - - ebegin "Starting $SERVICE" - start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $EXE -- $OPTIONS - eend $? "Started $SERVICE." "Error starting $SERVICE." - -} - -stop() { - ebegin "Stopping $SERVICE" - start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $EXE - eend $? "Stopped $SERVICE." "Error stopping $SERVICE." -} - -restart() { - stop - sleep 1s - start -} - -doservice ${@} diff --git a/sys-apps/noflushd/noflushd-2.4-r3.ebuild b/sys-apps/noflushd/noflushd-2.4-r3.ebuild deleted file mode 100644 index 9e22272a9472..000000000000 --- a/sys-apps/noflushd/noflushd-2.4-r3.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/noflushd/noflushd-2.4-r3.ebuild,v 1.10 2003/07/16 17:56:20 pvdabeel Exp $ -# Note: the daemon's current 2.4 version has nothing to do with kernel versions - -MY_P="${P/-/_}" -S=${WORKDIR}/${P}.orig -SRC_URI="http://download.sourceforge.net/noflushd/${MY_P}.orig.tar.gz" -HOMEPAGE="http://noflushd.sourceforge.net/" -KEYWORDS="x86 amd64 -ppc" -SLOT="0" -LICENSE="GPL-2" -DESCRIPTION="A daemon to spin down your disks and force accesses to be cached" - -DEPEND="virtual/glibc" - -src_compile() { - ./configure --prefix=/usr --host=${CHOST} --mandir=/usr/share/man \ - --infodir=/usr/share/info --with-docdir=/usr/share/doc/${PF} || die - - emake || die -} - -src_install() { - dosbin src/noflushd - doman man/noflushd.8 - dodoc README NEWS - - insinto /etc/rc.d/config ; doins ${FILESDIR}/noflushd.conf - - exeinto /etc/rc.d/init.d ; newexe ${FILESDIR}/noflushd.rc5 noflushd -} - -pkg_postinst() { - echo " - Run 'rc-update add noflushd' to add it to runlevels 2 3 4. - - Edit /etc/rc.d/config/noflushd.conf to change the default spindown - timeout and the disks handled; the defaults are 60 minutes - and /dev/discs/disc0/disc (i.e. hda). - - Updaters from early versions of ebuild (r0): note new location - of config file (now in /etc/rc.d/config, previously in /etc). - - WARNING: - WARNING: Do NOT use with SCSI, unstable! - WARNING: Has possible problems with reiserfs, too. - WARNING: - " -} diff --git a/sys-apps/noflushd/noflushd-2.4-r6.ebuild b/sys-apps/noflushd/noflushd-2.4-r6.ebuild deleted file mode 100644 index 4ed7e44faa21..000000000000 --- a/sys-apps/noflushd/noflushd-2.4-r6.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/noflushd/noflushd-2.4-r6.ebuild,v 1.12 2003/09/07 02:59:04 msterret Exp $ -# Note: the daemon's current 2.4 version has nothing to do with kernel versions - -MY_P=${P/-/_} -S=${WORKDIR}/${P}.orig -SRC_URI="http://download.sourceforge.net/noflushd/${MY_P}.orig.tar.gz" -HOMEPAGE="http://noflushd.sourceforge.net" -KEYWORDS="x86 amd64 -ppc" -SLOT="0" -LICENSE="GPL-2" -DESCRIPTION="A daemon to spin down your disks and force accesses to be cached" - -DEPEND="virtual/glibc" - -src_compile() { - - ./configure --prefix=/usr \ - --host=${CHOST} \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --with-docdir=/usr/share/doc/${PF} || die - - emake || die -} - -src_install () { - - dosbin src/noflushd - doman man/noflushd.8 - dodoc README NEWS - - exeinto /etc/init.d ; newexe ${FILESDIR}/noflushd.rc6 noflushd - insinto /etc/conf.d ; newins ${FILESDIR}/noflushd.confd noflushd -} - -pkg_postinst() { - - echo " - Run 'rc-update add noflushd' to add it to default runlevel. - - WARNING: - WARNING: Do NOT use with SCSI, unstable! - WARNING: Has possible problems with reiserfs, too. - WARNING: - " -} |