]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/freeradius
freeradius: Fix extra whitespace
[ipfire-2.x.git] / lfs / freeradius
index a07a535ab066c4af88cfaeb2858bc6cc14d550db..604116f6c8d69e940f5134b5626a128f379c66ff 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2016  IPFire Team  <info@ipfire.org>                          #
+# Copyright (C) 2007-2019  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        #
 
 include Config
 
-VER        = 3.0.11
+VER        = 3.0.18
 
 THISAPP    = freeradius-server-$(VER)
-DL_FILE    = $(THISAPP).tar.gz
+DL_FILE    = $(THISAPP).tar.bz2
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = freeradius
-PAK_VER    = 1
+PAK_VER    = 5
 
 DEPS       = "samba"
 
+ifeq "$(BUILD_ARCH)" "armv5tel"
+       LDFLAGS += -latomic
+endif
+
 ###############################################################################
 # Top-level Rules
 ###############################################################################
@@ -44,7 +48,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = 9428ba0d25293a2b5acd3b85f3dd46d0
+$(DL_FILE)_MD5 = 05f0c8c7ac79659f808ff31751daa857
 
 install : $(TARGET)
 
@@ -76,7 +80,8 @@ $(subst %,%_MD5,$(objects)) :
 
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       $(UPDATE_AUTOMAKE)
        cd $(DIR_APP) && \
                ./configure \
                        --prefix=/usr \
@@ -93,7 +98,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                        --without-rlm_sql_db2 \
                        --without-rlm_sql_oracle \
                        --without-rlm_sql_sqlite \
-                       --without-rlm_sql_mysql
+                       --without-rlm_sql_mysql \
+                       LDFLAGS="$(LDFLAGS)"
 
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install