Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=10a1003bab21b881be71108ede9ddaba88b96155

commit 10a1003bab21b881be71108ede9ddaba88b96155
Author: James Buren <[email protected]>
Date:   Tue Oct 29 03:29:52 2013 -0500

quagga-0.99.21-3-x86_64
* remove package

diff --git a/source/network-extra/quagga/FrugalBuild 
b/source/network-extra/quagga/FrugalBuild
deleted file mode 100644
index 46a6b31..0000000
--- a/source/network-extra/quagga/FrugalBuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Compiling Time: 0.20 SBU
-# Maintainer: Krisztian VASAS <[email protected]>
-
-pkgname=quagga
-pkgver=0.99.21
-pkgrel=2
-pkgdesc="A GPL licensed IPv4/IPv6 routing software"
-url="http://www.quagga.net/";
-depends=('net-snmp>=5.7' 'pcre')
-rodepends=('iproute2')
-backup=('etc/sysconfig/quagga' 
etc/quagga/{zebra.conf,ospf6d.conf,babeld.conf,ripngd.conf,bgpd.conf,ripd.conf,ospfd.conf})
-groups=('network-extra')
-archs=('i686' 'x86_64')
-up2date="lynx -dump $url | grep Latest | sed -ne 's/.*mostly-stable: 
\[.*\]\(.*\)$/\1/; p'"
-source=($url/download/$pkgname-$pkgver.tar.xz \
-       README.Frugalware)
-signatures=("${source[0]/.tar.xz/.tar.asc}" '')
-_F_systemd_scriptlet="$pkgname.install"
-_F_systemd_units=(ripd= zebra= babeld= ospfd= isisd= ripngd= ospf6d= bgpd=)
-Finclude systemd
-
-build()
-{
-       Fbuild --localstatedir=/var/run/quagga --enable-snmp --enable-netlink \
-               --sysconfdir=/etc/quagga
-       Ffilerel redhat/*.service /lib/systemd/system/
-       Frm /lib/systemd/system/isisd.service
-       Ffilerel redhat/quagga.sysconfig /etc/sysconfig/quagga
-       Ffilerel redhat/quagga.logrotate /etc/logrotate.d/quagga
-       Ffilerel redhat/quagga.pam /etc/pam.d/quagga
-       Fmkdir /var/log/quagga
-       Fdirschown /var/log/quagga 150 150
-       Fdirschown /etc/quagga 150 150
-       Ffileschown /etc/quagga 150 150
-       Fdoc README.Frugalware
-       Frm /var/run
-       Fmkdir /etc/tmpfiles.d
-       for i in $Fdestdir/etc/quagga/*.conf.sample; do
-               j="$(basename "$i")"
-               Fmv "/etc/quagga/$j" "/etc/quagga/${j/.sample/}"
-       done
-       Frm /etc/quagga/\*.conf.sample2
-       cat > $Fdestdir/etc/tmpfiles.d/quagga.conf << EOF
-d $Flocalstatedir/run/quagga 0755 quagga quagga -
-EOF
-       Fgenscriptlet
-}
-
-# optimization OK
diff --git a/source/network-extra/quagga/README.Frugalware 
b/source/network-extra/quagga/README.Frugalware
deleted file mode 100644
index 6523504..0000000
--- a/source/network-extra/quagga/README.Frugalware
+++ /dev/null
@@ -1,17 +0,0 @@
-The config files have to be in the /etc/quagga dir and have to be writeable
-by the 'quagga' user (to be able to save config from the daemon's shell).
-
-Neither of the daemons will start till you edit the config files and
-rename/move them from *.conf.sample to *.conf (be careful to the uid/gid).
-
-You have to enable explicitly the routing daemons to get started from the
-init script. The config file is '/etc/sysconfig/quagga'
-
-If you have a working firewall, the OSPF daemon will not get working, you
-have to enable it in the firewall with this rule (maybe other routing
-daemons also have to be enabled, if you use it, but i could not find
-anything about that):
-
-'iptables -A INPUT -p 89 -m state --state NEW -j ACCEPT'
-
-
diff --git a/source/network-extra/quagga/quagga.install 
b/source/network-extra/quagga/quagga.install
deleted file mode 100644
index b5c6527..0000000
--- a/source/network-extra/quagga/quagga.install
+++ /dev/null
@@ -1,62 +0,0 @@
-systemd_units=(@_F_systemd_units@)
-
-post_install()
-{
-       if ! grep -q '^quagga:' /etc/group; then
-               groupadd -g 150 quagga
-       fi
-
-       if ! grep -q '^quagga:' /etc/passwd; then
-               useradd -u 150 -d /dev/null -g quagga quagga
-       fi
-
-       local unit
-       local op
-
-       for i in ${systemd_units[@]}; do
-               unit=$(echo $i | cut -f 1 -d '=')
-               op=$(echo $i | cut -f 2 -d '=')
-               if echo $op | grep -q 'e'; then
-                       systemctl enable $unit.service >/dev/null 2>&1
-               fi
-               if echo $op | grep -q 's'; then
-                       systemctl start $unit.service >/dev/null 2>&1
-               fi
-       done
-}
-
-post_upgrade()
-{
-       if ! grep -q '^quagga:' /etc/group; then
-               groupadd -g 150 quagga
-       fi
-
-       if ! grep -q '^quagga:' /etc/passwd; then
-               useradd -u 150 -d /dev/null -g quagga quagga
-       fi
-
-       systemctl daemon-reload >/dev/null 2>&1
-}
-
-pre_remove()
-{
-       local unit
-
-       for i in ${systemd_units[@]}; do
-               unit=$(echo $i | cut -f 1 -d '=')
-               systemctl --no-reload disable $unit.service >/dev/null 2>&1
-               systemctl stop $unit.service >/dev/null 2>&1
-       done
-}
-
-post_remove()
-{
-       userdel quagga &> /dev/null
-       groupdel quagga &> /dev/null
-
-       systemctl daemon-reload >/dev/null 2>&1
-}
-
-op=$1
-shift
-$op $*
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to