diff options
author | Alin Năstac <mrness@gentoo.org> | 2007-06-19 20:18:29 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2007-06-19 20:18:29 +0000 |
commit | e79e506eecf23c45d9a0fc7028a069e24362064c (patch) | |
tree | d028c6fc0020f865dfee5780d0fda10a4a16a344 /net-misc/quagga | |
parent | Remove old revision. (diff) | |
download | historical-e79e506eecf23c45d9a0fc7028a069e24362064c.tar.gz historical-e79e506eecf23c45d9a0fc7028a069e24362064c.tar.bz2 historical-e79e506eecf23c45d9a0fc7028a069e24362064c.zip |
Remove obsolete development version.
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'net-misc/quagga')
-rw-r--r-- | net-misc/quagga/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/quagga/Manifest | 33 | ||||
-rw-r--r-- | net-misc/quagga/files/digest-quagga-0.99.6-r1 | 6 | ||||
-rw-r--r-- | net-misc/quagga/files/digest-quagga-0.99.6-r2 | 6 | ||||
-rw-r--r-- | net-misc/quagga/quagga-0.99.6-r1.ebuild | 122 | ||||
-rw-r--r-- | net-misc/quagga/quagga-0.99.6-r2.ebuild | 145 |
6 files changed, 13 insertions, 305 deletions
diff --git a/net-misc/quagga/ChangeLog b/net-misc/quagga/ChangeLog index 141ac2863307..b58af7177834 100644 --- a/net-misc/quagga/ChangeLog +++ b/net-misc/quagga/ChangeLog @@ -2,7 +2,11 @@ # Copyright 1999-2007 Gentoo Foundation # Copyright 2003-2004 DataCore GmbH # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.59 2007/05/02 22:01:36 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/ChangeLog,v 1.60 2007/06/19 20:18:29 mrness Exp $ + + 19 Jun 2007; Alin Năstac <mrness@gentoo.org> -quagga-0.99.6-r1.ebuild, + -quagga-0.99.6-r2.ebuild: + Remove obsolete development version. *quagga-0.99.7 (02 May 2007) diff --git a/net-misc/quagga/Manifest b/net-misc/quagga/Manifest index 4911c0f226e3..c1c53c6ec18f 100644 --- a/net-misc/quagga/Manifest +++ b/net-misc/quagga/Manifest @@ -39,31 +39,20 @@ RMD160 1cb01c0b95fd8a49d442b2a0c1d900e1cee7d477 files/zebra.init 1013 SHA256 7eac27ca9661fb453a93b131bfbf69e409a06f65c2cedb83cdd55869d6871236 files/zebra.init 1013 DIST quagga-0.98.6-patches-20070412.tar.gz 21339 RMD160 25263a2f4393f6610076f4292003e7bf83ef1b3a SHA1 26ecd5ac98a2f6db7e0edc199c186a79ebf9c166 SHA256 d5f713f1720b59910731236b2b5babe8d2a7bc1074114c16e00e41d504a4c01e DIST quagga-0.98.6.tar.gz 2019992 RMD160 e15cd93b5d321660d7e29fc27174352967342879 SHA1 2234d1235f504e9dc5865cc8d5fd4e250bf43ed5 SHA256 a84e1aac4e666929abd1942fa8958d9ef0d0bbf605f47d5c2a09f6be716987a1 -DIST quagga-0.99.6-patches-20070412.tar.gz 18681 RMD160 98522ee7c8ac9233458c855781c9a29c81706f44 SHA1 5e668a5cecacb2fc046cf9996ff91f114490a2df SHA256 3f6886a00cb2591f909c4f180a9e258ada78721b5267ef9dc61484c58b62cde7 -DIST quagga-0.99.6-patches-20070426.tar.gz 19851 RMD160 3e6f6b53f1f9a7e00b730d53db56b905a6c37547 SHA1 b4b793f845900adb5756169da009e408df5f024c SHA256 cdda824cd42f6dfd3a1949968537bead818c065608c9e85e66868e54a7697d27 -DIST quagga-0.99.6.tar.gz 2324051 RMD160 0dbeedc6d64ea7266677e88f951adc2f63d02935 SHA1 eb35c4bf2a8da4fdf66f2a7eb7724852b0f7e017 SHA256 a22c927f9ceb7152b0c45c939ccb81217c8d614f3c411c86781b24520f2ec15a DIST quagga-0.99.7-patches-20070502.tar.gz 47738 RMD160 d9652ec8baa6d5cbf599f828ef9d03ace6af206a SHA1 ed73bf23ec66991e540978ce04c3b476f6e7629b SHA256 059f219c4c97f6ee4495c55d7a6f84f9d156ddb8dd3aac4d54c61ab678e072d1 DIST quagga-0.99.7.tar.gz 2350372 RMD160 f7ae94f2b5f4782efa7b70bd59924492618133fe SHA1 da2d690275e38bb58841edc265ba3bd154b10dd2 SHA256 fd258e4503646129ca77f6fe9c16b69f36f320256768b84dbabd2e4915ab8eb4 EBUILD quagga-0.98.6-r2.ebuild 5166 RMD160 90f717124c2e90dcd53765941921690ba4823ccf SHA1 7d76ccbf2b1b8647b1675c2c70c19f21902f9706 SHA256 15e8e32751d9f29e9eba3f9a4861044d67e128cca2c4eae105644eb5b631ada0 MD5 57f1e61d0c90203d6b05b296652d53df quagga-0.98.6-r2.ebuild 5166 RMD160 90f717124c2e90dcd53765941921690ba4823ccf quagga-0.98.6-r2.ebuild 5166 SHA256 15e8e32751d9f29e9eba3f9a4861044d67e128cca2c4eae105644eb5b631ada0 quagga-0.98.6-r2.ebuild 5166 -EBUILD quagga-0.99.6-r1.ebuild 4022 RMD160 71ca08b3ad6d7a5169e6cc6963c41ef8b270a0ee SHA1 3ed6591fe10813fbaa0dbfb2e6cdb9dbc8b3a270 SHA256 ab6c9d481e18765a5a0a06edf311f9e26b566bee9216ce35edd7075cf3ab2ddd -MD5 3e2e923706b94a4d130053b884bbcec9 quagga-0.99.6-r1.ebuild 4022 -RMD160 71ca08b3ad6d7a5169e6cc6963c41ef8b270a0ee quagga-0.99.6-r1.ebuild 4022 -SHA256 ab6c9d481e18765a5a0a06edf311f9e26b566bee9216ce35edd7075cf3ab2ddd quagga-0.99.6-r1.ebuild 4022 -EBUILD quagga-0.99.6-r2.ebuild 4620 RMD160 635726cc4ed1d6bffe34f7d2e850cd3c53977866 SHA1 34caa3cf3e0577c19df70f78387b439652e8b3f6 SHA256 d43c274d8215ba258c04b623fb23470154be9d34bd261f69ae3dd037d5e38a3e -MD5 584a6f1a8f574208ca6c3504fc337e21 quagga-0.99.6-r2.ebuild 4620 -RMD160 635726cc4ed1d6bffe34f7d2e850cd3c53977866 quagga-0.99.6-r2.ebuild 4620 -SHA256 d43c274d8215ba258c04b623fb23470154be9d34bd261f69ae3dd037d5e38a3e quagga-0.99.6-r2.ebuild 4620 EBUILD quagga-0.99.7.ebuild 4695 RMD160 75a37e3a7246d9437fc5f9c7abc227e919986951 SHA1 568556a2c16c70b46821c69522262e13faba4f89 SHA256 c7c3d986076edeb9c970fc9c99125e01916055da862ff3e52b68110e9bb27b8f MD5 192af4593dca627dd250a291a14ca959 quagga-0.99.7.ebuild 4695 RMD160 75a37e3a7246d9437fc5f9c7abc227e919986951 quagga-0.99.7.ebuild 4695 SHA256 c7c3d986076edeb9c970fc9c99125e01916055da862ff3e52b68110e9bb27b8f quagga-0.99.7.ebuild 4695 -MISC ChangeLog 15008 RMD160 db9c7c35077c03d1a3b4b3098ea612bd0473fcda SHA1 eda0b09b7cd6b1c7d541732b7f0f7ec6e870d0a8 SHA256 90ef2ee69580a83073cd25a6d0c22871cb3250569f9aeecfd7c4d8c5993c7b9a -MD5 fdf93b0b648025cbd817fd90024f7196 ChangeLog 15008 -RMD160 db9c7c35077c03d1a3b4b3098ea612bd0473fcda ChangeLog 15008 -SHA256 90ef2ee69580a83073cd25a6d0c22871cb3250569f9aeecfd7c4d8c5993c7b9a ChangeLog 15008 +MISC ChangeLog 15150 RMD160 f531ebcbfc57ed790c263614600af3e0d722c62a SHA1 191f2f5ef72fef083684c333160087fc3bf2283c SHA256 64c423585c400d280023aa77e3f0a9f9b499542d3612451365bf4ecb514b629d +MD5 ecf9bbabebd72bc551c8a32e6aacf4e6 ChangeLog 15150 +RMD160 f531ebcbfc57ed790c263614600af3e0d722c62a ChangeLog 15150 +SHA256 64c423585c400d280023aa77e3f0a9f9b499542d3612451365bf4ecb514b629d ChangeLog 15150 MISC metadata.xml 1301 RMD160 2f07ee712c18a121b153385c20a69ceee57395aa SHA1 0d1a07e1b3821ec910b98531511f51f733915a8d SHA256 b6b92c898b68e0c1a270fbd47b91321e9a0db76068990fcbbd93ad83246b4cbb MD5 558920a085e2065a8aef6eca3e1896fb metadata.xml 1301 RMD160 2f07ee712c18a121b153385c20a69ceee57395aa metadata.xml 1301 @@ -71,19 +60,13 @@ SHA256 b6b92c898b68e0c1a270fbd47b91321e9a0db76068990fcbbd93ad83246b4cbb metadata MD5 c6da0bf18d4cfb3ae7bbb66f5419a3dd files/digest-quagga-0.98.6-r2 533 RMD160 3cb563e1955d78866bc24c3e55550cc2c6ee3037 files/digest-quagga-0.98.6-r2 533 SHA256 7b0ebb8fdc2a981af64fa6572f643290fd954224084fea2e0ed11d7051abfe19 files/digest-quagga-0.98.6-r2 533 -MD5 19e5e99d1bb4599eede48e35b2b52789 files/digest-quagga-0.99.6-r1 533 -RMD160 2f4e183cd1f2f37fe2324a4fc0d9108a1fed07ea files/digest-quagga-0.99.6-r1 533 -SHA256 84863559e220e18d5c999681c2549385cf9f95aa95ee31c59e77d727fcca9bf4 files/digest-quagga-0.99.6-r1 533 -MD5 3f67e24f678e58c60eaac85138a9936a files/digest-quagga-0.99.6-r2 533 -RMD160 018dae9bfad3792e97c4bd70ad71b63fbf25db28 files/digest-quagga-0.99.6-r2 533 -SHA256 815e6c17c24b96c1c7f518e0aeee9f424ed74e88008391f1a7037ced775016e2 files/digest-quagga-0.99.6-r2 533 MD5 ba52d9e3fecd23f0095402926a6262e7 files/digest-quagga-0.99.7 533 RMD160 508cc03a2cd6a60ebdfcdf91e82ccf01c369de4c files/digest-quagga-0.99.7 533 SHA256 659489755e2afff8cd9b93e28ba5c405a7fb67f8279d1b22003ed63edcd00a0f files/digest-quagga-0.99.7 533 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.3 (GNU/Linux) +Version: GnuPG v2.0.4 (GNU/Linux) -iD8DBQFGOQpLJnxX6mF440QRAutYAJ40eOzDqLN4bSCi9x5ueuZ8DvQ2AACg/eJW -hDTWOhOjyx45YJkqLdDYoE8= -=/JRE +iD8DBQFGeDobJnxX6mF440QRAstAAJ0a02KYvetHDLkbp8s9xe6xBdBtzwCeJcbO +Vt4mVE23HwDyjJ5ru1/9tk8= +=+pbE -----END PGP SIGNATURE----- diff --git a/net-misc/quagga/files/digest-quagga-0.99.6-r1 b/net-misc/quagga/files/digest-quagga-0.99.6-r1 deleted file mode 100644 index 383937ea0ffc..000000000000 --- a/net-misc/quagga/files/digest-quagga-0.99.6-r1 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 e36462c874d2ba0f71c830db87292fb1 quagga-0.99.6-patches-20070412.tar.gz 18681 -RMD160 98522ee7c8ac9233458c855781c9a29c81706f44 quagga-0.99.6-patches-20070412.tar.gz 18681 -SHA256 3f6886a00cb2591f909c4f180a9e258ada78721b5267ef9dc61484c58b62cde7 quagga-0.99.6-patches-20070412.tar.gz 18681 -MD5 78137ecaa66ff4c3780bd05f60e51cf5 quagga-0.99.6.tar.gz 2324051 -RMD160 0dbeedc6d64ea7266677e88f951adc2f63d02935 quagga-0.99.6.tar.gz 2324051 -SHA256 a22c927f9ceb7152b0c45c939ccb81217c8d614f3c411c86781b24520f2ec15a quagga-0.99.6.tar.gz 2324051 diff --git a/net-misc/quagga/files/digest-quagga-0.99.6-r2 b/net-misc/quagga/files/digest-quagga-0.99.6-r2 deleted file mode 100644 index 5765414a5850..000000000000 --- a/net-misc/quagga/files/digest-quagga-0.99.6-r2 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 d9e890d19ff21e2a3fffc79fb7ed49fc quagga-0.99.6-patches-20070426.tar.gz 19851 -RMD160 3e6f6b53f1f9a7e00b730d53db56b905a6c37547 quagga-0.99.6-patches-20070426.tar.gz 19851 -SHA256 cdda824cd42f6dfd3a1949968537bead818c065608c9e85e66868e54a7697d27 quagga-0.99.6-patches-20070426.tar.gz 19851 -MD5 78137ecaa66ff4c3780bd05f60e51cf5 quagga-0.99.6.tar.gz 2324051 -RMD160 0dbeedc6d64ea7266677e88f951adc2f63d02935 quagga-0.99.6.tar.gz 2324051 -SHA256 a22c927f9ceb7152b0c45c939ccb81217c8d614f3c411c86781b24520f2ec15a quagga-0.99.6.tar.gz 2324051 diff --git a/net-misc/quagga/quagga-0.99.6-r1.ebuild b/net-misc/quagga/quagga-0.99.6-r1.ebuild deleted file mode 100644 index ad23d4e1023c..000000000000 --- a/net-misc/quagga/quagga-0.99.6-r1.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.99.6-r1.ebuild,v 1.1 2007/04/12 07:38:33 mrness Exp $ - -WANT_AUTOMAKE="latest" -WANT_AUTOCONF="latest" - -inherit eutils multilib autotools - -DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP. Includes OSPFAPI, NET-SNMP and IPV6 support." -HOMEPAGE="http://quagga.net/" -SRC_URI="http://www.quagga.net/download/${P}.tar.gz - mirror://gentoo/${P}-patches-20070412.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86" -IUSE="ipv6 snmp pam tcpmd5 bgpclassless ospfapi realms multipath tcp-zebra" -RESTRICT="userpriv" - -DEPEND=">=sys-libs/libcap-1.10-r5 - snmp? ( net-analyzer/net-snmp ) - pam? ( sys-libs/pam )" -RDEPEND="${DEPEND} - sys-apps/iproute2" - -src_unpack() { - unpack ${A} || die "failed to unpack sources" - - cd "${S}" || die "source dir not found" - # Fix security quagga bug 354 - epatch "${WORKDIR}/patch/bgpd-bug-354.diff" - epatch "${WORKDIR}/patch/${P}-link-libcap.patch" - - # TCP MD5 for BGP patch for Linux (RFC 2385) - http://hasso.linux.ee/doku.php/english:network:rfc2385 - use tcpmd5 && epatch "${WORKDIR}/patch/ht-20050321-0.99.6-bgp-md5_adapted.patch" - - # Classless prefixes for BGP - http://hasso.linux.ee/doku.php/english:network:quagga - use bgpclassless && epatch "${WORKDIR}/patch/ht-20040304-classless-bgp_adapted.patch" - - # Realms support (Calin Velea) - http://vcalinus.gemenii.ro/quaggarealms.html - use realms && epatch "${WORKDIR}/patch/${P}-realms.diff" - - eautoreconf -} - -src_compile() { - local myconf="--disable-static --enable-dynamic" - - use ipv6 \ - && myconf="${myconf} --enable-ipv6 --enable-ripng --enable-ospf6d --enable-rtadv" \ - || myconf="${myconf} --disable-ipv6 --disable-ripngd --disable-ospf6d" - use ospfapi \ - && myconf="${myconf} --enable-opaque-lsa --enable-ospf-te --enable-ospfclient" - use snmp && myconf="${myconf} --enable-snmp" - use pam && myconf="${myconf} --with-libpam" - use tcpmd5 && myconf="${myconf} --enable-tcp-md5" - use realms && myconf="${myconf} --enable-realms" - use multipath && myconf="${myconf} --enable-multipath=0" - use tcp-zebra && myconf="${myconf} --enable-tcp-zebra" - - econf \ - --enable-nssa \ - --enable-user=quagga \ - --enable-group=quagga \ - --enable-vty-group=quagga \ - --with-cflags="${CFLAGS}" \ - --enable-vtysh \ - --sysconfdir=/etc/quagga \ - --enable-exampledir=/etc/quagga/samples \ - --localstatedir=/var/run/quagga \ - --libdir=/usr/$(get_libdir)/quagga \ - ${myconf} \ - || die "configure failed" - emake || die "make failed" -} - -src_install() { - einstall \ - localstatedir="${D}/var/run/quagga" \ - sysconfdir="${D}/etc/quagga" \ - exampledir="${D}/etc/quagga/samples" \ - libdir="${D}/usr/$(get_libdir)/quagga" || die "make install failed" - - keepdir /var/run/quagga - - local i MY_SERVICES_LIST="zebra ripd ospfd bgpd" - use ipv6 && MY_SERVICES_LIST="${MY_SERVICES_LIST} ripngd ospf6d" - for i in ${MY_SERVICES_LIST} ; do - newinitd "${FILESDIR}/${i}.init" ${i} || die "failed to install ${i} init.d script" - done - newconfd "${FILESDIR}/zebra.conf" zebra || die "failed to install zebra conf.d script" - - if use pam; then - insinto /etc/pam.d - newins "${FILESDIR}/quagga.pam" quagga - fi - - newenvd "${FILESDIR}/quagga.env" 99quagga -} - -pkg_preinst() { - enewgroup quagga - enewuser quagga -1 -1 /var/empty quagga -} - -pkg_postinst() { - # empty dir for pid files for the new priv separation auth - #set proper owner/group/perms even if dir already existed - install -d -m0770 -o root -g quagga "${ROOT}/etc/quagga" - install -d -m0755 -o quagga -g quagga "${ROOT}/var/run/quagga" - - einfo "Sample configuration files can be found in /etc/quagga/samples." - einfo "You have to create config files in /etc/quagga before" - einfo "starting one of the daemons." - - if use tcpmd5; then - echo - ewarn "TCP MD5 for BGP needs a patched kernel!" - ewarn "See http://hasso.linux.ee/doku.php/english:network:rfc2385 for more info." - fi -} diff --git a/net-misc/quagga/quagga-0.99.6-r2.ebuild b/net-misc/quagga/quagga-0.99.6-r2.ebuild deleted file mode 100644 index aa11ea9ca332..000000000000 --- a/net-misc/quagga/quagga-0.99.6-r2.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/quagga/quagga-0.99.6-r2.ebuild,v 1.3 2007/05/01 20:59:13 mrness Exp $ - -WANT_AUTOMAKE="latest" -WANT_AUTOCONF="latest" - -inherit eutils multilib autotools linux-info - -DESCRIPTION="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP. Includes OSPFAPI, NET-SNMP and IPV6 support." -HOMEPAGE="http://quagga.net/" -SRC_URI="http://www.quagga.net/download/${P}.tar.gz - mirror://gentoo/${P}-patches-20070426.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sparc ~x86" -IUSE="ipv6 snmp pam tcpmd5 bgpclassless ospfapi realms multipath tcp-zebra" -RESTRICT="userpriv" - -DEPEND=">=sys-libs/libcap-1.10-r5 - snmp? ( net-analyzer/net-snmp ) - pam? ( sys-libs/pam )" -RDEPEND="${DEPEND} - sys-apps/iproute2" - -pkg_setup() { - if use tcpmd5 ; then - get_version || get_running_version - fi - return 0 -} - -src_unpack() { - unpack ${A} || die "failed to unpack sources" - - cd "${S}" || die "source dir not found" - # Fix security quagga bug 354 - epatch "${WORKDIR}/patch/bgpd-bug-354.diff" - epatch "${WORKDIR}/patch/${P}-link-libcap.patch" - - if use tcpmd5 ; then - if kernel_is lt 2 6 20 ; then - # TCP MD5 for BGP patch for Linux (RFC 2385) - # original found at http://hasso.linux.ee/doku.php/english:network:rfc2385 - epatch "${WORKDIR}/patch/ht-20050321-0.99.6-bgp-md5_adapted.patch" - else - # TCP MD5 in-kernel support for kernels >=2.6.20 (by Leigh Brown) - # original found at http://www.solinno.co.uk/md5sig/quagga_linux-2.6.20_md5sig.diff - epatch "${WORKDIR}/patch/quagga_linux-2.6.20_md5sig_adapted.diff" - fi - fi - - # Classless prefixes for BGP - http://hasso.linux.ee/doku.php/english:network:quagga - use bgpclassless && epatch "${WORKDIR}/patch/ht-20040304-classless-bgp_adapted.patch" - - # Realms support (Calin Velea) - http://vcalinus.gemenii.ro/quaggarealms.html - use realms && epatch "${WORKDIR}/patch/${P}-realms.diff" - - eautoreconf -} - -src_compile() { - local myconf="--disable-static --enable-dynamic" - - use ipv6 \ - && myconf="${myconf} --enable-ipv6 --enable-ripng --enable-ospf6d --enable-rtadv" \ - || myconf="${myconf} --disable-ipv6 --disable-ripngd --disable-ospf6d" - use ospfapi \ - && myconf="${myconf} --enable-opaque-lsa --enable-ospf-te --enable-ospfclient" - use snmp && myconf="${myconf} --enable-snmp" - use pam && myconf="${myconf} --with-libpam" - use tcpmd5 && myconf="${myconf} --enable-tcp-md5" - use realms && myconf="${myconf} --enable-realms" - use multipath && myconf="${myconf} --enable-multipath=0" - use tcp-zebra && myconf="${myconf} --enable-tcp-zebra" - - econf \ - --enable-nssa \ - --enable-user=quagga \ - --enable-group=quagga \ - --enable-vty-group=quagga \ - --with-cflags="${CFLAGS}" \ - --enable-vtysh \ - --sysconfdir=/etc/quagga \ - --enable-exampledir=/etc/quagga/samples \ - --localstatedir=/var/run/quagga \ - --libdir=/usr/$(get_libdir)/quagga \ - ${myconf} \ - || die "configure failed" - emake || die "make failed" -} - -src_install() { - einstall \ - localstatedir="${D}/var/run/quagga" \ - sysconfdir="${D}/etc/quagga" \ - exampledir="${D}/etc/quagga/samples" \ - libdir="${D}/usr/$(get_libdir)/quagga" || die "make install failed" - - keepdir /var/run/quagga - - local i MY_SERVICES_LIST="zebra ripd ospfd bgpd" - use ipv6 && MY_SERVICES_LIST="${MY_SERVICES_LIST} ripngd ospf6d" - for i in ${MY_SERVICES_LIST} ; do - newinitd "${FILESDIR}/${i}.init" ${i} || die "failed to install ${i} init.d script" - done - newconfd "${FILESDIR}/zebra.conf" zebra || die "failed to install zebra conf.d script" - - if use pam; then - insinto /etc/pam.d - newins "${FILESDIR}/quagga.pam" quagga - fi - - newenvd "${FILESDIR}/quagga.env" 99quagga -} - -pkg_preinst() { - enewgroup quagga - enewuser quagga -1 -1 /var/empty quagga -} - -pkg_postinst() { - # empty dir for pid files for the new priv separation auth - #set proper owner/group/perms even if dir already existed - install -d -m0770 -o root -g quagga "${ROOT}/etc/quagga" - install -d -m0755 -o quagga -g quagga "${ROOT}/var/run/quagga" - - einfo "Sample configuration files can be found in /etc/quagga/samples." - einfo "You have to create config files in /etc/quagga before" - einfo "starting one of the daemons." - - if use tcpmd5; then - echo - if kernel_is lt 2 6 20; then - ewarn "TCP MD5 for BGP needs a patched kernel!" - ewarn "See http://hasso.linux.ee/doku.php/english:network:rfc2385 for more info." - else - CONFIG_CHECK="~TCP_MD5SIG" - local ERROR_TCP_MD5SIG="CONFIG_TCP_MD5SIG:\t missing TCP MD5 signature support (RFC2385)" - - check_extra_config - fi - fi -} |