From: Diego Elio Pettenò Date: Tue, 18 Oct 2011 09:01:08 +0000 (+0000) Subject: Revbump with more OpenRC-style init scripts. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=258f8466f1cc726e9e7c11644c9103c5afe0b86a;p=gentoo.git Revbump with more OpenRC-style init scripts. Package-Manager: portage-2.2.0_alpha68/cvs/Linux x86_64 --- diff --git a/sys-libs/freeipmi/ChangeLog b/sys-libs/freeipmi/ChangeLog index 924e12fadeb8..61ea4fdc4b44 100644 --- a/sys-libs/freeipmi/ChangeLog +++ b/sys-libs/freeipmi/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-libs/freeipmi # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v 1.39 2011/09/28 21:27:03 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/ChangeLog,v 1.40 2011/10/18 09:01:08 flameeyes Exp $ + +*freeipmi-1.0.7-r1 (18 Oct 2011) + + 18 Oct 2011; Diego E. Pettenò + +freeipmi-1.0.7-r1.ebuild, +files/bmc-watchdog.initd.3, + +files/ipmidetectd.initd.3: + Revbump with more OpenRC-style init scripts. *freeipmi-1.0.7 (28 Sep 2011) diff --git a/sys-libs/freeipmi/Manifest b/sys-libs/freeipmi/Manifest index d6a220d7c39b..36aa3b8f071f 100644 --- a/sys-libs/freeipmi/Manifest +++ b/sys-libs/freeipmi/Manifest @@ -4,19 +4,22 @@ Hash: SHA1 AUX bmc-watchdog.confd 1495 RMD160 c7335f914d4a5904a358a5140a3427a43cd75988 SHA1 8faba92b3ec4ed072b85e41e9bb9f82f867aa8fd SHA256 0f9cbe8090523e3fd4df35fb049d38ee696292892542ff6ffe3139e39fb1795e AUX bmc-watchdog.initd 824 RMD160 05a18c843c92de4fa79938aaef882b43dfd23274 SHA1 b487327b4219ba948f322a1159677298368719c4 SHA256 02995b82bfaeafb11c9f067dce5bbd23d2adc87e4acf38b41e01f74aee9a6617 AUX bmc-watchdog.initd.2 634 RMD160 92eff3c52a8dda2f0f73e554d473442dde2f8f6f SHA1 791cac85dd2d0e1e52a939589f0e9c5636c2163c SHA256 457dff904ae1241365ba467aeb35dabf10da68d5cf98bc55cca014cd18150a0e +AUX bmc-watchdog.initd.3 482 RMD160 3a7350c8a854508134cfc1f6ab214f711121322c SHA1 b0054b7e041d4a4e2f29844b6da961afd910b3d3 SHA256 2d9d9c76f6fb51cd4678e16a00e31905ce6ea701527ad14c687db3c5dd179652 AUX freeipmi-1.0.5-strictaliasing.patch 549 RMD160 d9d1d1eba6b3448dafc0b00e1be1d4be449a53d8 SHA1 f1c7e6a68154fe118327b0efe4de299b23223b82 SHA256 5f90b1f6f8db5bb662e54b00ab4377b057cd71982af26d066636e7503cd723bc AUX ipmidetectd.initd 800 RMD160 91f992208e621b2ef47f4b2c5c70a658b6ddc12d SHA1 b9a4bbacd1ab4ec661ff7817b567d37d720f4c8a SHA256 9b142aff8690a97686df5d7ddf6888cd4d68142dba60632345a0decf5ba0aa77 AUX ipmidetectd.initd.2 570 RMD160 1f1ee23ea0f797ceb27e7afa956a9ab756a78254 SHA1 817413f2a4e09ca285c8316c08e2073e6d698443 SHA256 b15694805ee196f6d47866ec415e6f631ae0839efb1dd181eab3f4fca18eb23d +AUX ipmidetectd.initd.3 361 RMD160 2c6bad2f33316908198d8da94eaa5264cb2b00b6 SHA1 eb5e91d2c4e33e28a251900a5a3623937cb15a66 SHA256 7af59c5b8bd291cc45fc8b499190a1d474a8f88e69243e1232ddb93c0b01a17b DIST freeipmi-0.8.9.tar.gz 2775329 RMD160 01c9441596502f60b0c3336dae9db9ff3774a132 SHA1 d80fac5de458363f32c589baef12315a9a471b06 SHA256 8c1c18d83b74e2f657b7c6ccbc6be8eb2c0270d7c0424105bee34fdebe794ea0 DIST freeipmi-1.0.7.tar.gz 3188884 RMD160 78b3d3cc3bbf599ae9ea79a25bf2015a9d49ddee SHA1 ecdc56a947640a57667bc76370ee7a4ad9a473db SHA256 244129a0b4030c70ea56bd43269d95c8135976ecb779313183417ae5ca8d784c EBUILD freeipmi-0.8.9.ebuild 2044 RMD160 c562216c8361aebe7a7ebcde4ac9c1ca82c0fcbf SHA1 5ff432b878f3258e3ccadf25d12b3d9245b48eca SHA256 54bf27c829e21b61bdc3ae7c000b9799c9a53399ac0ed60e8ccf7113a488c210 +EBUILD freeipmi-1.0.7-r1.ebuild 2004 RMD160 1b63576e9c816cb16677c5b620c1535b76793356 SHA1 d26926266ead658394b1d515520676926079605e SHA256 ef91db3e6179b13fefb269ea7be10d74bd6ae9b62f5837f275c339009df27e79 EBUILD freeipmi-1.0.7.ebuild 1963 RMD160 62e71da92291bc64f037f4f7a8655d244b3be0a7 SHA1 ca1f0b442d97c3bc9d6562d70be57e69bc79f113 SHA256 6c25fb7c67c885c1d1b9f7ad8af4a7bc99c9253d16e1c49f7385982e26cbe21b -MISC ChangeLog 7281 RMD160 e5bf6ea5ad39ad063d69f750e7ec03d9ef0dab08 SHA1 6a41321362b06a98f5571f757b43ad84f941fbd4 SHA256 14442638966593fa3d6ade9b8f14472412d6c484dd70b5cc7f39f5d8d9cd7102 +MISC ChangeLog 7507 RMD160 7e9fba309481d3d9313f7a8002bfc5bb0c9151f8 SHA1 447a602f3cc437cd099aa74f841ef3da225371b5 SHA256 239175b7c2fb6fc6b8856fab879d300baef4a5f528118862dcdff99e998029ba MISC metadata.xml 234 RMD160 6498603a1fe3a96823743847afc906df194bb430 SHA1 5ec768281f5435ff5173031bd715fa65ddd274e3 SHA256 73ec73ca73cd98df81c2bbb3e76a83751a3c95802ac103ef21368201d871a9d3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iEYEARECAAYFAk6DkRkACgkQAiZjviIA2XgQ6wCgv/CSPXJX1W+ajaNFmyvRAHEF -wg4AoMUDQyzN5dRa6qzLE1uEAgVM4Krd -=zDl1 +iEYEARECAAYFAk6dQA0ACgkQAiZjviIA2XhSZgCgymEZXb0s8ZB5/l2hBWS9tL05 +hVAAoJf5e+yWpxe8gWEbgGloaoBM48ag +=iOCS -----END PGP SIGNATURE----- diff --git a/sys-libs/freeipmi/files/bmc-watchdog.initd.3 b/sys-libs/freeipmi/files/bmc-watchdog.initd.3 new file mode 100644 index 000000000000..31a3e476763a --- /dev/null +++ b/sys-libs/freeipmi/files/bmc-watchdog.initd.3 @@ -0,0 +1,15 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/files/bmc-watchdog.initd.3,v 1.1 2011/10/18 09:01:08 flameeyes Exp $ + +extra_commands="condrestart" +description_condrestart="Restart the service only if started already" + +command="/usr/sbin/${SVCNAME}" +command_args="${OPTIONS}" +pidfile=/var/run/$SVCNAME.pid + +condrestart() { + service_started && restart +} diff --git a/sys-libs/freeipmi/files/ipmidetectd.initd.3 b/sys-libs/freeipmi/files/ipmidetectd.initd.3 new file mode 100644 index 000000000000..aba99d371f9f --- /dev/null +++ b/sys-libs/freeipmi/files/ipmidetectd.initd.3 @@ -0,0 +1,8 @@ +#!/sbin/runscript +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/files/ipmidetectd.initd.3,v 1.1 2011/10/18 09:01:08 flameeyes Exp $ + +command="/usr/sbin/${SVCNAME}" +pidfile=/var/run/$SVCNAME.pid +start_stop_daemon_args="--background --make-pidfile" diff --git a/sys-libs/freeipmi/freeipmi-1.0.7-r1.ebuild b/sys-libs/freeipmi/freeipmi-1.0.7-r1.ebuild new file mode 100644 index 000000000000..e1acc257af46 --- /dev/null +++ b/sys-libs/freeipmi/freeipmi-1.0.7-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/freeipmi/freeipmi-1.0.7-r1.ebuild,v 1.1 2011/10/18 09:01:08 flameeyes Exp $ + +EAPI=4 + +inherit autotools eutils + +DESCRIPTION="Provides Remote-Console and System Management Software as per IPMI v1.5/2.0" +HOMEPAGE="http://www.gnu.org/software/freeipmi/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz + http://ftp.gluster.com/pub/${PN}/${PV}/${P}.tar.gz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND="dev-libs/libgcrypt" +DEPEND="${RDEPEND} + virtual/os-headers" +RDEPEND="${RDEPEND} + sys-apps/openrc" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.0.5-strictaliasing.patch + + AT_M4DIR="config" eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug) \ + --disable-dependency-tracking \ + --enable-fast-install \ + --disable-static \ + --disable-init-scripts \ + --enable-logrotate-config \ + --localstatedir=/var +} + +# There are no tests +src_test() { :; } + +src_install() { + emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install || die "emake install failed" + find "${D}" -name '*.la' -delete + + # freeipmi by defaults install _all_ commands to /usr/sbin, but + # quite a few can be run remotely as standard user, so move them + # in /usr/bin afterwards. + dodir /usr/bin + for file in ipmi{detect,ping,power,console}; do + mv "${D}"/usr/{s,}bin/${file} || die + + # The default install symlinks these commands to add a dash + # after the ipmi prefix; we repeat those after move for + # consistency. + rm "${D}"/usr/sbin/${file/ipmi/ipmi-} + dosym ${file} /usr/bin/${file/ipmi/ipmi-} + done + + dodoc AUTHORS ChangeLog* DISCLAIMER* NEWS README* TODO doc/*.txt + + keepdir \ + /var/cache/ipmimonitoringsdrcache \ + /var/lib/freeipmi \ + /var/log/{freeipmi,ipmiconsole} + + newinitd "${FILESDIR}"/ipmidetectd.initd.3 ipmidetectd + + newinitd "${FILESDIR}"/bmc-watchdog.initd.3 bmc-watchdog + newconfd "${FILESDIR}"/bmc-watchdog.confd bmc-watchdog +}