From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/
Date: Fri, 5 Feb 2021 17:26:50 +0000 (UTC) [thread overview]
Message-ID: <1612542895.302de7d521d48c4b1682a29a3af965c101f64607.sam@gentoo> (raw)
commit: 302de7d521d48c4b1682a29a3af965c101f64607
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 5 16:34:55 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 5 16:34:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=302de7d5
net-libs/libnet: modernise ebuild for 1.0.2a-r7
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/libnet/libnet-1.0.2a-r7.ebuild | 32 ++++++++++++++++++--------------
1 file changed, 18 insertions(+), 14 deletions(-)
diff --git a/net-libs/libnet/libnet-1.0.2a-r7.ebuild b/net-libs/libnet/libnet-1.0.2a-r7.ebuild
index dfef828f59d..c07ef94b90a 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/*
}
next reply other threads:[~2021-02-05 17:26 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-05 17:26 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-28 14:03 [gentoo-commits] repo/gentoo:master commit in: net-libs/libnet/ Andreas K. Hüttel
2024-03-25 9:21 Sam James
2023-12-24 17:21 Arthur Zamarin
2023-12-24 16:13 Sam James
2023-11-25 12:15 Sam James
2023-10-13 15:00 Sam James
2023-10-13 15:00 Sam James
2022-10-30 22:30 Sam James
2022-04-06 0:51 Sam James
2021-07-16 1:31 Yixun Lan
2021-05-16 0:03 Sam James
2020-01-03 14:33 Agostino Sarubbo
2020-01-03 14:30 Agostino Sarubbo
2020-01-03 13:56 Agostino Sarubbo
2020-01-03 13:44 Agostino Sarubbo
2020-01-03 13:42 Agostino Sarubbo
2020-01-02 9:58 Sergei Trofimovich
2020-01-02 9:58 Sergei Trofimovich
2020-01-01 17:53 Jeroen Roovers
2020-01-01 15:30 Agostino Sarubbo
2019-12-29 20:34 Jeroen Roovers
2019-10-28 9:49 Jeroen Roovers
2019-10-16 20:57 Jeroen Roovers
2019-10-09 6:39 Jeroen Roovers
2019-10-09 6:39 Jeroen Roovers
2019-09-30 7:18 Jeroen Roovers
2018-06-28 18:19 Jeroen Roovers
2017-01-29 19:33 Fabian Groffen
2016-12-20 20:09 Thomas Deutschmann
2016-12-20 14:38 Tobias Klausmann
2016-10-10 14:46 Jeroen Roovers
2016-10-01 12:19 Jeroen Roovers
2016-09-21 17:48 Tobias Klausmann
2016-09-01 11:33 Markus Meier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1612542895.302de7d521d48c4b1682a29a3af965c101f64607.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox