Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=wipv.git;a=commitdiff;h=9993c257b73ede8786ceecf70f9d5a1674860480

commit 9993c257b73ede8786ceecf70f9d5a1674860480
Author: VÖRÖSKŐI András <voros...@frugalware.org>
Date:   Sat Jun 12 00:02:01 2010 +0200

partimage-0.6.8-2-i686

rebuilt with openssl>=1.0.0

diff --git a/source/apps-extra/partimage/FrugalBuild 
b/source/apps-extra/partimage/FrugalBuild
index f0d33fd..8940cfc 100644
--- a/source/apps-extra/partimage/FrugalBuild
+++ b/source/apps-extra/partimage/FrugalBuild
@@ -4,16 +4,16 @@

pkgname=partimage
pkgver=0.6.8
-pkgrel=1
+pkgrel=2
pkgdesc="a Linux/UNIX utility which saves partitions in many formats to an 
image file."
_F_sourceforge_ext=".tar.bz2"
Finclude sourceforge
-depends=('bzip2' 'openssl' 'newt' 'zlib' 'libstdc++')
+depends=('bzip2' 'openssl>=1.0.0' 'newt' 'zlib' 'libstdc++')
backup=(etc/partimaged/{partimagedusers,servercert.cnf})
groups=('apps-extra')
archs=('i686' 'x86_64')
up2date="lynx -dump http://www.partimage.org/Download|grep -om 1 
'partimage-\(.*\).tar.bz2'|sed 's/.*-\(.*\).t.*/\1/'"
-source=($source rc.partimaged servercert.cnf)
+source=($source rc.partimaged servercert.cnf openssl-1.0.diff)

build()
{
@@ -38,4 +38,5 @@ build()

sha1sums=('e88c22e8ba67545dc9d836c12ec56c89c0c11663' \
'42bdf66a8e210bc162ded4430174d0f07e58e8be' \
-          'c93b7353b36a57e3f1f6c29005d033a634d2944f')
+          'c93b7353b36a57e3f1f6c29005d033a634d2944f' \
+          '9875a22a910c16b1356da1c5143eb42c04c7ebdd')
diff --git a/source/apps-extra/partimage/openssl-1.0.diff 
b/source/apps-extra/partimage/openssl-1.0.diff
new file mode 100644
index 0000000..2ef2a65
--- /dev/null
+++ b/source/apps-extra/partimage/openssl-1.0.diff
@@ -0,0 +1,33 @@
+diff -aur partimage-0.6.8/src/client/netclient.h 
fw_partimage-0.6.8//src/client/netclient.h
+--- partimage-0.6.8/src/client/netclient.h     2009-09-24 21:21:42.000000000 
+0200
++++ fw_partimage-0.6.8//src/client/netclient.h 2010-06-11 23:50:06.000000000 
+0200
+@@ -35,7 +35,12 @@
+ #ifdef HAVE_SSL
+   SSL_CTX * ctx;
+   X509 * server_cert;
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L
++  SSL_METHOD const * meth;
++#else
+   SSL_METHOD * meth;
++#endif // OPENSSL_VERSION_NUMBER
++
+ #endif
+   bool m_bUseSSL;
+   bool m_bMustLogin;
+diff -aur partimage-0.6.8/src/server/netserver.h 
fw_partimage-0.6.8//src/server/netserver.h
+--- partimage-0.6.8/src/server/netserver.h     2009-09-12 10:06:22.000000000 
+0200
++++ fw_partimage-0.6.8//src/server/netserver.h 2010-06-11 23:58:30.000000000 
+0200
+@@ -41,7 +41,12 @@
+ #ifdef HAVE_SSL
+   SSL_CTX * ctx;
+   X509 * client_cert;
+-  SSL_METHOD * meth;
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L
++  SSL_METHOD const * meth;
++#else
++  SSL_METHOD * meth;
++#endif // OPENSSL_VERSION_NUMBER
++
+   int err;
+ #endif
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to