diff options
author | Sam James <sam@gentoo.org> | 2020-09-13 04:30:03 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-09-13 04:33:05 +0000 |
commit | 4e64a1b1e5880e09c071ead0a2922c3e16fccda5 (patch) | |
tree | fd2505eb929dcfac0013e8ba2a927556378e49ec /net-misc/selfdhcp | |
parent | net-misc/mulk: bump to EAPI 7 (diff) | |
download | gentoo-4e64a1b1e5880e09c071ead0a2922c3e16fccda5.tar.gz gentoo-4e64a1b1e5880e09c071ead0a2922c3e16fccda5.tar.bz2 gentoo-4e64a1b1e5880e09c071ead0a2922c3e16fccda5.zip |
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@gentoo.org>
Diffstat (limited to 'net-misc/selfdhcp')
-rw-r--r-- | net-misc/selfdhcp/selfdhcp-0.2a-r1.ebuild | 32 | ||||
-rw-r--r-- | 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 537ef2f6d90f..000000000000 --- 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 000000000000..2360e41ade5b --- /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 +} |