Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FL-256 Added missing Manifest, made revision for latest stable versio…

…n for real
  • Loading branch information...
commit 2bd0e4deece629c096aaac394e5e18a851a3bb05 1 parent 1a98349
Alexander Reitzel authored
View
6 sys-apps/net-tools/Manifest
@@ -0,0 +1,6 @@
+DIST net-tools-1.60_p20110409135728-patches-1.tar.xz 3976 SHA256 6ec48e4e97f64734747c5a1639203179ab12a83faceaada739fa576e0a01df73 SHA512 22261c33860f3becc776e8f8da106052520096f482f7845ce687c5f8cbfd2ff467723ce83a0c0a95a0b8adb9dc9c27ebd97d75646f9728ab179e20a02d8817b7 WHIRLPOOL 29a9172791a4e52bd6b81e2ad1c9b0c34b69636a99fbcd019465cab6bc9b5058ef72a92fd541e8b1b71881d7800d37de111f3ce0c60d78698056b4c023024e2b
+DIST net-tools-1.60_p20110409135728.tar.xz 223168 SHA256 2379dab69c68c0b6755cd063c9cb170d4b3862be9f0154cf4c28d749d232b98f SHA512 17658210e27cf966b71dc89b7ec1b881490612b6919cba2c232edf04cffeef54b13a7dab5825466b46b366d079f72c43746c8df69c1250c9f3cecfa3ae02874c WHIRLPOOL 4d4bbbc2a9df8bc7fe5b47569738b6855de234c9f63799648261b2315128a158013577ad75c0940d48dfbaaab2e0b2752230cb79f5f9ba66b44d29886c7ca3ee
+DIST net-tools-1.60_p201111202031570500-patches-1.tar.xz 3348 SHA256 98a5e20f4cc6aca911e3b24cc04a071bff0f694023013755dc195da26089f837 SHA512 9ec31a8df3a812bac3ef505a0bc3d092d1b8e6fb7665f23f9eacb2d14e30044db4cf46c1bc8362ff3a6aa39fe89b7a860781a6449441176495057410c15dac08 WHIRLPOOL 28ec1f2980d627f05e778fc53b05436c83c0a655d86797bf1e7e10d84c9e843f58bab9ae4bd2bd5fefc7bcf1c863a63c294692a245840d516f9871b14fc89f88
+DIST net-tools-1.60_p201111202031570500.tar.xz 223532 SHA256 58bd85bd7d4776635754dc4ca2b2b164346967bad67cf661d4c9933e7d6b5474 SHA512 f894f59d4fce76cab97496df6d3dcc5cbca7b4146fd7e5daea95cb447e3460e448ad20398eb5a6b805b80f6050f30aa47e133c166b63f7a4cdfe9256383322d4 WHIRLPOOL d651b6f455faa5ffeb103aab08f0b28a95ff42fb8b77a73a1f8b1f9f0a9c3f39b5405c339696558a341c888e19c7486a807f83287cc6b4333dc72ed0480cee8a
+DIST net-tools-1.60_p20120127084908-patches-1.tar.xz 3332 SHA256 1240a3c139b684da195f665447a80e1d05f0d6f3c2319dbf340dfcbb78b01501 SHA512 97602993e273d2fadac2bf3df892e09ba7c7cda44a7825209a644ada4d203e0c3d2248cbf976545afb07113976694fb581511641725ce1b95b00688d357d0a02 WHIRLPOOL 4fd537e042ab368795ff0db55717c424ef3bd7bc37302c5fa64936c4ffe4772557c25c83224f9ee0017f812817143b7168e70b2fdcf146abab06d18cafe3448d
+DIST net-tools-1.60_p20120127084908.tar.xz 224992 SHA256 408a51964aa142a4f45c4cffede2478abbd5630a7c7346ba0d3611059a2a3c94 SHA512 1237a4bb0bba5273a25d707493d5bdb16f267bfa6731c526329cff459e06923e0d54aef6eded458d3cb72994bf4382f216212c34ad9329f5f1573a4228445996 WHIRLPOOL b14f24c13f2950fd92eb6b897cd14c5aa4d52e40062943fcb84de7e13555f98008db1aa6ec6fb6ca8f899a5bfdfc685f8822da2f3c0e5e002b9d20aec4d8b73c
View
98 sys-apps/net-tools/net-tools-1.60_p20120127084908-r1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/net-tools/net-tools-1.60_p20120127084908.ebuild,v 1.10 2012/11/21 20:46:27 ago Exp $
+
+EAPI="3"
+
+inherit flag-o-matic toolchain-funcs eutils
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools"
+ inherit git-2
+ KEYWORDS=""
+else
+ PATCH_VER="1"
+ SRC_URI="mirror://gentoo/${P}.tar.xz
+ mirror://gentoo/${P}-patches-${PATCH_VER}.tar.xz"
+ KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-linux ~x86-linux"
+fi
+
+DESCRIPTION="Standard Linux networking tools"
+HOMEPAGE="http://net-tools.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="nls old-output static"
+
+RDEPEND="!<sys-apps/openrc-0.9.9.3"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils"
+
+maint_pkg_create() {
+ cd /usr/local/src/net-tools
+ #git-update
+ local stamp=$(date --date="$(git log -n1 --pretty=format:%ci master)" -u +%Y%m%d%H%M%S)
+ local pv="${PV/_p*}_p${stamp}"; pv=${pv/9999/1.60}
+ local p="${PN}-${pv}"
+ git archive --prefix="nt/" master | tar xf - -C "${T}"
+ pushd "${T}" >/dev/null
+ pushd nt >/dev/null
+ sed -i "/^RELEASE/s:=.*:=${pv}:" Makefile || die
+ emake dist >/dev/null
+ popd >/dev/null
+ zcat ${p}.tar.gz | xz > ${p}.tar.xz
+ rm -f ${p}.tar.gz
+ 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://git.overlays.gentoo.org/gitweb/?p=proj/net-tools.git" > "${d}"/README
+ tar cf - -C "${T}" ${d##*/} | xz > "${T}"/${patches}.tar.xz
+ rm -rf "${d}"
+
+ du -b "${T}"/*.tar.xz
+}
+
+pkg_setup() { [[ -n ${VAPIER_LOVES_YOU} ]] && maint_pkg_create ; }
+
+set_opt() {
+ local opt=$1 ans
+ shift
+ ans=$("$@" && echo y || echo n)
+ einfo "Setting option ${opt} to ${ans}"
+ sed -i \
+ -e "/^bool.* ${opt} /s:[yn]$:${ans}:" \
+ config.in || die
+}
+
+src_prepare() {
+ if [[ -n ${PATCH_VER} ]] ; then
+ use old-output || EPATCH_EXCLUDE="0001-revert-621a2f376334f8097604b9fee5783e0f1141e66d-for-.patch"
+ 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'
+ set_opt HAVE_HWTR has_version '<sys-kernel/linux-headers-3.5'
+ set_opt HAVE_HWSTRIP has_version '<sys-kernel/linux-headers-3.6'
+ if use static ; then
+ append-flags -static
+ append-ldflags -static
+ fi
+ tc-export AR CC
+ yes "" | ./configure.sh config.in || die
+}
+
+src_install() {
+ emake DESTDIR="${ED}" install || die
+ dodoc README README.ipv6 TODO
+}
+
+pkg_postinst() {
+ ln -s /bin/ifconfig /sbin/ifconfig
+ einfo "etherwake and such have been split into net-misc/ethercard-diag"
+}
Please sign in to comment.
Something went wrong with that request. Please try again.