From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CF068158091 for ; Sun, 5 Jun 2022 14:28:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22DFCE0959; Sun, 5 Jun 2022 14:28:07 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D871E0959 for ; Sun, 5 Jun 2022 14:28:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4D4F9341F7F for ; Sun, 5 Jun 2022 14:28:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB61C448 for ; Sun, 5 Jun 2022 14:28:04 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1654439267.3700ca88ef7e0ee629f7749b3b8424a482d9bc34.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/liboping/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/liboping/liboping-1.10.0-r2.ebuild net-libs/liboping/liboping-1.10.0-r3.ebuild X-VCS-Directories: net-libs/liboping/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 3700ca88ef7e0ee629f7749b3b8424a482d9bc34 X-VCS-Branch: master Date: Sun, 5 Jun 2022 14:28:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 657f070d-e59f-4b38-ae2e-bce1899c6fe8 X-Archives-Hash: 8279619b1b277ea81da4e97d2951baac commit: 3700ca88ef7e0ee629f7749b3b8424a482d9bc34 Author: Conrad Kostecki gentoo org> AuthorDate: Sun Jun 5 14:26:23 2022 +0000 Commit: Conrad Kostecki gentoo 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 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[@]}"