Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 272927 Details for
Bug 359903
<net-misc/quagga-0.99.18 BGP DoS (CVE-2010-{1674,1675})
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild with realms patch
quagga-0.99.18-r1.ebuild (text/plain), 3.39 KB, created by
Oleg Gawriloff
on 2011-05-12 12:10:01 UTC
(
hide
)
Description:
ebuild with realms patch
Filename:
MIME Type:
Creator:
Oleg Gawriloff
Created:
2011-05-12 12:10:01 UTC
Size:
3.39 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.99.18.ebuild,v 1.9 2011/04/02 15:43:11 armin76 Exp $ > >EAPI="2" > >CLASSLESS_BGP_PATCH=ht-20040304-classless-bgp.patch > >BACKPORTS=2 > >inherit eutils multilib autotools pam linux-info > >DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP." >HOMEPAGE="http://quagga.net/" >SRC_URI="http://www.quagga.net/download/${P}.tar.gz > ${BACKPORTS:+ > http://dev.gentoo.org/~flameeyes/${PN}/${P}-backports-${BACKPORTS}.tar.bz2} > 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="caps doc ipv6 snmp pam bgpclassless ospfapi realms multipath tcp-zebra elibc_glibc +readline" > >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} > >=sys-devel/libtool-2.2.4" >RDEPEND="${COMMON_DEPEND} > sys-apps/iproute2" >CONFIG_CHECK="realms? (~CONFIG_IP_ADVANCED_ROUTER ~CONFIG_IP_MULTIPLE_TABLES)" > >pkg_setup() { > enewgroup quagga > enewuser quagga -1 -1 /var/empty quagga >} > >src_prepare() { > [[ -n ${BACKPORTS} ]] && \ > EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ > epatch > > # Classless prefixes for BGP > # http://hasso.linux.ee/doku.php/english:network:quagga > use bgpclassless && epatch "${DISTDIR}/${CLASSLESS_BGP_PATCH}" > use realms && epatch "${FILESDIR}/quagga-0.99.18-realms-test2-gentoo.patch" > > eautoreconf >} > >src_configure() { > local myconf= > > use ospfapi \ > && myconf="${myconf} --enable-opaque-lsa --enable-ospf-te --enable-ospfclient" > use realms && myconf="${myconf} --enable-realms" > use multipath && myconf="${myconf} --enable-multipath=0" > > econf \ > --enable-user=quagga \ > --enable-group=quagga \ > --enable-vty-group=quagga \ > --with-cflags="${CFLAGS}" \ > --sysconfdir=/etc/quagga \ > --enable-exampledir=/usr/share/doc/${PF}/samples \ > --localstatedir=/var/run/quagga \ > --disable-static \ > --disable-pie \ > \ > $(use_enable caps capabilities) \ > $(use_enable snmp) \ > $(use_enable !elibc_glibc pcreposix) \ > $(use_enable tcp-zebra) \ > $(use_enable doc) \ > \ > $(use_enable readline vtysh) \ > $(use_with pam libpam) \ > \ > $(use_enable ipv6) \ > $(use_enable ipv6 ripngd) \ > $(use_enable ipv6 ospf6d) \ > $(use_enable ipv6 rtadv) \ > \ > ${myconf} \ > || die "configure failed" >} > >src_install() { > emake DESTDIR="${D}" install || die "emake install failed" > find "${D}" -name '*.la' -delete || die > > keepdir /etc/quagga || die > fowners root:quagga /etc/quagga || die > fperms 0770 /etc/quagga || die > > newinitd "${FILESDIR}"/zebra.init.2 zebra || die > > # install ripd as a file, symlink the rest > newinitd "${FILESDIR}"/quagga-services.init ripd || die > > for service in ospfd bgpd $(use ipv6 && echo ripngd ospf6d); do > ln -s ripd "${D}"/etc/init.d/${service} || die > done > > use readline && newpamd "${FILESDIR}/quagga.pam" quagga >} > >pkg_postinst() { > elog "Sample configuration files can be found in /usr/share/doc/${PF}/samples" > elog "You have to create config files in /etc/quagga before" > elog "starting one of the daemons." > elog "" > elog "You can pass additional options to the daemon by setting the EXTRA_OPTS" > elog "variable in their respective file in /etc/conf.d" > elog "" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 359903
:
266865
|
272925
| 272927