diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dfc4e11 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +download/eaccelerator* +download/httpd* +#download/mod_rpaf* +download/php* +source diff --git a/Makefile b/Makefile index 1713a38..f835c55 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ DOWNLOAD_RPAF=http://stderr.net/apache/rpaf/download/$(PACKAGE_RPAF) SOURCE_RPAF=$(_SOURCES)/mod_rpaf-0.5 PACKAGE_PHP4=php-4.4.4.tar.bz2 -DOWNLOAD_PHP4=http://de3.php.net/get/$(PACKAGE_PHP4)/from/de.php.net/mirror +DOWNLOAD_PHP4=http://de3.php.net/get/$(PACKAGE_PHP4)/from/this/mirror SOURCE_PHP4=$(_SOURCES)/php-4.4.4 PACKAGE_EACCELERATOR=eaccelerator-0.9.5.tar.bz2 @@ -35,10 +35,16 @@ SOURCE_EACCELERATOR=$(_SOURCES)/eaccelerator-0.9.5 all: apache2-fe apache2-be +fetch: $(_DOWNLOADS)/$(PACKAGE_APACHE2) \ + $(_DOWNLOADS)/$(PACKAGE_RPAF) \ + $(_DOWNLOADS)/$(PACKAGE_PHP4) \ + $(_DOWNLOADS)/$(PACKAGE_EACCELERATOR) + $(_DOWNLOADS)/$(PACKAGE_APACHE2): $(WGET) -P $(_DOWNLOADS) $(DOWNLOAD_APACHE2) $(SOURCE_APACHE2)/.unpacked: $(_DOWNLOADS)/$(PACKAGE_APACHE2) + mkdir -p $(SOURCE_APACHE2) tar -C $(_SOURCES) -xjf $(_DOWNLOADS)/$(PACKAGE_APACHE2) touch $@ @@ -46,6 +52,7 @@ $(_DOWNLOADS)/$(PACKAGE_RPAF): $(WGET) -P $(_DOWNLOADS) $(DOWNLOAD_RPAF) $(SOURCE_RPAF)/.unpacked: $(_DOWNLOADS)/$(PACKAGE_RPAF) + mkdir -p $(SOURCE_RPAF) tar -C $(_SOURCES) -xzf $(_DOWNLOADS)/$(PACKAGE_RPAF) touch $@ @@ -53,6 +60,7 @@ $(_DOWNLOADS)/$(PACKAGE_PHP4): $(WGET) -P $(_DOWNLOADS) $(DOWNLOAD_PHP4) $(SOURCE_PHP4)/.unpacked: $(_DOWNLOADS)/$(PACKAGE_PHP4) + mkdir -p $(SOURCE_PHP4) tar -C $(_SOURCES) -xjf $(_DOWNLOADS)/$(PACKAGE_PHP4) touch $@ @@ -60,6 +68,7 @@ $(_DOWNLOADS)/$(PACKAGE_EACCELERATOR): $(WGET) -P $(_DOWNLOADS) $(DOWNLOAD_EACCELERATOR) $(SOURCE_EACCELERATOR)/.unpacked: $(_DOWNLOADS)/$(PACKAGE_EACCELERATOR) + mkdir -p $(SOURCE_EACCELERATOR) tar -C $(_SOURCES) -xjf $(_DOWNLOADS)/$(PACKAGE_EACCELERATOR) touch $@