]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/freeradius
freeradius: Build without SSL
[ipfire-2.x.git] / lfs / freeradius
index f8232d690ece2b593ad7a1e1ea5afd888166ca1e..21f6c0ad254c8b235529368840e556b5ffac742a 100644 (file)
@@ -32,7 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = freeradius
-PAK_VER    = 5
+PAK_VER    = 7
 
 DEPS       = "samba"
 
@@ -81,6 +81,7 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/freeradius-no-buildtime-cert-gen.patch
        $(UPDATE_AUTOMAKE)
        cd $(DIR_APP) && \
                ./configure \
@@ -91,6 +92,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                        --with-system-libtool \
                        --with-threads \
                        --with-thread-pool \
+                       --without-openssl \
                        --disable-ltdl-install \
                        --without-rlm_eap_ikev2 \
                        --without-rlm_sql_iodbc \
@@ -101,7 +103,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
                        --without-rlm_sql_mysql \
                        LDFLAGS="$(LDFLAGS)"
 
-
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install