Branch '2.3-stable' - 2 commits - apache-php/kolab.patch apache-php/Makefile z-push/Makefile z-push/z-push.spec

Git Service User git at kolabsys.com
Tue Apr 5 16:33:36 CEST 2011


 apache-php/Makefile    |   38 ++++++++++++++++++++++++--
 apache-php/kolab.patch |   71 ++++++++++++++++++++++++++++++-------------------
 z-push/Makefile        |    2 -
 z-push/z-push.spec     |    7 +++-
 4 files changed, 86 insertions(+), 32 deletions(-)

New commits:
commit 4f47efcc4c8ec315bace10c0c5ff3c482fc31dfa
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Tue Apr 5 16:33:31 2011 +0200

    z-push: Update to 1.5. final

diff --git a/z-push/Makefile b/z-push/Makefile
index 9eecc8c..e431fe3 100644
--- a/z-push/Makefile
+++ b/z-push/Makefile
@@ -5,7 +5,7 @@ VERSION = $(shell grep "^Version:" *.spec | sed -e "s/^Version:\s*\([0-9.]*\).*/
 RELEASE = $(shell grep "^Release:" *.spec | sed -e "s/^Release:\s*\([0-9._a-z]*\).*/\1/")
 
 SOURCE_URL=http://download.berlios.de/z-push/
-SOURCE_0=$(PACKAGE)-$(VERSION)beta2.tar.gz
+SOURCE_0=$(PACKAGE)-$(VERSION).tar.gz
 EXTRA=z_RTF.php z-push.conf
 
 include ../make-helper/package.mk
diff --git a/z-push/z-push.spec b/z-push/z-push.spec
index 37781ec..c0191c1 100644
--- a/z-push/z-push.spec
+++ b/z-push/z-push.spec
@@ -4,7 +4,7 @@
 # Package Information
 Name:           z-push
 Version:        1.5
-Release:        0.2.beta2
+Release:        1
 Summary:        Implementation of the ActiveSync protocol
 # "Web" seems the most reasonable choice from
 # /kolab/bin/openpkg rpm -qa --qf %{group}\\n | sort | uniq
@@ -16,7 +16,7 @@ Vendor:         Kolab Systems AG <contact at kolabsys.com>
 Distribution:	OpenPKG
 
 # List of Sources
-Source0:        http://download.berlios.de/z-push/%{name}-%{version}%{?prerelease}.tar.gz
+Source0:        http://download.berlios.de/z-push/%{name}-%{version}.tar.gz
 Source1:        https://kolabzpush.svn.sourceforge.net/svnroot/kolabzpush/tags/0.6.1/include/z_RTF.php
 Source2:        z-push.conf
 
@@ -89,6 +89,9 @@ chown kolab-n:kolab-n %{l_prefix}/var/kolab/www/z-push/state/ ||:
 
 
 %changelog
+* Fri Jan 21 2011 Christoph Wickert <cwickert at fedoraproject.org> - 1.5-1
+- Update to 1.5 final
+
 * Mon Dec 06 2010 Christoph Wickert <cwickert at fedoraproject.org> -  1.5-0.2.beta2
 - Bump release for Kolab 2.3 alpha
 


commit 441ba270920d485ffde2e1feafffcb24c0307bab
Author: Christoph Wickert <cwickert at fedoraproject.org>
Date:   Tue Jan 11 11:26:25 2011 +0100

    apache-php: update to 5.3.4

diff --git a/apache-php/Makefile b/apache-php/Makefile
index 87d6089..eeac55e 100644
--- a/apache-php/Makefile
+++ b/apache-php/Makefile
@@ -3,11 +3,23 @@ include ../make-helper/kolab.mk
 PACKAGE=apache-php
 DOWNLOAD_VERSION=5.3.1
 OPENPKG_RELEASE=20091129
-VERSION=5.3.3
-RELEASE=20101220_kolab1
+VERSION=5.3.4
+VERSION_SUHOSHIN_EXTENSION=0.9.32.1
+VERSION_SUHOSHIN_PATCH=5.3.4-0.9.10
+VERSION_MEMCACHE=2.2.6
+RELEASE=20101230_kolab1
 
 SOURCE_URL=http://www.php.net/distributions
+SOURCE_1_URL=http://download.suhosin.org
+SOURCE_2_URL=http://pecl.php.net/get
+SOURCE_3_URL=http://download.suhosin.org
 SOURCE_0=php-$(VERSION).tar.bz2
+SOURCE_1=suhosin-$(VERSION_SUHOSHIN_EXTENSION).tar.gz
+SOURCE_2=memcache-$(VERSION_MEMCACHE).tgz
+SOURCE_3=suhosin-patch-$(VERSION_SUHOSHIN_PATCH).patch.gz
+
+SOURCES=$(SOURCE_0) $(SOURCE_1) $(SOURCE_2) $(SOURCE_3)
+RPM_SOURCES = $(KOLABRPMSRC)/$(PACKAGE)/$(SOURCE_0) $(KOLABRPMSRC)/$(PACKAGE)/$(SOURCE_1) $(KOLABRPMSRC)/$(PACKAGE)/$(SOURCE_2) $(KOLABRPMSRC)/$(PACKAGE)/$(SOURCE_3)
 
 PATCHES=../php/patches/php-$(VERSION)/KOLAB_php-$(VERSION)_Annotations.patch \
         ../php/patches/php-$(VERSION)/KOLAB_php-$(VERSION)_myrights.patch
@@ -24,6 +36,28 @@ BUILD_OPTIONS=--define 'with_imap_annotate yes' --define 'with_imap_myrights yes
               --define 'with_simplexml yes' --define 'with_sqlite yes' --define 'with_spl yes' \
               --define 'with_json yes' --define 'with_tokenizer yes'
 
+# Target for retrieving the second source package
+$(SOURCE_1):
+	wget -c "$(SOURCE_1_URL)/$(SOURCE_1)"
+
+# Target for retrieving the third source package
+$(SOURCE_2):
+	wget -c "$(SOURCE_2_URL)/$(SOURCE_2)"
+
+# Target for retrieving the fourth source package
+$(SOURCE_3):
+	wget -c "$(SOURCE_3_URL)/$(SOURCE_3)"
+
+# Target for the source files in the src rpm directory.
+$(KOLABRPMSRC)/$(PACKAGE)/$(SOURCE_1): $(KOLABRPMSRC)/$(PACKAGE) $(SOURCE_1)
+	cp $(SOURCE_1) $(KOLABRPMSRC)/$(PACKAGE)/
+
+$(KOLABRPMSRC)/$(PACKAGE)/$(SOURCE_2): $(KOLABRPMSRC)/$(PACKAGE) $(SOURCE_2)
+	cp $(SOURCE_2) $(KOLABRPMSRC)/$(PACKAGE)/
+
+$(KOLABRPMSRC)/$(PACKAGE)/$(SOURCE_3): $(KOLABRPMSRC)/$(PACKAGE) $(SOURCE_3)
+	cp $(SOURCE_3) $(KOLABRPMSRC)/$(PACKAGE)/
+
 include ../make-helper/package.mk
 include ../make-helper/openpkg-patched.mk
 include ../make-helper/fetch.mk
diff --git a/apache-php/kolab.patch b/apache-php/kolab.patch
index 1a7d1ed..613573d 100644
--- a/apache-php/kolab.patch
+++ b/apache-php/kolab.patch
@@ -1,49 +1,67 @@
-Index: apache-php.spec
-===================================================================
-RCS file: /v/openpkg/cvs/openpkg-src/apache-php/apache-php.spec,v
-retrieving revision 1.30
-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 @@
+--- apache-php.orig/apache-php.spec	2009-11-29 19:41:05.000000000 +0100
++++ apache-php/apache-php.spec	2011-01-11 09:35:19.768739148 +0100
+@@ -22,11 +22,11 @@
  ##
  
  #   package versions
 -%define       V_php                     5.3.1
-+%define       V_php                     5.3.3
- %define       V_php_suhosin_p           5.3.1-0.9.8
- %define       V_php_suhosin_e           0.9.29
- %define       V_php_kolab               5.2.8
+-%define       V_php_suhosin_p           5.3.1-0.9.8
+-%define       V_php_suhosin_e           0.9.29
+-%define       V_php_kolab               5.2.8
+-%define       V_php_pecl_memcache       2.2.5
++%define       V_php                     5.3.4
++%define       V_php_suhosin_p           5.3.4-0.9.10
++%define       V_php_suhosin_e           0.9.32.1
++%define       V_php_kolab               5.3.4
++%define       V_php_pecl_memcache       2.2.6
+ 
+ #   package information
+ Name:         apache-php
 @@ -39,7 +39,7 @@
  Group:        Web
  License:      PHP
  Version:      %{V_php}
 -Release:      20091129
-+Release:      20101220_kolab1
++Release:      20101230_kolab1
  
  #   package options
  %option       with_suhosin              no
-@@ -61,6 +61,8 @@
+@@ -60,6 +60,8 @@
  %option       with_iconv                no
  %option       with_imap                 no
  %option       with_imap_annotate        no
 +%option       with_hash                 no
 +%option       with_imap_myrights        no
  %option       with_json                 no
+ %option       with_tokenizer            no
  %option       with_mbregex              no
- %option       with_mbstring             no
-@@ -137,8 +139,9 @@
+@@ -132,13 +134,14 @@
+ 
+ #   list of sources
+ Source0:      http://static.php.net/www.php.net/distributions/php-%{V_php}.tar.bz2
+-Source1:      http://download.suhosin.org/suhosin-%{V_php_suhosin_e}.tgz
++Source1:      http://download.suhosin.org/suhosin-%{V_php_suhosin_e}.tar.gz
+ Source2:      apache-php.ini
  Source3:      apache-php.conf
  Source4:      http://pecl.php.net/get/memcache-%{V_php_pecl_memcache}.tgz
  Patch0:       http://download.suhosin.org/suhosin-patch-%{V_php_suhosin_p}.patch.gz
 -Patch1:       http://kolab.org/cgi-bin/viewcvs-kolab.cgi/*checkout*/server/patches/php/php-%{V_php_kolab}/KOLAB_php-%{V_php_kolab}_Annotations.patch
-+Patch1:       http://kolab.org/cgi-bin/viewcvs-kolab.cgi/*checkout*/server/patches/php/php-%{V_php}/KOLAB_php-%{V_php}_Annotations.patch
++Patch1:       http://git.kolab.org/server/tree/php/patches/%{V_php_kolab}/KOLAB_php-%{V_php}_Annotations.patch
  Patch2:       apache-php.patch
-+Patch3:       http://kolab.org/cgi-bin/viewcvs-kolab.cgi/*checkout*/server/patches/php/php-%{V_php}/KOLAB_php-%{V_php}_myrights.patch
++Patch3:       http://git.kolab.org/server/tree/php/patches/%{V_php_kolab}/KOLAB_php-%{V_php}_myrights.patch
  
  #   build information
  Prefix:       %{l_prefix}
-@@ -340,7 +342,10 @@
+@@ -306,7 +309,7 @@
+     }
+     prog apache-php:kolab = {
+         version   = %{V_php_kolab}
+-        url       = http://kolab.org/cgi-bin/viewcvs-kolab.cgi/*checkout*/server/patches/php/
++        url       = http://git.kolab.org/server/tree/php/patches/
+         regex     = php-(\d+(\.\d+)+)/
+     }
+     prog apache-php:pecl_memcache = {
+@@ -342,7 +345,10 @@
          configure \
          ext/gd/config.m4
  %if "%{with_imap_annotate}" == "yes"
@@ -53,16 +71,16 @@ diff -u -B -r1.30 apache-php.spec
 +%if "%{with_imap_myrights}" == "yes"
 +    %patch -p1 -P 3
  %endif
+     %patch -p0 -P 2
  
- %build
-@@ -400,11 +400,15 @@
+@@ -404,11 +410,15 @@
  %if "%{with_calendar}" == "yes"
          --enable-calendar \
  %endif
+-        --without-sqlite \
 + %if "%{with_hash}" == "yes"
 +         --enable-hash \
 + %endif
--        --without-sqlite \
  %if "%{with_sqlite}" == "yes"
          --with-pdo-sqlite=%{l_prefix} \
 +        --with-sqlite=%{l_prefix} \
@@ -70,11 +88,10 @@ diff -u -B -r1.30 apache-php.spec
          --without-pdo-sqlite \
 +        --without-sqlite \
  %endif
- %if "%{with_mysql}" == "yes"
-         --with-mysql=%{l_prefix} \
-diff -dur apache-php.orig/apache-php.conf apache-php/apache-php.conf
---- apache-php.conf.orig	2007-06-22 23:29:41.000000000 +0200
-+++ apache-php.conf	2010-12-20 09:59:17.832815205 +0100
+ %if "%{with_mysql}" == "yes" || "%{with_mysqlnd}" == "yes"
+ %if "%{with_mysqlnd}" == "yes"
+--- apache-php.orig/apache-php.conf	2007-06-22 23:29:41.000000000 +0200
++++ apache-php/apache-php.conf	2011-01-11 09:22:53.551247984 +0100
 @@ -10,5 +10,5 @@
  
  #   configure the PHP initialization file





More information about the commits mailing list