summaryrefslogtreecommitdiff
path: root/pear
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2008-09-11 16:30:24 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2008-09-11 16:30:24 (GMT)
commitb9d8ad276131f8bf559b2acf91386369c3a924e9 (patch)
treed65c930f208522d7fb5bdd14f712119fb06cceb2 /pear
parent502f93b9cd9803159e91f71c0725825b2c6514c7 (diff)
downloadserver-b9d8ad276131f8bf559b2acf91386369c3a924e9.tar.gz
Added Horde_{Secret,Serialize,Session}.
Diffstat (limited to 'pear')
-rw-r--r--pear/Horde_Secret/.cvsignore1
-rw-r--r--pear/Horde_Secret/ChangeLog4
-rw-r--r--pear/Horde_Secret/Horde_Secret.spec53
-rw-r--r--pear/Horde_Secret/Makefile40
-rw-r--r--pear/Horde_Serialize/.cvsignore1
-rw-r--r--pear/Horde_Serialize/ChangeLog4
-rw-r--r--pear/Horde_Serialize/Horde_Serialize.spec51
-rw-r--r--pear/Horde_Serialize/Makefile40
-rw-r--r--pear/Horde_SessionObjects/.cvsignore1
-rw-r--r--pear/Horde_SessionObjects/ChangeLog4
-rw-r--r--pear/Horde_SessionObjects/Horde_SessionObjects.spec53
-rw-r--r--pear/Horde_SessionObjects/Makefile40
12 files changed, 292 insertions, 0 deletions
diff --git a/pear/Horde_Secret/.cvsignore b/pear/Horde_Secret/.cvsignore
new file mode 100644
index 0000000..77fcdcb
--- /dev/null
+++ b/pear/Horde_Secret/.cvsignore
@@ -0,0 +1 @@
+*.src.rpm
diff --git a/pear/Horde_Secret/ChangeLog b/pear/Horde_Secret/ChangeLog
new file mode 100644
index 0000000..e48bb15
--- /dev/null
+++ b/pear/Horde_Secret/ChangeLog
@@ -0,0 +1,4 @@
+2008-09-11 Gunnar Wrobel <p@rdus.de>
+
+ * Horde_DOM.spec: Added package to Kolab CVS.
+
diff --git a/pear/Horde_Secret/Horde_Secret.spec b/pear/Horde_Secret/Horde_Secret.spec
new file mode 100644
index 0000000..3d295e2
--- /dev/null
+++ b/pear/Horde_Secret/Horde_Secret.spec
@@ -0,0 +1,53 @@
+# Variables
+%define V_package Horde_Secret
+%define V_version 0.0.2
+%define V_release 1
+
+# Package Information
+Name: %{V_package}
+Summary: Secret Encryption API
+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://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: Horde_Cipher
+PreReq: Horde_Util
+
+%description
+The Secret:: class provides an API for encrypting and decrypting small
+pieces of data with the use of a shared key.
+
+%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_Secret/Makefile b/pear/Horde_Secret/Makefile
new file mode 100644
index 0000000..0cb4ffc
--- /dev/null
+++ b/pear/Horde_Secret/Makefile
@@ -0,0 +1,40 @@
+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
+
+.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_Serialize/.cvsignore b/pear/Horde_Serialize/.cvsignore
new file mode 100644
index 0000000..77fcdcb
--- /dev/null
+++ b/pear/Horde_Serialize/.cvsignore
@@ -0,0 +1 @@
+*.src.rpm
diff --git a/pear/Horde_Serialize/ChangeLog b/pear/Horde_Serialize/ChangeLog
new file mode 100644
index 0000000..e48bb15
--- /dev/null
+++ b/pear/Horde_Serialize/ChangeLog
@@ -0,0 +1,4 @@
+2008-09-11 Gunnar Wrobel <p@rdus.de>
+
+ * Horde_DOM.spec: Added package to Kolab CVS.
+
diff --git a/pear/Horde_Serialize/Horde_Serialize.spec b/pear/Horde_Serialize/Horde_Serialize.spec
new file mode 100644
index 0000000..57ae1b8
--- /dev/null
+++ b/pear/Horde_Serialize/Horde_Serialize.spec
@@ -0,0 +1,51 @@
+# Variables
+%define V_package Horde_Serialize
+%define V_version 0.0.2
+%define V_release 1
+
+# Package Information
+Name: %{V_package}
+Summary: Data Encapulation API
+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://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: Horde_Util
+
+%description
+The Serialize:: class provides various methods of encapsulating data.
+
+%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_Serialize/Makefile b/pear/Horde_Serialize/Makefile
new file mode 100644
index 0000000..0cb4ffc
--- /dev/null
+++ b/pear/Horde_Serialize/Makefile
@@ -0,0 +1,40 @@
+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
+
+.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_SessionObjects/.cvsignore b/pear/Horde_SessionObjects/.cvsignore
new file mode 100644
index 0000000..77fcdcb
--- /dev/null
+++ b/pear/Horde_SessionObjects/.cvsignore
@@ -0,0 +1 @@
+*.src.rpm
diff --git a/pear/Horde_SessionObjects/ChangeLog b/pear/Horde_SessionObjects/ChangeLog
new file mode 100644
index 0000000..e48bb15
--- /dev/null
+++ b/pear/Horde_SessionObjects/ChangeLog
@@ -0,0 +1,4 @@
+2008-09-11 Gunnar Wrobel <p@rdus.de>
+
+ * Horde_DOM.spec: Added package to Kolab CVS.
+
diff --git a/pear/Horde_SessionObjects/Horde_SessionObjects.spec b/pear/Horde_SessionObjects/Horde_SessionObjects.spec
new file mode 100644
index 0000000..69dec9b
--- /dev/null
+++ b/pear/Horde_SessionObjects/Horde_SessionObjects.spec
@@ -0,0 +1,53 @@
+# Variables
+%define V_package Horde_SessionObjects
+%define V_version 0.0.2
+%define V_release 1
+
+# Package Information
+Name: %{V_package}
+Summary: Horde Session Storage API
+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://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: Horde_Framework
+PreReq: Horde_Serialize
+
+%description
+The Horde_SessionObjects:: class provides a way for storing data
+(usually, but not necessarily, objects) in the current users session.
+
+%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_SessionObjects/Makefile b/pear/Horde_SessionObjects/Makefile
new file mode 100644
index 0000000..0cb4ffc
--- /dev/null
+++ b/pear/Horde_SessionObjects/Makefile
@@ -0,0 +1,40 @@
+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
+
+.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 .