X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Ffreeradius;h=604116f6c8d69e940f5134b5626a128f379c66ff;hb=72995596119e76e1c41395f21c097643bff44be6;hp=90928e91d7acf4d8a7a560ccae7bd6aa55b0f93e;hpb=65ca3f05075a11e2bce7daef5980f9bb4715ae84;p=ipfire-2.x.git diff --git a/lfs/freeradius b/lfs/freeradius index 90928e91d7..604116f6c8 100644 --- a/lfs/freeradius +++ b/lfs/freeradius @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2017 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.14 +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 = 2 +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 = 71f0593f68e6d4dd2efc47a61219643d +$(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