gunnar: server/horde/horde-passwd ChangeLog, 1.4, 1.5 Makefile, 1.6, 1.7 horde-passwd-kolab.spec, 1.15, 1.16 backends.php, 1.1, NONE conf.php, 1.1, NONE

cvs at kolab.org cvs at kolab.org
Fri Mar 14 18:28:04 CET 2008


Author: gunnar

Update of /kolabrepository/server/horde/horde-passwd
In directory doto:/tmp/cvs-serv23799/horde-passwd

Modified Files:
	ChangeLog Makefile horde-passwd-kolab.spec 
Removed Files:
	backends.php conf.php 
Log Message:
A first commit of the restructured Horde packages. Not finished yet.

Index: ChangeLog
===================================================================
RCS file: /kolabrepository/server/horde/horde-passwd/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- ChangeLog	5 Aug 2007 05:53:08 -0000	1.4
+++ ChangeLog	14 Mar 2008 17:28:02 -0000	1.5
@@ -1,3 +1,7 @@
+2008-02-26  Gunnar Wrobel  <p at rdus.de>
+
+	* horde-passwd-kolab.spec: Update to RC2
+
 2007-08-05  Gunnar Wrobel  <p at rdus.de>
 
 	* horde-passwd-kolab.spec: Add backends.php configuration. Fixes

Index: Makefile
===================================================================
RCS file: /kolabrepository/server/horde/horde-passwd/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Makefile	1 Oct 2007 15:47:19 -0000	1.6
+++ Makefile	14 Mar 2008 17:28:02 -0000	1.7
@@ -23,7 +23,7 @@
 UVER = $(shell grep "%define[ ]*V_uver" *.spec | sed -e "s/.*V_uver\s*\([0-9.a-z-]*\).*/\1/")
 RELEASE = ${YEAR}${MONTH}${DAY}
 
-PATCHES = $(shell find . -name "*.patch")
+PATCHES = $(shell grep "^Patch[0-9]*:" *.spec | sed -e "s/^Patch[0-9]*:\s*\(.*\).*/\1/")
 TEMPLATES = $(shell find . -name "*.template")
 CONFIGS = $(shell find . -name "*.php")
 
@@ -43,18 +43,14 @@
 	rm -rf $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
 	rm -rf *~
 
-$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm: Makefile $(PACKAGE).spec $(PATCHES) $(TEMPLATES) $(CONFIGS) ChangeLog
+$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm: Makefile $(PACKAGE).spec $(TEMPLATES) $(CONFIGS) ChangeLog
 	test -d $(KOLABRPMSRC)/$(PACKAGE) || mkdir $(KOLABRPMSRC)/$(PACKAGE)
 	cd $(KOLABRPMSRC)/$(PACKAGE) && wget -c "$(SOURCE_0)"
 
-	cp $(PACKAGE).spec $(KOLABRPMSRC)/$(PACKAGE)
+	cd $(KOLABRPMSRC)/$(PACKAGE) && for PATCH in $(PATCHES); do \
+	  wget -c "$$PATCH"; done
 
-	if [ -n "$(PATCHES)" ]; then              \
-	  for PATCH in $(PATCHES);             \
-	  do                                        \
-	    cp $$PATCH $(KOLABRPMSRC)/$(PACKAGE);\
-	  done;                                     \
-	fi
+	cp $(PACKAGE).spec $(KOLABRPMSRC)/$(PACKAGE)
 
 	if [ -n "$(TEMPLATES)" ]; then              \
 	  for TEMPLATE in $(TEMPLATES);             \

Index: horde-passwd-kolab.spec
===================================================================
RCS file: /kolabrepository/server/horde/horde-passwd/horde-passwd-kolab.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- horde-passwd-kolab.spec	1 Oct 2007 15:47:19 -0000	1.15
+++ horde-passwd-kolab.spec	14 Mar 2008 17:28:02 -0000	1.16
@@ -23,8 +23,9 @@
 
 # List of Sources
 Source0:	http://ftp.horde.org/pub/%{V_horde_name}/%{V_horde_name}-h3-%{V_uver}.tar.gz
-Source1:        conf.php
-Source2:        backends.php
+
+# List of Patches
+Patch0:         http://kolab.org/cgi-bin/viewcvs-kolab.cgi/*checkout*/server/patches/horde/passwd-3.2-rc2/HK-GW-Config_passwd-3.2-rc2.patch
 
 # Build Info
 Prefix:		%{l_prefix}
@@ -52,6 +53,10 @@
 %prep
 	%setup -c -q -n %{V_horde_name}-h3-%{V_uver}
 
+	cd %{V_horde_name}-h3-%{V_uver}
+	%patch -p2 -P 0
+	cd ..
+
 %build
 
 %install
@@ -60,18 +65,17 @@
 
 	cd %{V_horde_name}-h3-%{V_uver}
 
-	cd config && for fl in *.dist;do cp $fl ${fl/.dist/};done; cd ..
+	cd config && for fl in *.dist;do if [ ! -e "${fl/.dist/}" ]; then cp $fl ${fl/.dist/};fi;done; cd ..
+
+	find . -name '*.orig' | xargs rm
 
 	cp -r * $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/horde/%{V_horde_name}/
 
 	cd ..
 
-	%{l_shtool} install -c -m 644 %{l_value -s -a} %{S:1} %{S:2}       \
-	  $RPM_BUILD_ROOT%{l_prefix}/var/kolab/www/horde/%{V_horde_name}/config/
-
 	%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}                               \
-	    '%config(noreplace) %{l_prefix}/var/kolab/www/horde/%{V_horde_name}/config/conf.php'     \
-	    '%config(noreplace) %{l_prefix}/var/kolab/www/horde/%{V_horde_name}/config/backends.php'
+	    '%defattr(-,%{l_nusr},%{l_ngrp})' %{l_prefix}/var/kolab/www/horde/%{V_horde_name}/config/conf.php \
+	    '%config(noreplace)'              %{l_prefix}/var/kolab/www/horde/%{V_horde_name}/config/*.php
 
 %clean
 	rm -rf $RPM_BUILD_ROOT

--- backends.php DELETED ---

--- conf.php DELETED ---





More information about the commits mailing list