]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - bird/bird.nm
netpbm: Drop unneeded pkgconfig_template file
[ipfire-3.x.git] / bird / bird.nm
index 45b405a731400e962d500e89863bb591e618e460..350cd0eae647bdfe2c2ef85bdd8424fcb00b2e0f 100644 (file)
@@ -4,11 +4,11 @@
 ###############################################################################
 
 name       = bird
-version    = 1.6.0
-release    = 1
+version    = 2.0.10
+release    = 2
 
 groups     = Networking/Routing
-url        = http://bird.network.cz/
+url        = https://bird.network.cz/
 license    = GPLv2+
 summary    = BIRD Internet Routing Daemon.
 
@@ -17,7 +17,7 @@ description
        protocols BGP, RIP and OSPF.
 end
 
-source_dl  = ftp://bird.network.cz/pub/bird/
+source_dl  = https://bird.network.cz/download/
 
 build
        requires
@@ -27,27 +27,9 @@ build
                readline-devel
        end
 
-       prepare_cmds
-               mkdir -pv %{DIR_APP}/ipv6
-               tar c --exclude ipv6 . | tar x -C ipv6
-       end
-
-       build
-               ./configure %{configure_options}
-               make %{PARALLELISMFLAGS}
-
-               cd ipv6
-               ./configure %{configure_options} --enable-ipv6
-               make %{PARALLELISMFLAGS}
-       end
-
-       install
-               make install DESTDIR=%{BUILDROOT}
-
-               cd ipv6
-               make install DESTDIR=%{BUILDROOT}
-
-               rm -rfv %{BUILDROOT}/var
+       install_cmds
+               # Drop /var/run
+               rm -rvf %{BUILDROOT}%{localstatedir}/run
        end
 end
 
@@ -63,8 +45,6 @@ packages
                        /bin/systemctl --no-reload disable bird.service > /dev/null 2>&1 || :
                        /bin/systemctl stop bird.service > /dev/null 2>&1 || :
 
-                       /bin/systemctl --no-reload disable bird6.service > /dev/null 2>&1 || :
-                       /bin/systemctl stop bird6.service > /dev/null 2>&1 || :
                end
 
                script postun
@@ -74,7 +54,6 @@ packages
                script postup
                        /bin/systemctl daemon-reload 2>&1 || :
                        /bin/systemctl reload-or-try-restart bird.service >/dev/null 2>&1 || :
-                       /bin/systemctl reload-or-try-restart bird6.service >/dev/null 2>&1 || :
                end
        end