]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/frr
Core Update 168: Ship boost and delete orphaned libraries
[ipfire-2.x.git] / lfs / frr
diff --git a/lfs/frr b/lfs/frr
index a14dc598115d52d286674ca69acdd2afc32a2202..acb000e5f3661b4e14c1fdcce2608cce73baa703 100644 (file)
--- a/lfs/frr
+++ b/lfs/frr
@@ -24,7 +24,9 @@
 
 include Config
 
-VER        = 6.0
+SUMMARY    = FRRouting Routing daemon
+
+VER        = 8.0.1
 
 THISAPP    = frr-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -32,9 +34,13 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = frr
-PAK_VER    = 1
+PAK_VER    = 3
+
+DEPS       = elfutils
+
+SERVICES   = frr
 
-DEPS       = ""
+CFLAGS    += -fcommon
 
 ###############################################################################
 # Top-level Rules
@@ -44,7 +50,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = d725c08e0093f58e5fcac0969c781813
+$(DL_FILE)_BLAKE2 = 1473ce1282f572522fe88397bbe078dd8224e6a35d87f09c89a0231620e8a740d223a2ed94809ed23545dd77c330429311d99c172a1bd75d9f08888ca9a401ad
 
 install : $(TARGET)
 
@@ -52,13 +58,13 @@ check : $(patsubst %,$(DIR_CHK)/%,$(objects))
 
 download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
-md5 : $(subst %,%_MD5,$(objects))
+b2 : $(subst %,%_BLAKE2,$(objects))
 
-dist: 
+dist:
        @$(PAK)
 
 ###############################################################################
-# Downloading, checking, md5sum
+# Downloading, checking, b2sum
 ###############################################################################
 
 $(patsubst %,$(DIR_CHK)/%,$(objects)) :
@@ -67,8 +73,8 @@ $(patsubst %,$(DIR_CHK)/%,$(objects)) :
 $(patsubst %,$(DIR_DL)/%,$(objects)) :
        @$(LOAD)
 
-$(subst %,%_MD5,$(objects)) :
-       @$(MD5)
+$(subst %,%_BLAKE2,$(objects)) :
+       @$(B2SUM)
 
 ###############################################################################
 # Installation Details
@@ -77,6 +83,7 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+       $(UPDATE_AUTOMAKE)
        cd $(DIR_APP) && ./configure \
                --prefix=/usr \
                --sysconfdir=/etc/frr \
@@ -98,7 +105,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                --disable-pbrd \
                --disable-pimd \
                --disable-ripd \
-               --disable-ripngd
+               --disable-ripngd \
+               --disable-static
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
 
@@ -107,7 +115,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                 /var/ipfire/backup/addons/includes/frr
 
        # Install initscript
-       $(call INSTALL_INITSCRIPT,frr)
+       $(call INSTALL_INITSCRIPTS,$(SERVICES))
 
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)