From e98e3ec2c60c3ce46d1fda149162485a1fd4a57d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 6 Aug 2015 16:41:53 +0000 Subject: Update to EAPI=4 and drop custom patchsets as all changes are merged upstream now. (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200) --- sys-apps/net-tools/ChangeLog | 6 +++++- sys-apps/net-tools/net-tools-9999.ebuild | 33 ++++---------------------------- 2 files changed, 9 insertions(+), 30 deletions(-) (limited to 'sys-apps') diff --git a/sys-apps/net-tools/ChangeLog b/sys-apps/net-tools/ChangeLog index 00501e350061..ed5b63236739 100644 --- a/sys-apps/net-tools/ChangeLog +++ b/sys-apps/net-tools/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/net-tools # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/ChangeLog,v 1.156 2015/07/21 21:19:14 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/ChangeLog,v 1.157 2015/08/06 16:41:53 vapier Exp $ + + 06 Aug 2015; Mike Frysinger net-tools-9999.ebuild: + Update to EAPI=4 and drop custom patchsets as all changes are merged upstream + now. 21 Jul 2015; Manuel RĂ¼ger -net-tools-1.60_p20110409135728.ebuild, diff --git a/sys-apps/net-tools/net-tools-9999.ebuild b/sys-apps/net-tools/net-tools-9999.ebuild index a6605371a978..f2e9c042525b 100644 --- a/sys-apps/net-tools/net-tools-9999.ebuild +++ b/sys-apps/net-tools/net-tools-9999.ebuild @@ -1,18 +1,16 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/net-tools-9999.ebuild,v 1.9 2015/04/25 16:36:44 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/net-tools-9999.ebuild,v 1.10 2015/08/06 16:41:53 vapier Exp $ -EAPI="3" +EAPI="4" -inherit flag-o-matic toolchain-funcs eutils +inherit flag-o-matic toolchain-funcs if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools" inherit git-2 else - PATCH_VER="1" - SRC_URI="mirror://gentoo/${P}.tar.xz - mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz" + SRC_URI="mirror://gentoo/${P}.tar.xz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" fi @@ -41,14 +39,6 @@ maint_pkg_create() { tar cf - ${p}/ | xz > ${p}.tar.xz popd >/dev/null - local patches="${p}-patches-${PATCH_VER:-1}" - local d="${T}/${patches}" - mkdir "${d}" - git format-patch -o "${d}" master..gentoo > /dev/null - echo "From http://cgit.gentoo.org/proj/net-tools.git" > "${d}"/README - tar cf - -C "${T}" ${d##*/} | xz > "${T}"/${patches}.tar.xz - rm -rf "${d}" - du -b "${T}"/*.tar.xz } @@ -64,12 +54,6 @@ set_opt() { config.in || die } -src_prepare() { - if [[ -n ${PATCH_VER} ]] ; then - EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" epatch "${WORKDIR}"/${P}-patches-${PATCH_VER} - fi -} - src_configure() { set_opt I18N use nls set_opt HAVE_HWIB has_version '>=sys-kernel/linux-headers-2.6' @@ -83,12 +67,3 @@ src_configure() { tc-export AR CC yes "" | ./configure.sh config.in || die } - -src_install() { - emake DESTDIR="${ED}" install || die - dodoc README README.ipv6 TODO -} - -pkg_postinst() { - einfo "etherwake and such have been split into net-misc/ethercard-diag" -} -- cgit v1.2.3-65-gdbad