summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-06-28 15:47:06 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-06-28 15:47:06 (GMT)
commit556a9fa009e3a1750eebb17c0b0f8347edf8deec (patch)
tree14b2897f55fc9ed174aa9ccf7e94b0eedb33c44f
parentc1cd17b2e5c09eee5d9934b05c7ec8347d757621 (diff)
downloadserver-556a9fa009e3a1750eebb17c0b0f8347edf8deec.tar.gz
Added perl-ssl package with Net-SSLeay-1.36.
-rw-r--r--perl-ssl/.cvsignore1
-rw-r--r--perl-ssl/Makefile26
-rw-r--r--perl-ssl/kolab.patch38
3 files changed, 65 insertions, 0 deletions
diff --git a/perl-ssl/.cvsignore b/perl-ssl/.cvsignore
new file mode 100644
index 0000000..77fcdcb
--- /dev/null
+++ b/perl-ssl/.cvsignore
@@ -0,0 +1 @@
+*.src.rpm
diff --git a/perl-ssl/Makefile b/perl-ssl/Makefile
new file mode 100644
index 0000000..d6ecd57
--- /dev/null
+++ b/perl-ssl/Makefile
@@ -0,0 +1,26 @@
+include ../kolab.mk
+
+PACKAGE=perl-ssl
+VERSION=5.10.0
+RELEASE=20080101
+KOLABRELEASE=20080101_kolab
+
+SOURCE_0=http://files.kolab.org/server/development-2.2/externals/Net-SSLeay-1.36.tar.gz
+
+all: $(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm
+
+$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm: $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm $(CURSRCDIR)/kolab.patch Makefile
+ $(RPM) -ihv $(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+
+ cd $(KOLABRPMSRC)/$(PACKAGE) && patch < $(CURSRCDIR)/kolab.patch && \
+ wget $(SOURCE_0) && $(RPM) -ba $(PACKAGE).spec
+ cp -p $(KOLABRPMPKG)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm $(CURSRCDIR)
+
+$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm:
+ wget -c $(KOLABPKGURI)/$(PACKAGE)-$(VERSION)-$(RELEASE).src.rpm
+
+dist: all
+ cp $(CURSRCDIR)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm ../stage/
+
+clean:
+ rm -f $(CURSRCDIR)/$(PACKAGE)-$(VERSION)-$(KOLABRELEASE).src.rpm
diff --git a/perl-ssl/kolab.patch b/perl-ssl/kolab.patch
new file mode 100644
index 0000000..19c4f62
--- /dev/null
+++ b/perl-ssl/kolab.patch
@@ -0,0 +1,38 @@
+diff -Naur --exclude='*~' --exclude='*.tar.gz' --exclude='*tar.gz.1' /kolab/RPM/SRC/perl-ssl.orig/perl-ssl.patch /kolab/RPM/SRC/perl-ssl/perl-ssl.patch
+--- /kolab/RPM/SRC/perl-ssl.orig/perl-ssl.patch 2010-06-28 17:33:29.478151129 +0200
++++ /kolab/RPM/SRC/perl-ssl/perl-ssl.patch 2010-06-28 17:45:06.854380622 +0200
+@@ -41,22 +41,3 @@
+ }
+
+ # contrary to the behavior of read sysread can read partial data
+-Index: Net-SSLeay-1.32/Makefile.PL
+---- Net-SSLeay-1.32/Makefile.PL.orig 2007-09-18 08:28:10 +0200
+-+++ Net-SSLeay-1.32/Makefile.PL 2007-09-18 08:28:40 +0200
+-@@ -11,10 +11,8 @@
+- ssleay();
+-
+- build_requires('Sub::Uplevel');
+--build_requires('Test::Exception');
+- build_requires('Array::Compare');
+- build_requires('Tree::DAG_Node');
+--build_requires('Test::Warn');
+- requires('MIME::Base64');
+-
+- clean_files(map { fixpath($_) } qw(
+-@@ -33,3 +31,4 @@
+-
+- auto_install();
+- WriteAll();
+-+
+diff -Naur --exclude='*~' --exclude='*.tar.gz' --exclude='*tar.gz.1' /kolab/RPM/SRC/perl-ssl.orig/perl-ssl.spec /kolab/RPM/SRC/perl-ssl/perl-ssl.spec
+--- /kolab/RPM/SRC/perl-ssl.orig/perl-ssl.spec 2010-06-28 17:33:29.498151550 +0200
++++ /kolab/RPM/SRC/perl-ssl/perl-ssl.spec 2010-06-28 17:43:48.828346319 +0200
+@@ -23,7 +23,7 @@
+
+ # versions of individual parts
+ %define V_perl 5.10.0
+-%define V_net_ssleay 1.32
++%define V_net_ssleay 1.36
+ %define V_crypt_ssleay 0.57
+ %define V_io_socket_ssl 1.12
+