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 4B98A138334 for ; Wed, 10 Oct 2018 00:31:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F1F09E077A; Wed, 10 Oct 2018 00:31:23 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AAF8DE077A for ; Wed, 10 Oct 2018 00:31:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C3387335D9F for ; Wed, 10 Oct 2018 00:31:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B96542A for ; Wed, 10 Oct 2018 00:31:18 +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: <1539131454.37d38770748a0195352ebd710c6b7060b8d24dac.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-1.1.0.ebuild X-VCS-Directories: net-misc/ipv6calc/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 37d38770748a0195352ebd710c6b7060b8d24dac X-VCS-Branch: master Date: Wed, 10 Oct 2018 00:31:18 +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: aa1e9d0f-46af-4ca9-9f68-1309dc3493ca X-Archives-Hash: a59dafd7f1009d6763697c535073a8b6 commit: 37d38770748a0195352ebd710c6b7060b8d24dac Author: Anthony G. Basile gentoo org> AuthorDate: Wed Oct 10 00:30:54 2018 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Wed Oct 10 00:30:54 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37d38770 net-misc/ipv6calc: version bump to 1.1.0 Signed-off-by: Anthony G. Basile gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10 net-misc/ipv6calc/Manifest | 1 + net-misc/ipv6calc/ipv6calc-1.1.0.ebuild | 65 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/net-misc/ipv6calc/Manifest b/net-misc/ipv6calc/Manifest index 6b3d7cbe456..c79b2129c4f 100644 --- a/net-misc/ipv6calc/Manifest +++ b/net-misc/ipv6calc/Manifest @@ -1,3 +1,4 @@ DIST ipv6calc-0.97.4.tar.gz 1037582 BLAKE2B b01929321c94169631c865ddf00067a85d0df8083f2d675b6fea6d4d780400d654cc802a94ff8c723f2e5f4f0d970e82338d5e9fc4bf4c1572b304fa017ec4db SHA512 133f4e281da8eb1ea13b7c37123ae9f1b88e100553de758ceaa6cc63b0306e4711447bc7a4c171508fc5ce1ed447daec9749c5a75e5288deef0efcdc095bfcde DIST ipv6calc-0.99.2.tar.gz 1287951 BLAKE2B 14de353f5883e1aa538c9fd1b66dbc9d9b485192a7cd7853f4b8a00a31b1b798cee33edb4263a9c5acd8b6dd42b26cbce35e0f072e7b92a7c40f1222bba27075 SHA512 f757a4a7d69b5dea34051125b96b9f9f36957bfabb1568ddae2aaefe6551aac7b9edb6abfdb3ac90aeaf32e517720157614cb7552b4e9dc18180904674e48f09 DIST ipv6calc-1.0.0.tar.gz 1342987 BLAKE2B 0c5a28b8431a82669870c475c5a73c239368f3486c9d16e66918a110937ec134d79f9b3ce79edffe65ab2789b36b7ac9ecd90e57f891759ba4542d608bcc5380 SHA512 46e33697551c4bf0a472c7f2dd51c11ae21d49c7d78fe5213bce60c1d11f9230491c328e425f36733c7262a369644bcedb8392ffe2279031eb2552092a5ac209 +DIST ipv6calc-1.1.0.tar.gz 1396498 BLAKE2B 67b95057ea75f7c26ab1f9fc8b8e869ef027594e71800c4f8f1c442f34bce31340f1e7160d4f48033b8bc080738051418be48e3913ccd62594256ab64eaef919 SHA512 8fe2a4717f2be4ceae051b635d4329b8c438d9741e9a99a3c12cc1c0d0daef89325cc9beb7ca65da3c671586ce2a596191962118005aeaaf7cfe33a1d4549101 diff --git a/net-misc/ipv6calc/ipv6calc-1.1.0.ebuild b/net-misc/ipv6calc/ipv6calc-1.1.0.ebuild new file mode 100644 index 00000000000..f16ce08a770 --- /dev/null +++ b/net-misc/ipv6calc/ipv6calc-1.1.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +}