summaryrefslogtreecommitdiff
path: root/net-libs/libnet
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-13 21:41:11 +0000
commitc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch)
treec44943ee0563a3fa957716de909fed683117fcb9 /net-libs/libnet
parent69051588e2f955485fe5d45d45e616bc60a2de57 (diff)
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'net-libs/libnet')
-rw-r--r--net-libs/libnet/Manifest2
-rw-r--r--net-libs/libnet/libnet-1.0.2a-r7.ebuild32
2 files changed, 19 insertions, 15 deletions
diff --git a/net-libs/libnet/Manifest b/net-libs/libnet/Manifest
index 7a23fb5775ba..55758a5c754b 100644
--- a/net-libs/libnet/Manifest
+++ b/net-libs/libnet/Manifest
@@ -6,7 +6,7 @@ AUX libnet-1.0.2a-slot.patch 6244 BLAKE2B 61f4131eca23d9dc20922058e0382c38ebba48
AUX libnet-1.0.2a-test.patch 1172 BLAKE2B 105a23a904da361216f370b005016d205ea971855a064d45b1282faabdb11878cbc2568ffe311074eb437677e03d604497727c58273711826af125a1cc3f11a6 SHA512 3ab6e667798362d605c2a1a5b8c172c80a99d2569d4418cb47b7bb8f69ea424e718b2947ea22b43d882c556f65470bec04451d9356070b8a4fe10f6505122bf7
DIST libnet-1.0.2a.tar.gz 140191 BLAKE2B 4107cb714b7be901250759ce5288a86922bd7cc20081a9d2c93758150d74c55844db98c43874befdfb593ec25e128d6ae2389eff7c46da79dcbb9681f649e059 SHA512 2e9a73bd767e1f46eea92e18ddd83cc3179144c8cc5b1a22b4dba50fee16173c951be4dd647a247bd7067c33b9e33489a6efb313ce1ea0c61c4a06009c3c4d95
DIST libnet-1.2.tar.gz 649191 BLAKE2B bc463c7869e0327ec2f7663c2e66a27302e368f9846235f6774f36aed66263655badaf980e7e7fb08cc2f9a7f2620129c193bbdd49bbee58401f229a69c50c2a SHA512 84430f24e000eb7728b1fbb5e620716d13d193e8b9e024cf56a08fbeeeaaf56c9122caaf7647f01e6b38b73212e592fa5cc4e8ff56b1d5f5a73aea462e84edd6
-EBUILD libnet-1.0.2a-r7.ebuild 1354 BLAKE2B e9919ec73e3e5c225b288e4ff797a22bfd6aa2ab08e0a85241f2704324f0f2b3df05cb90ca5b5e6656b9ed10b670ed79f8a893249aa0a0f6472cdb83fcdae5b8 SHA512 001d1489152608f147c5055e2826e4634925dd37d5d64be0b57148bc794944624f2bd6deb177647555440f0b139a3ad3040cb64118e694082d973c4020b92dc1
+EBUILD libnet-1.0.2a-r7.ebuild 1409 BLAKE2B f1906501d9d776e35207b85e259bcc66058b64dc7b025fdb0aa1f7b580ed8066e65c17a8686173c264dc0fe51086b73259ca1d7c6583bb9c0de53ce63cb7b6b9 SHA512 7b44ebfe6aee06809dd721aeed50dbf443a27a531a99ee24abd31f535acf3454374bafbd2d79af0c0b95f8b51400ed1e10dd93207e98b0cff215553419098e3b
EBUILD libnet-1.2.9999.ebuild 682 BLAKE2B f4de78e01f11b24255ab6713c484ab9954ed6cd4be54d7da340c780ee5813291157ae2fe881141faeea2d0b2df67af71ab06a11949c57d8db4a5f3f28533cd30 SHA512 4d899c428e510ad9ed76eb0b573fcac4903f3d8782398890984c0eb85186bc0e84326c35c04ec04dfc78891f8f48d7a3b47c19d4715d695edb7facc573859d73
EBUILD libnet-1.2.ebuild 724 BLAKE2B 83dabb20459e754247117c804c8f3f5ab4d41bba68e40e67e86fe43703b0f263a2238e5d39b9e86b1bfbf05e7be1eda401017a16eb980066d40b6619c83c97b8 SHA512 4caa06ce3eecc1d798adfe2510566ef12f8516efd56b924580c1f56ed36fc32a7bfd049964adba1af8ad3b51d022110025aa172611ab1ca1c6cfdcaab8c9229a
MISC metadata.xml 1223 BLAKE2B 298fe374db9d5ea958dc437c06804b63b4460912df52701942cad3794a9f6d6d64df47484b09fd67f276e960e30cc4c34d91318410a689c70565c6b6cede1671 SHA512 2049508adf4563ee25fdd204a6f2c22a08e53605df0b95d7a5a41c407b5b2d01263132b2aca71a24f8bbc57b64a91146ca2130117fd6181b6ba67079e6c9a10c
diff --git a/net-libs/libnet/libnet-1.0.2a-r7.ebuild b/net-libs/libnet/libnet-1.0.2a-r7.ebuild
index dfef828f59d6..c07ef94b90a0 100644
--- a/net-libs/libnet/libnet-1.0.2a-r7.ebuild
+++ b/net-libs/libnet/libnet-1.0.2a-r7.ebuild
@@ -1,12 +1,14 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+
inherit autotools toolchain-funcs
DESCRIPTION="library providing an API for commonly used low-level network functions"
HOMEPAGE="http://www.packetfactory.net/libnet/"
SRC_URI="http://www.packetfactory.net/libnet/dist/deprecated/${P}.tar.gz"
+S="${WORKDIR}"/Libnet-${PV}
LICENSE="BSD BSD-2 HPND"
SLOT="1.0"
@@ -21,29 +23,27 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.0.2a-test.patch
)
-S=${WORKDIR}/Libnet-${PV}
src_prepare() {
default
- cd "${S}"
+ cd "${S}" || die
mv libnet-config.in libnet-${SLOT}-config.in || die "moving libnet-config"
- cd "${S}"/include
- ln -s libnet.h libnet-${SLOT}.h
+ cd "${S}"/include || die
+ ln -s libnet.h libnet-${SLOT}.h || die
- cd libnet
+ cd libnet || die
for f in *.h ; do
ln -s ${f} ${f/-/-${SLOT}-} || die
done
- cd "${S}"/doc
+ cd "${S}"/doc || die
ln -s libnet.3 libnet-${SLOT}.3 || die
- cd "${S}"
-
- eautoconf
+ cd "${S}" || die
+ eautoreconf
tc-export AR RANLIB
}
@@ -53,11 +53,15 @@ src_test() {
src_install() {
default
- doman "${D}"/usr/man/man3/libnet-1.0.3
- rm -r "${D}"/usr/man
+ doman "${ED}"/usr/man/man3/libnet-1.0.3
+ rm -r "${ED}"/usr/man || die
dodoc VERSION doc/{README,TODO*,CHANGELOG*}
newdoc README README.1st
- docinto example ; dodoc example/libnet*
- docinto Ancillary ; dodoc doc/Ancillary/*
+
+ docinto example
+ dodoc example/libnet*
+
+ docinto Ancillary
+ dodoc doc/Ancillary/*
}