]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/bird
buildprocess: Add extra metadata to pak lfs files
[ipfire-2.x.git] / lfs / bird
index e7b89bdd0e3d8adf969416af145f68425fa85e92..48c3e42b4c2b1f2cc7d16630966c3785e9829cee 100644 (file)
--- a/lfs/bird
+++ b/lfs/bird
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2017  IPFire Team  <info@ipfire.org>                          #
+# Copyright (C) 2007-2018  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,9 @@
 
 include Config
 
-VER        = 1.6.3
+SUMMARY    = The BIRD Internet Routing Daemon
+
+VER        = 2.0.8
 
 THISAPP    = bird-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
@@ -32,9 +34,13 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = bird
-PAK_VER    = 2
+PAK_VER    = 8
+
+DEPS       =
+
+SERVICES   = bird
 
-DEPS       = ""
+CFLAGS    += -fcommon
 
 ###############################################################################
 # Top-level Rules
@@ -44,7 +50,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 63dd93a7a23c274fc5b7f2e37664bfb7
+$(DL_FILE)_MD5 = d807bdb34b27fe15ba8b71e83474eb27
 
 install : $(TARGET)
 
@@ -85,6 +91,14 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                        --localstatedir=/var
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
+
+       # Install backup include
+       install -v -m 644 $(DIR_SRC)/config/backup/includes/bird \
+                /var/ipfire/backup/addons/includes/bird
+
+       # Install initscript
+       $(call INSTALL_INITSCRIPTS,$(SERVICES))
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)