[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/files/, net-misc/quagga/, profiles/, ...

2021-12-22 Thread Jakov Smolić
commit: a0b4caeebfee75547a7525cbe8c3a112402ed395
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Dec 22 11:19:51 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Dec 22 11:23:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0b4caee

net-misc/quagga: treeclean

Bug: https://bugs.gentoo.org/825358
Signed-off-by: Jakov Smolić  gentoo.org>

 net-misc/quagga/Manifest   |   2 -
 .../files/quagga-0.99.22.4-ipctl-forwarding.patch  |  22 
 net-misc/quagga/files/quagga-services.init.3   |  43 ---
 net-misc/quagga/files/quagga.pam   |  26 
 net-misc/quagga/files/systemd/bgpd.service |  16 ---
 net-misc/quagga/files/systemd/isisd.service|  16 ---
 net-misc/quagga/files/systemd/nhrpd.service|  16 ---
 net-misc/quagga/files/systemd/ospf6d.service   |  16 ---
 net-misc/quagga/files/systemd/ospfd.service|  16 ---
 net-misc/quagga/files/systemd/pimd.service |  17 ---
 net-misc/quagga/files/systemd/quagga.conf  |   1 -
 net-misc/quagga/files/systemd/ripd.service |  16 ---
 net-misc/quagga/files/systemd/ripngd.service   |  16 ---
 net-misc/quagga/files/systemd/zebra.service|  16 ---
 net-misc/quagga/metadata.xml   |  53 
 net-misc/quagga/quagga-1.2.4-r2.ebuild | 135 -
 profiles/package.mask  |   7 --
 17 files changed, 434 deletions(-)

diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
deleted file mode 100644
index 579eea17a844..
--- a/net-misc/quagga/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST ht-20040304-classless-bgp.patch 1581 BLAKE2B 
64df9a86c235c4f6d35be0f19fe1b056958ae2fa28bd2e9e8d9902e569a8f9a2925ba45396bb92e345bfcaf8ca1ef9136a433c615a5bd12a279e7c062939549a
 SHA512 
3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
-DIST quagga-1.2.4.tar.gz 2925847 BLAKE2B 
e0e8d8b8e2243bc5cecc2e66d26040780f839414a16fb8a719d25a6fe1c29dc8545a92700a3758100715e1efb3d874584903885af51ef9f5d88c4a02d02dbc74
 SHA512 
3e72440bcccfd3c1a449a62b7ff8623441256399a2bee0a39fa0a19694a5a78ac909c5c2128a24735bc034ea8b0811827293b480a2584a3a4c8ae36be9cf1fcd

diff --git a/net-misc/quagga/files/quagga-0.99.22.4-ipctl-forwarding.patch 
b/net-misc/quagga/files/quagga-0.99.22.4-ipctl-forwarding.patch
deleted file mode 100644
index f6b726b591f7..
--- a/net-misc/quagga/files/quagga-0.99.22.4-ipctl-forwarding.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Fix for missing definitions on some Hardened configurations
-Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=437292
-
-diff -Naur quagga-0.99.16.orig/zebra/ipforward_sysctl.c 
quagga-0.99.16/zebra/ipforward_sysctl.c
 quagga-0.99.16.orig/zebra/ipforward_sysctl.c   2010-03-11 
12:11:32.0 -0500
-+++ quagga-0.99.16/zebra/ipforward_sysctl.c2010-03-11 12:11:39.0 
-0500
-@@ -31,6 +31,15 @@
- 
- #define MIB_SIZ 4
- 
-+/* Fix for recent (2.6.14) kernel headers */
-+#ifndef IPCTL_FORWARDING
-+#define IPCTL_FORWARDING   NET_IPV4_FORWARD
-+#endif
-+
-+#ifndef IP6CTL_FORWARDING
-+#define IP6CTL_FORWARDING  NET_IPV6_FORWARDING
-+#endif
-+
- extern struct zebra_privs_t zserv_privs;
- 
- /* IPv4 forwarding control MIB. */

diff --git a/net-misc/quagga/files/quagga-services.init.3 
b/net-misc/quagga/files/quagga-services.init.3
deleted file mode 100644
index e613b26abb03..
--- a/net-misc/quagga/files/quagga-services.init.3
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-: ${CFGFILE:=/etc/quagga/${SVCNAME}.conf}
-
-pidfile=/run/quagga/${SVCNAME}.pid
-
-command=/usr/sbin/${SVCNAME}
-command_args="-d -f ${CFGFILE} ${EXTRA_OPTS} --pid_file ${pidfile}"
-
-get_service_config() {
-   [ -e "$CFGFILE" ] || return
-
-   awk '$1 == "'$1'" { s=$2 } END { print s }' "$CFGFILE"
-}
-
-depend() {
-   config "$CFGFILE"
-
-[ ${SVCNAME} = "zebra" ] && need net || need zebra
-
-   [ "$(get_service_config log)" = "syslog" ] && \
-   use logger
-}
-
-start_pre() {
-if [ ! -e "${CFGFILE}" ] ; then
-eerror "Before starting ${SVCNAME} you have to configure it, by 
creating"
-eerror "a ${CFGFILE} file."
-eerror ""
-eerror "A sample file has been installed in `echo 
/usr/share/doc/quagga-*/samples/${SVCNAME}.conf.sample*`"
-return 1
-fi
-
-   checkpath -d -m 0750 -o quagga:quagga /run/quagga
-
-   if [ ${SVCNAME} = "zebra" ]; then
-   ebegin "Cleaning up stale zebra routes..."
-   ip route flush proto zebra
-   eend $?
-   fi
-}

diff --git a/net-misc/quagga/files/quagga.pam b/net-misc/quagga/files/quagga.pam
deleted file mode 100644
index 9a91ad852fbd..
--- 

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2021-07-02 Thread Sam James
commit: f55c73099f3b6329305e283600ea0dbefcff188a
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul  2 07:35:29 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul  2 07:40:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f55c7309

net-misc/quagga: add missing libcrypt dependency

Fixes: 379cfec31b973d7cf46d4b21d93ecad840576cb7
Closes: https://bugs.gentoo.org/799734
Signed-off-by: Sam James  gentoo.org>

 net-misc/quagga/{quagga-1.2.4-r1.ebuild => quagga-1.2.4-r2.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-misc/quagga/quagga-1.2.4-r1.ebuild 
b/net-misc/quagga/quagga-1.2.4-r2.ebuild
similarity index 99%
rename from net-misc/quagga/quagga-1.2.4-r1.ebuild
rename to net-misc/quagga/quagga-1.2.4-r2.ebuild
index 912d503f3f8..a2be0d887b3 100644
--- a/net-misc/quagga/quagga-1.2.4-r1.ebuild
+++ b/net-misc/quagga/quagga-1.2.4-r2.ebuild
@@ -22,6 +22,7 @@ RESTRICT="!test? ( test )"
 COMMON_DEPEND="
acct-group/quagga
acct-user/quagga
+   virtual/libcrypt:=
caps? ( sys-libs/libcap )
nhrpd? ( net-dns/c-ares:0= )
protobuf? ( dev-libs/protobuf-c:0= )



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2020-03-08 Thread Sergey Popov
commit: f52c175afde0e0de825829deb76a381a5db54725
Author: Sergey Popov  gentoo  org>
AuthorDate: Sun Mar  8 16:35:46 2020 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Sun Mar  8 16:35:46 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f52c175a

net-misc/quagga: workaround for building with gcc-10

Closes: https://bugs.gentoo.org/707422
Signed-off-by: Sergey Popov  gentoo.org>
Package-Manager: Portage-2.3.89, Repoman-2.3.11

 net-misc/quagga/quagga-1.2.4.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.4.ebuild 
b/net-misc/quagga/quagga-1.2.4.ebuild
index 277218d6412..a3bf57e548c 100644
--- a/net-misc/quagga/quagga-1.2.4.ebuild
+++ b/net-misc/quagga/quagga-1.2.4.ebuild
@@ -61,7 +61,8 @@ src_prepare() {
 }
 
 src_configure() {
-   append-flags -fno-strict-aliasing
+   # -fcommon is added as a workaround for bug #707422
+   append-flags -fno-strict-aliasing -fcommon
 
# do not build PDF docs
export ac_cv_prog_PDFLATEX=no



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2020-03-08 Thread Sergey Popov
commit: f4caad0d2645b95df666aeb0b9b5061fd5e39b19
Author: Sergey Popov  gentoo  org>
AuthorDate: Sun Mar  8 16:28:47 2020 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Sun Mar  8 16:32:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4caad0d

net-misc/quagga: bump EAPI to 7

Migrate away from user and ltprune eclasses

Signed-off-by: Sergey Popov  gentoo.org>
Package-Manager: Portage-2.3.89, Repoman-2.3.11

 net-misc/quagga/quagga-1.2.4.ebuild | 13 +
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/net-misc/quagga/quagga-1.2.4.ebuild 
b/net-misc/quagga/quagga-1.2.4.ebuild
index 7ae80aba934..277218d6412 100644
--- a/net-misc/quagga/quagga-1.2.4.ebuild
+++ b/net-misc/quagga/quagga-1.2.4.ebuild
@@ -1,11 +1,11 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
 
-inherit autotools eutils flag-o-matic ltprune multilib pam readme.gentoo-r1 
systemd tmpfiles user
+inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
tmpfiles
 
 DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
 HOMEPAGE="https://www.quagga.net/;
@@ -20,6 +20,8 @@ IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath 
nhrpd ospfapi pam pro
 RESTRICT="!test? ( test )"
 
 COMMON_DEPEND="
+   acct-group/quagga
+   acct-user/quagga
caps? ( sys-libs/libcap )
nhrpd? ( net-dns/c-ares:0= )
protobuf? ( dev-libs/protobuf-c:0= )
@@ -48,11 +50,6 @@ starting one of the daemons.
 You can pass additional options to the daemon by setting the EXTRA_OPTS
 variable in their respective file in /etc/conf.d"
 
-pkg_setup() {
-   enewgroup quagga
-   enewuser quagga -1 -1 /var/empty quagga
-}
-
 src_prepare() {
# Classless prefixes for BGP
# http://hasso.linux.ee/doku.php/english:network:quagga
@@ -103,7 +100,7 @@ src_configure() {
 
 src_install() {
default
-   prune_libtool_files
+   find "${D}" -name '*.la' -delete || die
readme.gentoo_create_doc
 
keepdir /etc/quagga



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2018-05-17 Thread Sergey Popov
commit: 19f38546623b94e5c0c9bfe10ab1608c131f9379
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu May 17 10:49:38 2018 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu May 17 10:49:38 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19f38546

net-misc/quagga: set https in HOMEPAGE url

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 net-misc/quagga/quagga-1.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.4.ebuild 
b/net-misc/quagga/quagga-1.2.4.ebuild
index 3a3e8df2695..bac79f4ac54 100644
--- a/net-misc/quagga/quagga-1.2.4.ebuild
+++ b/net-misc/quagga/quagga-1.2.4.ebuild
@@ -8,7 +8,7 @@ CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
 inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
tmpfiles user
 
 DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
-HOMEPAGE="http://quagga.net/;
+HOMEPAGE="https://www.quagga.net/;
 SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/files/

2018-04-23 Thread Sergey Popov
commit: 45e3ea14ddb43856f2a18a0950df03b3d6042504
Author: Sergey Popov  gentoo  org>
AuthorDate: Mon Apr 23 08:47:35 2018 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Mon Apr 23 08:47:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45e3ea14

net-misc/quagga: drop obsolete patches

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 net-misc/quagga/files/quagga-1.2.2-ipv6-bgp.patch  | 42 --
 .../quagga/files/quagga-1.2.2-sparc-tests.patch| 31 
 2 files changed, 73 deletions(-)

diff --git a/net-misc/quagga/files/quagga-1.2.2-ipv6-bgp.patch 
b/net-misc/quagga/files/quagga-1.2.2-ipv6-bgp.patch
deleted file mode 100644
index 0ee5f322f76..000
--- a/net-misc/quagga/files/quagga-1.2.2-ipv6-bgp.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-commit 1db1b9baea511995b67a9b282d5c97e87479fe5d
-Author: Mathieu Jadin 
-Date:   Thu Dec 14 17:53:53 2017 +0100
-
-bgpd: Fix mistake in NHT of connected IPv6 next-hops preventing route 
advertisement
-
-Since quagga-1.2.0, the Next Hop validation for directly connected peers
-using IPv6 does not work.
-
-In this setup, BGP updates contain two next hops: a global IPv6 address and
-a link-local IPv6 address (a correct behavior according to RFC 2545).  This
-means that the length of the next hop attribute is 32 and not 16.
-
-The problem comes from the function "make_prefix()" in "bgpd/bgp_nht.c".  
It
-refuses to build a prefix structure for a route when the length of the
-[Anext hop attribute is different from 16, even if a valid global IPv6
-address is available.
-
-The route is mistakenly considered invalid and thus, it is not installed in
-the routing table.
-
-Details: "make_prefix()" was not modified in quagga-1.2.0 but its
-interpretation was changed in commit
-3dda6b3eccb9a2a88d607372c83c04c796e7daac.  Before this commit, the failure
-of "make_prefix()" was interpreted as a successful validation of the next
-hop.
-
-diff --git a/bgpd/bgp_nht.c b/bgpd/bgp_nht.c
-index 1158ab15..d734c201 100644
 a/bgpd/bgp_nht.c
-+++ b/bgpd/bgp_nht.c
-@@ -409,8 +409,8 @@ make_prefix (int afi, struct bgp_info *ri, struct prefix 
*p)
-   break;
- #ifdef HAVE_IPV6
- case AFI_IP6:
--  if (ri->attr->extra->mp_nexthop_len != 16
--|| IN6_IS_ADDR_LINKLOCAL (>attr->extra->mp_nexthop_global))
-+  if (ri->attr->extra->mp_nexthop_len == 16
-+&& IN6_IS_ADDR_LINKLOCAL (>attr->extra->mp_nexthop_global))
-   return -1;
- 
-   p->family = AF_INET6;

diff --git a/net-misc/quagga/files/quagga-1.2.2-sparc-tests.patch 
b/net-misc/quagga/files/quagga-1.2.2-sparc-tests.patch
deleted file mode 100644
index 054d15f0355..000
--- a/net-misc/quagga/files/quagga-1.2.2-sparc-tests.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-commit adda534f95ec87206c9dfd1b3bae05221dc29730
-Author: Rolf Eike Beer 
-Date:   Mon Dec 4 18:36:21 2017 +0100
-
-bgpd: fix SIGBUS
-
-There is one test failure in the testsuite on sparc:
-
-Running ./bgpd.tests/testbgpcap.exp ...
-failed: testbgpcap ORF: ORF, simple, single entry, single tuple -- 
testbgpcap  aborted!
-
-The error is a SIGBUS in bgp_capability_mp_data() because of an unaligned
-memory access.  Use memcpy() instead of direct assignments.  Compilers on
-platforms that support unaligned accesses should be clever enough to
-optimize the function call away and do the direct store, so this should not
-hurt there.
-
-diff --git a/bgpd/bgp_open.c b/bgpd/bgp_open.c
-index 28004230..d9ec4bef 100644
 a/bgpd/bgp_open.c
-+++ b/bgpd/bgp_open.c
-@@ -120,7 +120,8 @@ bgp_capability_vty_out (struct vty *vty, struct peer *peer)
- static void 
- bgp_capability_mp_data (struct stream *s, struct capability_mp_data *mpc)
- {
--  mpc->afi = stream_getw (s);
-+  afi_t afi = stream_getw (s);
-+  memcpy(>afi, , sizeof(mpc->afi));
-   mpc->reserved = stream_getc (s);
-   mpc->safi = stream_getc (s);
- }



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2018-04-22 Thread Aaron Bauman
commit: 264c137aa5f3f00f24a54b8a19fbe79a5dea9472
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Apr 22 22:39:44 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Apr 22 22:40:14 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=264c137a

net-misc/quagga: drop vulnerable

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 net-misc/quagga/Manifest   |   1 -
 net-misc/quagga/quagga-1.2.2-r1.ebuild | 137 -
 net-misc/quagga/quagga-1.2.2.ebuild| 135 
 3 files changed, 273 deletions(-)

diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
index ba7b0e59f6f..579eea17a84 100644
--- a/net-misc/quagga/Manifest
+++ b/net-misc/quagga/Manifest
@@ -1,3 +1,2 @@
 DIST ht-20040304-classless-bgp.patch 1581 BLAKE2B 
64df9a86c235c4f6d35be0f19fe1b056958ae2fa28bd2e9e8d9902e569a8f9a2925ba45396bb92e345bfcaf8ca1ef9136a433c615a5bd12a279e7c062939549a
 SHA512 
3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
-DIST quagga-1.2.2.tar.gz 2986142 BLAKE2B 
2c2326e015ed4ce7364a960b56108bbd04c184b7cd78dca0cac528cd2869e65e6efbd40c303ce2b6eb29eed809e8b384baa36329b365ae6799a5b25fa21daa4c
 SHA512 
861f6524bcdc01d1a895762bf1904744c12ae4dfc7c3583ecb7e55b3978c98187bde76df0ff85093c744139be9d5cf324fec75b5ba86cf1fdbce70d923710d14
 DIST quagga-1.2.4.tar.gz 2925847 BLAKE2B 
e0e8d8b8e2243bc5cecc2e66d26040780f839414a16fb8a719d25a6fe1c29dc8545a92700a3758100715e1efb3d874584903885af51ef9f5d88c4a02d02dbc74
 SHA512 
3e72440bcccfd3c1a449a62b7ff8623441256399a2bee0a39fa0a19694a5a78ac909c5c2128a24735bc034ea8b0811827293b480a2584a3a4c8ae36be9cf1fcd

diff --git a/net-misc/quagga/quagga-1.2.2-r1.ebuild 
b/net-misc/quagga/quagga-1.2.2-r1.ebuild
deleted file mode 100644
index bd76db0cc7e..000
--- a/net-misc/quagga/quagga-1.2.2-r1.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
-
-inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
tmpfiles user
-
-DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
-HOMEPAGE="http://quagga.net/;
-SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
-   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 sparc ~x86"
-
-IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra test"
-
-COMMON_DEPEND="
-   caps? ( sys-libs/libcap )
-   nhrpd? ( net-dns/c-ares:0= )
-   protobuf? ( dev-libs/protobuf-c:0= )
-   readline? (
-   sys-libs/readline:0=
-   pam? ( sys-libs/pam )
-   )
-   snmp? ( net-analyzer/net-snmp )
-   !elibc_glibc? ( dev-libs/libpcre )"
-DEPEND="${COMMON_DEPEND}
-   sys-apps/gawk
-   sys-devel/libtool:2
-   test? ( dev-util/dejagnu )"
-RDEPEND="${COMMON_DEPEND}
-   sys-apps/iproute2"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
-   "${FILESDIR}/${P}-ipv6-bgp.patch"
-   "${FILESDIR}/${P}-sparc-tests.patch"
-)
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
-You have to create config files in /etc/quagga before
-starting one of the daemons.
-
-You can pass additional options to the daemon by setting the EXTRA_OPTS
-variable in their respective file in /etc/conf.d"
-
-pkg_setup() {
-   enewgroup quagga
-   enewuser quagga -1 -1 /var/empty quagga
-}
-
-src_prepare() {
-   # Classless prefixes for BGP
-   # http://hasso.linux.ee/doku.php/english:network:quagga
-   use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
-
-   eapply "${PATCHES[@]}"
-   eapply_user
-   eautoreconf
-}
-
-src_configure() {
-   append-flags -fno-strict-aliasing
-
-   # do not build PDF docs
-   export ac_cv_prog_PDFLATEX=no
-   export ac_cv_prog_LATEXMK=no
-
-   econf \
-   --enable-exampledir=/usr/share/doc/${PF}/samples \
-   --enable-irdp \
-   --enable-isisd \
-   --enable-isis-topology \
-   --enable-pimd \
-   --enable-user=quagga \
-   --enable-group=quagga \
-   --enable-vty-group=quagga \
-   --with-cflags="${CFLAGS}" \
-   --with-pkg-extra-version="-gentoo" \
-   --sysconfdir=/etc/quagga \
-   --localstatedir=/run/quagga \
-   --disable-static \
-   $(use_enable caps capabilities) \
-   $(usex snmp '--enable-snmp' '' '' '') \
-   $(use_enable !elibc_glibc pcreposix) \
-   $(use_enable fpm) \
-   

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2018-04-20 Thread Sergei Trofimovich
commit: 5ad20b92a458e8c7d8dd5a48a9e23eec7b07faff
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Apr 20 06:56:32 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Apr 20 06:56:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ad20b92

net-misc/quagga: stable 1.2.4 for ppc, bug #647788

Bug: https://bugs.gentoo.org/647788
Package-Manager: Portage-2.3.28, Repoman-2.3.9
RepoMan-Options: --include-arches="ppc"

 net-misc/quagga/quagga-1.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.4.ebuild 
b/net-misc/quagga/quagga-1.2.4.ebuild
index b3e5d12ea48..3a3e8df2695 100644
--- a/net-misc/quagga/quagga-1.2.4.ebuild
+++ b/net-misc/quagga/quagga-1.2.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ppc ~s390 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ppc ~s390 sparc x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra test"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2018-03-06 Thread Markus Meier
commit: 1108531c6e6e5d73137cce07e9a0c1b238e5e899
Author: Markus Meier  gentoo  org>
AuthorDate: Tue Mar  6 19:39:10 2018 +
Commit: Markus Meier  gentoo  org>
CommitDate: Tue Mar  6 19:39:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1108531c

net-misc/quagga: arm stable, bug #647788

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="arm"

 net-misc/quagga/quagga-1.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.4.ebuild 
b/net-misc/quagga/quagga-1.2.4.ebuild
index ce2b7eda17f..b3e5d12ea48 100644
--- a/net-misc/quagga/quagga-1.2.4.ebuild
+++ b/net-misc/quagga/quagga-1.2.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ~ppc ~s390 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ~ppc ~s390 sparc x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra test"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2018-03-05 Thread Tobias Klausmann
commit: b4bd445bbe06d19dee7b43de1357519553f6edc5
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Mon Mar  5 12:31:42 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Mon Mar  5 13:57:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4bd445b

net-misc/quagga-1.2.4-r0: alpha stable

Gentoo-Bug: http://bugs.gentoo.org/647788

 net-misc/quagga/quagga-1.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.4.ebuild 
b/net-misc/quagga/quagga-1.2.4.ebuild
index 550025ce130..ce2b7eda17f 100644
--- a/net-misc/quagga/quagga-1.2.4.ebuild
+++ b/net-misc/quagga/quagga-1.2.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~s390 sparc x86"
+KEYWORDS="alpha amd64 ~arm hppa ~ppc ~s390 sparc x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra test"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2018-02-25 Thread Sergei Trofimovich
commit: 8c81fa5bdbc9989c2fb131714130de9f1d8beb50
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Feb 26 07:17:04 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Feb 26 07:17:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c81fa5b

net-misc/quagga: stable 1.2.4 for hppa, bug #647788

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="hppa"

 net-misc/quagga/quagga-1.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.4.ebuild 
b/net-misc/quagga/quagga-1.2.4.ebuild
index f3cf905e3fc..550025ce130 100644
--- a/net-misc/quagga/quagga-1.2.4.ebuild
+++ b/net-misc/quagga/quagga-1.2.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~s390 sparc x86"
+KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~s390 sparc x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra test"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2018-02-23 Thread Sergei Trofimovich
commit: 301bc5994e8d45b27b11d6f9e86b15b43773b9af
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Feb 23 07:57:23 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Feb 23 10:15:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=301bc599

net-misc/quagga: stable 1.2.4 for sparc, bug #647788

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 net-misc/quagga/quagga-1.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.4.ebuild 
b/net-misc/quagga/quagga-1.2.4.ebuild
index 97edf2cd7c4..f3cf905e3fc 100644
--- a/net-misc/quagga/quagga-1.2.4.ebuild
+++ b/net-misc/quagga/quagga-1.2.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~s390 sparc x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra test"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2018-02-20 Thread Thomas Deutschmann
commit: dc6e9fadcd4c71d33f3bbb87d40898001f542705
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Feb 21 02:58:24 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Feb 21 02:58:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc6e9fad

net-misc/quagga: x86 stable (bug #647788)

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-misc/quagga/quagga-1.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.4.ebuild 
b/net-misc/quagga/quagga-1.2.4.ebuild
index eb16f21271d..0f7b4cfe7a0 100644
--- a/net-misc/quagga/quagga-1.2.4.ebuild
+++ b/net-misc/quagga/quagga-1.2.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra test"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2018-02-20 Thread Sergey Popov
commit: 1f64762ca074542f9da3dc71e84b0d68c75dca06
Author: Sergey Popov  gentoo  org>
AuthorDate: Tue Feb 20 11:24:22 2018 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Tue Feb 20 11:24:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f64762c

net-misc/quagga: version bump

Gentoo-Bug: 647788
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-misc/quagga/Manifest|   1 +
 net-misc/quagga/quagga-1.2.4.ebuild | 135 
 2 files changed, 136 insertions(+)

diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
index b36c365ebb4..ba7b0e59f6f 100644
--- a/net-misc/quagga/Manifest
+++ b/net-misc/quagga/Manifest
@@ -1,2 +1,3 @@
 DIST ht-20040304-classless-bgp.patch 1581 BLAKE2B 
64df9a86c235c4f6d35be0f19fe1b056958ae2fa28bd2e9e8d9902e569a8f9a2925ba45396bb92e345bfcaf8ca1ef9136a433c615a5bd12a279e7c062939549a
 SHA512 
3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
 DIST quagga-1.2.2.tar.gz 2986142 BLAKE2B 
2c2326e015ed4ce7364a960b56108bbd04c184b7cd78dca0cac528cd2869e65e6efbd40c303ce2b6eb29eed809e8b384baa36329b365ae6799a5b25fa21daa4c
 SHA512 
861f6524bcdc01d1a895762bf1904744c12ae4dfc7c3583ecb7e55b3978c98187bde76df0ff85093c744139be9d5cf324fec75b5ba86cf1fdbce70d923710d14
+DIST quagga-1.2.4.tar.gz 2925847 BLAKE2B 
e0e8d8b8e2243bc5cecc2e66d26040780f839414a16fb8a719d25a6fe1c29dc8545a92700a3758100715e1efb3d874584903885af51ef9f5d88c4a02d02dbc74
 SHA512 
3e72440bcccfd3c1a449a62b7ff8623441256399a2bee0a39fa0a19694a5a78ac909c5c2128a24735bc034ea8b0811827293b480a2584a3a4c8ae36be9cf1fcd

diff --git a/net-misc/quagga/quagga-1.2.4.ebuild 
b/net-misc/quagga/quagga-1.2.4.ebuild
new file mode 100644
index 000..eb16f21271d
--- /dev/null
+++ b/net-misc/quagga/quagga-1.2.4.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
+
+inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
tmpfiles user
+
+DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
+HOMEPAGE="http://quagga.net/;
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
+   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+
+IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra test"
+
+COMMON_DEPEND="
+   caps? ( sys-libs/libcap )
+   nhrpd? ( net-dns/c-ares:0= )
+   protobuf? ( dev-libs/protobuf-c:0= )
+   readline? (
+   sys-libs/readline:0=
+   pam? ( sys-libs/pam )
+   )
+   snmp? ( net-analyzer/net-snmp )
+   !elibc_glibc? ( dev-libs/libpcre )"
+DEPEND="${COMMON_DEPEND}
+   sys-apps/gawk
+   sys-devel/libtool:2
+   test? ( dev-util/dejagnu )"
+RDEPEND="${COMMON_DEPEND}
+   sys-apps/iproute2"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
+)
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
+You have to create config files in /etc/quagga before
+starting one of the daemons.
+
+You can pass additional options to the daemon by setting the EXTRA_OPTS
+variable in their respective file in /etc/conf.d"
+
+pkg_setup() {
+   enewgroup quagga
+   enewuser quagga -1 -1 /var/empty quagga
+}
+
+src_prepare() {
+   # Classless prefixes for BGP
+   # http://hasso.linux.ee/doku.php/english:network:quagga
+   use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
+
+   eapply "${PATCHES[@]}"
+   eapply_user
+   eautoreconf
+}
+
+src_configure() {
+   append-flags -fno-strict-aliasing
+
+   # do not build PDF docs
+   export ac_cv_prog_PDFLATEX=no
+   export ac_cv_prog_LATEXMK=no
+
+   econf \
+   --enable-exampledir=/usr/share/doc/${PF}/samples \
+   --enable-irdp \
+   --enable-isisd \
+   --enable-isis-topology \
+   --enable-pimd \
+   --enable-user=quagga \
+   --enable-group=quagga \
+   --enable-vty-group=quagga \
+   --with-cflags="${CFLAGS}" \
+   --with-pkg-extra-version="-gentoo" \
+   --sysconfdir=/etc/quagga \
+   --localstatedir=/run/quagga \
+   --disable-static \
+   $(use_enable caps capabilities) \
+   $(usex snmp '--enable-snmp' '' '' '') \
+   $(use_enable !elibc_glibc pcreposix) \
+   $(use_enable fpm) \
+   $(use_enable tcp-zebra) \
+   $(use_enable doc) \
+   $(usex multipath $(use_enable multipath) '' '=0' '') \
+   $(usex ospfapi 

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2018-02-20 Thread Sergey Popov
commit: 0d36fe30b3aeb58a30f2e9ce1c40bc0c534584fe
Author: Sergey Popov  gentoo  org>
AuthorDate: Tue Feb 20 11:20:04 2018 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Tue Feb 20 11:20:40 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d36fe30

net-misc/quagga: stable on ppc

Gentoo-Bug: 635858
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-misc/quagga/quagga-1.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.2.ebuild 
b/net-misc/quagga/quagga-1.2.2.ebuild
index 441faaf584b..f4e67c35843 100644
--- a/net-misc/quagga/quagga-1.2.2.ebuild
+++ b/net-misc/quagga/quagga-1.2.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ppc ~s390 ~sparc x86"
+KEYWORDS="alpha amd64 arm hppa ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra test"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2018-02-20 Thread Sergey Popov
commit: 9bca5f00be15d0444ad0c86c61408b82dd2c254b
Author: Sergey Popov  gentoo  org>
AuthorDate: Tue Feb 20 11:21:55 2018 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Tue Feb 20 11:21:55 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bca5f00

net-misc/quagga: drop old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-misc/quagga/Manifest|   1 -
 net-misc/quagga/quagga-1.2.1.ebuild | 134 
 2 files changed, 135 deletions(-)

diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
index 45688b19e26..b36c365ebb4 100644
--- a/net-misc/quagga/Manifest
+++ b/net-misc/quagga/Manifest
@@ -1,3 +1,2 @@
 DIST ht-20040304-classless-bgp.patch 1581 BLAKE2B 
64df9a86c235c4f6d35be0f19fe1b056958ae2fa28bd2e9e8d9902e569a8f9a2925ba45396bb92e345bfcaf8ca1ef9136a433c615a5bd12a279e7c062939549a
 SHA512 
3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
-DIST quagga-1.2.1.tar.gz 2922514 BLAKE2B 
ab0a59c1162bb4ac8ba3a75c015a433e2022bc35cd2a4678dbc7c80510f8c687d944b5e2bac03e9d3362bdb20badb2c17228dfd4172eebc6c87b24b2be2276e4
 SHA512 
ab7693ccb0cfa0f9ed90cc2b626dcd27aa6cc52e626646a2a37914a01f4b38dd80bf8d0e35d8a6a113718e82024203dbc3704c017f7c5c07bcdc2fe0109e89eb
 DIST quagga-1.2.2.tar.gz 2986142 BLAKE2B 
2c2326e015ed4ce7364a960b56108bbd04c184b7cd78dca0cac528cd2869e65e6efbd40c303ce2b6eb29eed809e8b384baa36329b365ae6799a5b25fa21daa4c
 SHA512 
861f6524bcdc01d1a895762bf1904744c12ae4dfc7c3583ecb7e55b3978c98187bde76df0ff85093c744139be9d5cf324fec75b5ba86cf1fdbce70d923710d14

diff --git a/net-misc/quagga/quagga-1.2.1.ebuild 
b/net-misc/quagga/quagga-1.2.1.ebuild
deleted file mode 100644
index 95640cd0305..000
--- a/net-misc/quagga/quagga-1.2.1.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
-
-inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
tmpfiles user
-
-DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
-HOMEPAGE="http://quagga.net/;
-SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
-   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ~s390 ~sparc x86"
-
-IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra"
-
-COMMON_DEPEND="
-   caps? ( sys-libs/libcap )
-   nhrpd? ( net-dns/c-ares:0= )
-   protobuf? ( dev-libs/protobuf-c:0= )
-   readline? (
-   sys-libs/readline:0=
-   pam? ( sys-libs/pam )
-   )
-   snmp? ( net-analyzer/net-snmp )
-   !elibc_glibc? ( dev-libs/libpcre )"
-DEPEND="${COMMON_DEPEND}
-   sys-apps/gawk
-   sys-devel/libtool:2"
-RDEPEND="${COMMON_DEPEND}
-   sys-apps/iproute2"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
-)
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
-You have to create config files in /etc/quagga before
-starting one of the daemons.
-
-You can pass additional options to the daemon by setting the EXTRA_OPTS
-variable in their respective file in /etc/conf.d"
-
-pkg_setup() {
-   enewgroup quagga
-   enewuser quagga -1 -1 /var/empty quagga
-}
-
-src_prepare() {
-   # Classless prefixes for BGP
-   # http://hasso.linux.ee/doku.php/english:network:quagga
-   use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
-
-   eapply "${PATCHES[@]}"
-   eapply_user
-   eautoreconf
-}
-
-src_configure() {
-   append-flags -fno-strict-aliasing
-
-   # do not build PDF docs
-   export ac_cv_prog_PDFLATEX=no
-   export ac_cv_prog_LATEXMK=no
-
-   econf \
-   --enable-exampledir=/usr/share/doc/${PF}/samples \
-   --enable-irdp \
-   --enable-isisd \
-   --enable-isis-topology \
-   --enable-pimd \
-   --enable-user=quagga \
-   --enable-group=quagga \
-   --enable-vty-group=quagga \
-   --with-cflags="${CFLAGS}" \
-   --with-pkg-extra-version="-gentoo" \
-   --sysconfdir=/etc/quagga \
-   --localstatedir=/run/quagga \
-   --disable-static \
-   $(use_enable caps capabilities) \
-   $(usex snmp '--enable-snmp' '' '' '') \
-   $(use_enable !elibc_glibc pcreposix) \
-   $(use_enable fpm) \
-   $(use_enable tcp-zebra) \
-   $(use_enable doc) \
-   $(usex multipath $(use_enable multipath) '' '=0' '') \
-   $(usex ospfapi '--enable-opaque-lsa --enable-ospf-te 
--enable-ospfclient' '' '' '') \

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2018-01-28 Thread Tobias Klausmann
commit: f227efffb687c8df25895de96206afea3591a3df
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sun Jan 28 17:03:19 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sun Jan 28 18:23:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f227efff

net-misc/quagga-1.2.2-r0: alpha stable

Gentoo-Bug: http://bugs.gentoo.org/635858

 net-misc/quagga/quagga-1.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.2.ebuild 
b/net-misc/quagga/quagga-1.2.2.ebuild
index 9832536b3f5..441faaf584b 100644
--- a/net-misc/quagga/quagga-1.2.2.ebuild
+++ b/net-misc/quagga/quagga-1.2.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ~ppc ~s390 ~sparc x86"
+KEYWORDS="alpha amd64 arm hppa ~ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra test"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2018-01-27 Thread Sergei Trofimovich
commit: 1b0ba8e0f21f68a43ea2401884e9b03b52cdbe29
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Jan 27 22:28:17 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Jan 27 22:31:20 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b0ba8e0

net-misc/quagga: stable 1.2.2-r1 for sparc, bug #635858

Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="sparc"

 net-misc/quagga/quagga-1.2.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.2-r1.ebuild 
b/net-misc/quagga/quagga-1.2.2-r1.ebuild
index 5e0fc3e952d..bd76db0cc7e 100644
--- a/net-misc/quagga/quagga-1.2.2-r1.ebuild
+++ b/net-misc/quagga/quagga-1.2.2-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 sparc ~x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra test"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/files/, net-misc/quagga/

2018-01-25 Thread Sergey Popov
commit: ab71ee7a03166f69b15849ab336ed5056aa0b8d0
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Jan 25 16:03:14 2018 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Jan 25 16:03:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab71ee7a

net-misc/quagga: revision bump

Backport fixes for test failures on sparc and incorrect ipv6 route handling

Closes: https://bugs.gentoo.org/638906
Closes: https://bugs.gentoo.org/641736

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-misc/quagga/files/quagga-1.2.2-ipv6-bgp.patch  |  42 +++
 .../quagga/files/quagga-1.2.2-sparc-tests.patch|  31 +
 net-misc/quagga/quagga-1.2.2-r1.ebuild | 137 +
 3 files changed, 210 insertions(+)

diff --git a/net-misc/quagga/files/quagga-1.2.2-ipv6-bgp.patch 
b/net-misc/quagga/files/quagga-1.2.2-ipv6-bgp.patch
new file mode 100644
index 000..0ee5f322f76
--- /dev/null
+++ b/net-misc/quagga/files/quagga-1.2.2-ipv6-bgp.patch
@@ -0,0 +1,42 @@
+commit 1db1b9baea511995b67a9b282d5c97e87479fe5d
+Author: Mathieu Jadin 
+Date:   Thu Dec 14 17:53:53 2017 +0100
+
+bgpd: Fix mistake in NHT of connected IPv6 next-hops preventing route 
advertisement
+
+Since quagga-1.2.0, the Next Hop validation for directly connected peers
+using IPv6 does not work.
+
+In this setup, BGP updates contain two next hops: a global IPv6 address and
+a link-local IPv6 address (a correct behavior according to RFC 2545).  This
+means that the length of the next hop attribute is 32 and not 16.
+
+The problem comes from the function "make_prefix()" in "bgpd/bgp_nht.c".  
It
+refuses to build a prefix structure for a route when the length of the
+[Anext hop attribute is different from 16, even if a valid global IPv6
+address is available.
+
+The route is mistakenly considered invalid and thus, it is not installed in
+the routing table.
+
+Details: "make_prefix()" was not modified in quagga-1.2.0 but its
+interpretation was changed in commit
+3dda6b3eccb9a2a88d607372c83c04c796e7daac.  Before this commit, the failure
+of "make_prefix()" was interpreted as a successful validation of the next
+hop.
+
+diff --git a/bgpd/bgp_nht.c b/bgpd/bgp_nht.c
+index 1158ab15..d734c201 100644
+--- a/bgpd/bgp_nht.c
 b/bgpd/bgp_nht.c
+@@ -409,8 +409,8 @@ make_prefix (int afi, struct bgp_info *ri, struct prefix 
*p)
+   break;
+ #ifdef HAVE_IPV6
+ case AFI_IP6:
+-  if (ri->attr->extra->mp_nexthop_len != 16
+-|| IN6_IS_ADDR_LINKLOCAL (>attr->extra->mp_nexthop_global))
++  if (ri->attr->extra->mp_nexthop_len == 16
++&& IN6_IS_ADDR_LINKLOCAL (>attr->extra->mp_nexthop_global))
+   return -1;
+ 
+   p->family = AF_INET6;

diff --git a/net-misc/quagga/files/quagga-1.2.2-sparc-tests.patch 
b/net-misc/quagga/files/quagga-1.2.2-sparc-tests.patch
new file mode 100644
index 000..054d15f0355
--- /dev/null
+++ b/net-misc/quagga/files/quagga-1.2.2-sparc-tests.patch
@@ -0,0 +1,31 @@
+commit adda534f95ec87206c9dfd1b3bae05221dc29730
+Author: Rolf Eike Beer 
+Date:   Mon Dec 4 18:36:21 2017 +0100
+
+bgpd: fix SIGBUS
+
+There is one test failure in the testsuite on sparc:
+
+Running ./bgpd.tests/testbgpcap.exp ...
+failed: testbgpcap ORF: ORF, simple, single entry, single tuple -- 
testbgpcap  aborted!
+
+The error is a SIGBUS in bgp_capability_mp_data() because of an unaligned
+memory access.  Use memcpy() instead of direct assignments.  Compilers on
+platforms that support unaligned accesses should be clever enough to
+optimize the function call away and do the direct store, so this should not
+hurt there.
+
+diff --git a/bgpd/bgp_open.c b/bgpd/bgp_open.c
+index 28004230..d9ec4bef 100644
+--- a/bgpd/bgp_open.c
 b/bgpd/bgp_open.c
+@@ -120,7 +120,8 @@ bgp_capability_vty_out (struct vty *vty, struct peer *peer)
+ static void 
+ bgp_capability_mp_data (struct stream *s, struct capability_mp_data *mpc)
+ {
+-  mpc->afi = stream_getw (s);
++  afi_t afi = stream_getw (s);
++  memcpy(>afi, , sizeof(mpc->afi));
+   mpc->reserved = stream_getc (s);
+   mpc->safi = stream_getc (s);
+ }

diff --git a/net-misc/quagga/quagga-1.2.2-r1.ebuild 
b/net-misc/quagga/quagga-1.2.2-r1.ebuild
new file mode 100644
index 000..5e0fc3e952d
--- /dev/null
+++ b/net-misc/quagga/quagga-1.2.2-r1.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
+
+inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
tmpfiles user
+
+DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
+HOMEPAGE="http://quagga.net/;
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
+   bgpclassless? ( 

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2018-01-09 Thread Sergey Popov
commit: 6bd3a7f974f49261e1f2bd675d17a05055c0b3a5
Author: Sergey Popov  gentoo  org>
AuthorDate: Tue Jan  9 14:55:50 2018 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Tue Jan  9 14:56:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bd3a7f9

net-misc/quagga: add missing test dependency on dev-util/dejagnu

Reported-by: Rolf Eike Beer  opensource.sf-tec.de>
Closes: https://bugs.gentoo.org/639790

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-misc/quagga/quagga-1.2.2.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-misc/quagga/quagga-1.2.2.ebuild 
b/net-misc/quagga/quagga-1.2.2.ebuild
index 850189d108a..9832536b3f5 100644
--- a/net-misc/quagga/quagga-1.2.2.ebuild
+++ b/net-misc/quagga/quagga-1.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -16,7 +16,7 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm hppa ~ppc ~s390 ~sparc x86"
 
-IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra"
+IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra test"
 
 COMMON_DEPEND="
caps? ( sys-libs/libcap )
@@ -30,7 +30,8 @@ COMMON_DEPEND="
!elibc_glibc? ( dev-libs/libpcre )"
 DEPEND="${COMMON_DEPEND}
sys-apps/gawk
-   sys-devel/libtool:2"
+   sys-devel/libtool:2
+   test? ( dev-util/dejagnu )"
 RDEPEND="${COMMON_DEPEND}
sys-apps/iproute2"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-12-12 Thread Markus Meier
commit: f897412e00d5d777514b87db5612624dc084baeb
Author: Markus Meier  gentoo  org>
AuthorDate: Tue Dec 12 18:39:03 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Tue Dec 12 18:39:17 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f897412e

net-misc/quagga: arm stable, bug #635858

Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --include-arches="arm"

 net-misc/quagga/quagga-1.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.2.ebuild 
b/net-misc/quagga/quagga-1.2.2.ebuild
index 930fded18e7..850189d108a 100644
--- a/net-misc/quagga/quagga-1.2.2.ebuild
+++ b/net-misc/quagga/quagga-1.2.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm hppa ~ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-12-04 Thread Sergei Trofimovich
commit: db3c31ce4cdedc76f93d23ce5d65447f5eccdcce
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Dec  4 22:06:14 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Dec  4 22:07:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db3c31ce

net-misc/quagga: stable 1.2.2 for hppa, bug #635858 (thanks to Rolf Eike Beer)

Package-Manager: Portage-2.3.16, Repoman-2.3.6
RepoMan-Options: --include-arches="hppa"

 net-misc/quagga/quagga-1.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.2.ebuild 
b/net-misc/quagga/quagga-1.2.2.ebuild
index db05f052575..930fded18e7 100644
--- a/net-misc/quagga/quagga-1.2.2.ebuild
+++ b/net-misc/quagga/quagga-1.2.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-12-01 Thread Agostino Sarubbo
commit: 335bc6c01f3ab33fafe587fab99920cb4ec662c9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Dec  1 11:19:51 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Dec  1 11:19:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=335bc6c0

net-misc/quagga: amd64 stable wrt bug #635858

Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/quagga/quagga-1.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.2.ebuild 
b/net-misc/quagga/quagga-1.2.2.ebuild
index 0b061a38a75..db05f052575 100644
--- a/net-misc/quagga/quagga-1.2.2.ebuild
+++ b/net-misc/quagga/quagga-1.2.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-11-30 Thread Sergey Popov
commit: 521d210490bc69aaa5dedb13d25268b6335b4283
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Nov 30 10:21:29 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Nov 30 10:21:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=521d2104

net-misc/quagga: drop old versions

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 net-misc/quagga/Manifest   |   2 -
 net-misc/quagga/quagga-1.1.1.ebuild| 133 
 net-misc/quagga/quagga-1.2.0-r2.ebuild | 136 -
 3 files changed, 271 deletions(-)

diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
index fcd879417b3..45688b19e26 100644
--- a/net-misc/quagga/Manifest
+++ b/net-misc/quagga/Manifest
@@ -1,5 +1,3 @@
 DIST ht-20040304-classless-bgp.patch 1581 BLAKE2B 
64df9a86c235c4f6d35be0f19fe1b056958ae2fa28bd2e9e8d9902e569a8f9a2925ba45396bb92e345bfcaf8ca1ef9136a433c615a5bd12a279e7c062939549a
 SHA512 
3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
-DIST quagga-1.1.1.tar.gz 2871705 BLAKE2B 
e5c4cfe865b7fffa27ee1c377210bc28cea1ecc8151378099a5aeedd98a87b4705e5d698867fe39326c991e8c0b0cbb76c90fd7e252ee2e5fcb04e03e7cd9f02
 SHA512 
51eb64ada07b42c663705cedf56be5b8b54143a5543b472e3dc7c703a4ab0542f39cfbeed64d1c33ceee6a15ea8d25ef84616fa40b6bf9cc32023f7241c18c58
-DIST quagga-1.2.0.tar.gz 2948778 BLAKE2B 
6fd54c2d2613545b10a40659cd5ee9890fb077f116e035412a8f0b7734a629d3f3b45dafb01a867038ffee025942c3942a5a5b00d6b168e96df2041cdadb5a20
 SHA512 
0ad28b828c2e52ad486189bd68e21041fe7c4affada7e3f12ba83a95f3532e0b012ba6b4271f9d0de63d4f5b15e80c706977b3afa54b57a3a5ec02400227d5ae
 DIST quagga-1.2.1.tar.gz 2922514 BLAKE2B 
ab0a59c1162bb4ac8ba3a75c015a433e2022bc35cd2a4678dbc7c80510f8c687d944b5e2bac03e9d3362bdb20badb2c17228dfd4172eebc6c87b24b2be2276e4
 SHA512 
ab7693ccb0cfa0f9ed90cc2b626dcd27aa6cc52e626646a2a37914a01f4b38dd80bf8d0e35d8a6a113718e82024203dbc3704c017f7c5c07bcdc2fe0109e89eb
 DIST quagga-1.2.2.tar.gz 2986142 BLAKE2B 
2c2326e015ed4ce7364a960b56108bbd04c184b7cd78dca0cac528cd2869e65e6efbd40c303ce2b6eb29eed809e8b384baa36329b365ae6799a5b25fa21daa4c
 SHA512 
861f6524bcdc01d1a895762bf1904744c12ae4dfc7c3583ecb7e55b3978c98187bde76df0ff85093c744139be9d5cf324fec75b5ba86cf1fdbce70d923710d14

diff --git a/net-misc/quagga/quagga-1.1.1.ebuild 
b/net-misc/quagga/quagga-1.1.1.ebuild
deleted file mode 100644
index 0cf903443f3..000
--- a/net-misc/quagga/quagga-1.1.1.ebuild
+++ /dev/null
@@ -1,133 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
-
-inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
user
-
-DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
-HOMEPAGE="http://quagga.net/;
-SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
-   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ~s390 sparc x86"
-
-IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
-
-COMMON_DEPEND="
-   caps? ( sys-libs/libcap )
-   protobuf? ( dev-libs/protobuf-c:0= )
-   readline? (
-   sys-libs/readline:0=
-   pam? ( sys-libs/pam )
-   )
-   snmp? ( net-analyzer/net-snmp )
-   !elibc_glibc? ( dev-libs/libpcre )"
-DEPEND="${COMMON_DEPEND}
-   sys-apps/gawk
-   sys-devel/libtool:2"
-RDEPEND="${COMMON_DEPEND}
-   sys-apps/iproute2"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
-)
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
-You have to create config files in /etc/quagga before
-starting one of the daemons.
-
-You can pass additional options to the daemon by setting the EXTRA_OPTS
-variable in their respective file in /etc/conf.d"
-
-pkg_setup() {
-   enewgroup quagga
-   enewuser quagga -1 -1 /var/empty quagga
-}
-
-src_prepare() {
-   # Classless prefixes for BGP
-   # http://hasso.linux.ee/doku.php/english:network:quagga
-   use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
-
-   eapply "${PATCHES[@]}"
-   eapply_user
-   eautoreconf
-}
-
-src_configure() {
-   append-flags -fno-strict-aliasing
-
-   # do not build PDF docs
-   export ac_cv_prog_PDFLATEX=no
-   export ac_cv_prog_LATEXMK=no
-
-   econf \
-   --enable-exampledir=/usr/share/doc/${PF}/samples \
-   --enable-irdp \
-   --enable-isisd \
-   --enable-isis-topology \
-   --enable-pimd \
-   --enable-user=quagga \
-   --enable-group=quagga \
-   --enable-vty-group=quagga \
-   

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-11-30 Thread Sergey Popov
commit: 8b52a9fcb08c6ad23d8e0c664bdad11ce9765ca5
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Nov 30 09:14:26 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Nov 30 09:14:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b52a9fc

net-misc/quagga: version bump

Remove obsolete ospfapi configure options

Gentoo-Bug: 635858
Gentoo-Bug: 638892
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 net-misc/quagga/Manifest|   9 +--
 net-misc/quagga/quagga-1.2.2.ebuild | 134 
 2 files changed, 139 insertions(+), 4 deletions(-)

diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
index bfa4c1f4a2c..fcd879417b3 100644
--- a/net-misc/quagga/Manifest
+++ b/net-misc/quagga/Manifest
@@ -1,4 +1,5 @@
-DIST ht-20040304-classless-bgp.patch 1581 SHA256 
39993890f9e31d662ed0564c732fb22392a901beb45b64261ffeadd9edf27887 SHA512 
3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
 WHIRLPOOL 
cef99d64d52ab8c28bd672fb93dfbd8d716a31c76a5403496a6d104a5ff39531d6085134124d41fe4ff7adf895fa001cbe77b6e42846d849d6c108c81583d04e
-DIST quagga-1.1.1.tar.gz 2871705 SHA256 
b5a94e5bdad3062e04595a5692b8cc435f0a85102f75dfdca0a06d093b4ef63f SHA512 
51eb64ada07b42c663705cedf56be5b8b54143a5543b472e3dc7c703a4ab0542f39cfbeed64d1c33ceee6a15ea8d25ef84616fa40b6bf9cc32023f7241c18c58
 WHIRLPOOL 
795aa54b7930c441cbbc40a67db75865ccecada523164c906dd4a1b385b51820bff061ca58265fc67d1a814c8162d8b6e6758a4aab47ba54dab58cf846cb28be
-DIST quagga-1.2.0.tar.gz 2948778 SHA256 
1043644d37975d9f920b76c593368cbe36ca43e27eb57cff316ee80ccb31dce3 SHA512 
0ad28b828c2e52ad486189bd68e21041fe7c4affada7e3f12ba83a95f3532e0b012ba6b4271f9d0de63d4f5b15e80c706977b3afa54b57a3a5ec02400227d5ae
 WHIRLPOOL 
b4c73c4f7c99c971d762fbde79d5c6776b11b36d8a9b58e9c7cb5d322818ef8b6d90ca5c3f4c55f9b3353ae65042a99b41d39049b0a2f254bbd8904e5136ecce
-DIST quagga-1.2.1.tar.gz 2922514 SHA256 
aaddba5d4f41ed8e4c2f155f4584c993465d122c9096b5b52ada3fc75266fbcd SHA512 
ab7693ccb0cfa0f9ed90cc2b626dcd27aa6cc52e626646a2a37914a01f4b38dd80bf8d0e35d8a6a113718e82024203dbc3704c017f7c5c07bcdc2fe0109e89eb
 WHIRLPOOL 
aeaa20e007a77a8bda469c847ae4de904c8987973e6ad4e358b59c5847226060417efdec8952aa79f8698b76f10da0c257034873365402215d05205e4a1fa866
+DIST ht-20040304-classless-bgp.patch 1581 BLAKE2B 
64df9a86c235c4f6d35be0f19fe1b056958ae2fa28bd2e9e8d9902e569a8f9a2925ba45396bb92e345bfcaf8ca1ef9136a433c615a5bd12a279e7c062939549a
 SHA512 
3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
+DIST quagga-1.1.1.tar.gz 2871705 BLAKE2B 
e5c4cfe865b7fffa27ee1c377210bc28cea1ecc8151378099a5aeedd98a87b4705e5d698867fe39326c991e8c0b0cbb76c90fd7e252ee2e5fcb04e03e7cd9f02
 SHA512 
51eb64ada07b42c663705cedf56be5b8b54143a5543b472e3dc7c703a4ab0542f39cfbeed64d1c33ceee6a15ea8d25ef84616fa40b6bf9cc32023f7241c18c58
+DIST quagga-1.2.0.tar.gz 2948778 BLAKE2B 
6fd54c2d2613545b10a40659cd5ee9890fb077f116e035412a8f0b7734a629d3f3b45dafb01a867038ffee025942c3942a5a5b00d6b168e96df2041cdadb5a20
 SHA512 
0ad28b828c2e52ad486189bd68e21041fe7c4affada7e3f12ba83a95f3532e0b012ba6b4271f9d0de63d4f5b15e80c706977b3afa54b57a3a5ec02400227d5ae
+DIST quagga-1.2.1.tar.gz 2922514 BLAKE2B 
ab0a59c1162bb4ac8ba3a75c015a433e2022bc35cd2a4678dbc7c80510f8c687d944b5e2bac03e9d3362bdb20badb2c17228dfd4172eebc6c87b24b2be2276e4
 SHA512 
ab7693ccb0cfa0f9ed90cc2b626dcd27aa6cc52e626646a2a37914a01f4b38dd80bf8d0e35d8a6a113718e82024203dbc3704c017f7c5c07bcdc2fe0109e89eb
+DIST quagga-1.2.2.tar.gz 2986142 BLAKE2B 
2c2326e015ed4ce7364a960b56108bbd04c184b7cd78dca0cac528cd2869e65e6efbd40c303ce2b6eb29eed809e8b384baa36329b365ae6799a5b25fa21daa4c
 SHA512 
861f6524bcdc01d1a895762bf1904744c12ae4dfc7c3583ecb7e55b3978c98187bde76df0ff85093c744139be9d5cf324fec75b5ba86cf1fdbce70d923710d14

diff --git a/net-misc/quagga/quagga-1.2.2.ebuild 
b/net-misc/quagga/quagga-1.2.2.ebuild
new file mode 100644
index 000..6d6d1b750fc
--- /dev/null
+++ b/net-misc/quagga/quagga-1.2.2.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
+
+inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
tmpfiles user
+
+DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
+HOMEPAGE="http://quagga.net/;
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
+   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+
+IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra"
+
+COMMON_DEPEND="
+   caps? ( sys-libs/libcap )
+   nhrpd? ( net-dns/c-ares:0= )
+   protobuf? ( dev-libs/protobuf-c:0= )

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-10-13 Thread Sergei Trofimovich
commit: 52c83ed6c81bb384e53fb519ad553521f92492f4
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Oct 13 11:11:19 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Oct 13 11:11:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52c83ed6

net-misc/quagga: stable 1.2.1 for ppc, bug #630088

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc"

 net-misc/quagga/quagga-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.1.ebuild 
b/net-misc/quagga/quagga-1.2.1.ebuild
index 3f1ebb52983..95640cd0305 100644
--- a/net-misc/quagga/quagga-1.2.1.ebuild
+++ b/net-misc/quagga/quagga-1.2.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ppc ~s390 ~sparc x86"
+KEYWORDS="alpha amd64 arm hppa ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-09-15 Thread Tobias Klausmann
commit: 5ac900e8e8f6f892637a1f2953cde61bc9c8f592
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Fri Sep 15 15:37:49 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Fri Sep 15 15:37:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ac900e8

net-misc/quagga-1.2.1-r0: alpha stable

Gentoo-Bug: 630088

 net-misc/quagga/quagga-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.1.ebuild 
b/net-misc/quagga/quagga-1.2.1.ebuild
index 974762731ee..3f1ebb52983 100644
--- a/net-misc/quagga/quagga-1.2.1.ebuild
+++ b/net-misc/quagga/quagga-1.2.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ~ppc ~s390 ~sparc x86"
+KEYWORDS="alpha amd64 arm hppa ~ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-09-14 Thread Sergey Popov
commit: e71e1c3d11c0a498efb377c161b5da3e6cd22e55
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Sep 14 09:55:30 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Sep 14 09:55:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e71e1c3d

net-misc/quagga: stable for amd64 and x86

Gentoo-Bug: 630088

Package-Manager: Portage-2.3.7, Repoman-2.3.1

 net-misc/quagga/quagga-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.1.ebuild 
b/net-misc/quagga/quagga-1.2.1.ebuild
index 0dff443a9b5..974762731ee 100644
--- a/net-misc/quagga/quagga-1.2.1.ebuild
+++ b/net-misc/quagga/quagga-1.2.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 arm hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm hppa ~ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-09-09 Thread Markus Meier
commit: 26c89bdda2f3e3f77d84eaed49a62b4c926159fe
Author: Markus Meier  gentoo  org>
AuthorDate: Sat Sep  9 10:26:56 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sat Sep  9 10:26:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26c89bdd

net-misc/quagga: arm stable, bug #630088

Package-Manager: Portage-2.3.6, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 net-misc/quagga/quagga-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.1.ebuild 
b/net-misc/quagga/quagga-1.2.1.ebuild
index 34362068819..0dff443a9b5 100644
--- a/net-misc/quagga/quagga-1.2.1.ebuild
+++ b/net-misc/quagga/quagga-1.2.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 arm hppa ~ppc ~s390 ~sparc ~x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-09-08 Thread Sergei Trofimovich
commit: 4ce24748c4bc9c0e8fe0f5abb81bbda709f6e4f7
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Sep  8 22:24:45 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Sep  8 22:24:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ce24748

net-misc/quagga: stable 1.2.1 for hppa, bug #630088

Package-Manager: Portage-2.3.8, Repoman-2.3.3
RepoMan-Options: --include-arches="hppa"

 net-misc/quagga/quagga-1.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.1.ebuild 
b/net-misc/quagga/quagga-1.2.1.ebuild
index 681fbbb0344..34362068819 100644
--- a/net-misc/quagga/quagga-1.2.1.ebuild
+++ b/net-misc/quagga/quagga-1.2.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm hppa ~ppc ~s390 ~sparc ~x86"
 
 IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/files/systemd/

2017-04-06 Thread Sergey Popov
commit: fc75a7dd6536216331e35fb0bc228ad45a5088b9
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Apr  6 09:14:47 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Apr  6 11:40:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc75a7dd

net-misc/quagga: fix systemd units, replace BindTo with BindsTo

Package-Manager: portage-2.3.3

 net-misc/quagga/files/systemd/bgpd.service   | 2 +-
 net-misc/quagga/files/systemd/isisd.service  | 2 +-
 net-misc/quagga/files/systemd/nhrpd.service  | 2 +-
 net-misc/quagga/files/systemd/ospf6d.service | 2 +-
 net-misc/quagga/files/systemd/ospfd.service  | 2 +-
 net-misc/quagga/files/systemd/pimd.service   | 2 +-
 net-misc/quagga/files/systemd/ripd.service   | 2 +-
 net-misc/quagga/files/systemd/ripngd.service | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/net-misc/quagga/files/systemd/bgpd.service 
b/net-misc/quagga/files/systemd/bgpd.service
index aae58be2c95..f5db0b2510e 100644
--- a/net-misc/quagga/files/systemd/bgpd.service
+++ b/net-misc/quagga/files/systemd/bgpd.service
@@ -1,7 +1,7 @@
 [Unit]
 Description=BGP routing daemon
 Documentation=man:bgpd(8) man:zebra(8)
-BindTo=zebra.service
+BindsTo=zebra.service
 After=network.target zebra.service
 ConditionPathExists=/etc/quagga/bgpd.conf
 

diff --git a/net-misc/quagga/files/systemd/isisd.service 
b/net-misc/quagga/files/systemd/isisd.service
index fa5a716e833..10eb0a8fe1d 100644
--- a/net-misc/quagga/files/systemd/isisd.service
+++ b/net-misc/quagga/files/systemd/isisd.service
@@ -1,7 +1,7 @@
 [Unit]
 Description=IS-IS routing daemon
 Documentation=man:isis(8) man:zebra(8)
-BindTo=zebra.service
+BindsTo=zebra.service
 After=network.target zebra.service
 ConditionPathExists=/etc/quagga/isisd.conf
 

diff --git a/net-misc/quagga/files/systemd/nhrpd.service 
b/net-misc/quagga/files/systemd/nhrpd.service
index d6b3e67db77..1a93bae61b1 100644
--- a/net-misc/quagga/files/systemd/nhrpd.service
+++ b/net-misc/quagga/files/systemd/nhrpd.service
@@ -1,7 +1,7 @@
 [Unit]
 Description=NHRP daemon
 Documentation=man:nhrpd(8) man:zebra(8)
-BindTo=zebra.service
+BindsTo=zebra.service
 After=network.target zebra.service
 ConditionPathExists=/etc/quagga/nhrpd.conf
 

diff --git a/net-misc/quagga/files/systemd/ospf6d.service 
b/net-misc/quagga/files/systemd/ospf6d.service
index eacb8915940..b6372d10d89 100644
--- a/net-misc/quagga/files/systemd/ospf6d.service
+++ b/net-misc/quagga/files/systemd/ospf6d.service
@@ -1,7 +1,7 @@
 [Unit]
 Description=OSPF routing daemon for IPv6
 Documentation=man:ospfd(8) man:zebra(8)
-BindTo=zebra.service
+BindsTo=zebra.service
 After=network.target zebra.service
 ConditionPathExists=/etc/quagga/ospf6d.conf
 

diff --git a/net-misc/quagga/files/systemd/ospfd.service 
b/net-misc/quagga/files/systemd/ospfd.service
index 57a946f8e0c..310d219c001 100644
--- a/net-misc/quagga/files/systemd/ospfd.service
+++ b/net-misc/quagga/files/systemd/ospfd.service
@@ -1,7 +1,7 @@
 [Unit]
 Description=OSPF routing daemon
 Documentation=man:ospfd(8) man:zebra(8)
-BindTo=zebra.service
+BindsTo=zebra.service
 After=network.target zebra.service
 ConditionPathExists=/etc/quagga/ospfd.conf
 

diff --git a/net-misc/quagga/files/systemd/pimd.service 
b/net-misc/quagga/files/systemd/pimd.service
index 65ef1bf2dd4..d39f59696c5 100644
--- a/net-misc/quagga/files/systemd/pimd.service
+++ b/net-misc/quagga/files/systemd/pimd.service
@@ -1,7 +1,7 @@
 [Unit]
 Description=PIM-SSM routing daemon
 Documentation=man:zebra(8)
-BindTo=zebra.service
+BindsTo=zebra.service
 After=network.target zebra.service
 ConditionPathExists=/etc/quagga/pimd.conf
 

diff --git a/net-misc/quagga/files/systemd/ripd.service 
b/net-misc/quagga/files/systemd/ripd.service
index bf7c5ac6fe2..b2a74df47fb 100644
--- a/net-misc/quagga/files/systemd/ripd.service
+++ b/net-misc/quagga/files/systemd/ripd.service
@@ -1,7 +1,7 @@
 [Unit]
 Description=RIP routing daemon
 Documentation=man:ripd(8) man:zebra(8)
-BindTo=zebra.service
+BindsTo=zebra.service
 After=network.target zebra.service
 ConditionPathExists=/etc/quagga/ripd.conf
 

diff --git a/net-misc/quagga/files/systemd/ripngd.service 
b/net-misc/quagga/files/systemd/ripngd.service
index 465263ba33f..75c60d8395b 100644
--- a/net-misc/quagga/files/systemd/ripngd.service
+++ b/net-misc/quagga/files/systemd/ripngd.service
@@ -1,7 +1,7 @@
 [Unit]
 Description=RIP routing daemon for IPv6
 Documentation=man:ripngd(8) man:zebra(8)
-BindTo=zebra.service
+BindsTo=zebra.service
 After=network.target zebra.service
 ConditionPathExists=/etc/quagga/ripngd.conf
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-04-06 Thread Sergey Popov
commit: ac3160ea69831e97567c96db0a874b5ecbef0860
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Apr  6 11:40:35 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Apr  6 11:40:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac3160ea

net-misc/quagga: version bump

Utilize tmpfiles eclass to create directories in /var/run
to disable QA warnings about those directories

Gentoo-Bug: 608116

Package-Manager: portage-2.3.3

 net-misc/quagga/Manifest|   1 +
 net-misc/quagga/quagga-1.2.1.ebuild | 134 
 2 files changed, 135 insertions(+)

diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
index d11715b3e4c..bfa4c1f4a2c 100644
--- a/net-misc/quagga/Manifest
+++ b/net-misc/quagga/Manifest
@@ -1,3 +1,4 @@
 DIST ht-20040304-classless-bgp.patch 1581 SHA256 
39993890f9e31d662ed0564c732fb22392a901beb45b64261ffeadd9edf27887 SHA512 
3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
 WHIRLPOOL 
cef99d64d52ab8c28bd672fb93dfbd8d716a31c76a5403496a6d104a5ff39531d6085134124d41fe4ff7adf895fa001cbe77b6e42846d849d6c108c81583d04e
 DIST quagga-1.1.1.tar.gz 2871705 SHA256 
b5a94e5bdad3062e04595a5692b8cc435f0a85102f75dfdca0a06d093b4ef63f SHA512 
51eb64ada07b42c663705cedf56be5b8b54143a5543b472e3dc7c703a4ab0542f39cfbeed64d1c33ceee6a15ea8d25ef84616fa40b6bf9cc32023f7241c18c58
 WHIRLPOOL 
795aa54b7930c441cbbc40a67db75865ccecada523164c906dd4a1b385b51820bff061ca58265fc67d1a814c8162d8b6e6758a4aab47ba54dab58cf846cb28be
 DIST quagga-1.2.0.tar.gz 2948778 SHA256 
1043644d37975d9f920b76c593368cbe36ca43e27eb57cff316ee80ccb31dce3 SHA512 
0ad28b828c2e52ad486189bd68e21041fe7c4affada7e3f12ba83a95f3532e0b012ba6b4271f9d0de63d4f5b15e80c706977b3afa54b57a3a5ec02400227d5ae
 WHIRLPOOL 
b4c73c4f7c99c971d762fbde79d5c6776b11b36d8a9b58e9c7cb5d322818ef8b6d90ca5c3f4c55f9b3353ae65042a99b41d39049b0a2f254bbd8904e5136ecce
+DIST quagga-1.2.1.tar.gz 2922514 SHA256 
aaddba5d4f41ed8e4c2f155f4584c993465d122c9096b5b52ada3fc75266fbcd SHA512 
ab7693ccb0cfa0f9ed90cc2b626dcd27aa6cc52e626646a2a37914a01f4b38dd80bf8d0e35d8a6a113718e82024203dbc3704c017f7c5c07bcdc2fe0109e89eb
 WHIRLPOOL 
aeaa20e007a77a8bda469c847ae4de904c8987973e6ad4e358b59c5847226060417efdec8952aa79f8698b76f10da0c257034873365402215d05205e4a1fa866

diff --git a/net-misc/quagga/quagga-1.2.1.ebuild 
b/net-misc/quagga/quagga-1.2.1.ebuild
new file mode 100644
index 000..681fbbb0344
--- /dev/null
+++ b/net-misc/quagga/quagga-1.2.1.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
+
+inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
tmpfiles user
+
+DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
+HOMEPAGE="http://quagga.net/;
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
+   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+
+IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra"
+
+COMMON_DEPEND="
+   caps? ( sys-libs/libcap )
+   nhrpd? ( net-dns/c-ares:0= )
+   protobuf? ( dev-libs/protobuf-c:0= )
+   readline? (
+   sys-libs/readline:0=
+   pam? ( sys-libs/pam )
+   )
+   snmp? ( net-analyzer/net-snmp )
+   !elibc_glibc? ( dev-libs/libpcre )"
+DEPEND="${COMMON_DEPEND}
+   sys-apps/gawk
+   sys-devel/libtool:2"
+RDEPEND="${COMMON_DEPEND}
+   sys-apps/iproute2"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
+)
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
+You have to create config files in /etc/quagga before
+starting one of the daemons.
+
+You can pass additional options to the daemon by setting the EXTRA_OPTS
+variable in their respective file in /etc/conf.d"
+
+pkg_setup() {
+   enewgroup quagga
+   enewuser quagga -1 -1 /var/empty quagga
+}
+
+src_prepare() {
+   # Classless prefixes for BGP
+   # http://hasso.linux.ee/doku.php/english:network:quagga
+   use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
+
+   eapply "${PATCHES[@]}"
+   eapply_user
+   eautoreconf
+}
+
+src_configure() {
+   append-flags -fno-strict-aliasing
+
+   # do not build PDF docs
+   export ac_cv_prog_PDFLATEX=no
+   export ac_cv_prog_LATEXMK=no
+
+   econf \
+   --enable-exampledir=/usr/share/doc/${PF}/samples \
+   --enable-irdp \
+   --enable-isisd \
+   --enable-isis-topology \
+   --enable-pimd \
+   --enable-user=quagga \
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-03-09 Thread Sergey Popov
commit: 42228e33c2fee6ce813054fdf70a3884bfc1b305
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Mar  9 11:06:11 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Mar  9 11:06:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42228e33

net-misc/quagga: revision bump

Install nhrpd initscript and systemd files conditionally.
Drop old revision.

Package-Manager: portage-2.3.3

 net-misc/quagga/{quagga-1.2.0-r1.ebuild => quagga-1.2.0-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.2.0-r1.ebuild 
b/net-misc/quagga/quagga-1.2.0-r2.ebuild
similarity index 97%
rename from net-misc/quagga/quagga-1.2.0-r1.ebuild
rename to net-misc/quagga/quagga-1.2.0-r2.ebuild
index 3875ea7a9ce..6897c5f9eac 100644
--- a/net-misc/quagga/quagga-1.2.0-r1.ebuild
+++ b/net-misc/quagga/quagga-1.2.0-r2.ebuild
@@ -120,7 +120,7 @@ src_install() {
# install zebra as a file, symlink the rest
newinitd "${FILESDIR}"/quagga-services.init.3 zebra
 
-   for service in bgpd isisd nhrpd ospfd pimd ripd $(use ipv6 && echo 
ospf6d ripngd); do
+   for service in bgpd isisd ospfd pimd ripd $(use ipv6 && echo ospf6d 
ripngd) $(use nhrpd && echo nhrpd); do
dosym zebra /etc/init.d/${service}
systemd_dounit "${FILESDIR}/systemd/${service}.service"
done



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-03-09 Thread Sergey Popov
commit: 13a33723626228677ade476fdd039830ebb78e59
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Mar  9 11:02:37 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Mar  9 11:03:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13a33723

net-misc/quagga: revision bump

Build nhrpd conditionally, add missing dependency on net-dns/c-ares.
Drop old revision.

Gentoo-Bug: 611828
Reported-by: Sorah Fukumori  sorah.jp>

Package-Manager: portage-2.3.3

 net-misc/quagga/metadata.xml| 3 +++
 net-misc/quagga/{quagga-1.2.0.ebuild => quagga-1.2.0-r1.ebuild} | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/net-misc/quagga/metadata.xml b/net-misc/quagga/metadata.xml
index 2d6b042da25..ec2a74e8dc3 100644
--- a/net-misc/quagga/metadata.xml
+++ b/net-misc/quagga/metadata.xml
@@ -28,6 +28,9 @@

Enable multipath routes support for any number of routes

+   
+   Build Next Hop Resolution Protocol daemon
+   

Enable OSPFAPI support for client applications 
accessing the OSPF link state database


diff --git a/net-misc/quagga/quagga-1.2.0.ebuild 
b/net-misc/quagga/quagga-1.2.0-r1.ebuild
similarity index 95%
rename from net-misc/quagga/quagga-1.2.0.ebuild
rename to net-misc/quagga/quagga-1.2.0-r1.ebuild
index 89d2095ccc7..3875ea7a9ce 100644
--- a/net-misc/quagga/quagga-1.2.0.ebuild
+++ b/net-misc/quagga/quagga-1.2.0-r1.ebuild
@@ -16,10 +16,11 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
 
-IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath ospfapi pam 
protobuf +readline snmp tcp-zebra"
+IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath nhrpd ospfapi pam 
protobuf +readline snmp tcp-zebra"
 
 COMMON_DEPEND="
caps? ( sys-libs/libcap )
+   nhrpd? ( net-dns/c-ares:0= )
protobuf? ( dev-libs/protobuf-c:0= )
readline? (
sys-libs/readline:0=
@@ -91,6 +92,7 @@ src_configure() {
$(usex ospfapi '--enable-opaque-lsa --enable-ospf-te 
--enable-ospfclient' '' '' '') \
$(use_enable readline vtysh) \
$(use_with pam libpam) \
+   $(use_enable nhrpd) \
$(use_enable protobuf) \
$(use_enable ipv6 ripngd) \
$(use_enable ipv6 ospf6d) \



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/files/systemd/

2017-03-01 Thread Sergey Popov
commit: 8d270ac4d3fe64bd2fb9e208c494af67c7982a7f
Author: Sergey Popov  gentoo  org>
AuthorDate: Wed Mar  1 17:22:13 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Wed Mar  1 17:33:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d270ac4

net-misc/quagga: drop non-used systemd service file

Package-Manager: portage-2.3.3

 net-misc/quagga/files/systemd/babeld.service | 16 
 1 file changed, 16 deletions(-)

diff --git a/net-misc/quagga/files/systemd/babeld.service 
b/net-misc/quagga/files/systemd/babeld.service
deleted file mode 100644
index aa107afcacc..000
--- a/net-misc/quagga/files/systemd/babeld.service
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=Babel routing daemon
-Documentation=man:zebra(8)
-BindTo=zebra.service
-After=network.target zebra.service
-ConditionPathExists=/etc/quagga/babeld.conf
-
-[Service]
-Type=forking
-PIDFile=/run/quagga/babeld.pid
-ExecStart=/usr/sbin/babeld -d
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=on-abort
-
-[Install]
-WantedBy=multi-user.target



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/files/systemd/, net-misc/quagga/

2017-03-01 Thread Sergey Popov
commit: fb323ee9e376dd87e33d19b53fe8ab6a0a6c607a
Author: Sergey Popov  gentoo  org>
AuthorDate: Wed Mar  1 17:32:15 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Wed Mar  1 17:33:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb323ee9

net-misc/quagga: version bump

Package-Manager: portage-2.3.3

 net-misc/quagga/Manifest|   1 +
 net-misc/quagga/files/systemd/nhrpd.service |  16 
 net-misc/quagga/metadata.xml|   3 +
 net-misc/quagga/quagga-1.2.0.ebuild | 134 
 4 files changed, 154 insertions(+)

diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
index 66cdb2380ed..d11715b3e4c 100644
--- a/net-misc/quagga/Manifest
+++ b/net-misc/quagga/Manifest
@@ -1,2 +1,3 @@
 DIST ht-20040304-classless-bgp.patch 1581 SHA256 
39993890f9e31d662ed0564c732fb22392a901beb45b64261ffeadd9edf27887 SHA512 
3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
 WHIRLPOOL 
cef99d64d52ab8c28bd672fb93dfbd8d716a31c76a5403496a6d104a5ff39531d6085134124d41fe4ff7adf895fa001cbe77b6e42846d849d6c108c81583d04e
 DIST quagga-1.1.1.tar.gz 2871705 SHA256 
b5a94e5bdad3062e04595a5692b8cc435f0a85102f75dfdca0a06d093b4ef63f SHA512 
51eb64ada07b42c663705cedf56be5b8b54143a5543b472e3dc7c703a4ab0542f39cfbeed64d1c33ceee6a15ea8d25ef84616fa40b6bf9cc32023f7241c18c58
 WHIRLPOOL 
795aa54b7930c441cbbc40a67db75865ccecada523164c906dd4a1b385b51820bff061ca58265fc67d1a814c8162d8b6e6758a4aab47ba54dab58cf846cb28be
+DIST quagga-1.2.0.tar.gz 2948778 SHA256 
1043644d37975d9f920b76c593368cbe36ca43e27eb57cff316ee80ccb31dce3 SHA512 
0ad28b828c2e52ad486189bd68e21041fe7c4affada7e3f12ba83a95f3532e0b012ba6b4271f9d0de63d4f5b15e80c706977b3afa54b57a3a5ec02400227d5ae
 WHIRLPOOL 
b4c73c4f7c99c971d762fbde79d5c6776b11b36d8a9b58e9c7cb5d322818ef8b6d90ca5c3f4c55f9b3353ae65042a99b41d39049b0a2f254bbd8904e5136ecce

diff --git a/net-misc/quagga/files/systemd/nhrpd.service 
b/net-misc/quagga/files/systemd/nhrpd.service
new file mode 100644
index 000..d6b3e67db77
--- /dev/null
+++ b/net-misc/quagga/files/systemd/nhrpd.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=NHRP daemon
+Documentation=man:nhrpd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/nhrpd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/nhrpd.pid
+ExecStart=/usr/sbin/nhrpd -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

diff --git a/net-misc/quagga/metadata.xml b/net-misc/quagga/metadata.xml
index 0cbccc060b5..2d6b042da25 100644
--- a/net-misc/quagga/metadata.xml
+++ b/net-misc/quagga/metadata.xml
@@ -22,6 +22,9 @@
Apply unofficial patch to enable classless prefixes for 
BGP. Patch and information to be found
at http://hasso.linux.ee/doku.php/english:network:quagga

+   
+   Enable Forwarding Plane Manager support
+   

Enable multipath routes support for any number of routes


diff --git a/net-misc/quagga/quagga-1.2.0.ebuild 
b/net-misc/quagga/quagga-1.2.0.ebuild
new file mode 100644
index 000..89d2095ccc7
--- /dev/null
+++ b/net-misc/quagga/quagga-1.2.0.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
+
+inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
user
+
+DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
+HOMEPAGE="http://quagga.net/;
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
+   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+
+IUSE="bgpclassless caps fpm doc elibc_glibc ipv6 multipath ospfapi pam 
protobuf +readline snmp tcp-zebra"
+
+COMMON_DEPEND="
+   caps? ( sys-libs/libcap )
+   protobuf? ( dev-libs/protobuf-c:0= )
+   readline? (
+   sys-libs/readline:0=
+   pam? ( sys-libs/pam )
+   )
+   snmp? ( net-analyzer/net-snmp )
+   !elibc_glibc? ( dev-libs/libpcre )"
+DEPEND="${COMMON_DEPEND}
+   sys-apps/gawk
+   sys-devel/libtool:2"
+RDEPEND="${COMMON_DEPEND}
+   sys-apps/iproute2"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
+)
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
+You have to create config files in /etc/quagga before
+starting one of the daemons.
+
+You can pass additional options to the daemon by setting the EXTRA_OPTS
+variable in their respective file in /etc/conf.d"
+
+pkg_setup() {
+   enewgroup quagga

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/, net-misc/quagga/files/

2017-02-22 Thread Sergey Popov
commit: dc5b408f07d67d6b88fe33e42c43ad8b62917c43
Author: Sergey Popov  gentoo  org>
AuthorDate: Wed Feb 22 08:41:30 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Wed Feb 22 08:41:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc5b408f

net-misc/quagga: security cleanup

Gentoo-Bug: 607212

Package-Manager: portage-2.3.3

 net-misc/quagga/Manifest   |   1 -
 .../quagga-1.1.0-supress-dev-build-logs.patch  |  25 
 net-misc/quagga/quagga-1.1.0-r2.ebuild | 135 -
 3 files changed, 161 deletions(-)

diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
index d043043998..66cdb2380e 100644
--- a/net-misc/quagga/Manifest
+++ b/net-misc/quagga/Manifest
@@ -1,3 +1,2 @@
 DIST ht-20040304-classless-bgp.patch 1581 SHA256 
39993890f9e31d662ed0564c732fb22392a901beb45b64261ffeadd9edf27887 SHA512 
3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
 WHIRLPOOL 
cef99d64d52ab8c28bd672fb93dfbd8d716a31c76a5403496a6d104a5ff39531d6085134124d41fe4ff7adf895fa001cbe77b6e42846d849d6c108c81583d04e
-DIST quagga-1.1.0.tar.gz 2870278 SHA256 
f7a43a9c59bfd3722002210530b2553c8d5cc05bfea5acd56d4f102b9f55dc63 SHA512 
3b29a90c4f05593714bda3c702fd2c8886ce48fba2fbfb98f55cc04d1025edd5427944e9a9fb7cd630e5e8ccea388b72a8e611ab65c370e760f3f319d03f090f
 WHIRLPOOL 
ee4a78b1d20aa9e7e7aea1f0be2adee83efa0fd47a807a4ec1affb1e059fee156861b612f73716cbf80e96cc6676baed062b9440ea7664198078cd6760380573
 DIST quagga-1.1.1.tar.gz 2871705 SHA256 
b5a94e5bdad3062e04595a5692b8cc435f0a85102f75dfdca0a06d093b4ef63f SHA512 
51eb64ada07b42c663705cedf56be5b8b54143a5543b472e3dc7c703a4ab0542f39cfbeed64d1c33ceee6a15ea8d25ef84616fa40b6bf9cc32023f7241c18c58
 WHIRLPOOL 
795aa54b7930c441cbbc40a67db75865ccecada523164c906dd4a1b385b51820bff061ca58265fc67d1a814c8162d8b6e6758a4aab47ba54dab58cf846cb28be

diff --git a/net-misc/quagga/files/quagga-1.1.0-supress-dev-build-logs.patch 
b/net-misc/quagga/files/quagga-1.1.0-supress-dev-build-logs.patch
deleted file mode 100644
index e0d27d0fd1..00
--- a/net-misc/quagga/files/quagga-1.1.0-supress-dev-build-logs.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-commit 92193665 warns about duplicate node installs.  This should only be
-enabled for dev builds beacuse it causes unwanted noise on production
-builds.  I've enclosed the relevant commands in #ifdef DEV_BUILD, which may
-or may not be appropriate.  If there's a more appropriate compile-time
-option available, that could be used instead.
-

- lib/command.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/lib/command.c b/lib/command.c
-index ab46fc4..bff86e5 100644
 a/lib/command.c
-+++ b/lib/command.c
-@@ -638,9 +638,11 @@ install_element (enum node_type ntype, struct cmd_element 
*cmd)
-   
-   if (hash_lookup (cnode->cmd_hash, cmd) != NULL)
- {
-+#ifdef DEV_BUILD
-   fprintf (stderr, 
-"Multiple command installs to node %d of command:\n%s\n",
-ntype, cmd->string);
-+#endif
-   return;
- }

diff --git a/net-misc/quagga/quagga-1.1.0-r2.ebuild 
b/net-misc/quagga/quagga-1.1.0-r2.ebuild
deleted file mode 100644
index a152fb2fa0..00
--- a/net-misc/quagga/quagga-1.1.0-r2.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
-
-inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
user
-
-DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
-HOMEPAGE="http://quagga.net/;
-SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
-   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ~s390 sparc x86"
-
-IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
-
-COMMON_DEPEND="
-   caps? ( sys-libs/libcap )
-   protobuf? ( dev-libs/protobuf-c:0= )
-   readline? (
-   sys-libs/readline:0=
-   pam? ( sys-libs/pam )
-   )
-   snmp? ( net-analyzer/net-snmp )
-   !elibc_glibc? ( dev-libs/libpcre )"
-DEPEND="${COMMON_DEPEND}
-   sys-apps/gawk
-   sys-devel/libtool:2"
-RDEPEND="${COMMON_DEPEND}
-   sys-apps/iproute2"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
-   "${FILESDIR}/${P}-supress-dev-build-logs.patch"
-)
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
-You have to create config files in /etc/quagga before
-starting one of the daemons.
-
-You can pass additional options to the daemon by setting the EXTRA_OPTS
-variable in their respective file in /etc/conf.d"
-
-pkg_setup() {
-   enewgroup quagga
-   

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-02-17 Thread Agostino Sarubbo
commit: 9a55aae3f8456b20c8f90ac09fe28f4827b56959
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Feb 17 10:55:58 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Feb 17 10:55:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a55aae3

net-misc/quagga: sparc stable wrt bug #607212

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/quagga/quagga-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.1.1.ebuild 
b/net-misc/quagga/quagga-1.1.1.ebuild
index 3b3a26d69a..95eb9b04aa 100644
--- a/net-misc/quagga/quagga-1.1.1.ebuild
+++ b/net-misc/quagga/quagga-1.1.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ~s390 ~sparc x86"
+KEYWORDS="alpha amd64 arm hppa ppc ~s390 sparc x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-02-15 Thread Tobias Klausmann
commit: d2495a0188a4e0ca8f485b0181e2aba76d48ee8c
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Feb 15 13:48:51 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Feb 15 13:48:51 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2495a01

net-misc/quagga-1.1.1-r0: add alpha keyword

Gentoo-Bug: 607212

 net-misc/quagga/quagga-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.1.1.ebuild 
b/net-misc/quagga/quagga-1.1.1.ebuild
index ff7759801d..3b3a26d69a 100644
--- a/net-misc/quagga/quagga-1.1.1.ebuild
+++ b/net-misc/quagga/quagga-1.1.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ppc ~s390 ~sparc x86"
+KEYWORDS="alpha amd64 arm hppa ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-02-12 Thread Markus Meier
commit: 90e24110536f5b093549183581820453792fd13b
Author: Markus Meier  gentoo  org>
AuthorDate: Sun Feb 12 20:08:56 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sun Feb 12 20:08:56 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90e24110

net-misc/quagga: arm stable, bug #607212

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 net-misc/quagga/quagga-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.1.1.ebuild 
b/net-misc/quagga/quagga-1.1.1.ebuild
index db4a36e67d..ff7759801d 100644
--- a/net-misc/quagga/quagga-1.1.1.ebuild
+++ b/net-misc/quagga/quagga-1.1.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ppc ~s390 ~sparc x86"
+KEYWORDS="~alpha amd64 arm hppa ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-02-12 Thread Agostino Sarubbo
commit: 0af3485d7299d1f135476ab864f340945ac8060b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Feb 12 15:40:48 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Feb 12 15:43:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0af3485d

net-misc/quagga: x86 stable wrt bug #607212

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/quagga/quagga-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.1.1.ebuild 
b/net-misc/quagga/quagga-1.1.1.ebuild
index 780a7a7f9a..92f59ec305 100644
--- a/net-misc/quagga/quagga-1.1.1.ebuild
+++ b/net-misc/quagga/quagga-1.1.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-02-04 Thread Agostino Sarubbo
commit: 999d00cba5da46aa8a29c1c19b3314f12c047995
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Feb  4 15:19:27 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Feb  4 15:21:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=999d00cb

net-misc/quagga: amd64 stable wrt bug #607212

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/quagga/quagga-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.1.1.ebuild 
b/net-misc/quagga/quagga-1.1.1.ebuild
index 36509c0..780a7a7 100644
--- a/net-misc/quagga/quagga-1.1.1.ebuild
+++ b/net-misc/quagga/quagga-1.1.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~s390 ~sparc ~x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-02-03 Thread Jeroen Roovers
commit: f4214ec2d04b8fa2d439986cd0646e6bcd54f270
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Feb  3 21:58:53 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Feb  3 22:00:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4214ec2

net-misc/quagga: Stable for HPPA (bug #607212).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 net-misc/quagga/quagga-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.1.1.ebuild 
b/net-misc/quagga/quagga-1.1.1.ebuild
index 76d456f..36509c0 100644
--- a/net-misc/quagga/quagga-1.1.1.ebuild
+++ b/net-misc/quagga/quagga-1.1.1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm hppa ~ppc ~s390 ~sparc ~x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-02-02 Thread Sergey Popov
commit: 2ce2743ed3ab62ba5328e3da9075a7ce380af264
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Feb  2 14:40:09 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Feb  2 14:40:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ce2743e

net-misc/quagga: version bump

Gentoo-Bug: 607212

Package-Manager: portage-2.3.3

 net-misc/quagga/Manifest|   1 +
 net-misc/quagga/quagga-1.1.1.ebuild | 134 
 2 files changed, 135 insertions(+)

diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
index ed50e66..d043043 100644
--- a/net-misc/quagga/Manifest
+++ b/net-misc/quagga/Manifest
@@ -1,2 +1,3 @@
 DIST ht-20040304-classless-bgp.patch 1581 SHA256 
39993890f9e31d662ed0564c732fb22392a901beb45b64261ffeadd9edf27887 SHA512 
3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
 WHIRLPOOL 
cef99d64d52ab8c28bd672fb93dfbd8d716a31c76a5403496a6d104a5ff39531d6085134124d41fe4ff7adf895fa001cbe77b6e42846d849d6c108c81583d04e
 DIST quagga-1.1.0.tar.gz 2870278 SHA256 
f7a43a9c59bfd3722002210530b2553c8d5cc05bfea5acd56d4f102b9f55dc63 SHA512 
3b29a90c4f05593714bda3c702fd2c8886ce48fba2fbfb98f55cc04d1025edd5427944e9a9fb7cd630e5e8ccea388b72a8e611ab65c370e760f3f319d03f090f
 WHIRLPOOL 
ee4a78b1d20aa9e7e7aea1f0be2adee83efa0fd47a807a4ec1affb1e059fee156861b612f73716cbf80e96cc6676baed062b9440ea7664198078cd6760380573
+DIST quagga-1.1.1.tar.gz 2871705 SHA256 
b5a94e5bdad3062e04595a5692b8cc435f0a85102f75dfdca0a06d093b4ef63f SHA512 
51eb64ada07b42c663705cedf56be5b8b54143a5543b472e3dc7c703a4ab0542f39cfbeed64d1c33ceee6a15ea8d25ef84616fa40b6bf9cc32023f7241c18c58
 WHIRLPOOL 
795aa54b7930c441cbbc40a67db75865ccecada523164c906dd4a1b385b51820bff061ca58265fc67d1a814c8162d8b6e6758a4aab47ba54dab58cf846cb28be

diff --git a/net-misc/quagga/quagga-1.1.1.ebuild 
b/net-misc/quagga/quagga-1.1.1.ebuild
new file mode 100644
index ..76d456f
--- /dev/null
+++ b/net-misc/quagga/quagga-1.1.1.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
+
+inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
user
+
+DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
+HOMEPAGE="http://quagga.net/;
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
+   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+
+IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
+
+COMMON_DEPEND="
+   caps? ( sys-libs/libcap )
+   protobuf? ( dev-libs/protobuf-c:0= )
+   readline? (
+   sys-libs/readline:0=
+   pam? ( sys-libs/pam )
+   )
+   snmp? ( net-analyzer/net-snmp )
+   !elibc_glibc? ( dev-libs/libpcre )"
+DEPEND="${COMMON_DEPEND}
+   sys-apps/gawk
+   sys-devel/libtool:2"
+RDEPEND="${COMMON_DEPEND}
+   sys-apps/iproute2"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
+)
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
+You have to create config files in /etc/quagga before
+starting one of the daemons.
+
+You can pass additional options to the daemon by setting the EXTRA_OPTS
+variable in their respective file in /etc/conf.d"
+
+pkg_setup() {
+   enewgroup quagga
+   enewuser quagga -1 -1 /var/empty quagga
+}
+
+src_prepare() {
+   # Classless prefixes for BGP
+   # http://hasso.linux.ee/doku.php/english:network:quagga
+   use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
+
+   eapply "${PATCHES[@]}"
+   eapply_user
+   eautoreconf
+}
+
+src_configure() {
+   append-flags -fno-strict-aliasing
+
+   # do not build PDF docs
+   export ac_cv_prog_PDFLATEX=no
+   export ac_cv_prog_LATEXMK=no
+
+   econf \
+   --enable-exampledir=/usr/share/doc/${PF}/samples \
+   --enable-irdp \
+   --enable-isisd \
+   --enable-isis-topology \
+   --enable-pimd \
+   --enable-user=quagga \
+   --enable-group=quagga \
+   --enable-vty-group=quagga \
+   --with-cflags="${CFLAGS}" \
+   --with-pkg-extra-version="-gentoo" \
+   --sysconfdir=/etc/quagga \
+   --localstatedir=/run/quagga \
+   --disable-static \
+   $(use_enable caps capabilities) \
+   $(usex snmp '--enable-snmp' '' '' '') \
+   $(use_enable !elibc_glibc pcreposix) \
+   $(use_enable tcp-zebra) \
+   $(use_enable doc) \
+   $(usex multipath 

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/files/, net-misc/quagga/

2017-01-24 Thread Sergey Popov
commit: 20a70440a3d662b3f1fe250f5b9194aab0f3eae9
Author: Sergey Popov  gentoo  org>
AuthorDate: Tue Jan 24 10:34:13 2017 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Tue Jan 24 10:35:52 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20a70440

net-misc/quagga: fix quoting in eapply call, security cleanup

Gentoo-Bug: 581526

Package-Manager: portage-2.3.3

 net-misc/quagga/Manifest   |   1 -
 .../quagga-1.0.20160315-bgpd-logging-fix.patch |  30 -
 ...a-1.0.20160315-ospfd-dangling-pointer-fix.patch | 134 
 ...quagga-1.0.20160315-ripd-null-pointer-fix.patch |  40 --
 ...uagga-1.0.20160315-zebra-ipv6-ra-overflow.patch |  48 
 net-misc/quagga/quagga-1.0.20160315-r4.ebuild  | 137 -
 net-misc/quagga/quagga-1.1.0-r2.ebuild |   2 +-
 7 files changed, 1 insertion(+), 391 deletions(-)

diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
index ee21e46..ed50e66 100644
--- a/net-misc/quagga/Manifest
+++ b/net-misc/quagga/Manifest
@@ -1,3 +1,2 @@
 DIST ht-20040304-classless-bgp.patch 1581 SHA256 
39993890f9e31d662ed0564c732fb22392a901beb45b64261ffeadd9edf27887 SHA512 
3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
 WHIRLPOOL 
cef99d64d52ab8c28bd672fb93dfbd8d716a31c76a5403496a6d104a5ff39531d6085134124d41fe4ff7adf895fa001cbe77b6e42846d849d6c108c81583d04e
-DIST quagga-1.0.20160315.tar.xz 1819488 SHA256 
d284af5dd875dbba90ab875d40db5d68fdc9ede17a76f2af525f85344be56767 SHA512 
ad633d189017a2cef68cf1653b85e082a0dc4fe146720a985da8cdf2aa4c61f2df8a8339419c986e9d74aa88f7f7109bc6d0c13d9ff4904a23852cee3e112edc
 WHIRLPOOL 
6f0ac5da5fef382cf7a462f8d2c139bb0d8068e7b772cd48b63aa0752098515d6b5eb9a10a4e1fc7021085e0635248f6075d937901c6207d51bd0f284388541c
 DIST quagga-1.1.0.tar.gz 2870278 SHA256 
f7a43a9c59bfd3722002210530b2553c8d5cc05bfea5acd56d4f102b9f55dc63 SHA512 
3b29a90c4f05593714bda3c702fd2c8886ce48fba2fbfb98f55cc04d1025edd5427944e9a9fb7cd630e5e8ccea388b72a8e611ab65c370e760f3f319d03f090f
 WHIRLPOOL 
ee4a78b1d20aa9e7e7aea1f0be2adee83efa0fd47a807a4ec1affb1e059fee156861b612f73716cbf80e96cc6676baed062b9440ea7664198078cd6760380573

diff --git a/net-misc/quagga/files/quagga-1.0.20160315-bgpd-logging-fix.patch 
b/net-misc/quagga/files/quagga-1.0.20160315-bgpd-logging-fix.patch
deleted file mode 100644
index 7c7f54c..
--- a/net-misc/quagga/files/quagga-1.0.20160315-bgpd-logging-fix.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c
-index 740b0f1..9cbb5b5 100644
 a/bgpd/bgp_packet.c
-+++ b/bgpd/bgp_packet.c
-@@ -1631,7 +1631,7 @@ bgp_update_receive (struct peer *peer, bgp_size_t size)
- NLRI_TYPE_MAX,
-   };
-   struct bgp_nlri nlris[NLRI_TYPE_MAX];
--
-+  
-   /* Status must be Established. */
-   if (peer->status != Established) 
- {
-@@ -1645,6 +1645,7 @@ bgp_update_receive (struct peer *peer, bgp_size_t size)
-   memset (, 0, sizeof (struct attr));
-   memset (, 0, sizeof (struct attr_extra));
-   memset (, 0, sizeof nlris);
-+  
-   attr.extra = 
- 
-   s = peer->ibuf;
-@@ -1781,6 +1782,8 @@ bgp_update_receive (struct peer *peer, bgp_size_t size)
-   /* Parse any given NLRIs */
-   for (i = NLRI_UPDATE; i < NLRI_TYPE_MAX; i++)
- {
-+  if (!nlris[i].nlri) continue;
-+  
-   /* We use afi and safi as indices into tables and what not.  It would
-* be impossible, at this time, to support unknown afi/safis.  And
-* anyway, the peer needs to be configured to enable the afi/safi

diff --git 
a/net-misc/quagga/files/quagga-1.0.20160315-ospfd-dangling-pointer-fix.patch 
b/net-misc/quagga/files/quagga-1.0.20160315-ospfd-dangling-pointer-fix.patch
deleted file mode 100644
index cc24fba..
--- a/net-misc/quagga/files/quagga-1.0.20160315-ospfd-dangling-pointer-fix.patch
+++ /dev/null
@@ -1,134 +0,0 @@
-From bb01bdd740339b0c07d8ed0786811801b2a79192 Mon Sep 17 00:00:00 2001
-From: Jafar Al-Gharaibeh 
-Date: Thu, 21 Apr 2016 21:22:33 +
-Subject: ospfd: fix - correct neighbor index on changing/p2p/virtual links
-
-ospfd keeps a list of neighbor routers for each configured interface. This
- list is indexed using the neighbor router id in case of point-to-point and
- virtual link types, otherwise the list is indexed using the neighbor's
- source IP (RFC 2328, page 96). The router adds itself as a "pseudo" neighbor
- on each link, and also keeps a pointer called (nbr_self) to the neighbor
- structure. This takes place when the interface is first configured. Currently
- ospfd adds this pseudo neighbor before the link parameters are fully 
configure,
- including whether the link type is point-to-point or virtual link. This causes
- the pseudo neighbor to be always indexed using the source IP address 
regardless
- of th link type. For point-to-point and virtual links, this causes the lookup
- for the 

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-01-14 Thread Jeroen Roovers
commit: 4bba0ce3373a2294036edbdff9cff2d76337332e
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Jan 14 12:28:23 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Jan 14 12:28:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bba0ce3

net-misc/quagga: Stable for HPPA (bug #581526).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 net-misc/quagga/quagga-1.1.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.1.0-r2.ebuild 
b/net-misc/quagga/quagga-1.1.0-r2.ebuild
index 24f0acc..3f697d6 100644
--- a/net-misc/quagga/quagga-1.1.0-r2.ebuild
+++ b/net-misc/quagga/quagga-1.1.0-r2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ~ppc ~s390 ~sparc x86"
+KEYWORDS="alpha amd64 arm hppa ~ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2017-01-08 Thread Markus Meier
commit: 3427a0c8e420d51c87cd13380c03233b4ba57f63
Author: Markus Meier  gentoo  org>
AuthorDate: Sun Jan  8 18:28:30 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sun Jan  8 18:28:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3427a0c8

net-misc/quagga: arm stable, bug #581526

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 net-misc/quagga/quagga-1.1.0-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/quagga/quagga-1.1.0-r2.ebuild 
b/net-misc/quagga/quagga-1.1.0-r2.ebuild
index 9060056..24f0acc 100644
--- a/net-misc/quagga/quagga-1.1.0-r2.ebuild
+++ b/net-misc/quagga/quagga-1.1.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc x86"
+KEYWORDS="alpha amd64 arm ~hppa ~ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-12-22 Thread Thomas Deutschmann
commit: 726b31665ae62717eae6e8703d9f3d224cc96912
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Dec 23 00:30:27 2016 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Dec 23 00:30:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=726b3166

net-misc/quagga: x86 stable (bug #581526)

Package-Manager: Portage-2.3.2, Repoman-2.3.1

 net-misc/quagga/quagga-1.1.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.1.0-r2.ebuild 
b/net-misc/quagga/quagga-1.1.0-r2.ebuild
index 1cdfa85..9060056 100644
--- a/net-misc/quagga/quagga-1.1.0-r2.ebuild
+++ b/net-misc/quagga/quagga-1.1.0-r2.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-12-22 Thread Sergey Popov
commit: abd9acf70f995568c38becb595a716a2107bcfed
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Dec 22 08:09:44 2016 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Dec 22 08:10:16 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abd9acf7

net-misc/quagga: revision bump

Fix dependency for USE="protobuf", drop old revisions.
Revision needs to be bumped, because new dep has subslot operator.

Package-Manager: portage-2.3.2

 ...agga-1.1.0-r1.ebuild => quagga-1.1.0-r2.ebuild} |   2 +-
 net-misc/quagga/quagga-1.1.0.ebuild| 134 -
 2 files changed, 1 insertion(+), 135 deletions(-)

diff --git a/net-misc/quagga/quagga-1.1.0-r1.ebuild 
b/net-misc/quagga/quagga-1.1.0-r2.ebuild
similarity index 98%
rename from net-misc/quagga/quagga-1.1.0-r1.ebuild
rename to net-misc/quagga/quagga-1.1.0-r2.ebuild
index d227b3a..1cdfa85 100644
--- a/net-misc/quagga/quagga-1.1.0-r1.ebuild
+++ b/net-misc/quagga/quagga-1.1.0-r2.ebuild
@@ -21,7 +21,7 @@ IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath 
ospfapi pam protobuf +rea
 
 COMMON_DEPEND="
caps? ( sys-libs/libcap )
-   protobuf? ( dev-libs/protobuf:0= )
+   protobuf? ( dev-libs/protobuf-c:0= )
readline? (
sys-libs/readline:0=
pam? ( sys-libs/pam )

diff --git a/net-misc/quagga/quagga-1.1.0.ebuild 
b/net-misc/quagga/quagga-1.1.0.ebuild
deleted file mode 100644
index e85000b..
--- a/net-misc/quagga/quagga-1.1.0.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
-
-inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
user
-
-DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
-HOMEPAGE="http://quagga.net/;
-SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
-   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
-
-IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
-
-COMMON_DEPEND="
-   caps? ( sys-libs/libcap )
-   protobuf? ( dev-libs/protobuf:0= )
-   readline? (
-   sys-libs/readline:0=
-   pam? ( sys-libs/pam )
-   )
-   snmp? ( net-analyzer/net-snmp )
-   !elibc_glibc? ( dev-libs/libpcre )"
-DEPEND="${COMMON_DEPEND}
-   sys-apps/gawk
-   sys-devel/libtool:2"
-RDEPEND="${COMMON_DEPEND}
-   sys-apps/iproute2"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
-)
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
-You have to create config files in /etc/quagga before
-starting one of the daemons.
-
-You can pass additional options to the daemon by setting the EXTRA_OPTS
-variable in their respective file in /etc/conf.d"
-
-pkg_setup() {
-   enewgroup quagga
-   enewuser quagga -1 -1 /var/empty quagga
-}
-
-src_prepare() {
-   # Classless prefixes for BGP
-   # http://hasso.linux.ee/doku.php/english:network:quagga
-   use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
-
-   epatch ${PATCHES[@]}
-   eapply_user
-   eautoreconf
-}
-
-src_configure() {
-   append-flags -fno-strict-aliasing
-
-   # do not build PDF docs
-   export ac_cv_prog_PDFLATEX=no
-   export ac_cv_prog_LATEXMK=no
-
-   econf \
-   --enable-exampledir=/usr/share/doc/${PF}/samples \
-   --enable-irdp \
-   --enable-isisd \
-   --enable-isis-topology \
-   --enable-pimd \
-   --enable-user=quagga \
-   --enable-group=quagga \
-   --enable-vty-group=quagga \
-   --with-cflags="${CFLAGS}" \
-   --with-pkg-extra-version="-gentoo" \
-   --sysconfdir=/etc/quagga \
-   --localstatedir=/run/quagga \
-   --disable-static \
-   $(use_enable caps capabilities) \
-   $(usex snmp '--enable-snmp' '' '' '') \
-   $(use_enable !elibc_glibc pcreposix) \
-   $(use_enable tcp-zebra) \
-   $(use_enable doc) \
-   $(usex multipath $(use_enable multipath) '' '=0' '') \
-   $(usex ospfapi '--enable-opaque-lsa --enable-ospf-te 
--enable-ospfclient' '' '' '') \
-   $(use_enable readline vtysh) \
-   $(use_with pam libpam) \
-   $(use_enable protobuf) \
-   $(use_enable ipv6 ripngd) \
-   $(use_enable ipv6 ospf6d) \
-   $(use_enable ipv6 rtadv)
-}
-
-src_install() {
-   default
-   prune_libtool_files
-   readme.gentoo_create_doc
-
-   keepdir /etc/quagga
-  

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-12-21 Thread Tobias Klausmann
commit: 44bd1f759449ac4203ad677adf367f0d58423304
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Dec 21 19:43:17 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Dec 21 19:43:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44bd1f75

net-misc/quagga-1.1.0-r1: stable on amd64

Gentoo-Bug: 581526

 net-misc/quagga/quagga-1.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.1.0-r1.ebuild 
b/net-misc/quagga/quagga-1.1.0-r1.ebuild
index 39a6022..d227b3a 100644
--- a/net-misc/quagga/quagga-1.1.0-r1.ebuild
+++ b/net-misc/quagga/quagga-1.1.0-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-12-21 Thread Tobias Klausmann
commit: 54f571885ba020cfd74de76651bb1ce97c6b14c2
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Dec 21 19:20:31 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Dec 21 19:20:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54f57188

net-misc/quagga-1.1.0-r1: stable on alpha

Gentoo-Bug: 581526

 net-misc/quagga/quagga-1.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.1.0-r1.ebuild 
b/net-misc/quagga/quagga-1.1.0-r1.ebuild
index 086618e..39a6022 100644
--- a/net-misc/quagga/quagga-1.1.0-r1.ebuild
+++ b/net-misc/quagga/quagga-1.1.0-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/, net-misc/quagga/files/

2016-12-15 Thread Sergey Popov
commit: c56e561a155c8b1abeb567bc5c94caca3126b2eb
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Dec 15 15:16:47 2016 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Dec 15 15:16:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c56e561a

net-misc/quagga: revision bump

Supress excessive warning logs, useful only for developers

Package-Manager: portage-2.3.2

 .../quagga-1.1.0-supress-dev-build-logs.patch  |  25 
 net-misc/quagga/quagga-1.1.0-r1.ebuild | 135 +
 2 files changed, 160 insertions(+)

diff --git a/net-misc/quagga/files/quagga-1.1.0-supress-dev-build-logs.patch 
b/net-misc/quagga/files/quagga-1.1.0-supress-dev-build-logs.patch
new file mode 100644
index ..e0d27d0
--- /dev/null
+++ b/net-misc/quagga/files/quagga-1.1.0-supress-dev-build-logs.patch
@@ -0,0 +1,25 @@
+commit 92193665 warns about duplicate node installs.  This should only be
+enabled for dev builds beacuse it causes unwanted noise on production
+builds.  I've enclosed the relevant commands in #ifdef DEV_BUILD, which may
+or may not be appropriate.  If there's a more appropriate compile-time
+option available, that could be used instead.
+
+---
+ lib/command.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/lib/command.c b/lib/command.c
+index ab46fc4..bff86e5 100644
+--- a/lib/command.c
 b/lib/command.c
+@@ -638,9 +638,11 @@ install_element (enum node_type ntype, struct cmd_element 
*cmd)
+   
+   if (hash_lookup (cnode->cmd_hash, cmd) != NULL)
+ {
++#ifdef DEV_BUILD
+   fprintf (stderr, 
+"Multiple command installs to node %d of command:\n%s\n",
+ntype, cmd->string);
++#endif
+   return;
+ }

diff --git a/net-misc/quagga/quagga-1.1.0-r1.ebuild 
b/net-misc/quagga/quagga-1.1.0-r1.ebuild
new file mode 100644
index ..086618e
--- /dev/null
+++ b/net-misc/quagga/quagga-1.1.0-r1.ebuild
@@ -0,0 +1,135 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
+
+inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
user
+
+DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
+HOMEPAGE="http://quagga.net/;
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
+   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+
+IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
+
+COMMON_DEPEND="
+   caps? ( sys-libs/libcap )
+   protobuf? ( dev-libs/protobuf:0= )
+   readline? (
+   sys-libs/readline:0=
+   pam? ( sys-libs/pam )
+   )
+   snmp? ( net-analyzer/net-snmp )
+   !elibc_glibc? ( dev-libs/libpcre )"
+DEPEND="${COMMON_DEPEND}
+   sys-apps/gawk
+   sys-devel/libtool:2"
+RDEPEND="${COMMON_DEPEND}
+   sys-apps/iproute2"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
+   "${FILESDIR}/${P}-supress-dev-build-logs.patch"
+)
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
+You have to create config files in /etc/quagga before
+starting one of the daemons.
+
+You can pass additional options to the daemon by setting the EXTRA_OPTS
+variable in their respective file in /etc/conf.d"
+
+pkg_setup() {
+   enewgroup quagga
+   enewuser quagga -1 -1 /var/empty quagga
+}
+
+src_prepare() {
+   # Classless prefixes for BGP
+   # http://hasso.linux.ee/doku.php/english:network:quagga
+   use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
+
+   eapply ${PATCHES[@]}
+   eapply_user
+   eautoreconf
+}
+
+src_configure() {
+   append-flags -fno-strict-aliasing
+
+   # do not build PDF docs
+   export ac_cv_prog_PDFLATEX=no
+   export ac_cv_prog_LATEXMK=no
+
+   econf \
+   --enable-exampledir=/usr/share/doc/${PF}/samples \
+   --enable-irdp \
+   --enable-isisd \
+   --enable-isis-topology \
+   --enable-pimd \
+   --enable-user=quagga \
+   --enable-group=quagga \
+   --enable-vty-group=quagga \
+   --with-cflags="${CFLAGS}" \
+   --with-pkg-extra-version="-gentoo" \
+   --sysconfdir=/etc/quagga \
+   --localstatedir=/run/quagga \
+   --disable-static \
+   $(use_enable caps capabilities) \
+   $(usex snmp '--enable-snmp' '' '' '') \
+   $(use_enable !elibc_glibc pcreposix) \
+   $(use_enable tcp-zebra) \
+   $(use_enable doc) \
+   $(usex multipath $(use_enable multipath) '' '=0' '') \
+   $(usex 

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-12-15 Thread Sergey Popov
commit: de3598443e6cf96acd442d3546932a77b2e45741
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Dec 15 10:30:08 2016 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Dec 15 10:30:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de359844

net-misc/quagga: security stabilizing

Transfer stable keywords from 1.0.20160315-r3 to 1.0.20160315-r3.
Drop old vulnerable revision.

Gentoo-Bug: 597410

Package-Manager: portage-2.3.2

 net-misc/quagga/quagga-1.0.20160315-r3.ebuild | 136 --
 net-misc/quagga/quagga-1.0.20160315-r4.ebuild |   2 +-
 2 files changed, 1 insertion(+), 137 deletions(-)

diff --git a/net-misc/quagga/quagga-1.0.20160315-r3.ebuild 
b/net-misc/quagga/quagga-1.0.20160315-r3.ebuild
deleted file mode 100644
index c1d3e7c..
--- a/net-misc/quagga/quagga-1.0.20160315-r3.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
-
-inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
user
-
-DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
-HOMEPAGE="http://quagga.net/;
-SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
-   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ~s390 sparc x86"
-
-IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
-
-COMMON_DEPEND="
-   caps? ( sys-libs/libcap )
-   snmp? ( net-analyzer/net-snmp )
-   readline? (
-   sys-libs/readline:0
-   pam? ( sys-libs/pam )
-   )
-   !elibc_glibc? ( dev-libs/libpcre )"
-DEPEND="${COMMON_DEPEND}
-   app-arch/xz-utils
-   sys-apps/gawk
-   sys-devel/libtool:2"
-RDEPEND="${COMMON_DEPEND}
-   sys-apps/iproute2"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
-   "${FILESDIR}/${P}-ripd-null-pointer-fix.patch"
-   "${FILESDIR}/${P}-ospfd-dangling-pointer-fix.patch"
-   "${FILESDIR}/${P}-bgpd-logging-fix.patch"
-)
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
-You have to create config files in /etc/quagga before
-starting one of the daemons.
-
-You can pass additional options to the daemon by setting the EXTRA_OPTS
-variable in their respective file in /etc/conf.d"
-
-pkg_setup() {
-   enewgroup quagga
-   enewuser quagga -1 -1 /var/empty quagga
-}
-
-src_prepare() {
-   # Classless prefixes for BGP
-   # http://hasso.linux.ee/doku.php/english:network:quagga
-   use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
-
-   epatch ${PATCHES[@]}
-   eapply_user
-   eautoreconf
-}
-
-src_configure() {
-   append-flags -fno-strict-aliasing
-
-   # do not build PDF docs
-   export ac_cv_prog_PDFLATEX=no
-   export ac_cv_prog_LATEXMK=no
-
-   econf \
-   --enable-exampledir=/usr/share/doc/${PF}/samples \
-   --enable-irdp \
-   --enable-isisd \
-   --enable-isis-topology \
-   --enable-pimd \
-   --enable-user=quagga \
-   --enable-group=quagga \
-   --enable-vty-group=quagga \
-   --with-cflags="${CFLAGS}" \
-   --with-pkg-extra-version="-gentoo" \
-   --sysconfdir=/etc/quagga \
-   --localstatedir=/run/quagga \
-   --disable-static \
-   $(use_enable caps capabilities) \
-   $(usex snmp '--enable-snmp' '' '' '') \
-   $(use_enable !elibc_glibc pcreposix) \
-   $(use_enable tcp-zebra) \
-   $(use_enable doc) \
-   $(usex multipath $(use_enable multipath) '' '=0' '') \
-   $(usex ospfapi '--enable-opaque-lsa --enable-ospf-te 
--enable-ospfclient' '' '' '') \
-   $(use_enable readline vtysh) \
-   $(use_with pam libpam) \
-   $(use_enable ipv6 ripngd) \
-   $(use_enable ipv6 ospf6d) \
-   $(use_enable ipv6 rtadv)
-}
-
-src_install() {
-   default
-   prune_libtool_files
-   readme.gentoo_create_doc
-
-   keepdir /etc/quagga
-   fowners root:quagga /etc/quagga
-   fperms 0770 /etc/quagga
-
-   # Path for PIDs before first reboot should be created here, bug #558194
-   dodir /run/quagga
-   fowners quagga:quagga /run/quagga
-   fperms 0770 /run/quagga
-
-   # Install systemd-related stuff, bug #553136
-   systemd_dotmpfilesd "${FILESDIR}/systemd/quagga.conf"
-   systemd_dounit "${FILESDIR}/systemd/zebra.service"
-
-   # install zebra as a file, symlink the rest
-   newinitd "${FILESDIR}"/quagga-services.init.3 zebra
-
-   for 

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-12-15 Thread Sergey Popov
commit: 6e90d811e62938108c30a6fc7272eb5b40e4c40d
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Dec 15 10:19:10 2016 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Dec 15 10:19:31 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e90d811

net-misc/quagga: version bump

Package-Manager: portage-2.3.2

 net-misc/quagga/Manifest|   1 +
 net-misc/quagga/metadata.xml|  15 ++--
 net-misc/quagga/quagga-1.1.0.ebuild | 134 
 3 files changed, 144 insertions(+), 6 deletions(-)

diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
index 424a635..ee21e46 100644
--- a/net-misc/quagga/Manifest
+++ b/net-misc/quagga/Manifest
@@ -1,2 +1,3 @@
 DIST ht-20040304-classless-bgp.patch 1581 SHA256 
39993890f9e31d662ed0564c732fb22392a901beb45b64261ffeadd9edf27887 SHA512 
3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
 WHIRLPOOL 
cef99d64d52ab8c28bd672fb93dfbd8d716a31c76a5403496a6d104a5ff39531d6085134124d41fe4ff7adf895fa001cbe77b6e42846d849d6c108c81583d04e
 DIST quagga-1.0.20160315.tar.xz 1819488 SHA256 
d284af5dd875dbba90ab875d40db5d68fdc9ede17a76f2af525f85344be56767 SHA512 
ad633d189017a2cef68cf1653b85e082a0dc4fe146720a985da8cdf2aa4c61f2df8a8339419c986e9d74aa88f7f7109bc6d0c13d9ff4904a23852cee3e112edc
 WHIRLPOOL 
6f0ac5da5fef382cf7a462f8d2c139bb0d8068e7b772cd48b63aa0752098515d6b5eb9a10a4e1fc7021085e0635248f6075d937901c6207d51bd0f284388541c
+DIST quagga-1.1.0.tar.gz 2870278 SHA256 
f7a43a9c59bfd3722002210530b2553c8d5cc05bfea5acd56d4f102b9f55dc63 SHA512 
3b29a90c4f05593714bda3c702fd2c8886ce48fba2fbfb98f55cc04d1025edd5427944e9a9fb7cd630e5e8ccea388b72a8e611ab65c370e760f3f319d03f090f
 WHIRLPOOL 
ee4a78b1d20aa9e7e7aea1f0be2adee83efa0fd47a807a4ec1affb1e059fee156861b612f73716cbf80e96cc6676baed062b9440ea7664198078cd6760380573

diff --git a/net-misc/quagga/metadata.xml b/net-misc/quagga/metadata.xml
index 8360726..0cbccc0 100644
--- a/net-misc/quagga/metadata.xml
+++ b/net-misc/quagga/metadata.xml
@@ -28,17 +28,20 @@

Enable OSPFAPI support for client applications 
accessing the OSPF link state database

-   
-   Enable TCP zserv interface on port 2600 for 
Zebra/protocol-daemon communication. Unix domain
-   sockets are chosen otherwise
+   
+   Add support for PAM (via sys-libs/pam) to 
the Quagga Virtual Terminal Interface
+   Shell (vtysh); if the readline USE flag is disabled, 
this flag is ignored
+   
+   
+   Enable support for dev-libs/protobuf


Enable support for sys-libs/readline to 
provide the Quagga Virtual Terminal
Interface Shell (vtysh)

-   
-   Add support for PAM (via sys-libs/pam) to 
the Quagga Virtual Terminal Interface
-   Shell (vtysh); if the readline USE flag is disabled, 
this flag is ignored
+   
+   Enable TCP zserv interface on port 2600 for 
Zebra/protocol-daemon communication. Unix domain
+   sockets are chosen otherwise


 

diff --git a/net-misc/quagga/quagga-1.1.0.ebuild 
b/net-misc/quagga/quagga-1.1.0.ebuild
new file mode 100644
index ..e85000b
--- /dev/null
+++ b/net-misc/quagga/quagga-1.1.0.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
+
+inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
user
+
+DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
+HOMEPAGE="http://quagga.net/;
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz
+   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+
+IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam protobuf 
+readline snmp tcp-zebra"
+
+COMMON_DEPEND="
+   caps? ( sys-libs/libcap )
+   protobuf? ( dev-libs/protobuf:0= )
+   readline? (
+   sys-libs/readline:0=
+   pam? ( sys-libs/pam )
+   )
+   snmp? ( net-analyzer/net-snmp )
+   !elibc_glibc? ( dev-libs/libpcre )"
+DEPEND="${COMMON_DEPEND}
+   sys-apps/gawk
+   sys-devel/libtool:2"
+RDEPEND="${COMMON_DEPEND}
+   sys-apps/iproute2"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
+)
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
+You have to create config files in /etc/quagga before

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-10-26 Thread Markus Meier
commit: eaffa7135bb6776cc98f1a7c7c8a70411a571e11
Author: Markus Meier  gentoo  org>
AuthorDate: Wed Oct 26 16:36:40 2016 +
Commit: Markus Meier  gentoo  org>
CommitDate: Wed Oct 26 16:36:40 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaffa713

net-misc/quagga: arm stable, bug #597410

Package-Manager: portage-2.3.2
RepoMan-Options: --include-arches="arm"

 net-misc/quagga/quagga-1.0.20160315-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.0.20160315-r4.ebuild 
b/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
index 7661ff8..2ea06da 100644
--- a/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
+++ b/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ~ppc ~s390 ~sparc x86"
+KEYWORDS="alpha amd64 arm hppa ~ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-10-22 Thread Jeroen Roovers
commit: b736d41aba755caa7a2acfae6bf5cfd4736999eb
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Oct 22 09:58:37 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Oct 22 09:58:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b736d41a

net-misc/quagga: Stable for HPPA (bug #597410).

Package-Manager: portage-2.3.2
RepoMan-Options: --ignore-arches

 net-misc/quagga/quagga-1.0.20160315-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.0.20160315-r4.ebuild 
b/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
index e65e6b1..7661ff8 100644
--- a/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
+++ b/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc x86"
+KEYWORDS="alpha amd64 ~arm hppa ~ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-10-21 Thread Tobias Klausmann
commit: 2ef250a1f5b4d0615299b7c5f2d0763ca2d6b546
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Fri Oct 21 13:04:37 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Fri Oct 21 13:04:37 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ef250a1

net-misc/quagga-1.0.20160315-r4: stable on alpha

Gentoo-Bug: 597410

 net-misc/quagga/quagga-1.0.20160315-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.0.20160315-r4.ebuild 
b/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
index e3183ec..e65e6b1 100644
--- a/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
+++ b/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc x86"
+KEYWORDS="alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-10-19 Thread Agostino Sarubbo
commit: c8ac7abf34e38d189df9cd2b41e0e5c019e23b9b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Oct 19 10:28:02 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Oct 19 10:28:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8ac7abf

net-misc/quagga: x86 stable wrt bug #597410

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/quagga/quagga-1.0.20160315-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.0.20160315-r4.ebuild 
b/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
index 7db50d9..e3183ec 100644
--- a/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
+++ b/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-10-19 Thread Agostino Sarubbo
commit: a01b4cffceef8de246f2f0040e4526305419de4e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Oct 19 10:26:39 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Oct 19 10:26:39 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a01b4cff

net-misc/quagga: amd64 stable wrt bug #597410

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/quagga/quagga-1.0.20160315-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.0.20160315-r4.ebuild 
b/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
index b6af57e..7db50d9 100644
--- a/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
+++ b/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/, net-misc/quagga/files/

2016-10-18 Thread Sergey Popov
commit: 5a041e0100b705ec223a925e656373b9b0e40fa7
Author: Sergey Popov  gentoo  org>
AuthorDate: Tue Oct 18 15:25:41 2016 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Tue Oct 18 15:35:50 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a041e01

net-misc/quagga: revision bump

Backport upstream security fix for stack overrun
in IPv6 RA receive code in zebra daemon.

Reported-by: Agostino Sarubbo  gentoo.org>
Gentoo-Bug: 597410

Package-Manager: portage-2.3.2

 ...uagga-1.0.20160315-zebra-ipv6-ra-overflow.patch |  48 
 net-misc/quagga/quagga-1.0.20160315-r4.ebuild  | 137 +
 2 files changed, 185 insertions(+)

diff --git 
a/net-misc/quagga/files/quagga-1.0.20160315-zebra-ipv6-ra-overflow.patch 
b/net-misc/quagga/files/quagga-1.0.20160315-zebra-ipv6-ra-overflow.patch
new file mode 100644
index ..74b8add
--- /dev/null
+++ b/net-misc/quagga/files/quagga-1.0.20160315-zebra-ipv6-ra-overflow.patch
@@ -0,0 +1,48 @@
+commit cfb1fae25f8c092e0d17073eaf7bd428ce1cd546
+Author: David Lamparter 
+Date:   Wed Aug 31 13:31:16 2016 +0200
+
+zebra: stack overrun in IPv6 RA receive code (CVE-2016-1245)
+
+The IPv6 RA code also receives ICMPv6 RS and RA messages.
+Unfortunately, by bad coding practice, the buffer size specified on
+receiving such messages mixed up 2 constants that in fact have
+different values.
+
+The code itself has:
+ #define RTADV_MSG_SIZE 4096
+While BUFSIZ is system-dependent, in my case (x86_64 glibc):
+ /usr/include/_G_config.h:#define _G_BUFSIZ 8192
+ /usr/include/libio.h:#define _IO_BUFSIZ _G_BUFSIZ
+ /usr/include/stdio.h:# define BUFSIZ _IO_BUFSIZ
+
+FreeBSD, OpenBSD, NetBSD and Illumos are not affected, since all of them
+have BUFSIZ == 1024.
+
+As the latter is passed to the kernel on recvmsg(), it's possible to
+overwrite 4kB of stack -- with ICMPv6 packets that can be globally sent
+to any of the system's addresses (using fragmentation to get to 8k).
+
+(The socket has filters installed limiting this to RS and RA packets,
+but does not have a filter for source address or TTL.)
+
+Issue discovered by trying to test other stuff, which randomly caused
+the stack to be smaller than 8kB in that code location, which then
+causes the kernel to report EFAULT (Bad address).
+
+Signed-off-by: David Lamparter 
+Reviewed-by: Donald Sharp 
+
+diff --git a/zebra/rtadv.c b/zebra/rtadv.c
+index d4ef1b8..2f62714 100644
+--- a/zebra/rtadv.c
 b/zebra/rtadv.c
+@@ -482,7 +482,7 @@ rtadv_read (struct thread *thread)
+   /* Register myself. */
+   rtadv_event (zvrf, RTADV_READ, sock);
+ 
+-  len = rtadv_recv_packet (sock, buf, BUFSIZ, , , );
++  len = rtadv_recv_packet (sock, buf, sizeof (buf), , , 
);
+ 
+   if (len < 0) 
+ {

diff --git a/net-misc/quagga/quagga-1.0.20160315-r4.ebuild 
b/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
new file mode 100644
index ..b6af57e
--- /dev/null
+++ b/net-misc/quagga/quagga-1.0.20160315-r4.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
+
+inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
user
+
+DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
+HOMEPAGE="http://quagga.net/;
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
+   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+
+IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
+
+COMMON_DEPEND="
+   caps? ( sys-libs/libcap )
+   snmp? ( net-analyzer/net-snmp )
+   readline? (
+   sys-libs/readline:0
+   pam? ( sys-libs/pam )
+   )
+   !elibc_glibc? ( dev-libs/libpcre )"
+DEPEND="${COMMON_DEPEND}
+   app-arch/xz-utils
+   sys-apps/gawk
+   sys-devel/libtool:2"
+RDEPEND="${COMMON_DEPEND}
+   sys-apps/iproute2"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
+   "${FILESDIR}/${P}-ripd-null-pointer-fix.patch"
+   "${FILESDIR}/${P}-ospfd-dangling-pointer-fix.patch"
+   "${FILESDIR}/${P}-bgpd-logging-fix.patch"
+   "${FILESDIR}/${P}-zebra-ipv6-ra-overflow.patch"
+)
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
+You have to create config files in /etc/quagga before
+starting one of the daemons.
+
+You can pass additional options to the daemon by setting the EXTRA_OPTS
+variable in their respective file in /etc/conf.d"
+
+pkg_setup() {
+   enewgroup quagga
+   enewuser 

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-10-06 Thread Sergey Popov
commit: 66139ead8c4ed55cdc06bf520b8710191e64200d
Author: Sergey Popov  gentoo  org>
AuthorDate: Thu Oct  6 11:57:03 2016 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Thu Oct  6 11:57:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66139ead

net-misc/quagga: stabilize new revision

Transfer stable keywords from previous revision, drop old

Package-Manager: portage-2.2.28

 net-misc/quagga/quagga-1.0.20160315-r2.ebuild | 135 --
 net-misc/quagga/quagga-1.0.20160315-r3.ebuild |   2 +-
 2 files changed, 1 insertion(+), 136 deletions(-)

diff --git a/net-misc/quagga/quagga-1.0.20160315-r2.ebuild 
b/net-misc/quagga/quagga-1.0.20160315-r2.ebuild
deleted file mode 100644
index cdf60d6..
--- a/net-misc/quagga/quagga-1.0.20160315-r2.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-
-CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
-
-inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
user
-
-DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
-HOMEPAGE="http://quagga.net/;
-SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
-   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ~s390 sparc x86"
-
-IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
-
-COMMON_DEPEND="
-   caps? ( sys-libs/libcap )
-   snmp? ( net-analyzer/net-snmp )
-   readline? (
-   sys-libs/readline:0
-   pam? ( sys-libs/pam )
-   )
-   !elibc_glibc? ( dev-libs/libpcre )"
-DEPEND="${COMMON_DEPEND}
-   app-arch/xz-utils
-   sys-apps/gawk
-   sys-devel/libtool:2"
-RDEPEND="${COMMON_DEPEND}
-   sys-apps/iproute2"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
-   "${FILESDIR}/${P}-ripd-null-pointer-fix.patch"
-   "${FILESDIR}/${P}-ospfd-dangling-pointer-fix.patch"
-)
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
-You have to create config files in /etc/quagga before
-starting one of the daemons.
-
-You can pass additional options to the daemon by setting the EXTRA_OPTS
-variable in their respective file in /etc/conf.d"
-
-pkg_setup() {
-   enewgroup quagga
-   enewuser quagga -1 -1 /var/empty quagga
-}
-
-src_prepare() {
-   # Classless prefixes for BGP
-   # http://hasso.linux.ee/doku.php/english:network:quagga
-   use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
-
-   epatch ${PATCHES[@]}
-   eapply_user
-   eautoreconf
-}
-
-src_configure() {
-   append-flags -fno-strict-aliasing
-
-   # do not build PDF docs
-   export ac_cv_prog_PDFLATEX=no
-   export ac_cv_prog_LATEXMK=no
-
-   econf \
-   --enable-exampledir=/usr/share/doc/${PF}/samples \
-   --enable-irdp \
-   --enable-isisd \
-   --enable-isis-topology \
-   --enable-pimd \
-   --enable-user=quagga \
-   --enable-group=quagga \
-   --enable-vty-group=quagga \
-   --with-cflags="${CFLAGS}" \
-   --with-pkg-extra-version="-gentoo" \
-   --sysconfdir=/etc/quagga \
-   --localstatedir=/run/quagga \
-   --disable-static \
-   $(use_enable caps capabilities) \
-   $(usex snmp '--enable-snmp' '' '' '') \
-   $(use_enable !elibc_glibc pcreposix) \
-   $(use_enable tcp-zebra) \
-   $(use_enable doc) \
-   $(usex multipath $(use_enable multipath) '' '=0' '') \
-   $(usex ospfapi '--enable-opaque-lsa --enable-ospf-te 
--enable-ospfclient' '' '' '') \
-   $(use_enable readline vtysh) \
-   $(use_with pam libpam) \
-   $(use_enable ipv6 ripngd) \
-   $(use_enable ipv6 ospf6d) \
-   $(use_enable ipv6 rtadv)
-}
-
-src_install() {
-   default
-   prune_libtool_files
-   readme.gentoo_create_doc
-
-   keepdir /etc/quagga
-   fowners root:quagga /etc/quagga
-   fperms 0770 /etc/quagga
-
-   # Path for PIDs before first reboot should be created here, bug #558194
-   dodir /run/quagga
-   fowners quagga:quagga /run/quagga
-   fperms 0770 /run/quagga
-
-   # Install systemd-related stuff, bug #553136
-   systemd_dotmpfilesd "${FILESDIR}/systemd/quagga.conf"
-   systemd_dounit "${FILESDIR}/systemd/zebra.service"
-
-   # install zebra as a file, symlink the rest
-   newinitd "${FILESDIR}"/quagga-services.init.3 zebra
-
-   for service in bgpd isisd ospfd pimd ripd $(use ipv6 && echo ospf6d 
ripngd); do
-   dosym zebra 

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/files/, net-misc/quagga/

2016-08-13 Thread Sergey Popov
commit: 1d77537a3d59537cb413358bbd23714fe8a8776a
Author: Sergey Popov  gentoo  org>
AuthorDate: Sat Aug 13 07:16:13 2016 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Sat Aug 13 07:16:13 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d77537a

net-misc/quagga: revision bump

Currently, bgpd logs enormous amount of errors about
AFI/SAFI does not set, which is wrong, so we should
backport upstream patch to fix this

Reported-by: Arnaud Launay  launay.org>
Gentoo-Bug: 589946

Package-Manager: portage-2.3.0

 .../quagga-1.0.20160315-bgpd-logging-fix.patch |  30 +
 net-misc/quagga/quagga-1.0.20160315-r3.ebuild  | 136 +
 2 files changed, 166 insertions(+)

diff --git a/net-misc/quagga/files/quagga-1.0.20160315-bgpd-logging-fix.patch 
b/net-misc/quagga/files/quagga-1.0.20160315-bgpd-logging-fix.patch
new file mode 100644
index 000..7c7f54c
--- /dev/null
+++ b/net-misc/quagga/files/quagga-1.0.20160315-bgpd-logging-fix.patch
@@ -0,0 +1,30 @@
+diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c
+index 740b0f1..9cbb5b5 100644
+--- a/bgpd/bgp_packet.c
 b/bgpd/bgp_packet.c
+@@ -1631,7 +1631,7 @@ bgp_update_receive (struct peer *peer, bgp_size_t size)
+ NLRI_TYPE_MAX,
+   };
+   struct bgp_nlri nlris[NLRI_TYPE_MAX];
+-
++  
+   /* Status must be Established. */
+   if (peer->status != Established) 
+ {
+@@ -1645,6 +1645,7 @@ bgp_update_receive (struct peer *peer, bgp_size_t size)
+   memset (, 0, sizeof (struct attr));
+   memset (, 0, sizeof (struct attr_extra));
+   memset (, 0, sizeof nlris);
++  
+   attr.extra = 
+ 
+   s = peer->ibuf;
+@@ -1781,6 +1782,8 @@ bgp_update_receive (struct peer *peer, bgp_size_t size)
+   /* Parse any given NLRIs */
+   for (i = NLRI_UPDATE; i < NLRI_TYPE_MAX; i++)
+ {
++  if (!nlris[i].nlri) continue;
++  
+   /* We use afi and safi as indices into tables and what not.  It would
+* be impossible, at this time, to support unknown afi/safis.  And
+* anyway, the peer needs to be configured to enable the afi/safi

diff --git a/net-misc/quagga/quagga-1.0.20160315-r3.ebuild 
b/net-misc/quagga/quagga-1.0.20160315-r3.ebuild
new file mode 100644
index 000..5af09fe
--- /dev/null
+++ b/net-misc/quagga/quagga-1.0.20160315-r3.ebuild
@@ -0,0 +1,136 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
+
+inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
user
+
+DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
+HOMEPAGE="http://quagga.net/;
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
+   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+
+IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
+
+COMMON_DEPEND="
+   caps? ( sys-libs/libcap )
+   snmp? ( net-analyzer/net-snmp )
+   readline? (
+   sys-libs/readline:0
+   pam? ( sys-libs/pam )
+   )
+   !elibc_glibc? ( dev-libs/libpcre )"
+DEPEND="${COMMON_DEPEND}
+   app-arch/xz-utils
+   sys-apps/gawk
+   sys-devel/libtool:2"
+RDEPEND="${COMMON_DEPEND}
+   sys-apps/iproute2"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
+   "${FILESDIR}/${P}-ripd-null-pointer-fix.patch"
+   "${FILESDIR}/${P}-ospfd-dangling-pointer-fix.patch"
+   "${FILESDIR}/${P}-bgpd-logging-fix.patch"
+)
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
+You have to create config files in /etc/quagga before
+starting one of the daemons.
+
+You can pass additional options to the daemon by setting the EXTRA_OPTS
+variable in their respective file in /etc/conf.d"
+
+pkg_setup() {
+   enewgroup quagga
+   enewuser quagga -1 -1 /var/empty quagga
+}
+
+src_prepare() {
+   # Classless prefixes for BGP
+   # http://hasso.linux.ee/doku.php/english:network:quagga
+   use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
+
+   epatch ${PATCHES[@]}
+   eapply_user
+   eautoreconf
+}
+
+src_configure() {
+   append-flags -fno-strict-aliasing
+
+   # do not build PDF docs
+   export ac_cv_prog_PDFLATEX=no
+   export ac_cv_prog_LATEXMK=no
+
+   econf \
+   --enable-exampledir=/usr/share/doc/${PF}/samples \
+   --enable-irdp \
+   --enable-isisd \
+   --enable-isis-topology \
+   --enable-pimd \
+   --enable-user=quagga \
+   --enable-group=quagga \
+   --enable-vty-group=quagga \
+   --with-cflags="${CFLAGS}" \
+   --with-pkg-extra-version="-gentoo" \
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-06-20 Thread Sergey Popov
commit: 9eed0274b015110654fbb3c1f8fde2118042bf0b
Author: Sergey Popov  gentoo  org>
AuthorDate: Mon Jun 20 20:55:23 2016 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Mon Jun 20 20:55:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eed0274

net-misc/quagga: drop old vulnerable versions

Package-Manager: portage-2.3.0_rc1

 net-misc/quagga/Manifest   |   2 -
 net-misc/quagga/quagga-0.99.23.1.ebuild| 116 --
 net-misc/quagga/quagga-0.99.24.1-r1.ebuild | 127 -
 3 files changed, 245 deletions(-)

diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
index 9b3a813..424a635 100644
--- a/net-misc/quagga/Manifest
+++ b/net-misc/quagga/Manifest
@@ -1,4 +1,2 @@
 DIST ht-20040304-classless-bgp.patch 1581 SHA256 
39993890f9e31d662ed0564c732fb22392a901beb45b64261ffeadd9edf27887 SHA512 
3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
 WHIRLPOOL 
cef99d64d52ab8c28bd672fb93dfbd8d716a31c76a5403496a6d104a5ff39531d6085134124d41fe4ff7adf895fa001cbe77b6e42846d849d6c108c81583d04e
-DIST quagga-0.99.23.1.tar.xz 1682104 SHA256 
202e8b7fbec810f28a84e3fbb6aafdaf08a3b51527c258807abc8a74ed617eb8 SHA512 
7a222d4a5aa41deeb233f2e9ce922e5c29787c2f74c1b99177089e3183b69d3c0e4db5846676485a1990b728e007e687070ba4cecab67aa61f8be6c0851581cc
 WHIRLPOOL 
90e37fcb1b87ec1ea618d42c19a1350f84ffe87f2cd4e6e4629a9e7edef1ba792a8f287b3367b31eb6f2d387e6c287da47a69c5cacf0a76be8099c1f7987
-DIST quagga-0.99.24.1.tar.xz 1779120 SHA256 
6fd6baadb136a801c29c1dd72d0fe69da9f19ae498e87bff7057778361e43b14 SHA512 
71c340ce0f4e52c69892d8fed82d30956161b09b029fb0a82ba774664aa2303b493068664ea057870bec3c7c2a1ffea0a68fba0c400d6868efef691d7b055d2a
 WHIRLPOOL 
e7b4fd86561513b08244a5217821cc7d911b077eccd4c798484a4b13b4acabba133c664a463a7b2261e6e5e1bf3e2d37de9d2b6005a18e004e526f741a22bd9a
 DIST quagga-1.0.20160315.tar.xz 1819488 SHA256 
d284af5dd875dbba90ab875d40db5d68fdc9ede17a76f2af525f85344be56767 SHA512 
ad633d189017a2cef68cf1653b85e082a0dc4fe146720a985da8cdf2aa4c61f2df8a8339419c986e9d74aa88f7f7109bc6d0c13d9ff4904a23852cee3e112edc
 WHIRLPOOL 
6f0ac5da5fef382cf7a462f8d2c139bb0d8068e7b772cd48b63aa0752098515d6b5eb9a10a4e1fc7021085e0635248f6075d937901c6207d51bd0f284388541c

diff --git a/net-misc/quagga/quagga-0.99.23.1.ebuild 
b/net-misc/quagga/quagga-0.99.23.1.ebuild
deleted file mode 100644
index 278ca25..000
--- a/net-misc/quagga/quagga-0.99.23.1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-
-CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
-
-AUTOTOOLS_AUTORECONF=1
-inherit autotools-utils eutils flag-o-matic multilib pam readme.gentoo user
-
-DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
-HOMEPAGE="http://quagga.net/;
-SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
-   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ~s390 sparc x86"
-IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
-
-COMMON_DEPEND="
-   caps? ( sys-libs/libcap )
-   snmp? ( net-analyzer/net-snmp )
-   readline? (
-   sys-libs/readline
-   pam? ( sys-libs/pam )
-   )
-   !elibc_glibc? ( dev-libs/libpcre )"
-DEPEND="${COMMON_DEPEND}
-   app-arch/xz-utils
-   sys-apps/gawk
-   sys-devel/libtool:2"
-RDEPEND="${COMMON_DEPEND}
-   sys-apps/iproute2"
-
-PATCHES=( "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch" )
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
-You have to create config files in /etc/quagga before
-starting one of the daemons.
-
-You can pass additional options to the daemon by setting the EXTRA_OPTS
-variable in their respective file in /etc/conf.d"
-
-pkg_setup() {
-   enewgroup quagga
-   enewuser quagga -1 -1 /var/empty quagga
-}
-
-src_prepare() {
-   # Classless prefixes for BGP
-   # http://hasso.linux.ee/doku.php/english:network:quagga
-   use bgpclassless && epatch "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
-
-   autotools-utils_src_prepare
-}
-
-src_configure() {
-   append-flags -fno-strict-aliasing
-
-   # do not build PDF docs
-   export ac_cv_prog_PDFLATEX=no
-   export ac_cv_prog_LATEXMK=no
-
-   local myeconfargs=(
-   --enable-exampledir=/usr/share/doc/${PF}/samples
-   --enable-isisd --enable-isis-topology
-   --enable-user=quagga
-   --enable-group=quagga
-   --enable-vty-group=quagga
-   --with-cflags="${CFLAGS}"
-   --with-pkg-extra-version="-gentoo"
-   --sysconfdir=/etc/quagga
-

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/files/, net-misc/quagga/

2016-06-20 Thread Sergey Popov
commit: f7f48f9018359a5a268288fdd4988027f56cef3e
Author: Sergey Popov  gentoo  org>
AuthorDate: Mon Jun 20 20:54:17 2016 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Mon Jun 20 20:54:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7f48f90

net-misc/quagga: revision bump

Fix dangling pointer dereference in ospfd,
making it useable again on p2p links
Commited straight to stable

Package-Manager: portage-2.3.0_rc1

 ...a-1.0.20160315-ospfd-dangling-pointer-fix.patch | 134 +
 ...315-r1.ebuild => quagga-1.0.20160315-r2.ebuild} |   3 +-
 2 files changed, 136 insertions(+), 1 deletion(-)

diff --git 
a/net-misc/quagga/files/quagga-1.0.20160315-ospfd-dangling-pointer-fix.patch 
b/net-misc/quagga/files/quagga-1.0.20160315-ospfd-dangling-pointer-fix.patch
new file mode 100644
index 000..cc24fba
--- /dev/null
+++ b/net-misc/quagga/files/quagga-1.0.20160315-ospfd-dangling-pointer-fix.patch
@@ -0,0 +1,134 @@
+From bb01bdd740339b0c07d8ed0786811801b2a79192 Mon Sep 17 00:00:00 2001
+From: Jafar Al-Gharaibeh 
+Date: Thu, 21 Apr 2016 21:22:33 +
+Subject: ospfd: fix - correct neighbor index on changing/p2p/virtual links
+
+ospfd keeps a list of neighbor routers for each configured interface. This
+ list is indexed using the neighbor router id in case of point-to-point and
+ virtual link types, otherwise the list is indexed using the neighbor's
+ source IP (RFC 2328, page 96). The router adds itself as a "pseudo" neighbor
+ on each link, and also keeps a pointer called (nbr_self) to the neighbor
+ structure. This takes place when the interface is first configured. Currently
+ ospfd adds this pseudo neighbor before the link parameters are fully 
configure,
+ including whether the link type is point-to-point or virtual link. This causes
+ the pseudo neighbor to be always indexed using the source IP address 
regardless
+ of th link type. For point-to-point and virtual links, this causes the lookup
+ for the pseudo neighbor to always fail because the lookup is done using the
+ router id whereas the neighbor was added using its source IP address.
+ This becomes really problematic if there is a state change that requires a
+ rebuild of nbr_self, changing the router id for example. When resetting
+ nbr_self, the router first tries to remove the pseudo neighbor form its
+ neighbor list on each link by looking it up and resetting any references to it
+ before freeing the neighbor structure. since the lookup fails to retrieve any
+ references in the case of point-to-point and virtual links the neighbor
+ structure is freed leaving dangling references to it. Any access to the
+ neighbor list after that is bound to stumble over this dangling pointer
+ causing ospfd to crash.
+
+Signed-off-by: Jafar Al-Gharaibeh 
+Tested-by: NetDEF CI System 
+---
+diff --git a/ospfd/ospf_interface.c b/ospfd/ospf_interface.c
+index f4242b0..d54bc47 100644
+--- a/ospfd/ospf_interface.c
 b/ospfd/ospf_interface.c
+@@ -232,8 +232,8 @@ ospf_if_new (struct ospf *ospf, struct interface *ifp, 
struct prefix *p)
+   /* Set default values. */
+   ospf_if_reset_variables (oi);
+ 
+-  /* Add pseudo neighbor. */
+-  oi->nbr_self = ospf_nbr_new (oi);
++  /* Set pseudo neighbor to Null */
++  oi->nbr_self = NULL;
+ 
+   oi->ls_upd_queue = route_table_init ();
+   oi->t_ls_upd_event = NULL;
+@@ -902,7 +902,9 @@ ospf_vl_new (struct ospf *ospf, struct ospf_vl_data 
*vl_data)
+   if (IS_DEBUG_OSPF_EVENT)
+ zlog_debug ("ospf_vl_new(): set associated area to the backbone");
+ 
+-  ospf_nbr_add_self (voi);
++  /* Add pseudo neighbor. */
++  ospf_nbr_self_reset (voi);
++
+   ospf_area_add_if (voi->area, voi);
+ 
+   ospf_if_stream_set (voi);
+diff --git a/ospfd/ospf_neighbor.c b/ospfd/ospf_neighbor.c
+index 862de5e..06e63dd 100644
+--- a/ospfd/ospf_neighbor.c
 b/ospfd/ospf_neighbor.c
+@@ -181,6 +181,35 @@ ospf_nbr_delete (struct ospf_neighbor *nbr)
+ 
+   route_unlock_node (rn);
+ }
++  else
++{
++  /*
++   * This neighbor was not found, but before we move on and
++   * free the neighbor structre, make sure that it was not
++   * indexed incorrectly and ended up in the "worng" place
++   */
++
++  /* Reverse the lookup rules */
++  if (oi->type == OSPF_IFTYPE_VIRTUALLINK ||
++oi->type == OSPF_IFTYPE_POINTOPOINT)
++  p.u.prefix4 = nbr->src;
++  else
++  p.u.prefix4 = nbr->router_id;
++
++  rn = route_node_lookup (oi->nbrs, );
++  if (rn){
++  /* We found the neighbor!
++   * Now make sure it is not the exact same neighbor
++   * structure that we are about to free
++   */
++  if (nbr == rn->info){
++/* Same neighbor, drop the reference to it */
++rn->info = NULL;
++route_unlock_node (rn);
++  }
++  route_unlock_node (rn);
++  }
++}
+ 
+   /* Free ospf_neighbor structure. */
+   ospf_nbr_free (nbr);
+@@ 

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/files/, net-misc/quagga/

2016-04-12 Thread Sergey Popov
commit: ca6d97524c94cc87abce4d9b3281d6e6be646838
Author: Sergey Popov  gentoo  org>
AuthorDate: Tue Apr 12 13:02:00 2016 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Tue Apr 12 13:15:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca6d9752

net-misc/quagga: revision bump

Fix NULL pointer dereference in ripd
Commited straight to stable

Reported-by: Sebastian Kricner  tuxwave.net>
Acked-by: Sergey Popov  gentoo.org>
Gentoo-Bug: 579386

Package-Manager: portage-2.2.28
RepoMan-Options: --force

 ...quagga-1.0.20160315-ripd-null-pointer-fix.patch | 40 ++
 ...160315.ebuild => quagga-1.0.20160315-r1.ebuild} |  5 ++-
 2 files changed, 44 insertions(+), 1 deletion(-)

diff --git 
a/net-misc/quagga/files/quagga-1.0.20160315-ripd-null-pointer-fix.patch 
b/net-misc/quagga/files/quagga-1.0.20160315-ripd-null-pointer-fix.patch
new file mode 100644
index 000..e48c304
--- /dev/null
+++ b/net-misc/quagga/files/quagga-1.0.20160315-ripd-null-pointer-fix.patch
@@ -0,0 +1,40 @@
+The rip_output_process function dereferenced a NULL
+pointer.  Core file examination showed that tmp_rinfo
+was NULL on line 2435.  Looking at the last diff
+associated with this commit, it was obvious that
+a formating mistake had been made in the loop over
+the route nodes list of possible paths.
+
+Signed-off-by: Donald Sharp 
+Reported-by: Sebastian Kricner 
+---
+ ripd/ripd.c | 14 --
+ 1 file changed, 8 insertions(+), 6 deletions(-)
+
+diff --git a/ripd/ripd.c b/ripd/ripd.c
+index 82b1ada..0beb0e6 100644
+--- a/ripd/ripd.c
 b/ripd/ripd.c
+@@ -2429,12 +2429,14 @@ rip_output_process (struct connected *ifc, struct 
sockaddr_in *to,
+ struct rip_info *tmp_rinfo = NULL;
+ 
+ for (ALL_LIST_ELEMENTS_RO (list, listnode, tmp_rinfo))
+-  if (tmp_rinfo->type == ZEBRA_ROUTE_RIP  &&
+-  tmp_rinfo->ifindex == ifc->ifp->ifindex)
+-rinfo->metric_out = RIP_METRIC_INFINITY;
+-if (tmp_rinfo->type == ZEBRA_ROUTE_CONNECT &&
+-  prefix_match((struct prefix *)p, ifc->address))
+-  rinfo->metric_out = RIP_METRIC_INFINITY;
++{
++if (tmp_rinfo->type == ZEBRA_ROUTE_RIP  &&
++tmp_rinfo->ifindex == ifc->ifp->ifindex)
++  rinfo->metric_out = RIP_METRIC_INFINITY;
++if (tmp_rinfo->type == ZEBRA_ROUTE_CONNECT &&
++prefix_match((struct prefix *)p, ifc->address))
++  rinfo->metric_out = RIP_METRIC_INFINITY;
++}
+   }
+   
+   /* Prepare preamble, auth headers, if needs be */
+-- 
+1.9.1

diff --git a/net-misc/quagga/quagga-1.0.20160315.ebuild 
b/net-misc/quagga/quagga-1.0.20160315-r1.ebuild
similarity index 96%
rename from net-misc/quagga/quagga-1.0.20160315.ebuild
rename to net-misc/quagga/quagga-1.0.20160315-r1.ebuild
index 949953c..b328a70 100644
--- a/net-misc/quagga/quagga-1.0.20160315.ebuild
+++ b/net-misc/quagga/quagga-1.0.20160315-r1.ebuild
@@ -34,7 +34,10 @@ DEPEND="${COMMON_DEPEND}
 RDEPEND="${COMMON_DEPEND}
sys-apps/iproute2"
 
-PATCHES=( "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch" )
+PATCHES=(
+   "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch"
+   "${FILESDIR}/${PN}-1.0.20160315-ripd-null-pointer-fix.patch"
+)
 
 DISABLE_AUTOFORMATTING=1
 DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-04-11 Thread Agostino Sarubbo
commit: b3b3bf6bd3eed82312fd704dd7dae61571ee844e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Apr 11 10:38:30 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Apr 11 10:38:30 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3b3bf6b

net-misc/quagga: x86 stable wrt bug #577156

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/quagga/quagga-1.0.20160315.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.0.20160315.ebuild 
b/net-misc/quagga/quagga-1.0.20160315.ebuild
index b5a8eb7..949953c 100644
--- a/net-misc/quagga/quagga-1.0.20160315.ebuild
+++ b/net-misc/quagga/quagga-1.0.20160315.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ppc ~s390 sparc ~x86"
+KEYWORDS="alpha amd64 arm hppa ppc ~s390 sparc x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-03-27 Thread Agostino Sarubbo
commit: 7c814325b186d870689f88abb16003e37410f359
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Mar 27 10:15:51 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Mar 27 10:15:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c814325

net-misc/quagga: ppc stable wrt bug #577156

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/quagga/quagga-1.0.20160315.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.0.20160315.ebuild 
b/net-misc/quagga/quagga-1.0.20160315.ebuild
index 0c26e26..b5a8eb7 100644
--- a/net-misc/quagga/quagga-1.0.20160315.ebuild
+++ b/net-misc/quagga/quagga-1.0.20160315.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ~ppc ~s390 sparc ~x86"
+KEYWORDS="alpha amd64 arm hppa ppc ~s390 sparc ~x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-03-24 Thread Markus Meier
commit: ce575e5ef7954d7dd16e4298c5dc6f3557fd2998
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Mar 24 06:04:49 2016 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Mar 24 06:04:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce575e5e

net-misc/quagga: arm stable, bug #577156

Package-Manager: portage-2.2.28
RepoMan-Options: --include-arches="arm"

 net-misc/quagga/quagga-1.0.20160315.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.0.20160315.ebuild 
b/net-misc/quagga/quagga-1.0.20160315.ebuild
index 1a9c573..0c26e26 100644
--- a/net-misc/quagga/quagga-1.0.20160315.ebuild
+++ b/net-misc/quagga/quagga-1.0.20160315.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ~ppc ~s390 sparc ~x86"
+KEYWORDS="alpha amd64 arm hppa ~ppc ~s390 sparc ~x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-03-19 Thread Sergey Popov
commit: 2de159243243efbbf0896de1c7d8938a7302da0f
Author: Sergey Popov  gentoo  org>
AuthorDate: Wed Mar 16 14:16:51 2016 +
Commit: Sergey Popov  gentoo  org>
CommitDate: Wed Mar 16 14:16:51 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2de15924

net-misc/quagga: version bump

Gentoo-Bug: 577156

Package-Manager: portage-2.2.27

 net-misc/quagga/Manifest   |   1 +
 net-misc/quagga/quagga-1.0.20160315.ebuild | 131 +
 2 files changed, 132 insertions(+)

diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest
index 72daf29..9b3a813 100644
--- a/net-misc/quagga/Manifest
+++ b/net-misc/quagga/Manifest
@@ -1,3 +1,4 @@
 DIST ht-20040304-classless-bgp.patch 1581 SHA256 
39993890f9e31d662ed0564c732fb22392a901beb45b64261ffeadd9edf27887 SHA512 
3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8
 WHIRLPOOL 
cef99d64d52ab8c28bd672fb93dfbd8d716a31c76a5403496a6d104a5ff39531d6085134124d41fe4ff7adf895fa001cbe77b6e42846d849d6c108c81583d04e
 DIST quagga-0.99.23.1.tar.xz 1682104 SHA256 
202e8b7fbec810f28a84e3fbb6aafdaf08a3b51527c258807abc8a74ed617eb8 SHA512 
7a222d4a5aa41deeb233f2e9ce922e5c29787c2f74c1b99177089e3183b69d3c0e4db5846676485a1990b728e007e687070ba4cecab67aa61f8be6c0851581cc
 WHIRLPOOL 
90e37fcb1b87ec1ea618d42c19a1350f84ffe87f2cd4e6e4629a9e7edef1ba792a8f287b3367b31eb6f2d387e6c287da47a69c5cacf0a76be8099c1f7987
 DIST quagga-0.99.24.1.tar.xz 1779120 SHA256 
6fd6baadb136a801c29c1dd72d0fe69da9f19ae498e87bff7057778361e43b14 SHA512 
71c340ce0f4e52c69892d8fed82d30956161b09b029fb0a82ba774664aa2303b493068664ea057870bec3c7c2a1ffea0a68fba0c400d6868efef691d7b055d2a
 WHIRLPOOL 
e7b4fd86561513b08244a5217821cc7d911b077eccd4c798484a4b13b4acabba133c664a463a7b2261e6e5e1bf3e2d37de9d2b6005a18e004e526f741a22bd9a
+DIST quagga-1.0.20160315.tar.xz 1819488 SHA256 
d284af5dd875dbba90ab875d40db5d68fdc9ede17a76f2af525f85344be56767 SHA512 
ad633d189017a2cef68cf1653b85e082a0dc4fe146720a985da8cdf2aa4c61f2df8a8339419c986e9d74aa88f7f7109bc6d0c13d9ff4904a23852cee3e112edc
 WHIRLPOOL 
6f0ac5da5fef382cf7a462f8d2c139bb0d8068e7b772cd48b63aa0752098515d6b5eb9a10a4e1fc7021085e0635248f6075d937901c6207d51bd0f284388541c

diff --git a/net-misc/quagga/quagga-1.0.20160315.ebuild 
b/net-misc/quagga/quagga-1.0.20160315.ebuild
new file mode 100644
index 000..3b6ba1f
--- /dev/null
+++ b/net-misc/quagga/quagga-1.0.20160315.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch
+
+inherit autotools eutils flag-o-matic multilib pam readme.gentoo-r1 systemd 
user
+
+DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and 
BGP"
+HOMEPAGE="http://quagga.net/;
+SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
+   bgpclassless? ( 
http://hasso.linux.ee/stuff/patches/quagga/${CLASSLESS_BGP_PATCH} )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+
+IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
+
+COMMON_DEPEND="
+   caps? ( sys-libs/libcap )
+   snmp? ( net-analyzer/net-snmp )
+   readline? (
+   sys-libs/readline:0
+   pam? ( sys-libs/pam )
+   )
+   !elibc_glibc? ( dev-libs/libpcre )"
+DEPEND="${COMMON_DEPEND}
+   app-arch/xz-utils
+   sys-apps/gawk
+   sys-devel/libtool:2"
+RDEPEND="${COMMON_DEPEND}
+   sys-apps/iproute2"
+
+PATCHES=( "${FILESDIR}/${PN}-0.99.22.4-ipctl-forwarding.patch" )
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="Sample configuration files can be found in 
/usr/share/doc/${PF}/samples
+You have to create config files in /etc/quagga before
+starting one of the daemons.
+
+You can pass additional options to the daemon by setting the EXTRA_OPTS
+variable in their respective file in /etc/conf.d"
+
+pkg_setup() {
+   enewgroup quagga
+   enewuser quagga -1 -1 /var/empty quagga
+}
+
+src_prepare() {
+   # Classless prefixes for BGP
+   # http://hasso.linux.ee/doku.php/english:network:quagga
+   use bgpclassless && eapply -p0 "${DISTDIR}/${CLASSLESS_BGP_PATCH}"
+
+   epatch ${PATCHES[@]}
+   eapply_user
+   eautoreconf
+}
+
+src_configure() {
+   append-flags -fno-strict-aliasing
+
+   # do not build PDF docs
+   export ac_cv_prog_PDFLATEX=no
+   export ac_cv_prog_LATEXMK=no
+
+   econf \
+   --enable-exampledir=/usr/share/doc/${PF}/samples \
+   --enable-irdp \
+   --enable-isisd \
+   --enable-isis-topology \
+   --enable-pimd \
+   --enable-user=quagga \
+   --enable-group=quagga \
+   --enable-vty-group=quagga \
+   --with-cflags="${CFLAGS}" \
+   --with-pkg-extra-version="-gentoo" \
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-03-19 Thread Jeroen Roovers
commit: 219e87b10ec386142bd337174ebc7343fdc4a6f3
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Mar 19 07:22:59 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Mar 19 07:23:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=219e87b1

net-misc/quagga: Stable for HPPA (bug #577156).

Package-Manager: portage-2.2.28
RepoMan-Options: --ignore-arches

 net-misc/quagga/quagga-1.0.20160315.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.0.20160315.ebuild 
b/net-misc/quagga/quagga-1.0.20160315.ebuild
index c464698..8cafbf5 100644
--- a/net-misc/quagga/quagga-1.0.20160315.ebuild
+++ b/net-misc/quagga/quagga-1.0.20160315.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="alpha amd64 ~arm hppa ~ppc ~s390 ~sparc ~x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-03-19 Thread Tobias Klausmann
commit: fc3a091ea498507adf3b6094d1ffb260b7c10304
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Thu Mar 17 19:02:35 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Thu Mar 17 19:02:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc3a091e

net-misc/quagga-1.0.20160315-r0: add alpha keyword

Gentoo-Bug: 577156

Package-Manager: portage-2.2.28

 net-misc/quagga/quagga-1.0.20160315.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.0.20160315.ebuild 
b/net-misc/quagga/quagga-1.0.20160315.ebuild
index 121a36d..c464698 100644
--- a/net-misc/quagga/quagga-1.0.20160315.ebuild
+++ b/net-misc/quagga/quagga-1.0.20160315.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2016-03-18 Thread Agostino Sarubbo
commit: c630f7ad68b8f05e0bfbf4c696303b948cab03be
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Mar 17 11:55:52 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Mar 17 11:55:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c630f7ad

net-misc/quagga: amd64 stable wrt bug #577156

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-misc/quagga/quagga-1.0.20160315.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/quagga/quagga-1.0.20160315.ebuild 
b/net-misc/quagga/quagga-1.0.20160315.ebuild
index 3b6ba1f..121a36d 100644
--- a/net-misc/quagga/quagga-1.0.20160315.ebuild
+++ b/net-misc/quagga/quagga-1.0.20160315.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86"
 
 IUSE="bgpclassless caps doc elibc_glibc ipv6 multipath ospfapi pam +readline 
snmp tcp-zebra"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/quagga/

2015-08-25 Thread Sergey Popov
commit: 2fe4a3a6e01fed2b08daeb8a16d6104ab03d2a41
Author: Sergey Popov pinkbyte AT gentoo DOT org
AuthorDate: Tue Aug 25 11:02:22 2015 +
Commit: Sergey Popov pinkbyte AT gentoo DOT org
CommitDate: Tue Aug 25 11:02:22 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fe4a3a6

net-misc/quagga: create directory for PID files during src_install

Directory for PID files was not created during src_install, which
makes impossible to use Quagga daemons before first reboot
for systemd users

Reported-by: Olipro olipro+gentoopub AT gmail.com
Gentoo-Bug: 558194

Package-Manager: portage-2.2.20

 .../quagga/{quagga-0.99.24.1.ebuild = quagga-0.99.24.1-r1.ebuild}   | 5 +
 1 file changed, 5 insertions(+)

diff --git a/net-misc/quagga/quagga-0.99.24.1.ebuild 
b/net-misc/quagga/quagga-0.99.24.1-r1.ebuild
similarity index 95%
rename from net-misc/quagga/quagga-0.99.24.1.ebuild
rename to net-misc/quagga/quagga-0.99.24.1-r1.ebuild
index 57e23b3..c8af9d0 100644
--- a/net-misc/quagga/quagga-0.99.24.1.ebuild
+++ b/net-misc/quagga/quagga-0.99.24.1-r1.ebuild
@@ -103,6 +103,11 @@ src_install() {
fowners root:quagga /etc/quagga
fperms 0770 /etc/quagga
 
+   # Path for PIDs before first reboot should be created here, bug #558194
+   dodir /run/quagga
+   fowners quagga:quagga /run/quagga
+   fperms 0770 /run/quagga
+
# Install systemd-related stuff, bug #553136
systemd_dotmpfilesd ${FILESDIR}/systemd/quagga.conf
systemd_dounit ${FILESDIR}/systemd/zebra.service