summaryrefslogtreecommitdiff
path: root/net-misc/quagga/quagga-1.2.4.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /net-misc/quagga/quagga-1.2.4.ebuild
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'net-misc/quagga/quagga-1.2.4.ebuild')
-rw-r--r--net-misc/quagga/quagga-1.2.4.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/net-misc/quagga/quagga-1.2.4.ebuild b/net-misc/quagga/quagga-1.2.4.ebuild
index 7ae80aba9342..a3bf57e548c6 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
@@ -64,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
@@ -103,7 +101,7 @@ src_configure() {
src_install() {
default
- prune_libtool_files
+ find "${D}" -name '*.la' -delete || die
readme.gentoo_create_doc
keepdir /etc/quagga