diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-04-25 09:33:23 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-04-25 09:33:48 +0200 |
commit | 3324de1d896d34f6af1349531a65e1cfafdb3124 (patch) | |
tree | a244fff5f289a18b08b535bd6b839e442ba8611f /sys-libs | |
parent | sys-libs/openipmi: Bump to version 2.0.21 (diff) | |
download | gentoo-3324de1d896d34f6af1349531a65e1cfafdb3124.tar.gz gentoo-3324de1d896d34f6af1349531a65e1cfafdb3124.tar.bz2 gentoo-3324de1d896d34f6af1349531a65e1cfafdb3124.zip |
sys-libs/openipmi: Removed old.
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/openipmi/Manifest | 6 | ||||
-rw-r--r-- | sys-libs/openipmi/openipmi-1.3.18.ebuild | 35 | ||||
-rw-r--r-- | sys-libs/openipmi/openipmi-1.4.12.ebuild | 41 | ||||
-rw-r--r-- | sys-libs/openipmi/openipmi-1.4.14.ebuild | 41 | ||||
-rw-r--r-- | sys-libs/openipmi/openipmi-1.4.28.ebuild | 41 | ||||
-rw-r--r-- | sys-libs/openipmi/openipmi-2.0.11.ebuild | 71 | ||||
-rw-r--r-- | sys-libs/openipmi/openipmi-2.0.16-r1.ebuild | 105 | ||||
-rw-r--r-- | sys-libs/openipmi/openipmi-2.0.16.ebuild | 102 | ||||
-rw-r--r-- | sys-libs/openipmi/openipmi-2.0.18.ebuild | 106 |
9 files changed, 0 insertions, 548 deletions
diff --git a/sys-libs/openipmi/Manifest b/sys-libs/openipmi/Manifest index 87bb6b0ec407..4e95b9a7515e 100644 --- a/sys-libs/openipmi/Manifest +++ b/sys-libs/openipmi/Manifest @@ -1,8 +1,2 @@ -DIST OpenIPMI-1.3.18.tar.gz 993450 SHA256 d30bd5fe601c2f34367678f5b5aadaa879f35024eed6a0a585b30099560ff4af SHA512 2d23b74f7391b1506721207c44d6a61a3941094d3cda1a5de1fb590921c88eeee14b07504f2333004d9c994d784d3706763fe34c6cb754e8ff988bdee2ee8fb6 WHIRLPOOL 797eecdac53d3d86f7d51e0488b6aa18f82d3b5420397a93122ef76a4deb28612c5d08e8598f134655973c5838ecdbb8aa1c043d2639f13bf6589f57b3175dd5 -DIST OpenIPMI-1.4.12.tar.gz 1887180 SHA256 df684c19808c49c3b9b6b68ddd808c41cef283099e0b7dcb9877b5b1223048a4 SHA512 db22c137be3ba7493801691c13ba315ce59eacb89b1a27dcbf374c5098384e3e0154102d72e72029ec077b371970bf39132ad6264e2505167cb729769b8ec377 WHIRLPOOL 95cafe603284885ac96e52187a4a226a7fdcb2f61f549db02b31a74d2641dbef3a6c44396d667a3c0de0c5edac28f78f6294186566607ea3ef526c776e2e59de -DIST OpenIPMI-1.4.14.tar.gz 1890751 SHA256 53fd789ab980c57be7155d397276a7bba214a41dccbc47c86757a669f9cddae7 SHA512 807ad7f1f524a02e0990af3855864fdc5a66c92063d20892f627f388678d4899f5edd5eeaee7a1e584257d17f84c495be92b2d212be890b2ff0710b1d115fc0e WHIRLPOOL 311788f1f6faafb34a17f44a521a645e8ddb52e75311bdd55196507ae123b38e3a5bf5e5a8db439c83ed34a5066a98c2e82a6ffeb1b41ca1e029289e7633a654 -DIST OpenIPMI-1.4.28.tar.gz 2310138 SHA256 75fbff6c03c1bbea448aa8021aa2f0ee5c4f75f53600e0e479483ce2bf6d06ed SHA512 33d3f1bd5b89128a3802873182b545c4c4814e29758c3f99bd0ad73b404d46bccc92165914534cea159053c587fd3689af348af6c861792764b0ef1c491204a4 WHIRLPOOL 9eab66e83657a2ef57e86e03fb807667037180ff96e6aa9f04e4cb92e39b5ebef97ec53e2155aa31c63d012492c3c8bb37f6c6ba834d5f652e17dacb1d4a48f8 -DIST OpenIPMI-2.0.11.tar.gz 2897970 SHA256 9a824bc1faf69ef8e668dcc426c356b41abb4a18a7367c9fbbc87350df7b9cfa SHA512 266c380b83a445fd6cec5be73c8235f69229df61bf644e25d2a99dbc371e2adb66ee93c07972aa904a80f1be627d13ca2817f2815db3bb05c34e3418cd8b7392 WHIRLPOOL d9d46a8b275c25f7b6855728884189ed7ae36f03690ccc702cff32881d8a9ab481815d4105243917a4230390a4c8fd8e0181c0c8d70b800e958baad1936f4f7f -DIST OpenIPMI-2.0.16.tar.gz 2890960 SHA256 1a2f9881f27de2bb64b70c8bf9a7c38b5447e4c9a0ec9e0bf6a2833f15893c05 SHA512 f848f805427c886f41419d1312b4b2103bccf99a395c445abf4753809a5a4780a9105d25684527d4d9f43b8047726d273d18708ac67b99bae18fc294b5ea37a9 WHIRLPOOL e070a383a0639742a6302a3e546ed1a26c4a491561daf2ef991049892f4de0659370c993c486a9c2217549cf18e9829cb6fe4497b9cc528f222c0a16d612d88a DIST OpenIPMI-2.0.18.tar.gz 2895686 SHA256 6c1679a1c16aade48dd929e5124d2640ff12224ac0de1bb3777e9f1030d62e01 SHA512 a6caf791fb6d5bd83234481ea3c84a408dad3eabc093dbc4681742d23b47b223d0a1715a71a9b977a03a80f5c350dd34f6591ece5ea0d9876cb6debfc80a39d4 WHIRLPOOL 3b9bd32e01c118a450c5f6ec744b5cad521d41091f786a59485b91cde05ca184bdb4d8c05d53e9494966a9a733c560190f85208bedaa3b40e2cac116e3e6a84a DIST OpenIPMI-2.0.21.tar.gz 3473323 SHA256 37b844d02119b94b31e2bb2bd8062ffdf6cd3eb4bc75fa6c47184e8b14fe95b8 SHA512 b684259ee5d47c36273fe6b47d60d0481c96b64b2e9421ce3190d9514e4f450b0db28d12c86a8814dcce23ba3ecfcecbbe9251d298244f1e9194a9f7563862a5 WHIRLPOOL 577da7215effe5f2e26616b4c744da42fd261263834d4d3d264220f95c4a60b3955c642d27c32af30dbf2ce0821078a463fa140edc9d3475daec7e6f84361958 diff --git a/sys-libs/openipmi/openipmi-1.3.18.ebuild b/sys-libs/openipmi/openipmi-1.3.18.ebuild deleted file mode 100644 index 00e6746300a1..000000000000 --- a/sys-libs/openipmi/openipmi-1.3.18.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -DESCRIPTION="Library interface to IPMI" -HOMEPAGE="http://sourceforge.net/projects/${PN}/" -MY_PN="OpenIPMI" -MY_P="${MY_PN}-${PV}" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="LGPL-2.1 GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="crypt snmp" -S="${WORKDIR}/${MY_P}" - -RDEPEND="sys-libs/gdbm - crypt? ( dev-libs/openssl ) - snmp? ( net-analyzer/net-snmp )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_compile() { - local myconf="" - myconf="${myconf} `use_with snmp ucdsnmp yes`" - myconf="${myconf} `use_with crypt openssl yes`" - # these binaries are for root! - econf ${myconf} --bindir=/usr/sbin || die "econf failed" - emake || die "emake failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc README* FAQ ChangeLog TODO lanserv/README.emulator lanserv/atca.emu -} diff --git a/sys-libs/openipmi/openipmi-1.4.12.ebuild b/sys-libs/openipmi/openipmi-1.4.12.ebuild deleted file mode 100644 index 310607494302..000000000000 --- a/sys-libs/openipmi/openipmi-1.4.12.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -DESCRIPTION="Library interface to IPMI" -HOMEPAGE="http://sourceforge.net/projects/${PN}/" -MY_PN="OpenIPMI" -MY_P="${MY_PN}-${PV}" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="LGPL-2.1 GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="crypt snmp perl" -S="${WORKDIR}/${MY_P}" - -RDEPEND="dev-libs/glib - sys-libs/gdbm - crypt? ( dev-libs/openssl ) - snmp? ( net-analyzer/net-snmp ) - perl? ( dev-lang/perl )" -DEPEND="${RDEPEND} - >=dev-lang/swig-1.3.21 - virtual/pkgconfig" - -src_compile() { - local myconf="" - myconf="${myconf} `use_with snmp ucdsnmp yes`" - myconf="${myconf} `use_with crypt openssl yes`" - myconf="${myconf} `use_with perl perl yes`" - myconf="${myconf} --with-swig=yes --with-glib=yes" - # these binaries are for root! - econf ${myconf} --bindir=/usr/sbin || die "econf failed" - emake || die "emake failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc README* FAQ ChangeLog TODO doc/IPMI.pdf lanserv/README.emulator - newdoc cmdlang/README README.cmdlang -} diff --git a/sys-libs/openipmi/openipmi-1.4.14.ebuild b/sys-libs/openipmi/openipmi-1.4.14.ebuild deleted file mode 100644 index 271ff4f08fe5..000000000000 --- a/sys-libs/openipmi/openipmi-1.4.14.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -DESCRIPTION="Library interface to IPMI" -HOMEPAGE="http://sourceforge.net/projects/${PN}/" -MY_PN="OpenIPMI" -MY_P="${MY_PN}-${PV}" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="LGPL-2.1 GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="crypt snmp perl" -S="${WORKDIR}/${MY_P}" - -RDEPEND="dev-libs/glib - sys-libs/gdbm - crypt? ( dev-libs/openssl ) - snmp? ( net-analyzer/net-snmp ) - perl? ( dev-lang/perl )" -DEPEND="${RDEPEND} - virtual/pkgconfig - >=dev-lang/swig-1.3.21" - -src_compile() { - local myconf="" - myconf="${myconf} `use_with snmp ucdsnmp yes`" - myconf="${myconf} `use_with crypt openssl yes`" - myconf="${myconf} `use_with perl perl yes`" - myconf="${myconf} --with-swig=yes --with-glib=yes" - # these binaries are for root! - econf ${myconf} --bindir=/usr/sbin || die "econf failed" - emake || die "emake failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc README* FAQ ChangeLog TODO doc/IPMI.pdf lanserv/README.emulator - newdoc cmdlang/README README.cmdlang -} diff --git a/sys-libs/openipmi/openipmi-1.4.28.ebuild b/sys-libs/openipmi/openipmi-1.4.28.ebuild deleted file mode 100644 index 381292348b8a..000000000000 --- a/sys-libs/openipmi/openipmi-1.4.28.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -DESCRIPTION="Library interface to IPMI" -HOMEPAGE="http://sourceforge.net/projects/openipmi/" -MY_PN="OpenIPMI" -MY_P="${MY_PN}-${PV}" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="LGPL-2.1 GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="crypt snmp perl" -S="${WORKDIR}/${MY_P}" - -RDEPEND="dev-libs/glib - sys-libs/gdbm - crypt? ( dev-libs/openssl ) - snmp? ( net-analyzer/net-snmp ) - perl? ( dev-lang/perl )" -DEPEND="${RDEPEND} - virtual/pkgconfig - >=dev-lang/swig-1.3.21" - -src_compile() { - local myconf="" - myconf="${myconf} `use_with snmp ucdsnmp yes`" - myconf="${myconf} `use_with crypt openssl yes`" - myconf="${myconf} `use_with perl perl yes`" - myconf="${myconf} --with-swig=yes --with-glib=yes" - # these binaries are for root! - econf ${myconf} --bindir=/usr/sbin || die "econf failed" - emake || die "emake failed" -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc README* FAQ ChangeLog TODO doc/IPMI.pdf lanserv/README.emulator - newdoc cmdlang/README README.cmdlang -} diff --git a/sys-libs/openipmi/openipmi-2.0.11.ebuild b/sys-libs/openipmi/openipmi-2.0.11.ebuild deleted file mode 100644 index 4cc54a483f1b..000000000000 --- a/sys-libs/openipmi/openipmi-2.0.11.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -DESCRIPTION="Library interface to IPMI" -HOMEPAGE="http://sourceforge.net/projects/openipmi/" -MY_PN="OpenIPMI" -MY_P="${MY_PN}-${PV}" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="LGPL-2.1 GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ia64 ppc x86" -IUSE="crypt snmp perl tcl python" -S="${WORKDIR}/${MY_P}" -RESTRICT='test' - -RDEPEND="dev-libs/glib - sys-libs/gdbm - crypt? ( dev-libs/openssl ) - snmp? ( net-analyzer/net-snmp ) - perl? ( dev-lang/perl ) - python? ( dev-lang/python ) - tcl? ( dev-lang/tcl )" -DEPEND="${RDEPEND} - >=dev-lang/swig-1.3.21 - virtual/pkgconfig" -# Gui is broken! -# python? ( tcl? ( tk? ( dev-lang/tk dev-tcltk/tix ) ) )" - -# Upstream doesn't use --without properly -use_yesno() { - yesmsg="yes" - [ -n "$3" ] && yesmsg="$3" - if use $1; then - echo "--with-$2=${yesmsg}" - else - echo "--without-$2" - fi -} - -src_compile() { - local myconf="" - myconf="${myconf} `use_with snmp ucdsnmp yes`" - myconf="${myconf} `use_with crypt openssl yes`" - myconf="${myconf} `use_with perl perl yes`" - myconf="${myconf} `use_with tcl tcl yes`" - myconf="${myconf} `use_with python python yes`" - - # GUI is broken - #use tk && use python && use !tcl && \ - # ewarn "Not building Tk GUI because it needs both Python AND Tcl" - #if use python && use tcl; then - # myconf="${myconf} `use_yesno tk tkinter yes`" - #else - # myconf="${myconf} `use_yesno tk tkinter no`" - #fi - - myconf="${myconf} --without-tkinter" - myconf="${myconf} --with-glib --with-swig" - # these binaries are for root! - econf ${myconf} --bindir=/usr/sbin || die "econf failed" - emake || die "emake failed" -} - -src_install() { - # bug #298250 - emake -j1 DESTDIR="${D}" install || die - dodoc README* FAQ ChangeLog TODO doc/IPMI.pdf lanserv/README.emulator - newdoc cmdlang/README README.cmdlang -} diff --git a/sys-libs/openipmi/openipmi-2.0.16-r1.ebuild b/sys-libs/openipmi/openipmi-2.0.16-r1.ebuild deleted file mode 100644 index f3d3eba4e0b1..000000000000 --- a/sys-libs/openipmi/openipmi-2.0.16-r1.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils autotools python - -DESCRIPTION="Library interface to IPMI" -HOMEPAGE="http://sourceforge.net/projects/openipmi/" -MY_PN="OpenIPMI" -MY_P="${MY_PN}-${PV}" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="LGPL-2.1 GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~x86" -IUSE="crypt snmp perl tcl python" -S="${WORKDIR}/${MY_P}" -RESTRICT='test' - -RDEPEND="dev-libs/glib - sys-libs/gdbm - crypt? ( dev-libs/openssl ) - snmp? ( net-analyzer/net-snmp ) - perl? ( dev-lang/perl ) - python? ( dev-lang/python ) - tcl? ( dev-lang/tcl )" -DEPEND="${RDEPEND} - >=dev-lang/swig-1.3.21 - virtual/pkgconfig" -# Gui is broken! -# python? ( tcl? ( tk? ( dev-lang/tk dev-tcltk/tix ) ) )" - -# Upstream doesn't use --without properly -use_yesno() { - yesmsg="yes" - [ -n "$3" ] && yesmsg="$3" - if use $1; then - echo "--with-$2=${yesmsg}" - else - echo "--without-$2" - fi -} - -src_unpack() { - unpack ${A} - # Bug #338499: The installed OpenIPMIpthread.pc depends on a non-existing - # pthread.pc. We patch it to link -lpthread directly instead. - epatch "${FILESDIR}/${P}-pthreads.patch" - # Bug #290763: The buildsys tries to compile+optimize the py file during - # install, when the .so might not be been added yet. We just skip the files - # and use python_mod_optimize ourselves later instead. - sed -r -i \ - -e '/INSTALL.*\.py[oc] /d' \ - -e '/install-exec-local/s,OpenIPMI.pyc OpenIPMI.pyo,,g' \ - "${S}"/swig/python/Makefile.{am,in} - - # Bug #298250: parallel install fix. - sed -r -i \ - -e '/^install-data-local:/s,$, install-exec-am,g' \ - "${S}"/cmdlang/Makefile.{am,in} - - # We touch the .in and .am above because if we use the below, the Perl stuff - # is very fragile, and often fails to link. - #cd "${S}" - #elibtoolize - #eautoreconf -} - -src_compile() { - local myconf="" - myconf="${myconf} `use_with snmp ucdsnmp yes`" - myconf="${myconf} `use_with crypt openssl yes`" - myconf="${myconf} `use_with perl perl yes`" - myconf="${myconf} `use_with tcl tcl yes`" - myconf="${myconf} `use_with python python yes`" - - # GUI is broken - #use tk && use python && use !tcl && \ - # ewarn "Not building Tk GUI because it needs both Python AND Tcl" - #if use python && use tcl; then - # myconf="${myconf} `use_yesno tk tkinter yes`" - #else - # myconf="${myconf} `use_yesno tk tkinter no`" - #fi - - myconf="${myconf} --without-tkinter" - myconf="${myconf} --with-glib --with-swig" - # these binaries are for root! - econf ${myconf} --bindir=/usr/sbin || die "econf failed" - emake || die "emake $i failed" -} - -src_install() { - emake DESTDIR="${D}" install || die - dodoc README* FAQ ChangeLog TODO doc/IPMI.pdf lanserv/README.emulator - newdoc cmdlang/README README.cmdlang -} - -pkg_postinst() { - use python && python_mod_optimize $(python_get_sitedir)/OpenIPMI.py -} - -pkg_postrm() { - use python && python_mod_cleanup $(python_get_sitedir)/OpenIPMI.py -} diff --git a/sys-libs/openipmi/openipmi-2.0.16.ebuild b/sys-libs/openipmi/openipmi-2.0.16.ebuild deleted file mode 100644 index 28d2623ab8c0..000000000000 --- a/sys-libs/openipmi/openipmi-2.0.16.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit autotools python - -DESCRIPTION="Library interface to IPMI" -HOMEPAGE="http://sourceforge.net/projects/openipmi/" -MY_PN="OpenIPMI" -MY_P="${MY_PN}-${PV}" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="LGPL-2.1 GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ia64 ppc x86" -IUSE="crypt snmp perl tcl python" -S="${WORKDIR}/${MY_P}" -RESTRICT='test' - -RDEPEND="dev-libs/glib - sys-libs/gdbm - crypt? ( dev-libs/openssl ) - snmp? ( net-analyzer/net-snmp ) - perl? ( dev-lang/perl ) - python? ( dev-lang/python ) - tcl? ( dev-lang/tcl )" -DEPEND="${RDEPEND} - >=dev-lang/swig-1.3.21 - virtual/pkgconfig" -# Gui is broken! -# python? ( tcl? ( tk? ( dev-lang/tk dev-tcltk/tix ) ) )" - -# Upstream doesn't use --without properly -use_yesno() { - yesmsg="yes" - [ -n "$3" ] && yesmsg="$3" - if use $1; then - echo "--with-$2=${yesmsg}" - else - echo "--without-$2" - fi -} - -src_unpack() { - unpack ${A} - # Bug #290763: The buildsys tries to compile+optimize the py file during - # install, when the .so might not be been added yet. We just skip the files - # and use python_mod_optimize ourselves later instead. - sed -r -i \ - -e '/INSTALL.*\.py[oc] /d' \ - -e '/install-exec-local/s,OpenIPMI.pyc OpenIPMI.pyo,,g' \ - "${S}"/swig/python/Makefile.{am,in} - - # Bug #298250: parallel install fix. - sed -r -i \ - -e '/^install-data-local:/s,$, install-exec-am,g' \ - "${S}"/cmdlang/Makefile.{am,in} - - # We touch the .in and .am above because if we use the below, the Perl stuff - # is very fragile, and often fails to link. - #cd "${S}" - #elibtoolize - #eautoreconf -} - -src_compile() { - local myconf="" - myconf="${myconf} `use_with snmp ucdsnmp yes`" - myconf="${myconf} `use_with crypt openssl yes`" - myconf="${myconf} `use_with perl perl yes`" - myconf="${myconf} `use_with tcl tcl yes`" - myconf="${myconf} `use_with python python yes`" - - # GUI is broken - #use tk && use python && use !tcl && \ - # ewarn "Not building Tk GUI because it needs both Python AND Tcl" - #if use python && use tcl; then - # myconf="${myconf} `use_yesno tk tkinter yes`" - #else - # myconf="${myconf} `use_yesno tk tkinter no`" - #fi - - myconf="${myconf} --without-tkinter" - myconf="${myconf} --with-glib --with-swig" - # these binaries are for root! - econf ${myconf} --bindir=/usr/sbin || die "econf failed" - emake || die "emake $i failed" -} - -src_install() { - emake DESTDIR="${D}" install || die - dodoc README* FAQ ChangeLog TODO doc/IPMI.pdf lanserv/README.emulator - newdoc cmdlang/README README.cmdlang -} - -pkg_postinst() { - use python && python_mod_optimize $(python_get_sitedir)/OpenIPMI.py -} - -pkg_postrm() { - use python && python_mod_cleanup $(python_get_sitedir)/OpenIPMI.py -} diff --git a/sys-libs/openipmi/openipmi-2.0.18.ebuild b/sys-libs/openipmi/openipmi-2.0.18.ebuild deleted file mode 100644 index 4e12b0a22b0d..000000000000 --- a/sys-libs/openipmi/openipmi-2.0.18.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -inherit eutils autotools python - -DESCRIPTION="Library interface to IPMI" -HOMEPAGE="http://sourceforge.net/projects/openipmi/" -MY_PN="OpenIPMI" -MY_P="${MY_PN}-${PV}" -SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" - -LICENSE="LGPL-2.1 GPL-2" -SLOT="0" -KEYWORDS="~amd64 hppa ~ia64 ~ppc ~x86" -IUSE="crypt snmp perl tcl python" -S="${WORKDIR}/${MY_P}" -RESTRICT='test' - -RDEPEND="dev-libs/glib - sys-libs/gdbm - crypt? ( dev-libs/openssl ) - snmp? ( net-analyzer/net-snmp ) - perl? ( dev-lang/perl ) - python? ( dev-lang/python ) - tcl? ( dev-lang/tcl )" -DEPEND="${RDEPEND} - >=dev-lang/swig-1.3.21 - virtual/pkgconfig" -# Gui is broken! -# python? ( tcl? ( tk? ( dev-lang/tk dev-tcltk/tix ) ) )" - -# Upstream doesn't use --without properly -use_yesno() { - yesmsg="yes" - [ -n "$3" ] && yesmsg="$3" - if use $1; then - echo "--with-$2=${yesmsg}" - else - echo "--without-$2" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - # Bug #338499: The installed OpenIPMIpthread.pc depends on a non-existing - # pthread.pc. We patch it to link -lpthread directly instead. - epatch "${FILESDIR}/${PN}-2.0.16-pthreads.patch" - # Bug #290763: The buildsys tries to compile+optimize the py file during - # install, when the .so might not be been added yet. We just skip the files - # and use python_mod_optimize ourselves later instead. - sed -r -i \ - -e '/INSTALL.*\.py[oc] /d' \ - -e '/install-exec-local/s,OpenIPMI.pyc OpenIPMI.pyo,,g' \ - swig/python/Makefile.{am,in} - - # Bug #298250: parallel install fix. - sed -r -i \ - -e '/^install-data-local:/s,$, install-exec-am,g' \ - cmdlang/Makefile.{am,in} - - # We touch the .in and .am above because if we use the below, the Perl stuff - # is very fragile, and often fails to link. - #cd "${S}" - #elibtoolize - #eautoreconf -} - -src_compile() { - local myconf="" - myconf="${myconf} `use_with snmp ucdsnmp yes`" - myconf="${myconf} `use_with crypt openssl yes`" - myconf="${myconf} `use_with perl perl yes`" - myconf="${myconf} `use_with tcl tcl yes`" - myconf="${myconf} `use_with python python yes`" - - # GUI is broken - #use tk && use python && use !tcl && \ - # ewarn "Not building Tk GUI because it needs both Python AND Tcl" - #if use python && use tcl; then - # myconf="${myconf} `use_yesno tk tkinter yes`" - #else - # myconf="${myconf} `use_yesno tk tkinter no`" - #fi - - myconf="${myconf} --without-tkinter" - myconf="${myconf} --with-glib --with-swig" - # these binaries are for root! - econf ${myconf} --bindir=/usr/sbin || die "econf failed" - emake || die "emake $i failed" -} - -src_install() { - emake DESTDIR="${D}" install || die - dodoc README* FAQ ChangeLog TODO doc/IPMI.pdf lanserv/README.emulator - newdoc cmdlang/README README.cmdlang -} - -pkg_postinst() { - use python && python_mod_optimize $(python_get_sitedir)/OpenIPMI.py -} - -pkg_postrm() { - use python && python_mod_cleanup $(python_get_sitedir)/OpenIPMI.py -} |