gunnar: server/apache2-php Makefile,NONE,1.1 kolab.patch,NONE,1.1

cvs at kolab.org cvs at kolab.org
Sun Aug 5 07:42:23 CEST 2007


Author: gunnar

Update of /kolabrepository/server/apache2-php
In directory doto:/tmp/cvs-serv507/apache2-php

Added Files:
	Makefile kolab.patch 
Log Message:
Fixed all the PHP requirements for a complete Horde installation.

--- NEW FILE: Makefile ---
PACKAGE=apache2-php
VERSION=5.2.3
RELEASE=20070606
KOLABRELEASE=20070606_kolab

ifeq "x$(KOLABPKGURI)" "x"
  KOLABPKGURI = http://ftp.belnet.be/packages/kolab/server/development-2.2/20070612-full/sources
endif
ifeq "x$(RPM)" "x"
  RPM = $(HOME)/bin/openpkg rpm
endif
ifeq "x$(KOLABRPMSRC)" "x"
  KOLABRPMSRC = $(HOME)/RPM/SRC
endif
ifeq "x$(KOLABRPMPKG)" "x"
  KOLABRPMPKG = $(HOME)/RPM/PKG
endif
ifeq "x$(KOLABRPMTMP)" "x"
  KOLABRPMTMP = $(HOME)/RPM/TMP
endif
ifeq "x$(KOLABCVSDIR)" "x"
  KOLABCVSDIR = $(CURDIR)
endif

all: $(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm

PATCHES=

.PHONY: all
all: $(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm

.PHONY: dist
dist: all
	cp $(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/

.PHONY: clean
clean:
	rm -rf $(KOLABRPMTMP)/$(PACKAGE)
	rm -rf $(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm
	rm -rf $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
	rm -rf *~

$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm $(PATCHES) $(KOLABCVSDIR)/kolab.patch Makefile
	$(RPM) -ihv $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm

	cp $(KOLABCVSDIR)/kolab.patch $(KOLABRPMSRC)/$(PACKAGE)/           # Patch for apache2-php.spec

	cd $(KOLABRPMSRC)/$(PACKAGE) && patch < $(KOLABCVSDIR)/kolab.patch && $(RPM) -ba $(PACKAGE).spec 
	cp -p $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm $(KOLABCVSDIR)

$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm:
	wget -c $(KOLABPKGURI)/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm


--- NEW FILE: kolab.patch ---
--- apache2-php.spec.orig	2007-06-06 14:25:30.000000000 +0200
+++ apache2-php.spec	2007-08-03 15:33:57.000000000 +0200
@@ -39,7 +39,7 @@
 Group:        Web
 License:      PHP
 Version:      %{V_php}
-Release:      20070606
+Release:      20070606_kolab
 
 #   package options
 %option       with_suhosin              no
@@ -48,6 +48,7 @@
 %option       with_bdb                  no
 %option       with_bzip2                no
 %option       with_calendar             no
+%option       with_ctype                no
 %option       with_curl                 no
 %option       with_debug                no
 %option       with_dom                  no
@@ -469,6 +470,9 @@
 %if "%{with_mcrypt}" == "yes"
         --with-mcrypt=%{l_prefix} \
 %endif
+%if "%{with_ctype}" == "yes"
+        --enable-ctype \
+%endif
 %if "%{with_curl}" == "yes"
         --with-curl=%{l_prefix} \
 %endif





More information about the commits mailing list