public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/liboping/
Date: Sun, 15 Jan 2017 07:02:47 +0000 (UTC)	[thread overview]
Message-ID: <1484463752.21233a7d552f20a2c885eeb01b24c9555bb6f7ed.whissi@gentoo> (raw)

commit:     21233a7d552f20a2c885eeb01b24c9555bb6f7ed
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 07:02:04 2017 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 07:02:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21233a7d

net-libs/liboping: Bump to v1.9.0

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-libs/liboping/Manifest              |  1 +
 net-libs/liboping/liboping-1.9.0.ebuild | 66 +++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/net-libs/liboping/Manifest b/net-libs/liboping/Manifest
index 5eef357..d13eb9c 100644
--- a/net-libs/liboping/Manifest
+++ b/net-libs/liboping/Manifest
@@ -1,2 +1,3 @@
 DIST liboping-1.7.0.tar.bz2 306359 SHA256 60089a544522abced4aecbb554f494632968371e5ade7bea27015cd6aa598db3 SHA512 74ca6184fc192cabc0edb289aaab7b7d6f743a69cd0e1c0de82d768e7fd599229fbb974fbc0e1f3f5a3377c47cc8871c8cd1b16982f7b67167cd7cc5808eb38e WHIRLPOOL cf845b01582cf207c2409e1e5ee71ca9e7fb402ff8fb0131778246aa8931aa3b1c59e6318fea6923ed3f83721f8a0928991ecefb87f7ec13f2f8c4f3f8df4fdc
 DIST liboping-1.8.0.tar.bz2 316441 SHA256 1dcb9182c981b31d67522ae24e925563bed57cf950dc681580c4b0abb6a65bdb SHA512 94170de6e23c1c2380866e5195a3cdac795f30bda560ee3869bcdd9aa42b831fa3aac1a351033f72ed81d501b8e3e02db9bb5e5ada29e51ea4b1d2cca7af6217 WHIRLPOOL 724144216788a3837e2afb45b88a9ea757984e45841a365cfc7b17b43269069600dd9ed261f4b108527eb5f19b151500b24e4544c8e3f944cc1d7392e39b6c4a
+DIST liboping-1.9.0.tar.bz2 313884 SHA256 44bb1d88b56b88fda5533edb3aa005c69b3cd396f20453a157d7e31e536f3530 SHA512 dcbadeea5154d4f4c31f806cae4ee5b8d5a8dfe243a9de4dad4b81b5b227538e1bb0c20afef121bd8ad841346da39fd5fb4710db981b89c11acc573c4f401c85 WHIRLPOOL 11421367b3e5128a0158ab76305bde2431dd3e2e2e0f8665cc5fbf9871a0a60fab6e1887d4a3537cc5d1e56dbf1431d6b51885b0c93e25b21e93c9e0b678834d

diff --git a/net-libs/liboping/liboping-1.9.0.ebuild b/net-libs/liboping/liboping-1.9.0.ebuild
new file mode 100644
index 00000000..1414754
--- /dev/null
+++ b/net-libs/liboping/liboping-1.9.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit autotools fcaps perl-module
+
+DESCRIPTION="Protocol independent ANSI-C ping library and command line utility"
+HOMEPAGE="https://noping.cc/"
+SRC_URI="https://noping.cc/files/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1 GPL-2"
+SLOT="0/0.2"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+filecaps ncurses perl"
+
+DEPEND="ncurses? ( sys-libs/ncurses:0= )"
+RDEPEND=${DEPEND}
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.6.2-nouidmagic.patch"
+	"${FILESDIR}/${PN}-1.8.0-remove-ncurses-automagic.patch"
+)
+
+src_prepare() {
+	default
+
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		$(use_with perl perl-bindings INSTALLDIRS=vendor) \
+		$(use_with ncurses)
+}
+
+src_test() {
+	if use perl; then
+		pushd bindings/perl >/dev/null || die
+		perl-module_src_test
+		popd >/dev/null || die
+	fi
+}
+
+src_install() {
+	default
+
+	find "${ED}"usr/lib* -name '*.la' -o -name '*.a' -delete || die
+}
+
+pkg_postinst() {
+	if use filecaps; then
+		local _caps_str="CAP_NET_RAW"
+		fcaps "${_caps_str}" \
+			"${EROOT%/}/usr/bin/oping" \
+			"${EROOT%/}/usr/bin/noping"
+		elog "Capabilities for"
+		elog ""
+		elog "  ${EROOT%/}/usr/bin/oping"
+		elog "  ${EROOT%/}/usr/bin/oping"
+		elog ""
+		elog "set to ${_caps_str}+EP due to set 'filecaps' USE flag."
+		elog
+	fi
+}


             reply	other threads:[~2017-01-15  7:02 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-15  7:02 Thomas Deutschmann [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
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
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=1484463752.21233a7d552f20a2c885eeb01b24c9555bb6f7ed.whissi@gentoo \
    --to=whissi@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