Actualización de versión
This commit is contained in:
parent
94c895a24d
commit
aaa3813d5d
2 changed files with 120 additions and 0 deletions
|
@ -8,5 +8,7 @@ AUX zebra.init.3 1433 SHA256 ce174d7b8a277f0e1c2ba2c6991b133c1cbd4f3f445406f741e
|
|||
DIST ht-20040304-classless-bgp.patch 1581 SHA256 39993890f9e31d662ed0564c732fb22392a901beb45b64261ffeadd9edf27887 SHA512 3df102d8ab88aaee1f109a2310602d6f734f2268252e5e42df752df7db7abeac526e969289481c4abfe905dcd41c35dee65196c48ac320fe9d083305451476e8 WHIRLPOOL cef99d64d52ab8c28bd672fb93dfbd8d716a31c76a5403496a6d104a5ff39531d6085134124d41fe4ff7adf895fa001cbe77b6e42846d849d6c108c81583d04e
|
||||
DIST quagga-0.99.21.tar.xz 1572264 SHA256 87329c3d9d4e5c0a74812e725026560c477f610eec9771e67baf513da0357246 SHA512 0f35cabfd7aa82e08f3f728660f0fe4c35a38e1146fca8ea37100e176333363cdd3cb22987cffd644f77852bfbf8b98da87310abdc575b2200415901837765cd WHIRLPOOL f745f4840671da06c6e6504c446e86c02f255f7bf5b35651aa205cf6e4021048fd3640b8b4a66a45798191105799f19aa77ea2b05d26cc2111aba22659722197
|
||||
DIST quagga-0.99.22.1.tar.xz 1608840 SHA256 fb49dce0d54b83bf4cb82cf998dc3adddd34a7579f3c7cba0572a252c010c6a6 SHA512 0ebe2fe2062a9f9db985fb3ac56df142bc35b45e5afe1b265a211cc3310920b39defab0baae805092cc20ce99e1af57ad1f03d7d65691f2150b4a23cdc70b5d4 WHIRLPOOL 783edc9b80488ce427f33728573f4056e2aa8aa4eec7f7ae509485d2dd8df9f152d549b38ec89c421a1263d9ac53583a9631116fa625a00ebd47fc796cced020
|
||||
DIST quagga-0.99.22.4.tar.xz 1609248 SHA256 5e12056692e2dbc272a929f96d0e98d9873f4e7f7ffcca62434b58f6660a6386 SHA512 bcf429e71073e4fc71efc364a21a6c8b70871a17c66bd1328bc57b57962c2c15182436183b2e363c9c1c0e85d84c49d304d4049d40129272f52d6140db330b8a WHIRLPOOL bfd2d5405b6ba44d52e8dcbdb74b31be02ad384d186abb37ec0dfba52facbc9c6c7a5309a11ad844e73129a2da970b91d293271b7194fdf98c93930a2def8cfd
|
||||
EBUILD quagga-0.99.21-r1.ebuild 3682 SHA256 b58e7842871f02615db4806918c343f3a8107e6485718ea9f9eba13df300b5a4 SHA512 e84248c92e4ba4d3cd11eeee6533825392f4bc82760bae33446350649e1aa6145e003cca6c7892e6bf79ea49a0eb64aa9f9e86cacf698057422c1886c281c56c WHIRLPOOL a82a71b531c2546e5ad1aaa945f41bb9f2482f1f0c2bf61cc167d357d403af1fd81ee4a83bf7f365b96ab50f24f8b54c8dc50e0efe12a39db52fb0b74f208f29
|
||||
EBUILD quagga-0.99.22.1-r1.ebuild 3360 SHA256 53728f5ae2d8c690892c30e5ec33494f8a45a7db7b3ed3fde552978c845c454b SHA512 f7f17049efd6c827856077f70b5124bdfddba18031f015730a7ed54927ab4cea22c4fc6844bd960cb23f3fda8f719920a2888f17ddceb83018e4f49d21835393 WHIRLPOOL fee342121b6f762915d80a360e26b89d090d15ddf827231c8d99ded1994b4ab0a90d26c562b28ddb4faa4f05f36226529e1996b5c664193f94a778ca1a0bbb20
|
||||
EBUILD quagga-0.99.22.4-r1.ebuild 3454 SHA256 ab85fbd9af51f8234253c259ef568e7f05d78aedeea55a1e41a1fce1b610906b SHA512 41460e229845fe542693b79b67bc8154b32d5b9129bf2bfdc06ba57a33b4ec91d7f38765607f923285019aa67f347e2b477dc62f49324f24315105a8fd61867e WHIRLPOOL 34ba63afee49196520220eed0ea3750c094759dc832105c52ed3bef9f3ffd78aca4be89a05241e34ab5435873d333b90ccf7ce4ede82d5f481230e1203005274
|
||||
|
|
118
net-misc/quagga/quagga-0.99.22.4-r1.ebuild
Normal file
118
net-misc/quagga/quagga-0.99.22.4-r1.ebuild
Normal file
|
@ -0,0 +1,118 @@
|
|||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.99.22.4.ebuild,v 1.4 2013/09/28 16:30:54 nimiux Exp $
|
||||
|
||||
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-devel/libtool-2.2.4"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-apps/openrc
|
||||
sys-apps/iproute2"
|
||||
|
||||
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
|
||||
|
||||
Starting from version 0.99.18, quagga no longer supports the realms patch.
|
||||
The patch was abandoned upstream and once again didn't apply; it needs a
|
||||
dedicated maintainer, if it is still necessary."
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup quagga
|
||||
enewuser quagga -1 -1 /var/empty quagga
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# bug #437292
|
||||
epatch "${FILESDIR}/437292-ipforward.patch"
|
||||
# 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-user=quagga
|
||||
--enable-group=quagga
|
||||
--enable-vty-group=quagga
|
||||
--with-cflags="${CFLAGS}"
|
||||
--sysconfdir=/etc/quagga
|
||||
--enable-exampledir=/usr/share/doc/${PF}/samples
|
||||
--localstatedir=/run/quagga
|
||||
--disable-static
|
||||
--disable-pie
|
||||
$(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)
|
||||
$(use_enable ipv6 babeld) # babeld does not build properly with USE="-ipv6", bug #446289
|
||||
$(use_enable ipv6 ripngd)
|
||||
$(use_enable ipv6 ospf6d)
|
||||
$(use_enable ipv6 rtadv)
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-utils_src_install
|
||||
readme.gentoo_create_doc
|
||||
|
||||
keepdir /etc/quagga
|
||||
fowners root:quagga /etc/quagga
|
||||
fperms 0770 /etc/quagga
|
||||
|
||||
# install zebra as a file, symlink the rest
|
||||
newinitd "${FILESDIR}"/quagga-services.init.3 zebra
|
||||
|
||||
for service in ripd ospfd bgpd $(use ipv6 && echo babeld ripngd ospf6d); do
|
||||
dosym zebra /etc/init.d/${service}
|
||||
done
|
||||
|
||||
use readline && newpamd "${FILESDIR}/quagga.pam" quagga
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins redhat/quagga.logrotate quagga
|
||||
}
|
Loading…
Reference in a new issue