summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-06-18 14:51:59 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-06-18 14:55:35 +0200
commite4edcf1aaa48771665575b64c2cb27904a4ec7a8 (patch)
treed5761083c2838b6c923a9f5abb33a399ca96a70f /net-libs/liboping
parentnet-libs/liboping: move stable keywords (diff)
downloadgentoo-e4edcf1aaa48771665575b64c2cb27904a4ec7a8.tar.gz
gentoo-e4edcf1aaa48771665575b64c2cb27904a4ec7a8.tar.bz2
gentoo-e4edcf1aaa48771665575b64c2cb27904a4ec7a8.zip
net-libs/liboping: drop old
Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'net-libs/liboping')
-rw-r--r--net-libs/liboping/liboping-1.10.0-r1.ebuild74
1 files changed, 0 insertions, 74 deletions
diff --git a/net-libs/liboping/liboping-1.10.0-r1.ebuild b/net-libs/liboping/liboping-1.10.0-r1.ebuild
deleted file mode 100644
index 50dc00c8fb46..000000000000
--- a/net-libs/liboping/liboping-1.10.0-r1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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.3"
-KEYWORDS="alpha amd64 arm x86"
-IUSE="+filecaps ncurses perl"
-
-DEPEND="ncurses? ( sys-libs/ncurses:0= )"
-RDEPEND=${DEPEND}
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.6.2-nouidmagic.patch"
- "${FILESDIR}"/${P}-gcc8-fix.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"
- _files=( "${EROOT%/}/usr/bin/oping")
-
- if use ncurses; then
- _files+=( "${EROOT%/}/usr/bin/noping")
- fi
-
- fcaps "${_caps_str}" "${_files[@]}"
-
- elog "Capabilities for"
- elog ""
-
- local _file=
- for _file in "${_files[@]}"; do
- elog " ${_file}"
- done
-
- elog ""
- elog "set to ${_caps_str}+EP due to set 'filecaps' USE flag."
- elog
- fi
-}