]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/xampp
stunnel und edonkeyclc geloescht, da wir es nicht nutzen
[ipfire-2.x.git] / lfs / xampp
index 3c33cc0cbee89883a03fc26e1aca8d683f760fa3..2e98283e733c0925809293ae843852ebb627a41d 100644 (file)
--- a/lfs/xampp
+++ b/lfs/xampp
 # Makefiles are based on LFSMake, which is                                    #
 # Copyright (C) 2002 Rod Roard <rod@sunsetsystems.com>                        #
 #                                                                             #
-# Modifications by:                                                           #
-# ??-12-2003 Mark Wormgoor < mark@wormgoor.com>                               #
-#          - Modified Makefile for IPCop build                                #
-#                                                                             #
-# $Id: ntp,v 1.6.2.3 2005/02/05 15:38:15 gespinasse Exp $
-#                                                                             #
 ###############################################################################
 
 ###############################################################################
 
 include Config
 
-VER        = 1.5.1
+VER        = 1.5.3a
 
 THISAPP    = xampp-linux-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
-DL_FROM    = http://ovh.dl.sourceforge.net/sourceforge/xampp
-DIR_APP    = $(DIR_SRC)/$(THISAPP)
+DL_FROM    = $(URL_IPFIRE)
+DIR_APP    = /opt/lampp
 TARGET     = $(DIR_INFO)/$(THISAPP)
+PROG       = xampp
+PAK_VER    = 1
 
 ###############################################################################
 # Top-level Rules
 ###############################################################################
 
 objects = $(DL_FILE) \
-       xampp-linux-devel-1.5.1.tar.gz \
-       PostGreSQL-AddOn-1.0-pgsql8.1.tar.gz
+       xampp-linux-devel-$(VER).tar.gz \
+       PostGreSQL-AddOn-1.0-pgsql8.1.tar.gz \
+       Python-AddOn-1.3.tar.gz \
+       wwget-beta-for-ipfire.tar.gz \
+       wwget.dump
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-xampp-linux-devel-$(VER).tar.gz        = http://switch.dl.sourceforge.net/sourceforge/xampp/xampp-linux-devel-$(VER).tar.gz
-PostGreSQL-AddOn-1.0-pgsql8.1.tar.gz = http://switch.dl.sourceforge.net/sourceforge/xamppaddon/PostGreSQL-AddOn-1.0-pgsql8.1.tar.gz
-
-$(DL_FILE)_MD5 = baefcf7ac3629a641c7b75c547564a3f
-xampp-linux-devel-$(VER).tar.gz_MD5 = e4ab1c867551a831ae6af38fa3c4dfd9
+xampp-linux-devel-$(VER).tar.gz        = $(URL_IPFIRE)/xampp-linux-devel-$(VER).tar.gz
+PostGreSQL-AddOn-1.0-pgsql8.1.tar.gz = $(URL_IPFIRE)/PostGreSQL-AddOn-1.0-pgsql8.1.tar.gz
+Python-AddOn-1.3.tar.gz = $(URL_IPFIRE)/Python-AddOn-1.3.tar.gz
+wwget-beta-for-ipfire.tar.gz = $(URL_IPFIRE)/wwget-beta-for-ipfire.tar.gz
+wwget.dump = $(URL_IPFIRE)/wwget.dump
+
+$(DL_FILE)_MD5 = 422ab1faa4ab7afb3be8918ab8223b6b
+xampp-linux-devel-$(VER).tar.gz_MD5 = 30b4bce92ec389adf61cbf67246efd1f
 PostGreSQL-AddOn-1.0-pgsql8.1.tar.gz_MD5 = 63171afe553fd557032407e1ba6af477
+Python-AddOn-1.3.tar.gz_MD5 = 5a962ea63c3e502227c8cca30e0ce786
+wwget-beta-for-ipfire.tar.gz_MD5 = 6591e663cf911cc745b44ca0ab38d24c
+wwget.dump_MD5 = 1d3d78214da692284e15b617b3bdd6e2
 
 install : $(TARGET)
 
@@ -64,6 +69,9 @@ download :$(patsubst %,$(DIR_DL)/%,$(objects))
 
 md5 : $(subst %,%_MD5,$(objects))
 
+dist:
+       @$(PAK)
+
 ###############################################################################
 # Downloading, checking, md5sum
 ###############################################################################
@@ -86,9 +94,24 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @rm -rf $(DIR_APP) 
        cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) -C /opt 
        cd $(DIR_SRC) && tar zxf $(DIR_DL)/xampp-linux-devel-$(VER).tar.gz -C /opt
-       cd $(DIR_SRC) && tar zxf $(DIR_DL)/PostGreSQL-AddOn-1.0-pgsql8.1.tar.gz -C /tmp
-       cd /tmp/PostGreSQL-AddOn-1.0-pgsql8.1 && ./INSTALL
-       rm -rf /tmp/PostGreSQL-AddOn-1.0-pgsql8.1
+       cd $(DIR_SRC) && tar zxf $(DIR_DL)/Python-AddOn-1.3.tar.gz -C /tmp
+#      cd $(DIR_SRC) && tar zxf $(DIR_DL)/PostGreSQL-AddOn-1.0-pgsql8.1.tar.gz -C /tmp
+       cd $(DIR_SRC) && tar zxf $(DIR_DL)/wwget-beta-for-ipfire.tar.gz -C /opt/lampp/htdocs
+#      cd /tmp/PostGreSQL-AddOn-1.0-pgsql8.1 && ./INSTALL
+#      rm -rf /tmp/PostGreSQL-AddOn-1.0-pgsql8.1
+       cd /tmp/Python-AddOn-1.3 && cp -fr lampp/bin /opt/lampp
+       cd /tmp/Python-AddOn-1.3 && cp -fr lampp/cgi-bin /opt/lampp
+       cd /tmp/Python-AddOn-1.3 && cp -fr lampp/etc /opt/lampp
+       cd /tmp/Python-AddOn-1.3 && cp -fr lampp/htdocs /opt/lampp
+       cd /tmp/Python-AddOn-1.3 && cp -fr lampp/include /opt/lampp
+       cd /tmp/Python-AddOn-1.3 && cp -fr lampp/lib /opt/lampp
+       # cd /tmp/Python-AddOn-1.3 && cp -fr lampp/licenses /opt/lampp
+       # cd /tmp/Python-AddOn-1.3 && cp -fr lampp/man /opt/lampp
+       cd /tmp/Python-AddOn-1.3 && cp -fr lampp/modules /opt/lampp
+       # cd /tmp/Python-AddOn-1.3 && cp -fr lampp/share /opt/lampp
+       rm -rf /tmp/Python-AddOn-1.3
+       grep etc/python.conf /opt/lampp/etc/httpd.conf || echo -e "Include etc/python.conf" >> /opt/lampp/etc/httpd.conf
        chown -R nobody.nobody /opt/lampp/htdocs
-       @rm -rf $(DIR_APP)
+       ln -fs /opt/lampp/lib/mysql/libmysqlclient.* /usr/lib
+       ldconfig
        @$(POSTBUILD)