summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2008-09-12 18:46:46 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2008-09-12 18:46:46 (GMT)
commitff8ec80b2fc2b4e036742247622388981735b353 (patch)
tree669126598d05c2f37be1a8c63726962eeb114228 /pear
parentcc4c6cbd55f75d2b4d45a3c6f6a4fc8ec9a83a13 (diff)
downloadserver-ff8ec80b2fc2b4e036742247622388981735b353.tar.gz
Complete a first draft of the new Free/Busy package. Not yet functional.
Diffstat (limited to 'pear')
-rw-r--r--pear/Horde_Auth/Horde_Auth.spec7
-rw-r--r--pear/Horde_Auth/Makefile3
-rw-r--r--pear/Horde_Date/.cvsignore1
-rw-r--r--pear/Horde_Date/ChangeLog4
-rw-r--r--pear/Horde_Date/Horde_Date.spec52
-rw-r--r--pear/Horde_Date/Makefile41
-rw-r--r--pear/Horde_Group/Horde_Group.spec5
-rw-r--r--pear/Horde_Group/Makefile3
8 files changed, 109 insertions, 7 deletions
diff --git a/pear/Horde_Auth/Horde_Auth.spec b/pear/Horde_Auth/Horde_Auth.spec
index 70da417..04e690a 100644
--- a/pear/Horde_Auth/Horde_Auth.spec
+++ b/pear/Horde_Auth/Horde_Auth.spec
@@ -1,6 +1,6 @@
# Variables
%define V_package Horde_Auth
-%define V_version 0.0.3
+%define V_version 0.0.3.20080912
%define V_release 1
# Package Information
@@ -15,7 +15,8 @@ Group: Development/Libraries
Distribution: OpenPKG
# List of Sources
-Source: http://pear.horde.org/get/%{V_package}-%{V_version}.tgz
+Source: http://files.pardus.de/kolab-sources/%{V_package}-%{V_version}.tgz
+#Source: http://pear.horde.org/get/%{V_package}-%{V_version}.tgz
# Build Info
Prefix: %{l_prefix}
@@ -47,6 +48,7 @@ contains implementations for:
* IMSP
* IP Based
* Kerberos
+* Kolab
* LDAP
* Shibboleth
* System Login
@@ -57,7 +59,6 @@ contains implementations for:
* SASL
* SMB
* SQL
-* Yahoo!
%prep
%setup -n %{V_package}-%{V_version}
diff --git a/pear/Horde_Auth/Makefile b/pear/Horde_Auth/Makefile
index 0cb4ffc..63a1df2 100644
--- a/pear/Horde_Auth/Makefile
+++ b/pear/Horde_Auth/Makefile
@@ -15,7 +15,8 @@ ifeq "x$(KOLABRPMTMP)" "x"
KOLABRPMTMP = $(HOME)/RPM/TMP
endif
-SOURCE_0=http://pear.horde.org/get/$(PACKAGE)-$(VERSION).tgz
+#SOURCE_0=http://pear.horde.org/get/$(PACKAGE)-$(VERSION).tgz
+SOURCE_0=http://files.pardus.de/kolab-sources/$(PACKAGE)-$(VERSION).tgz
.PHONY: all
all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
diff --git a/pear/Horde_Date/.cvsignore b/pear/Horde_Date/.cvsignore
new file mode 100644
index 0000000..77fcdcb
--- /dev/null
+++ b/pear/Horde_Date/.cvsignore
@@ -0,0 +1 @@
+*.src.rpm
diff --git a/pear/Horde_Date/ChangeLog b/pear/Horde_Date/ChangeLog
new file mode 100644
index 0000000..1caa2a6
--- /dev/null
+++ b/pear/Horde_Date/ChangeLog
@@ -0,0 +1,4 @@
+2008-09-12 Gunnar Wrobel <p@rdus.de>
+
+ * Horde_DOM.spec: Added package to Kolab CVS.
+
diff --git a/pear/Horde_Date/Horde_Date.spec b/pear/Horde_Date/Horde_Date.spec
new file mode 100644
index 0000000..b871d6e
--- /dev/null
+++ b/pear/Horde_Date/Horde_Date.spec
@@ -0,0 +1,52 @@
+# Variables
+%define V_package Horde_Date
+%define V_version 0.0.2.20080912
+%define V_release 1
+
+# Package Information
+Name: %{V_package}
+Summary: Horde Date package.
+URL: http://pear.horde.org/index.php?package=%{V_package}
+Packager: Gunnar Wrobel <wrobel@pardus.de> (p@rdus)
+Version: %{V_version}
+Release: %{V_release}
+License: LGPL
+Group: Development/Libraries
+Distribution: OpenPKG
+
+# List of Sources
+Source: http://files.pardus.de/kolab-sources/%{V_package}-%{V_version}.tgz
+#Source: http://pear.horde.org/get/%{V_package}-%{V_version}.tgz
+
+# Build Info
+Prefix: %{l_prefix}
+BuildRoot: %{l_buildroot}
+
+#Pre requisites
+BuildPreReq: OpenPKG, openpkg >= 20070603
+BuildPreReq: php, php::with_pear = yes
+BuildPreReq: PEAR-Horde-Channel
+PreReq: OpenPKG, openpkg >= 20070603
+PreReq: php, php::with_pear = yes
+PreReq: PEAR-Date
+
+%description
+Package for creating and manipulating dates.
+
+%prep
+ %setup -n %{V_package}-%{V_version}
+
+%build
+
+%install
+ env PHP_PEAR_PHP_BIN="%{l_prefix}/bin/php -d safe_mode=off -d memory_limit=40M" \
+ PHP_PEAR_CACHE_DIR="/tmp/pear/cache" \
+ %{l_prefix}/bin/pear install --offline --force --nodeps -P $RPM_BUILD_ROOT $RPM_SOURCE_DIR/%{V_package}-%{V_version}.tgz
+ rm -rf $RPM_BUILD_ROOT/%{l_prefix}/lib/php/{.filemap,.lock,.channels,.depdb,.depdblock}
+
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
+
+%clean
+ rm -rf $RPM_BUILD_ROOT
+
+%files -f files
diff --git a/pear/Horde_Date/Makefile b/pear/Horde_Date/Makefile
new file mode 100644
index 0000000..63a1df2
--- /dev/null
+++ b/pear/Horde_Date/Makefile
@@ -0,0 +1,41 @@
+PACKAGE = $(shell grep "%define[ ]*V_package" *.spec | sed -e "s/.*V_package \([A-Za-z\-\_]*\).*/\1/")
+VERSION = $(shell grep "%define[ ]*V_version" *.spec | sed -e "s/.*V_version\s*\([0-9.]*\).*/\1/")
+RELEASE = $(shell grep "%define[ ]*V_release" *.spec | sed -e "s/.*V_release\s*\([0-9]*\).*/\1/")
+
+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
+
+#SOURCE_0=http://pear.horde.org/get/$(PACKAGE)-$(VERSION).tgz
+SOURCE_0=http://files.pardus.de/kolab-sources/$(PACKAGE)-$(VERSION).tgz
+
+.PHONY: all
+all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+
+.PHONY: dist
+dist: all
+ cp $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm ../../stage/
+
+.PHONY: clean
+clean:
+ rm -rf /kolab/RPM/TMP/$(PACKAGE)*
+ rm -rf $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+ rm -rf *~
+
+$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm: Makefile $(PACKAGE).spec ChangeLog
+ test -d $(KOLABRPMSRC)/$(PACKAGE) || mkdir $(KOLABRPMSRC)/$(PACKAGE)
+ cd $(KOLABRPMSRC)/$(PACKAGE) && wget -c "$(SOURCE_0)"
+
+ cp $(PACKAGE).spec $(KOLABRPMSRC)/$(PACKAGE)
+ cd $(KOLABRPMSRC)/$(PACKAGE) && $(RPM) -ba $(PACKAGE).spec
+
+ cp -p $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm .
diff --git a/pear/Horde_Group/Horde_Group.spec b/pear/Horde_Group/Horde_Group.spec
index a972284..0f40f4b 100644
--- a/pear/Horde_Group/Horde_Group.spec
+++ b/pear/Horde_Group/Horde_Group.spec
@@ -1,6 +1,6 @@
# Variables
%define V_package Horde_Group
-%define V_version 0.0.2
+%define V_version 0.0.2.20080912
%define V_release 1
# Package Information
@@ -15,7 +15,8 @@ Group: Development/Libraries
Distribution: OpenPKG
# List of Sources
-Source: http://pear.horde.org/get/%{V_package}-%{V_version}.tgz
+Source: http://files.pardus.de/kolab-sources/%{V_package}-%{V_version}.tgz
+#Source: http://pear.horde.org/get/%{V_package}-%{V_version}.tgz
# Build Info
Prefix: %{l_prefix}
diff --git a/pear/Horde_Group/Makefile b/pear/Horde_Group/Makefile
index 0cb4ffc..63a1df2 100644
--- a/pear/Horde_Group/Makefile
+++ b/pear/Horde_Group/Makefile
@@ -15,7 +15,8 @@ ifeq "x$(KOLABRPMTMP)" "x"
KOLABRPMTMP = $(HOME)/RPM/TMP
endif
-SOURCE_0=http://pear.horde.org/get/$(PACKAGE)-$(VERSION).tgz
+#SOURCE_0=http://pear.horde.org/get/$(PACKAGE)-$(VERSION).tgz
+SOURCE_0=http://files.pardus.de/kolab-sources/$(PACKAGE)-$(VERSION).tgz
.PHONY: all
all: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm