gunnar: server/apache-php Makefile, 1.8.2.3, 1.8.2.4 kolab.patch, 1.6, 1.6.2.1

cvs at kolab.org cvs at kolab.org
Wed Apr 21 16:52:34 CEST 2010


Author: gunnar

Update of /kolabrepository/server/apache-php
In directory doto:/tmp/cvs-serv5892

Modified Files:
      Tag: kolab_2_2_branch
	Makefile kolab.patch 
Log Message:
Update to 5.2.13. Activated modules hash, json, tokenizer (as already done in HEAD)

Index: Makefile
===================================================================
RCS file: /kolabrepository/server/apache-php/Makefile,v
retrieving revision 1.8.2.3
retrieving revision 1.8.2.4
diff -u -d -r1.8.2.3 -r1.8.2.4
--- Makefile	9 Nov 2009 17:08:38 -0000	1.8.2.3
+++ Makefile	21 Apr 2010 14:52:32 -0000	1.8.2.4
@@ -1,7 +1,8 @@
 include ../kolab.mk
 
 PACKAGE=apache-php
-VERSION=5.2.8
+OLD_VERSION=5.2.8
+VERSION=5.2.13
 RELEASE=20081209
 KOLABRELEASE=20081209_kolab2
 
@@ -11,11 +12,13 @@
 .PHONY: all
 all: $(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm
 
-$(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).$(PLATTAG).rpm $(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm $(CURSRCDIR)/kolab.patch $(PATCHES) Makefile
-	$(RPM) -ihv $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+$(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).$(PLATTAG).rpm $(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm: $(PACKAGE)-$(OLD_VERSION)-$(RELEASE).src.rpm $(CURSRCDIR)/kolab.patch $(PATCHES) Makefile
+	$(RPM) -ihv $(PACKAGE)-$(OLD_VERSION)-$(RELEASE).src.rpm
 
 	cp $(PATCHES) $(KOLABRPMSRC)/$(PACKAGE)/
 
+	cd $(KOLABRPMSRC)/$(PACKAGE) && rm php-$(OLD_VERSION).tar.bz2 && wget http://www.php.net/distributions/php-$(VERSION).tar.bz2 \
+	  && patch < $(CURSRCDIR)/kolab.patch && $(RPM) -ba $(PACKAGE).spec \
 	cd $(KOLABRPMSRC)/$(PACKAGE) && patch < $(CURSRCDIR)/kolab.patch && $(RPM) -ba $(PACKAGE).spec \
 	--define 'with_imap_annotate yes' --define 'with_imap_myrights yes' \
 	--define 'with_pear yes' --define 'with_spl yes' --define 'with_gettext yes' \
@@ -24,12 +27,13 @@
 	--define 'with_imap yes' --define 'with_ssl yes' --define 'with_ctype yes' \
 	--define 'with_openldap yes' --define 'with_mhash yes' --define 'with_zlib yes' \
 	--define 'with_bdb yes' --define 'with_xml yes' --define 'with_mm yes' \
-	--define 'with_sqlite yes' --define 'with_spl yes'
+	--define 'with_sqlite yes' --define 'with_spl yes' --define 'with_hash yes' \
+	--define 'with_json yes' --define 'with_tokenizer yes'
 
 	cp -p $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm $(CURSRCDIR)
 
-$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm:
-	wget -c $(OPENPKGURI)/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+$(PACKAGE)-$(OLD_VERSION)-$(RELEASE).src.rpm:
+	wget -c $(OPENPKGURI)/$(PACKAGE)-$(OLD_VERSION)-$(RELEASE).src.rpm
 
 .PHONY: dist
 dist: all

Index: kolab.patch
===================================================================
RCS file: /kolabrepository/server/apache-php/kolab.patch,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -d -r1.6 -r1.6.2.1
--- kolab.patch	9 Feb 2009 10:08:19 -0000	1.6
+++ kolab.patch	21 Apr 2010 14:52:32 -0000	1.6.2.1
@@ -5,6 +5,15 @@
 diff -u -B -r1.30 apache-php.spec
 --- apache-php.spec	14 May 2008 10:38:56 -0000	1.30
 +++ apache-php.spec	15 May 2008 05:47:24 -0000
+@@ -22,7 +22,7 @@
+ ##
+ 
+ #   package versions
+-%define       V_php                     5.2.8
++%define       V_php                     5.2.13
+ %define       V_php_suhosin_p           5.2.7-0.9.6.3
+ %define       V_php_suhosin_e           0.9.27
+ %define       V_php_kolab               5.2.6
 @@ -39,7 +39,7 @@
  Group:        Web
  License:      PHP





More information about the commits mailing list