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 01CC4158090 for ; Sun, 15 May 2022 00:29:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 497F2E08A0; Sun, 15 May 2022 00:29:56 +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 2585EE08A0 for ; Sun, 15 May 2022 00:29:56 +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 460E5341BAC for ; Sun, 15 May 2022 00:29:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2CF1441 for ; Sun, 15 May 2022 00:29:51 +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: <1652574588.2f893f87fd6008e9ed982aaa8f273dce9a897f99.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-4.0.1.ebuild X-VCS-Directories: net-misc/ipv6calc/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 2f893f87fd6008e9ed982aaa8f273dce9a897f99 X-VCS-Branch: master Date: Sun, 15 May 2022 00:29:51 +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: 3b2af52c-3602-42fb-ac95-771235c5e352 X-Archives-Hash: 7938464dd2b71710b993a827214dffba commit: 2f893f87fd6008e9ed982aaa8f273dce9a897f99 Author: Anthony G. Basile gentoo org> AuthorDate: Sun May 15 00:27:41 2022 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sun May 15 00:29:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f893f87 net-misc/ipv6calc: version bump 4.0.1 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Anthony G. Basile gentoo.org> net-misc/ipv6calc/Manifest | 1 + net-misc/ipv6calc/ipv6calc-4.0.1.ebuild | 75 +++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/net-misc/ipv6calc/Manifest b/net-misc/ipv6calc/Manifest index 5ec106f6042f..062ea0d83d1b 100644 --- a/net-misc/ipv6calc/Manifest +++ b/net-misc/ipv6calc/Manifest @@ -2,3 +2,4 @@ DIST ipv6calc-2.2.0.tar.gz 1546946 BLAKE2B 90dc600c1e83affd6138bfc73ac77160e35d2 DIST ipv6calc-3.1.1.tar.gz 1634300 BLAKE2B 941df0c0d649cf5879e1abfde1e4c0f41fcdbe4cb945552df42b9a39ec317dda7e25c85711f103e024bc3774e46f52d3754e6e0b004b098baeac3d863d3ec38e SHA512 0cf726fec47a592168bb0715dd96c16033fe85e1c462530ef6898236cf89199fede81a9ffc78b3210c9e007da03279c7d45aa00a7a9a7f00f5f9bc82b7cc1695 DIST ipv6calc-3.2.0.tar.gz 1645414 BLAKE2B b74406a867b03e22244c1890133ce9553c40b5a737bd1711783e94b7f3afc43cfcff26e12583552a4c0fcc9ecd51174fb20844bddac22732d08e995de9e0f5ef SHA512 f7cd3d8820acd06c016e6f439129516d61300ba1660fe3acfec319f4dbd73de77f0a339bef31fd42bb0a4ab2e68d0e4771b1526f3217d3504cb4605d7b9b0195 DIST ipv6calc-4.0.0.tar.gz 1682616 BLAKE2B 5a26f6c4c8a9a2ea49c8762690c18e523ebde370817e71ae56f1cda211324695f046e85bba56f0b19e17869d72adb0ee8739fdbd4e8c4503d4a286107212eda4 SHA512 939dfcbe68c6e110acfe23f6f221471bda03ad165f5785bbc9aabd03b3192ab3cdb99df458db79edfa3c3d2f3202f1f2f189b7a9fd9a5ae27a7084de2fbd907d +DIST ipv6calc-4.0.1.tar.gz 1705407 BLAKE2B 599573570df946f3362e213e481b8016b037de6263ed53aa61fd39b69810b2cf05a9c76408904bac4b076a4061091be8adbd6d5648a1f5bdc5d021ebd5123acb SHA512 6e60f4808b2622235ea9c43c99868798e7014fbee7dc51349cfe2ba28badcc767d45f9e30dc14d3b78c4a88ef2ff80083b4b0be64e93ed17b17817995364b3ce diff --git a/net-misc/ipv6calc/ipv6calc-4.0.1.ebuild b/net-misc/ipv6calc/ipv6calc-4.0.1.ebuild new file mode 100644 index 000000000000..3aa11efa4dd8 --- /dev/null +++ b/net-misc/ipv6calc/ipv6calc-4.0.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +DESCRIPTION="IPv6 address calculator" +HOMEPAGE="https://www.deepspace6.net/projects/ipv6calc.html" +SRC_URI="https://github.com/pbiering/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="cgi geoip test" +RESTRICT="!test? ( test )" + +RDEPEND=" + cgi? ( + dev-perl/URI + dev-perl/Digest-SHA1 + ) + dev-libs/openssl:= + geoip? ( >=dev-libs/geoip-1.4.7 ) +" +DEPEND="${RDEPEND} + test? ( dev-perl/Digest-SHA1 ) +" + +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 + local myeconfargs=( + --disable-bundled-getopt + --disable-bundled-md5 + --enable-shared + --enable-dynamic-load + --enable-db-ieee + --enable-db-ipv4 + --enable-db-ipv6 + --disable-dbip + --disable-dbip2 + --disable-external + --disable-ip2location + --enable-openssl-evp-md5 + --enable-openssl-md5 + $(use_enable geoip) + $(use_enable cgi mod_ipv6calc ) + ) + + if use geoip; then + myeconfargs+=( "--with-geoip-db=${EPREFIX}/usr/share/GeoIP" ) + fi + + econf "${myeconfargs[@]}" +} + +src_compile() { + emake distclean + # 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 +}