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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E7BC3139695 for ; Sun, 19 Feb 2017 01:22:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECDA521C039; Sun, 19 Feb 2017 01:22:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AFE6221C039 for ; Sun, 19 Feb 2017 01:22:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A6CE3340F43 for ; Sun, 19 Feb 2017 01:22:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 127024CB3 for ; Sun, 19 Feb 2017 01:22:31 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1487467280.d03e19cfd275a543e7cdefd9aa9c4e5ca02619ac.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ipv6calc/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/ipv6calc/Manifest net-misc/ipv6calc/ipv6calc-0.99.2.ebuild X-VCS-Directories: net-misc/ipv6calc/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: d03e19cfd275a543e7cdefd9aa9c4e5ca02619ac X-VCS-Branch: master Date: Sun, 19 Feb 2017 01:22:31 +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-Archives-Salt: 6849f7ad-4bf6-4d62-8c02-6a5fad757694 X-Archives-Hash: 7f67bfe6435c2f449ddbb2ec886c8996 commit: d03e19cfd275a543e7cdefd9aa9c4e5ca02619ac Author: Anthony G. Basile gentoo org> AuthorDate: Sun Feb 19 01:21:20 2017 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sun Feb 19 01:21:20 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d03e19cf net-misc/ipv6calc: version bump to 0.99.2, add libressl support Package-Manager: portage-2.3.3 net-misc/ipv6calc/Manifest | 1 + net-misc/ipv6calc/ipv6calc-0.99.2.ebuild | 66 ++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/net-misc/ipv6calc/Manifest b/net-misc/ipv6calc/Manifest index 8a1dcb6fb7..25bdbf235b 100644 --- a/net-misc/ipv6calc/Manifest +++ b/net-misc/ipv6calc/Manifest @@ -2,3 +2,4 @@ DIST ipv6calc-0.94.1.tar.gz 749953 SHA256 3bd73fd92c1d971fadea41b39830975b4a20bb DIST ipv6calc-0.97.4.tar.gz 1037582 SHA256 ed2c9e895fdbffa3bee2e46591e0a010eacdefc1bf8eace5fbee9abaa9c3df39 SHA512 133f4e281da8eb1ea13b7c37123ae9f1b88e100553de758ceaa6cc63b0306e4711447bc7a4c171508fc5ce1ed447daec9749c5a75e5288deef0efcdc095bfcde WHIRLPOOL f6a9eb3201045851705f3631cd35e2aead26a167687b4c2064829ae530a803d6e48c57ac5d47996124b8e41706c1cc91850b9b42f225552640b4dbc9ebf17cb8 DIST ipv6calc-0.99.0.tar.gz 1155118 SHA256 fc7535b900339d75d9862b1c3d359304330f72e94a4cade539dfb714e533fdb5 SHA512 18993711a9203b1d7ecbaa885cb8cb21738b4d25e379593f18b7f833ae7f1675339ec25b39bec7424735a97781a3dc9f4b4453e00873a3526dd3c2ff5ef64965 WHIRLPOOL 7e66df01d4270f88003bf8c44e93b4d4988744b488bd28eacd6e375e3e51c4f1d5717caeebbe2a6810a49342a5df86ac1e2ee0eabfc6bb1f14b289c0d1312dad DIST ipv6calc-0.99.1.tar.gz 1234188 SHA256 b0bc5d2f83c928524f82053b40f670589bd0181719046a2e4c267912a2ba1d28 SHA512 976c8a6b72e197b7f2e5096939f53a30440095aeac76043cddef38f671cf6c91d77b5c5b971276670f7e3f81404a72b41d8cc863e37c882974d034362d0a28de WHIRLPOOL 0bbff968d665e0c77afc110f018296d4ee6f6d284ab9328ce95db8a8536576fdf706b6ee22f213446dfb72be656e0353b0f4e4e317ce59c008355c7d0296dfda +DIST ipv6calc-0.99.2.tar.gz 1287951 SHA256 f2eeec1b8d8626756f2cb9c461e9d1db20affccf582d43ded439bdb2d12646ef SHA512 f757a4a7d69b5dea34051125b96b9f9f36957bfabb1568ddae2aaefe6551aac7b9edb6abfdb3ac90aeaf32e517720157614cb7552b4e9dc18180904674e48f09 WHIRLPOOL cf1c202de81df5b8ff35fff4bdc437db90388665dab15a35cccc1b8533d32f4009f566389f76248b706a10bbf0a27b8e839c5907326b272e3727b3e9d029fef9 diff --git a/net-misc/ipv6calc/ipv6calc-0.99.2.ebuild b/net-misc/ipv6calc/ipv6calc-0.99.2.ebuild new file mode 100644 index 0000000000..53adb687fa --- /dev/null +++ b/net-misc/ipv6calc/ipv6calc-0.99.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +DESCRIPTION="IPv6 address calculator" +HOMEPAGE="http://www.deepspace6.net/projects/ipv6calc.html" +SRC_URI="ftp://ftp.bieringer.de/pub/linux/IPv6/ipv6calc/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="geoip libressl test" + +RDEPEND=" + !libressl? ( dev-libs/openssl:= ) + libressl? ( dev-libs/libressl:= ) + geoip? ( >=dev-libs/geoip-1.4.7 ) +" +DEPEND="${RDEPEND} + test? ( dev-perl/Digest-SHA1 ) +" + +#dev-perl/URI is needed for web interface, that is not installed now + +src_configure() { + # These options are broken. You can't disable them. That's + # okay because we want then force enabled. + # --disable-db-as-registry + # --disable-db-cc-registry + if use geoip; then + myconf=$(use_enable geoip) + myconf+=" --with-geoip-db=${EPREFIX}/usr/share/GeoIP" + fi + econf \ + --disable-bundled-getopt \ + --disable-bundled-md5 \ + --enable-shared \ + --enable-dynamic-load \ + --enable-db-ieee \ + --enable-db-ipv4 \ + --enable-db-ipv6 \ + --disable-dbip \ + --disable-external \ + --disable-ip2location \ + ${myconf} +} + +src_compile() { + # Disable default CFLAGS (-O2 and -g) + emake DEFAULT_CFLAGS="" +} + +src_test() { + if [[ ${EUID} -eq 0 ]]; then + # Disable tests that fail as root + echo true > ipv6logstats/test_ipv6logstats.sh + fi + default +} + +src_install() { + emake DESTDIR="${D}" install + dodoc ChangeLog CREDITS README TODO USAGE +}