X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fphp;h=fa1c6fea5141c3209aea1e2db06ce071b7baa403;hp=fa0c76c25015138440e327349fddce86d14f8426;hb=9217f23647243b640713e1cac421db6597d60e12;hpb=9297899ccfe48eb6886560291c68d830924d28ef diff --git a/lfs/php b/lfs/php index fa0c76c250..fa1c6fea51 100644 --- a/lfs/php +++ b/lfs/php @@ -26,15 +26,13 @@ include Config -VER = 5.1.4 +VER = 4.4.4 THISAPP = php-$(VER) DL_FILE = $(THISAPP).tar.bz2 DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) -PROG = php -PAK_VER = 1 ############################################################################### # Top-level Rules @@ -44,7 +42,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 66a806161d4a2d3b5153ebe4cd0f2e1c +$(DL_FILE)_MD5 = bc6fa8908e2ac36e93bab9f7d42cda3a install : $(TARGET) @@ -78,31 +76,14 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && sed -i 's/const char \*errpfx,/const DB_ENV *dbenv, & const/' ext/dba/dba_db4.c - cd $(DIR_APP) && ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --with-apxs2 \ - --enable-force-cgi-redirect \ - --enable-discard-path \ - --with-config-file-path=/etc \ - --with-zlib \ - --enable-bcmath \ - --with-bz2 \ - --enable-calendar \ - --enable-dba \ - --enable-exif \ - --enable-ftp \ - --with-gettext \ - --enable-mbstring \ - --with-ncurses \ - --with-readline - cd $(DIR_APP) && make + cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc \ + --with-apxs2 --with-config-file-path=/etc \ + --with-zlib --with-bz2 --enable-ftp --with-gettext \ + --with-iconv --with-mysql=/usr --with-ncurses + cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install cd $(DIR_APP) && install -v -m644 php.ini-recommended /etc/php.ini - cd $(DIR_APP) && install -v -m755 -d /usr/share/doc/php-$(VER) - cd $(DIR_APP) && install -v -m644 CODING_STANDARDS EXTENSIONS INSTALL NEWS README* TODO* UPGRADING php.gif \ - /usr/share/doc/php-$(VER) - cd $(DIR_APP) && ln -v -sf /usr/lib/php/doc/Archive_Tar/docs/Archive_Tar.txt /usr/share/doc/php-$(VER) - grep -v libphp5.so < /etc/httpd/conf/httpd.conf > /etc/httpd/conf/httpd.conf.bak + grep -v libphp4.so < /etc/httpd/conf/httpd.conf > /etc/httpd/conf/httpd.conf.bak mv -f /etc/httpd/conf/httpd.conf.bak /etc/httpd/conf/httpd.conf @rm -rf $(DIR_APP) @$(POSTBUILD)