From 9c1285a00f7d7285ab529df5938a930dc0b8807f Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Sat, 12 Apr 2014 19:38:12 +0200 Subject: flx/wdd: Revbump to fix init script and make stop only when it should Package-Manager: portage-2.2.10 RepoMan-Options: --force --- flx/wdd/ChangeLog | 6 ++++++ flx/wdd/Manifest | 6 +++--- flx/wdd/files/wdd.initd | 24 ++++++++++++++--------- flx/wdd/wdd-0.1.34-r1.ebuild | 38 ++++++++++++++++++++++++++++++++++++ flx/wdd/wdd-0.1.34.ebuild | 38 ------------------------------------ metadata/md5-cache/flx/wdd-0.1.34 | 10 ---------- metadata/md5-cache/flx/wdd-0.1.34-r1 | 10 ++++++++++ 7 files changed, 72 insertions(+), 60 deletions(-) create mode 100644 flx/wdd/wdd-0.1.34-r1.ebuild delete mode 100644 flx/wdd/wdd-0.1.34.ebuild delete mode 100644 metadata/md5-cache/flx/wdd-0.1.34 create mode 100644 metadata/md5-cache/flx/wdd-0.1.34-r1 diff --git a/flx/wdd/ChangeLog b/flx/wdd/ChangeLog index a9808ce1..37871759 100644 --- a/flx/wdd/ChangeLog +++ b/flx/wdd/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*wdd-0.1.34-r1 (12 Apr 2014) + + 12 Apr 2014; Bertrand Jacquin +wdd-0.1.34-r1.ebuild, + -wdd-0.1.34.ebuild, files/wdd.initd: + flx/wdd: Revbump to fix init script and make stop only when it should + 31 Mar 2014; Bertrand Jacquin wdd-0.1.34.ebuild, wdd-9999.ebuild: flx/wdd: Move to git-r3 diff --git a/flx/wdd/Manifest b/flx/wdd/Manifest index a3d1902b..0c0811d1 100644 --- a/flx/wdd/Manifest +++ b/flx/wdd/Manifest @@ -7,8 +7,8 @@ AUX 9999-respect-CFLAGS-LDFLAGS.diff 475 SHA256 920e0fc923f915a3bb0a59ae401cd4f6 AUX 9999-warning-cast.diff 812 SHA256 9c3aeafd401d0f2a4143d2b974bec506cb02de4d77d947f4cc0c70571a392926 WHIRLPOOL fedc910994fed6dec6a13a258540df4755b83b8601287f461db10d81b36c921967f96c72073fba315f95f3cf7c5128632a3cd99f1c94b21314544dec521de09a AUX 9999-warning-implicit-declaration.diff 378 SHA256 ea8b84942b0608fc29e9f0be3b6f7679c21ad9d56396e80f4ae55c24eef9cc6e WHIRLPOOL ab02aed0bdf75d5743331948a4c23f1b8a078ba89b81ddd2e405b6efced15421ceb8e1fb097810a42122949f637ff9166c4557b639bb530bd3b99a73e3a2c8a9 AUX wdd.confd 63 SHA256 bd66a212cb55fdf74bf967917f5d5a68e08ab855d3b44a97d3a634da19da8d88 WHIRLPOOL ff4487a3e0c178de715361eb7be56899d1614e211751b041a529ed9f7d01519d164b67cb0a26c47a129bbeeafccc634f007c50706e67bc19e630e6caf46cd15c -AUX wdd.initd 413 SHA256 41b52446d2b513a945e84a12fc303d2b2c75e1f31c8ce33e1dde23d395947d17 WHIRLPOOL d5dddf3b9dc4eb3ca779eff408861de85fcfd57f2f3f3233d97fb9292a97ecacb6243988b9a73582faeed9084c3f9e595a4ae143dd5d3bed529437bc0b37cde5 -EBUILD wdd-0.1.34.ebuild 821 SHA256 56bc747e5d93b5cb254214efbfef1ff83338aefdc783ae22a2109d5b6e40ff4a WHIRLPOOL 8c788edb9fcb38daf351693888da23d7dc8a47c4064fed50dfb6e05f67098d7da09b8d0753c4ff4741220957e761d00152243d075737070bb5b6348e66d70cda +AUX wdd.initd 636 SHA256 bde8301066e28f829592cdfa7e4e254b51f7b212cc135905ec05635e0fba0eb1 WHIRLPOOL eda9e167cb7f4a5faf22b852e88f137327ea3ca9044de22610f8aab284c0a99da2058cf42af1fdfe323c02fb61d2a5b2587491c215d74174f3e760bfbaef6682 +EBUILD wdd-0.1.34-r1.ebuild 821 SHA256 56bc747e5d93b5cb254214efbfef1ff83338aefdc783ae22a2109d5b6e40ff4a WHIRLPOOL 8c788edb9fcb38daf351693888da23d7dc8a47c4064fed50dfb6e05f67098d7da09b8d0753c4ff4741220957e761d00152243d075737070bb5b6348e66d70cda EBUILD wdd-9999.ebuild 782 SHA256 3c1499cdf7556486aedb596945dd136d9e987436546b3c8a44ae431863c6443e WHIRLPOOL 6ba0ba1d359a4fb56595868024761777277a3496769fa0fc744e7fe58f5a5249d95bf0fd0823ed696de945b663247dc1fe522e04a54b7bedab62252461c7ee87 -MISC ChangeLog 1432 SHA256 45e327a31a729a9cfd7507f4a4e4547bc5e60de895c82f0b87b4d0e85bdab342 WHIRLPOOL ee05634d181a55f880dacf5611a4e8384fbb84cd155838510c575eaabf725af56bcd03d2fbc859d65d74f3e74c1e7c10da9194dd39a9138ef7a12386b11c4989 +MISC ChangeLog 1650 SHA256 b15bb99bc8423f4128b85f4485d0c040a410846b71636f8e65638946d1ed1218 WHIRLPOOL 8d844198273dee253a26ef810a3384f00307f9f317c2a261099d19b51c6a49512d495997c2a8c6dc70a2cf5ab85ee03bb22a6132123cea8df7f3a090c3717fef MISC metadata.xml 254 SHA256 c56bc3d6780712c960298c70bb86867aeb6661e97a317cc624516b0e16b72fcc WHIRLPOOL 2ebbfaa14ef0c1847284fe64a79f052cd7e73b25a724fba728c084aaaf2dd0692e068eedcf42ccef7e205077f00c35780ded7ec69118dc01ddb988b4802e46ae diff --git a/flx/wdd/files/wdd.initd b/flx/wdd/files/wdd.initd index b7b531aa..71633a2d 100755 --- a/flx/wdd/files/wdd.initd +++ b/flx/wdd/files/wdd.initd @@ -1,21 +1,27 @@ #!/sbin/runscript -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ depend() { - need localmount + before localmount + use dev } start() { - ebegin "Starting wdd" - start-stop-daemon --start --quiet --nicelevel ${NICE:-10} \ - --exec /sbin/wdd -- ${WATCH_FILES} - eend ${?} + ebegin "Starting ${RC_SVCNAME}" + start-stop-daemon --start --quiet --nicelevel "${NICE:-10}" \ + --exec "/sbin/${RC_SVCNAME}" -- ${WATCH_FILES} + eend $? } stop() { - ebegin "Stopping wdd" - start-stop-daemon --stop --retry 5 --exec /sbin/wdd - eend ${?} + # Do not stop ${RC_SVCNAME} on reboot/shutdown + if [ "${RC_RUNLEVEL}" = "shutdown" ] ; then + ewarn "Skip stopping ${RC_SVCNAME} (runlevel ${RC_SVCNAME})" + else + ebegin "Stopping ${RC_SVCNAME}" + start-stop-daemon --stop --retry 5 --exec "/sbin/${RC_SVCNAME}" + eend $? + fi } diff --git a/flx/wdd/wdd-0.1.34-r1.ebuild b/flx/wdd/wdd-0.1.34-r1.ebuild new file mode 100644 index 00000000..b64b95a3 --- /dev/null +++ b/flx/wdd/wdd-0.1.34-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +inherit git-r3 eutils + +DESCRIPTION="Formilux Tools" +HOMEPAGE="http://git.formilux.org/?p=dist/src/flxutils.git" +EGIT_REPO_URI="http://master.formilux.org/git/dist/src/flxutils.git" +EGIT_COMMIT="v${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 mips arm" +IUSE="" + +src_prepare () { + epatch "${FILESDIR}/${PV}-remove-strip-diet.diff" + epatch "${FILESDIR}/${PV}-respect-CFLAGS-LDFLAGS.diff" + epatch "${FILESDIR}/${PV}-warning-implicit-declaration.diff" + epatch "${FILESDIR}/${PV}-warning-cast.diff" + + tc-export CC +} + +src_compile () { + emake -C wd +} + +src_install () { + into / + dosbin wd/wdd + doman wd/wdd.8 + + newinitd "${FILESDIR}/wdd.initd" "${PN}" + newconfd "${FILESDIR}/wdd.confd" "${PN}" +} diff --git a/flx/wdd/wdd-0.1.34.ebuild b/flx/wdd/wdd-0.1.34.ebuild deleted file mode 100644 index b64b95a3..00000000 --- a/flx/wdd/wdd-0.1.34.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 -inherit git-r3 eutils - -DESCRIPTION="Formilux Tools" -HOMEPAGE="http://git.formilux.org/?p=dist/src/flxutils.git" -EGIT_REPO_URI="http://master.formilux.org/git/dist/src/flxutils.git" -EGIT_COMMIT="v${PV}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86 mips arm" -IUSE="" - -src_prepare () { - epatch "${FILESDIR}/${PV}-remove-strip-diet.diff" - epatch "${FILESDIR}/${PV}-respect-CFLAGS-LDFLAGS.diff" - epatch "${FILESDIR}/${PV}-warning-implicit-declaration.diff" - epatch "${FILESDIR}/${PV}-warning-cast.diff" - - tc-export CC -} - -src_compile () { - emake -C wd -} - -src_install () { - into / - dosbin wd/wdd - doman wd/wdd.8 - - newinitd "${FILESDIR}/wdd.initd" "${PN}" - newconfd "${FILESDIR}/wdd.confd" "${PN}" -} diff --git a/metadata/md5-cache/flx/wdd-0.1.34 b/metadata/md5-cache/flx/wdd-0.1.34 deleted file mode 100644 index 977b85ea..00000000 --- a/metadata/md5-cache/flx/wdd-0.1.34 +++ /dev/null @@ -1,10 +0,0 @@ -DEFINED_PHASES=compile install prepare unpack -DEPEND=>=dev-vcs/git-1.8.2.1 -DESCRIPTION=Formilux Tools -EAPI=5 -HOMEPAGE=http://git.formilux.org/?p=dist/src/flxutils.git -KEYWORDS=amd64 x86 mips arm -LICENSE=GPL-2 -SLOT=0 -_eclasses_=eutils af81d52c25ec93fbdff71e0efb0de7b7 git-r3 6b256c6cd82cd5989bcb82e80a0fbac9 multilib fac675dcccf94392371a6abee62d909f toolchain-funcs 48b38a216afb92db6314d6c3187abea3 -_md5_=6af6ed57afa0c2f5af94f4004b59de3f diff --git a/metadata/md5-cache/flx/wdd-0.1.34-r1 b/metadata/md5-cache/flx/wdd-0.1.34-r1 new file mode 100644 index 00000000..977b85ea --- /dev/null +++ b/metadata/md5-cache/flx/wdd-0.1.34-r1 @@ -0,0 +1,10 @@ +DEFINED_PHASES=compile install prepare unpack +DEPEND=>=dev-vcs/git-1.8.2.1 +DESCRIPTION=Formilux Tools +EAPI=5 +HOMEPAGE=http://git.formilux.org/?p=dist/src/flxutils.git +KEYWORDS=amd64 x86 mips arm +LICENSE=GPL-2 +SLOT=0 +_eclasses_=eutils af81d52c25ec93fbdff71e0efb0de7b7 git-r3 6b256c6cd82cd5989bcb82e80a0fbac9 multilib fac675dcccf94392371a6abee62d909f toolchain-funcs 48b38a216afb92db6314d6c3187abea3 +_md5_=6af6ed57afa0c2f5af94f4004b59de3f -- cgit v1.2.3