Commit 46c90a2f authored by Axel Auweter's avatar Axel Auweter
Browse files

Add APR to HTTPD build.

parent 974fd320
......@@ -12,6 +12,8 @@ OPENSSL_VERSION = 1.0.1s
CPPDRV_VERSION = 2.0.1
LIBUV_VERSION = 0.10.36
HTTPD_VERSION = 2.4.18
APR_VERSION = 1.5.2
APR_UTIL_VERSION = 1.5.4
SOURCEFORGE_MROR = netcologne
BOOST_VERSION_U = $(subst .,_,$(BOOST_VERSION))
......@@ -23,9 +25,12 @@ DISTFILES = apache-cassandra-$(CASSANDRA_VERSION).tar.gz;http://mirrors.sonic.ne
openssl-$(OPENSSL_VERSION).tar.gz;ftp://ftp.pca.dfn.de/pub/tools/net/openssl/source/openssl-$(OPENSSL_VERSION).tar.gz \
cpp-driver-$(CPPDRV_VERSION).tar.gz;https://github.com/datastax/cpp-driver/archive/$(CPPDRV_VERSION).tar.gz \
libuv-v$(LIBUV_VERSION).tar.gz;http://dist.libuv.org/dist/v$(LIBUV_VERSION)/libuv-v$(LIBUV_VERSION).tar.gz \
httpd-$(HTTPD_VERSION).tar.gz;http://mirror.softaculous.com/apache//httpd/httpd-$(HTTPD_VERSION).tar.gz
httpd-$(HTTPD_VERSION).tar.gz;http://mirror.softaculous.com/apache//httpd/httpd-$(HTTPD_VERSION).tar.gz \
apr-util-$(APR_UTIL_VERSION).tar.gz;http://www-us.apache.org/dist//apr/apr-util-$(APR_UTIL_VERSION).tar.gz \
apr-$(APR_VERSION).tar.gz;http://www-us.apache.org/dist//apr/apr-$(APR_VERSION).tar.gz
DISTFILES_HASHES = apache-cassandra-2.2.5.tar.gz;c3952585a03f15490da6b14f4f4a2087;mosquitto-1.3.5.tar.gz;55094ad4dc7c7985377f43d4fc3d09da;OpenIPMI-2.0.21.tar.gz;dc0b42ae40b3f1d0db2a94b75b95fae1;boost_1_57_0.tar.gz;25f9a8ac28beeb5ab84aa98510305299;net-snmp-5.7.3.zip;9f682bd70c717efdd9f15b686d07baee;openssl-1.0.1s.tar.gz;562986f6937aabc7c11a6d376d8a0d26;cpp-driver-2.0.1.tar.gz;70bf83e1cbd0d35b7e5ed66fc4dccbb1;libuv-v0.10.36.tar.gz;8eb77b4fee4f311c114a9fee06f5a2ab;httpd-2.4.18.tar.gz;2f90ce3426541817e0dfd01cae086b60;
DISTFILES_HASHES = apache-cassandra-2.2.5.tar.gz;c3952585a03f15490da6b14f4f4a2087;mosquitto-1.3.5.tar.gz;55094ad4dc7c7985377f43d4fc3d09da;OpenIPMI-2.0.21.tar.gz;dc0b42ae40b3f1d0db2a94b75b95fae1;boost_1_57_0.tar.gz;25f9a8ac28beeb5ab84aa98510305299;net-snmp-5.7.3.zip;9f682bd70c717efdd9f15b686d07baee;openssl-1.0.1s.tar.gz;562986f6937aabc7c11a6d376d8a0d26;cpp-driver-2.0.1.tar.gz;70bf83e1cbd0d35b7e5ed66fc4dccbb1;libuv-v0.10.36.tar.gz;8eb77b4fee4f311c114a9fee06f5a2ab;httpd-2.4.18.tar.gz;2f90ce3426541817e0dfd01cae086b60;apr-1.5.2.tar.gz;98492e965963f852ab29f9e61b2ad700;apr-util-1.5.4.tar.gz;866825c04da827c6e5f53daff5569f42;
FETCH = wget -c --no-check-certificate -O -
MD5 = $(if $(shell which md5),md5,md5sum --tag)
......@@ -290,10 +295,14 @@ $(DCDBDEPSPATH)/.prerequesites: $(DCDBDEPSPATH)/.extract-distfiles
fi
$(eval H := $(shell echo "$(DISTFILESPATHS)" | sed 's/.*httpd/httpd/' | sed 's/\ .*//'))
$(eval A := $(shell echo "$(DISTFILESPATHS)" | sed 's/.*apr/apr/' | sed 's/\ .*//'))
$(eval U := $(shell echo "$(DISTFILESPATHS)" | sed 's/.*apr-util/apr-util/' | sed 's/\ .*//'))
@if [ ! -e $(DCDBDEPSPATH)/$(H)/.installed ]; then \
echo ""; \
echo "Building Apache HTTPD server..."; \
cd $(DCDBDEPSPATH)/$(H) && ./configure --prefix=$(DCDBDEPLOYPATH); \
cp -a $(DCDBDEPSPATH)/$(A) $(DCDBDEPSPATH)/$(H)/srclib/apr; \
cp -a $(DCDBDEPSPATH)/$(U) $(DCDBDEPSPATH)/$(H)/srclib/apr-util; \
cd $(DCDBDEPSPATH)/$(H) && ./configure --with-included-apr --prefix=$(DCDBDEPLOYPATH); \
cd $(DCDBDEPSPATH)/$(H) && make -j $(MAKETHREADS) && make install && touch $(DCDBDEPSPATH)/$(H)/.installed; \
echo "Configuring Apache HTTPD server:"; \
echo " Setting listen port: $(HTTPD_PORT)"; \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment