]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/apache2
Captive-Portal: create dir for cative logfiles
[ipfire-2.x.git] / lfs / apache2
index 219ef07dd1b4df18503707b2707db35c1a6a832b..d0fe0662579a0256ec98431b93a1cb635f5c822e 100644 (file)
@@ -29,7 +29,7 @@ VER        = 2.4.27
 
 THISAPP    = httpd-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
-DL_FROM    = https://archive.apache.org/dist/httpd
+DL_FROM    = $(URL_IPFIRE)
 
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
@@ -120,5 +120,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cp -rf $(DIR_CONF)/httpd/* /etc/httpd/conf
        ln -sf $(CONFIG_ROOT)/main/hostname.conf /etc/httpd/conf/
 
+       # Create logdir for captive-portal
+       mkdir -pv /var/log/httpd/captive
+
        @rm -rf $(DIR_APP)
        @$(POSTBUILD)