commit: 4e64a1b1e5880e09c071ead0a2922c3e16fccda5 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Sep 13 04:30:03 2020 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Sep 13 04:33:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e64a1b1
net-misc/selfdhcp: port to EAPI 7 Closes: https://bugs.gentoo.org/742143 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam <AT> gentoo.org> net-misc/selfdhcp/selfdhcp-0.2a-r1.ebuild | 32 ------------------------------- net-misc/selfdhcp/selfdhcp-0.2a-r2.ebuild | 29 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 32 deletions(-) diff --git a/net-misc/selfdhcp/selfdhcp-0.2a-r1.ebuild b/net-misc/selfdhcp/selfdhcp-0.2a-r1.ebuild deleted file mode 100644 index 537ef2f6d90..00000000000 --- a/net-misc/selfdhcp/selfdhcp-0.2a-r1.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 -inherit eutils - -DESCRIPTION="a small stealth network autoconfigure software" -HOMEPAGE="http://selfdhcp.sourceforge.net" -SRC_URI="mirror://sourceforge/selfdhcp/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~ppc ~sparc ~x86" -IUSE="" - -DEPEND="dev-libs/popt - dev-libs/libxml2 - >=net-libs/libnet-1.0.2 - net-libs/libpcap" - -src_prepare() { - epatch "${FILESDIR}/${P}-buffer-overflow.patch" -} - -src_configure() { - econf --sysconfdir=/etc --sbindir=/sbin -} - -src_install() { - emake DESTDIR="${D}" install - dodoc AUTHORS ChangeLog README TODO -} diff --git a/net-misc/selfdhcp/selfdhcp-0.2a-r2.ebuild b/net-misc/selfdhcp/selfdhcp-0.2a-r2.ebuild new file mode 100644 index 00000000000..2360e41ade5 --- /dev/null +++ b/net-misc/selfdhcp/selfdhcp-0.2a-r2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Small stealth network autoconfigure software" +HOMEPAGE="http://selfdhcp.sourceforge.net" +SRC_URI="mirror://sourceforge/selfdhcp/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~sparc ~x86" + +DEPEND=" + dev-libs/popt + dev-libs/libxml2:2= + >=net-libs/libnet-1.0.2:1.0 + net-libs/libpcap +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-buffer-overflow.patch" +) + +src_install() { + emake DESTDIR="${ED}" install + dodoc AUTHORS ChangeLog README TODO +}
