From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/liboping/
Date: Sun, 5 Jun 2022 14:28:04 +0000 (UTC) [thread overview]
Message-ID: <1654439267.3700ca88ef7e0ee629f7749b3b8424a482d9bc34.conikost@gentoo> (raw)
commit: 3700ca88ef7e0ee629f7749b3b8424a482d9bc34
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 5 14:26:23 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jun 5 14:27:47 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3700ca88
net-libs/liboping: EAPI 6 -> 8
Also fixed *.la files install.
Closes: https://bugs.gentoo.org/848927
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
...-1.10.0-r2.ebuild => liboping-1.10.0-r3.ebuild} | 41 ++++++++++++----------
1 file changed, 23 insertions(+), 18 deletions(-)
diff --git a/net-libs/liboping/liboping-1.10.0-r2.ebuild b/net-libs/liboping/liboping-1.10.0-r3.ebuild
similarity index 57%
rename from net-libs/liboping/liboping-1.10.0-r2.ebuild
rename to net-libs/liboping/liboping-1.10.0-r3.ebuild
index dfa32d0b9ef4..fc4d9550ae34 100644
--- a/net-libs/liboping/liboping-1.10.0-r2.ebuild
+++ b/net-libs/liboping/liboping-1.10.0-r3.ebuild
@@ -1,63 +1,68 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI=8
inherit autotools fcaps perl-module
DESCRIPTION="Protocol independent ANSI-C ping library and command line utility"
-HOMEPAGE="https://noping.cc/"
+HOMEPAGE="
+ https://noping.cc/
+ https://github.com/octo/liboping
+"
SRC_URI="https://noping.cc/files/${P}.tar.bz2"
-LICENSE="LGPL-2.1 GPL-2"
+LICENSE="GPL-2 LGPL-2.1"
SLOT="0/0.3"
KEYWORDS="~alpha amd64 arm x86"
IUSE="+filecaps ncurses perl"
DEPEND="ncurses? ( sys-libs/ncurses:0= )"
-RDEPEND=${DEPEND}
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
PATCHES=(
- "${FILESDIR}"/${PN}-1.10.0-no-werror.patch
+ "${FILESDIR}/${PN}-1.10.0-no-werror.patch"
"${FILESDIR}/${PN}-1.6.2-nouidmagic.patch"
- "${FILESDIR}"/${P}-gcc8-fix.patch
- "${FILESDIR}"/${P}-do-not-quit-when-ping_send-fail.patch
- "${FILESDIR}"/${P}-report-right-error-msg-when-select-fails.patch
+ "${FILESDIR}/${PN}-1.10.0-gcc8-fix.patch"
+ "${FILESDIR}/${PN}-1.10.0-do-not-quit-when-ping_send-fail.patch"
+ "${FILESDIR}/${PN}-1.10.0-report-right-error-msg-when-select-fails.patch"
)
src_prepare() {
default
-
eautoreconf
}
src_configure() {
- econf \
- $(use_with perl perl-bindings INSTALLDIRS=vendor) \
+ myeconfargs=(
$(use_with ncurses)
+ $(use_with perl perl-bindings INSTALLDIRS=vendor)
+ )
+
+ econf "${myeconfargs[@]}"
}
src_test() {
if use perl; then
- pushd bindings/perl >/dev/null || die
+ pushd bindings/perl || die
perl-module_src_test
- popd >/dev/null || die
+ popd || die
fi
}
src_install() {
default
-
- find "${ED}"usr/lib* -name '*.la' -o -name '*.a' -delete || die
+ find "${ED}" -type f -name '*.la' -delete || die
}
pkg_postinst() {
if use filecaps; then
local _caps_str="CAP_NET_RAW"
- _files=( "${EROOT%/}/usr/bin/oping")
+ _files=( "${EROOT}/usr/bin/oping")
if use ncurses; then
- _files+=( "${EROOT%/}/usr/bin/noping")
+ _files+=( "${EROOT}/usr/bin/noping")
fi
fcaps "${_caps_str}" "${_files[@]}"
next reply other threads:[~2022-06-05 14:28 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-05 14:28 Conrad Kostecki [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-05 22:11 [gentoo-commits] repo/gentoo:master commit in: net-libs/liboping/ Conrad Kostecki
2022-06-05 15:42 Jakov Smolić
2022-06-05 14:28 Conrad Kostecki
2019-06-18 12:55 Thomas Deutschmann
2019-06-18 12:55 Thomas Deutschmann
2018-03-22 10:31 Tobias Klausmann
2017-08-18 23:26 Thomas Deutschmann
2017-07-24 17:57 Markus Meier
2017-07-15 16:42 Tobias Klausmann
2017-05-15 10:15 Thomas Deutschmann
2017-05-15 10:15 Thomas Deutschmann
2017-03-21 12:44 Michael Weber
2017-03-20 12:28 Agostino Sarubbo
2017-01-15 16:14 Thomas Deutschmann
2017-01-15 7:02 Thomas Deutschmann
2017-01-15 7:02 Thomas Deutschmann
2017-01-15 7:02 Thomas Deutschmann
2016-11-03 16:19 Göktürk Yüksek
2016-04-21 15:42 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=1654439267.3700ca88ef7e0ee629f7749b3b8424a482d9bc34.conikost@gentoo \
--to=conikost@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