X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Ffreeradius;h=604116f6c8d69e940f5134b5626a128f379c66ff;hp=a07a535ab066c4af88cfaeb2858bc6cc14d550db;hb=72995596119e76e1c41395f21c097643bff44be6;hpb=17f7f41e4147c5653591c1413e576d72461cc1cb diff --git a/lfs/freeradius b/lfs/freeradius index a07a535ab0..604116f6c8 100644 --- a/lfs/freeradius +++ b/lfs/freeradius @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2016 IPFire Team # +# Copyright (C) 2007-2019 IPFire Team # # # # 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,18 +24,22 @@ 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