public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/ipv6calc/
Date: Sat, 14 May 2022 11:51:06 +0000 (UTC)	[thread overview]
Message-ID: <1652529056.e2078d58bdac83b917aebbd5b778d6d878576566.blueness@gentoo> (raw)

commit:     e2078d58bdac83b917aebbd5b778d6d878576566
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 11:50:56 2022 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat May 14 11:50:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2078d58

net-misc/ipv6calc: version bump to 4.0.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 net-misc/ipv6calc/ipv6calc-4.0.0.ebuild | 75 +++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)

diff --git a/net-misc/ipv6calc/ipv6calc-4.0.0.ebuild b/net-misc/ipv6calc/ipv6calc-4.0.0.ebuild
new file mode 100644
index 000000000000..3aa11efa4dd8
--- /dev/null
+++ b/net-misc/ipv6calc/ipv6calc-4.0.0.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
+}


             reply	other threads:[~2022-05-14 11:51 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-14 11:51 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-17 19:29 [gentoo-commits] repo/gentoo:master commit in: net-misc/ipv6calc/ Arthur Zamarin
2023-03-17 17:00 Sam James
2023-03-17 17:00 Sam James
2023-03-17 16:28 Arthur Zamarin
2022-06-11  5:48 Sam James
2022-05-15  0:29 Anthony G. Basile
2022-05-15  0:29 Anthony G. Basile
2021-10-29 19:00 Anthony G. Basile
2021-10-29 16:56 Anthony G. Basile
2021-10-29 16:50 Anthony G. Basile
2021-10-28 10:03 Anthony G. Basile
2021-09-25 23:46 Sam James
2021-09-25  5:18 Agostino Sarubbo
2021-09-24 22:47 Sam James
2021-09-24 22:47 Sam James
2021-09-24 16:14 Anthony G. Basile
2021-09-24 16:13 Anthony G. Basile
2021-05-09 22:01 Sam James
2021-05-02 12:09 Mikle Kolyada
2021-02-17  1:01 Sam James
2021-02-03 23:55 Thomas Deutschmann
2021-02-01 18:04 Sergei Trofimovich
2020-06-15 20:41 Sergei Trofimovich
2019-12-24  8:09 Agostino Sarubbo
2019-12-20 12:13 Agostino Sarubbo
2019-12-19 10:49 Anthony G. Basile
2019-12-18 14:57 Agostino Sarubbo
2019-12-17 17:48 Anthony G. Basile
2019-10-15 16:09 Anthony G. Basile
2019-06-01 13:35 Anthony G. Basile
2019-06-01 13:35 Anthony G. Basile
2019-04-28  1:21 Anthony G. Basile
2019-02-08 23:46 Anthony G. Basile
2018-10-15 18:43 Sergei Trofimovich
2018-10-14  8:59 Sergei Trofimovich
2018-10-13 16:14 Sergei Trofimovich
2018-10-12 14:02 Mikle Kolyada
2018-10-10  3:13 Thomas Deutschmann
2018-10-10  0:31 Anthony G. Basile
2018-03-27 22:24 Sergei Trofimovich
2017-06-26 14:14 Anthony G. Basile
2017-06-26 14:14 Anthony G. Basile
2017-03-09 10:01 Michael Palimaka
2017-02-19  1:22 Anthony G. Basile
2017-02-19  1:22 Anthony G. Basile
2016-08-06  9:39 Pacho Ramos
2015-10-26 14:11 Aaron Bauman
2015-09-21 11:27 Agostino Sarubbo
2015-09-06 13:25 Agostino Sarubbo
2015-09-05 17:03 Anthony G. Basile
2015-08-18  5:35 Jeroen Roovers
2015-08-14  6:27 Anthony G. Basile
2015-08-14  6:27 Anthony G. Basile
2015-08-09 22:54 Mikle Kolyada
2015-08-09 11:18 Agostino Sarubbo

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=1652529056.e2078d58bdac83b917aebbd5b778d6d878576566.blueness@gentoo \
    --to=blueness@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