pinkbyte 15/07/23 14:05:30 Modified: ChangeLog Added: quagga-0.99.24.1.ebuild Log: Version bump, add systemd support, wrt bug #553136 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x60C0742D1F357D42)
Revision Changes Path 1.175 net-misc/quagga/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/ChangeLog?rev=1.175&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/ChangeLog?rev=1.175&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/ChangeLog?r1=1.174&r2=1.175 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v retrieving revision 1.174 retrieving revision 1.175 diff -u -r1.174 -r1.175 --- ChangeLog 23 Jul 2015 14:02:02 -0000 1.174 +++ ChangeLog 23 Jul 2015 14:05:30 -0000 1.175 @@ -1,6 +1,16 @@ # ChangeLog for net-misc/quagga # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.174 2015/07/23 14:02:02 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.175 2015/07/23 14:05:30 pinkbyte Exp $ + +*quagga-0.99.24.1 (23 Jul 2015) + + 23 Jul 2015; Sergey Popov <[email protected]> +quagga-0.99.24.1.ebuild, + +files/systemd/babeld.service, +files/systemd/bgpd.service, + +files/systemd/isisd.service, +files/systemd/ospf6d.service, + +files/systemd/ospfd.service, +files/systemd/pimd.service, + +files/systemd/quagga.conf, +files/systemd/ripd.service, + +files/systemd/ripngd.service, +files/systemd/zebra.service: + Version bump, add systemd support, wrt bug #553136 23 Jul 2015; Sergey Popov <[email protected]> -quagga-0.99.22.4.ebuild: Drop old 1.1 net-misc/quagga/quagga-0.99.24.1.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/quagga-0.99.24.1.ebuild?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/quagga/quagga-0.99.24.1.ebuild?rev=1.1&content-type=text/plain Index: quagga-0.99.24.1.ebuild =================================================================== # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.99.24.1.ebuild,v 1.1 2015/07/23 14:05:30 pinkbyte 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 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 && 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-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 --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 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 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 babeld ospf6d ripngd); do dosym zebra /etc/init.d/${service} systemd_dounit "${FILESDIR}/systemd/${service}.service" done use readline && use pam && newpamd "${FILESDIR}/quagga.pam" quagga insinto /etc/logrotate.d newins redhat/quagga.logrotate quagga }
