summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2019-08-18 12:25:52 +0300
committerSergey Popov <pinkbyte@gentoo.org>2019-08-18 12:27:47 +0300
commit8cac032f270714316522164d0cc4799a1d8edb07 (patch)
treeca448915b0ab86af24bc2505e4297ea5f5b579f3 /net-misc/bgpq3/bgpq3-0.1.35.ebuild
parentdev-python/gst-python: support python 3.7 (diff)
downloadgentoo-8cac032f270714316522164d0cc4799a1d8edb07.tar.gz
gentoo-8cac032f270714316522164d0cc4799a1d8edb07.tar.bz2
gentoo-8cac032f270714316522164d0cc4799a1d8edb07.zip
net-misc/bgpq3: version bump to 0.1.35, drop old
Reported-by: Martijn Schmidt <martijn.schmidt@gmail.com> Closes: https://bugs.gentoo.org/689592 Signed-off-by: Sergey Popov <pinkbyte@gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'net-misc/bgpq3/bgpq3-0.1.35.ebuild')
-rw-r--r--net-misc/bgpq3/bgpq3-0.1.35.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/net-misc/bgpq3/bgpq3-0.1.35.ebuild b/net-misc/bgpq3/bgpq3-0.1.35.ebuild
new file mode 100644
index 000000000000..2ee24d24e3db
--- /dev/null
+++ b/net-misc/bgpq3/bgpq3-0.1.35.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools eutils
+
+DESCRIPTION="Generate access-lists for Cisco/Juniper routers, successor of bgpq"
+HOMEPAGE="https://github.com/snar/bgpq3/"
+SRC_URI="https://github.com/snar/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+
+src_prepare() {
+ # Respect CFLAGS
+ sed -i \
+ -e '/^CFLAGS=/s/-g //' \
+ -e '/^CFLAGS=/s/ -O0//' \
+ Makefile.in || die 'sed on Makefile.in failed'
+
+ # configure.in in package is actually valid configure.ac
+ mv configure.in configure.ac || die
+
+ eapply_user
+ eautoreconf
+}
+
+src_install() {
+ dobin bgpq3
+ doman bgpq3.8
+ dodoc CHANGES
+ dohtml *.html
+}