summaryrefslogtreecommitdiff
path: root/sys-block/noflushd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-block/noflushd
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-block/noflushd')
-rw-r--r--sys-block/noflushd/Manifest11
-rw-r--r--sys-block/noflushd/files/noflushd.confd10
-rw-r--r--sys-block/noflushd/files/noflushd.rc630
-rw-r--r--sys-block/noflushd/metadata.xml11
-rw-r--r--sys-block/noflushd/noflushd-2.7.3.ebuild36
-rw-r--r--sys-block/noflushd/noflushd-2.7.5.ebuild32
-rw-r--r--sys-block/noflushd/noflushd-2.8.ebuild32
7 files changed, 162 insertions, 0 deletions
diff --git a/sys-block/noflushd/Manifest b/sys-block/noflushd/Manifest
new file mode 100644
index 000000000000..e26cbdec76fb
--- /dev/null
+++ b/sys-block/noflushd/Manifest
@@ -0,0 +1,11 @@
+AUX noflushd.confd 241 SHA256 58692429854cb1c4b245b5bc0118dcd0953e807dc38bf4b1184c675fd4743e3a SHA512 74a427fec3eb3ad7266f9cf28c4e9b153961367681a1126fb18182d7519d74f7d7f0098601483f6c6bfdd55dcabc8f117f1e904c554833e489e21e3d4005d993 WHIRLPOOL 6e8353eede781d2a0393786c3f248be45357ddda102555338e4b4343259b7831583e0cbf1ea41fd68941d6e5b639d4d70c542594d9d62108969d5b9020c70a28
+AUX noflushd.rc6 664 SHA256 3bbbf38772362a3afdbc9ceefea1b67211f56ddab586a64ad3f36b568cdf4e25 SHA512 f541bc82ebc81fe4c09fbd02a8aee1668d3e8fec738c552219dd4d5741be5ac1a4abb544cb800d6f182b00f6021fe84858f0befbb1317ca5ec5a9092d64ba2cd WHIRLPOOL e0b617f93b399b85f2a5e71f007ce8b9bf6c3c81746eb317f1810057ab7300107636b0d4b07a1f2c41ad44298ff5c1f238e6c3b4739667bafc1ff55de8fd3ee1
+DIST noflushd-2.7.3.tar.gz 145328 SHA256 d9ce71ba8603ed146b1066aca180746577910e75903dcda7e32276d99382f149 SHA512 3db9f5d005dd097211df65dbeb6dcb44fc66dfac66de63e004337762e5128748f5f15fd5550dad5f346bd774c664d509acf0c69b6fd33414439f5ee17689ba05 WHIRLPOOL db47f7724e7b73b638c58007e5c0bb094cb015170bc37a6f09381fb5cd79d4a136fd0373c0ee0537b7258863409c6f6b4c59d0288b2201db5c8ff447cc08a525
+DIST noflushd-2.8.tar.gz 180386 SHA256 aa9ab7e58d9c34e189ac63279fd8f5772564630d26c9f036b4943ecece54c278 SHA512 2bffb61aa380409efc43e7ff93d1efd93812dd2c66b4635101a608f1bd5094545e4db64e03fd318be3d3ac50be6e7278b17d9bb9ccd30c52f5e2e4337f749b50 WHIRLPOOL 950badd20e0e0d8cdd0211e1d30b1f426d3cd6922d823c50af1da4588c0e11e7387e951f046dcb24792979bba6c4bbe3dc8971c6010e16f3313c4c029bd8f2ab
+DIST noflushd_2.7.5.orig.tar.gz 149854 SHA256 f96aa8ec9e477725d5e23f5e4ab13b31d21ef190c4d28e3802f2f1a6894aadb7 SHA512 4ad33dc3d9460db150f4c68dd94597c639fdc75fa43f1de6dbf8c278d3ff80df2112fbd50d94ecb5cfb49820fc0ab9076f6a3bc345f93ca3f5ae4d369bc1fb0f WHIRLPOOL 2581baa9dd80af7a5db09a2e3d2adfedf1ed9eb63d8e5cee4a8641f1486de3dc0e5835033b81620d49c93c34a370d182eb91189ec2facc360e23a2a3d4c96a31
+EBUILD noflushd-2.7.3.ebuild 951 SHA256 658d668fa77aa937a6a2fc780403cf75fccc51ac94a8ae672a035a039cec32f9 SHA512 99aebdc9be2c894540b7f32c40055ae732ea5a6af58d875f784fc92f80992fe60b80aa2633949abfc79fe061a51b14134617941caa173acff3de912fda9ffa2e WHIRLPOOL de717b45c1760a827aa0f78531fa504bdeed9ee30470b9a845989e2de9cd4913868d30edecd3f6e72dd9056f506b95e81cb0787153a192c00492915800360399
+EBUILD noflushd-2.7.5.ebuild 764 SHA256 9f21f406209b40997c05f6e4c2314a6b2943d634bb2585c1260de019b8fa7e99 SHA512 aa2d9522d7eef4c8f0a388138ac68c0d848426ee6689650d60ec4d89de8ba5e5addef09d12657d08b9b498dcb14ac7f20f4ddc96c6779b824ba38feabac5a229 WHIRLPOOL f198335e21e5acc7d6afa1974aed42257aea8eee4658204e804ccfdfcab5bc30528e3ebf00017e982ff2e3d0c6616c2b912bc43a97e4b66f608ce6ae2f24557c
+EBUILD noflushd-2.8.ebuild 735 SHA256 535974bb2727e256bbd3d6b88d76b64ed27c85de210345fcedd0a7f4039ab0c5 SHA512 5c68a7dc940452dfba1ee886fa93d44c6055593b13480f2abe97a6016d36a9d60d6d7d4c41b441017cc5b75b610797692ac59c7d374ce6b832ac86f7105514de WHIRLPOOL bc7f4a1a507ac884f6a6dbdc73fb83cd181866a0ee4ab925210873083740071cb36ba9142d986eb0649f0f1fbd4aca1fc4a32115900b25b0659b08231a7dff39
+MISC ChangeLog 3505 SHA256 bee6ba31434ea7ca2c8edff803ff3d5b3d7691457a12349b3e011ecd2b48f128 SHA512 e61e755154106a2f6d8d48fab57e659761771e6ec0232f18ae627bc3488b94e4c7813dd97d1c0138c9a0ef0e8c32ac247cf08ed8b18c3328fa1b924fc37516d5 WHIRLPOOL 26bb9c3b0d627b6abd1c424718e8b9808b16c73ca433a70dfc831716c991319b21a37cb343dac1142979262f5427fbe0f479485aaa81a7ee7cbd32e9656f2d2b
+MISC ChangeLog-2015 3740 SHA256 ba44c2848007c97a5488cbb018f06e65b1e9e86c91e308e3cfee02d02c2d69b5 SHA512 6718d16d0af0ffdeec72759e21c95d5be0c45a087b63d48b27ac689f3fecf0a742acb2a5183b5fb60424e16d9d46c118dd35a8a5efbd5a086a8141818387e237 WHIRLPOOL 10bf344c2654b21bbf80c3b3d157a1143cc3cc08a8859b7935bcedfc07851a38b685b2449d698cf694d7af0654657e52f2bdd66764694912d0eb245bdc9e385d
+MISC metadata.xml 328 SHA256 05115554b6ef69ee2eed2e25b2726938cc503dd7455a5a93e7f627fb3e01cd25 SHA512 f7e518c8e327d595d8d325bd29f2723556870034444a11eb4ad010ff79d237756e3cd75b91f29650c2d8f7236c9bcb485e3627640455a89ec363ac27fdba57ab WHIRLPOOL ce1c47de9aad0966276d03210f168cbc14f3288b62e3b14aa03ca8aabb377692210bf28de503b4c278ce2cd381c9f4b4da91fe249a4b35d4a53ebd9c0c9ebf8f
diff --git a/sys-block/noflushd/files/noflushd.confd b/sys-block/noflushd/files/noflushd.confd
new file mode 100644
index 000000000000..cda092028fd6
--- /dev/null
+++ b/sys-block/noflushd/files/noflushd.confd
@@ -0,0 +1,10 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Config file for /etc/init.d/noflushd
+
+#TIMEOUT=60
+#DISKS=/dev/discs/disc0/disc
+#EXTRA=
+#NOFLUSHD_OPTS="-n $TIMEOUT $DISKS $EXTRA"
+
diff --git a/sys-block/noflushd/files/noflushd.rc6 b/sys-block/noflushd/files/noflushd.rc6
new file mode 100644
index 000000000000..833ea51ea31d
--- /dev/null
+++ b/sys-block/noflushd/files/noflushd.rc6
@@ -0,0 +1,30 @@
+#!/sbin/openrc-run
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# NB: Config is in /etc/conf.d/noflushd
+
+depend() {
+ need localmount
+}
+
+checkconfig() {
+ if [ -z "$NOFLUSHD_OPTS" ] ; then
+ eerror "You need to setup your NOFLUSHD_OPTS first"
+ eerror "Check that you've adjusted /etc/conf.d/noflushd for your needs"
+ return 1
+ fi
+}
+
+start() {
+ checkconfig || return 1
+ ebegin "Starting noflushd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/noflushd -- $NOFLUSHD_OPTS
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping noflushd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/noflushd.pid
+ eend $?
+}
diff --git a/sys-block/noflushd/metadata.xml b/sys-block/noflushd/metadata.xml
new file mode 100644
index 000000000000..092f65fe125e
--- /dev/null
+++ b/sys-block/noflushd/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>base-system@gentoo.org</email>
+ <name>Gentoo Base System</name>
+</maintainer>
+<upstream>
+ <remote-id type="sourceforge">noflushd</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/sys-block/noflushd/noflushd-2.7.3.ebuild b/sys-block/noflushd/noflushd-2.7.3.ebuild
new file mode 100644
index 000000000000..a7d8c8a71b0d
--- /dev/null
+++ b/sys-block/noflushd/noflushd-2.7.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="A daemon to spin down your disks and force accesses to be cached"
+HOMEPAGE="http://noflushd.sourceforge.net"
+SRC_URI="mirror://sourceforge/noflushd/${P}.tar.gz"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64 ppc"
+IUSE=""
+SLOT="0"
+
+src_compile() {
+ ./configure --prefix=/usr \
+ --host=${CHOST} \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --with-docdir=/usr/share/doc/${PF} || die "configure problem"
+ emake || die "compile problem"
+}
+
+src_install () {
+ dosbin src/noflushd
+ doman man/noflushd.8
+ dodoc README NEWS
+
+ newinitd "${FILESDIR}"/noflushd.rc6 noflushd
+ newconfd "${FILESDIR}"/noflushd.confd noflushd
+}
+
+pkg_postinst() {
+ einfo 'Run "rc-update add noflushd default" to add it to the'
+ einfo "default runlevel."
+
+ ewarn "noflushd works with IDE devices only."
+ ewarn "It has possible problems with reiserfs, too."
+}
diff --git a/sys-block/noflushd/noflushd-2.7.5.ebuild b/sys-block/noflushd/noflushd-2.7.5.ebuild
new file mode 100644
index 000000000000..8ddeb392b695
--- /dev/null
+++ b/sys-block/noflushd/noflushd-2.7.5.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+DESCRIPTION="A daemon to spin down your disks and force accesses to be cached"
+HOMEPAGE="http://noflushd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/noflushd/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+src_compile() {
+ econf \
+ --with-docdir=/usr/share/doc/${PF} \
+ --with-initdir=/etc/init.d
+ emake || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc NEWS
+ prepalldocs
+
+ newinitd "${FILESDIR}"/noflushd.rc6 noflushd
+ newconfd "${FILESDIR}"/noflushd.confd noflushd
+}
+
+pkg_postinst() {
+ ewarn "noflushd works with IDE devices only."
+ ewarn "It has possible problems with reiserfs, too."
+}
diff --git a/sys-block/noflushd/noflushd-2.8.ebuild b/sys-block/noflushd/noflushd-2.8.ebuild
new file mode 100644
index 000000000000..c94cfcaffd46
--- /dev/null
+++ b/sys-block/noflushd/noflushd-2.8.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+DESCRIPTION="A daemon to spin down your disks and force accesses to be cached"
+HOMEPAGE="http://noflushd.sourceforge.net/"
+SRC_URI="mirror://sourceforge/noflushd/${PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+src_configure() {
+ econf \
+ --with-docdir=/usr/share/doc/${PF} \
+ --with-initdir=/etc/init.d
+}
+
+src_install() {
+ emake install DESTDIR="${D}"
+ dodoc NEWS
+
+ newinitd "${FILESDIR}"/noflushd.rc6 noflushd
+ newconfd "${FILESDIR}"/noflushd.confd noflushd
+}
+
+pkg_postinst() {
+ ewarn "noflushd works with IDE devices only."
+ ewarn "It has possible problems with reiserfs, too."
+}