diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2008-10-20 18:58:11 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2008-10-20 18:58:11 +0000 |
commit | c6dc302bc29df6bc9d94a5bb5b7a640e5f52f31f (patch) | |
tree | 5a9cd63e55a6d42759f752cbad60738275578c92 /sys-apps/preload | |
parent | Version bump (diff) | |
download | gentoo-2-c6dc302bc29df6bc9d94a5bb5b7a640e5f52f31f.tar.gz gentoo-2-c6dc302bc29df6bc9d94a5bb5b7a640e5f52f31f.tar.bz2 gentoo-2-c6dc302bc29df6bc9d94a5bb5b7a640e5f52f31f.zip |
Minor bump for sys-apps/preload to improve init/conf scripts and remove unused etc file
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-git6 x86_64)
Diffstat (limited to 'sys-apps/preload')
-rw-r--r-- | sys-apps/preload/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/preload/files/conf.d-preload | 20 | ||||
-rw-r--r-- | sys-apps/preload/files/init.d-preload | 8 | ||||
-rw-r--r-- | sys-apps/preload/preload-0.6.3-r1.ebuild (renamed from sys-apps/preload/preload-0.6.3.ebuild) | 3 |
4 files changed, 28 insertions, 12 deletions
diff --git a/sys-apps/preload/ChangeLog b/sys-apps/preload/ChangeLog index bfcd1dfc9ce7..7913698f9347 100644 --- a/sys-apps/preload/ChangeLog +++ b/sys-apps/preload/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-apps/preload # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/ChangeLog,v 1.2 2008/10/19 23:48:26 cla Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/ChangeLog,v 1.3 2008/10/20 18:58:10 darkside Exp $ + +*preload-0.6.3-r1 (20 Oct 2008) + + 20 Oct 2008; Jeremy Olexa <darkside@gentoo.org> files/conf.d-preload, + files/init.d-preload, -preload-0.6.3.ebuild, +preload-0.6.3-r1.ebuild: + Minor bump for sys-apps/preload to improve init/conf scripts and remove + unused etc file 19 Oct 2008; Dawid Węgliński <cla@gentoo.org> preload-0.6.3.ebuild: Add ~x86 keyword (bug #242554) diff --git a/sys-apps/preload/files/conf.d-preload b/sys-apps/preload/files/conf.d-preload index 19bd8ebfed24..3ff0eea79700 100644 --- a/sys-apps/preload/files/conf.d-preload +++ b/sys-apps/preload/files/conf.d-preload @@ -1,12 +1,22 @@ # Copyright 1999-2008 Gentoo Foundation -# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/files/conf.d-preload,v 1.1 2008/10/18 02:20:48 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/files/conf.d-preload,v 1.2 2008/10/20 18:58:11 darkside Exp $ # preload configuration file -## verbosity. 0-9, Default is 4. +# verbosity. 0-9, Default is 4. PRELOAD_VERBOSITY="4" -## set this for niceness. Default is 15 +# set this for niceness. Default is 15 PRELOAD_NICE="15" -## log file -PRELOAD_LOGFILE="/var/log/preload.log" +# log file (default is /var/log/preload.log ) +# Empty means default location. +#PRELOAD_LOGFILE="/var/log/preload.log" + +# prelaod state file (default is /var/lib/preload/preload.state ) +# Empty means no state is saved. +#PRELOAD_STATEFILE="\"\"" +PRELOAD_STATEFILE="/var/lib/preload/preload.state" + +## Not supported in Gentoo yet. Patches to init script welcome. ## +# Option to call ionice with. Leave empty to skip ionice. +#IONICE_OPTS="-c3" diff --git a/sys-apps/preload/files/init.d-preload b/sys-apps/preload/files/init.d-preload index 4bd5ff6a6be0..9cce830963e0 100644 --- a/sys-apps/preload/files/init.d-preload +++ b/sys-apps/preload/files/init.d-preload @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/files/init.d-preload,v 1.1 2008/10/18 02:20:48 darkside Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/files/init.d-preload,v 1.2 2008/10/20 18:58:11 darkside Exp $ depend() { after xdm @@ -16,7 +16,8 @@ restart() { start() { ebegin "Starting preload" start-stop-daemon --start --quiet --exec /usr/sbin/preload -- \ - --logfile ${PRELOAD_LOGFILE} -V ${PRELOAD_VERBOSITY} -n ${PRELOAD_NICE} + -l ${PRELOAD_LOGFILE} -V ${PRELOAD_VERBOSITY} -n ${PRELOAD_NICE} \ + -s ${PRELOAD_STATEFILE} eend $? } @@ -25,6 +26,3 @@ stop() { start-stop-daemon --stop --quiet --exec /usr/sbin/preload eend $? } - - - diff --git a/sys-apps/preload/preload-0.6.3.ebuild b/sys-apps/preload/preload-0.6.3-r1.ebuild index 3b714251b722..7a4b3f04874f 100644 --- a/sys-apps/preload/preload-0.6.3.ebuild +++ b/sys-apps/preload/preload-0.6.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/preload-0.6.3.ebuild,v 1.2 2008/10/19 23:48:26 cla Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/preload-0.6.3-r1.ebuild,v 1.1 2008/10/20 18:58:10 darkside Exp $ DESCRIPTION="Adaptive readahead daemon." HOMEPAGE="http://sourceforge.net/projects/preload" @@ -23,6 +23,7 @@ src_compile() { src_install() { emake DESTDIR="${D}" install || die "install failed" rm -rf "${D}/etc/rc.d" || die "rm rc.d failed" + rm -rf "${D}/etc/sysconfig" || die "rm sysconfig failed" newinitd "${FILESDIR}/init.d-preload" preload || die "initd failed" newconfd "${FILESDIR}/conf.d-preload" preload || die "confd failed" dodoc AUTHORS ChangeLog NEWS README THANKS TODO |