[arch-commits] Commit in partimage/repos (14 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Mar 2 19:40:07 UTC 2016


    Date: Wednesday, March 2, 2016 @ 20:40:06
  Author: foutrelis
Revision: 164240

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  partimage/repos/community-staging-i686/
  partimage/repos/community-staging-i686/PKGBUILD
    (from rev 164239, partimage/trunk/PKGBUILD)
  partimage/repos/community-staging-i686/partimage-0.6.9-zlib-1.2.6.patch
    (from rev 164239, partimage/trunk/partimage-0.6.9-zlib-1.2.6.patch)
  partimage/repos/community-staging-i686/partimage.install
    (from rev 164239, partimage/trunk/partimage.install)
  partimage/repos/community-staging-i686/partimaged-gencrt
    (from rev 164239, partimage/trunk/partimaged-gencrt)
  partimage/repos/community-staging-i686/partimaged.service
    (from rev 164239, partimage/trunk/partimaged.service)
  partimage/repos/community-staging-i686/use-SSLv3-by-default.patch
    (from rev 164239, partimage/trunk/use-SSLv3-by-default.patch)
  partimage/repos/community-staging-x86_64/
  partimage/repos/community-staging-x86_64/PKGBUILD
    (from rev 164239, partimage/trunk/PKGBUILD)
  partimage/repos/community-staging-x86_64/partimage-0.6.9-zlib-1.2.6.patch
    (from rev 164239, partimage/trunk/partimage-0.6.9-zlib-1.2.6.patch)
  partimage/repos/community-staging-x86_64/partimage.install
    (from rev 164239, partimage/trunk/partimage.install)
  partimage/repos/community-staging-x86_64/partimaged-gencrt
    (from rev 164239, partimage/trunk/partimaged-gencrt)
  partimage/repos/community-staging-x86_64/partimaged.service
    (from rev 164239, partimage/trunk/partimaged.service)
  partimage/repos/community-staging-x86_64/use-SSLv3-by-default.patch
    (from rev 164239, partimage/trunk/use-SSLv3-by-default.patch)

-----------------------------------------------------------+
 community-staging-i686/PKGBUILD                           |   55 ++++++++
 community-staging-i686/partimage-0.6.9-zlib-1.2.6.patch   |   35 +++++
 community-staging-i686/partimage.install                  |    4 
 community-staging-i686/partimaged-gencrt                  |   18 ++
 community-staging-i686/partimaged.service                 |   10 +
 community-staging-i686/use-SSLv3-by-default.patch         |   80 ++++++++++++
 community-staging-x86_64/PKGBUILD                         |   55 ++++++++
 community-staging-x86_64/partimage-0.6.9-zlib-1.2.6.patch |   35 +++++
 community-staging-x86_64/partimage.install                |    4 
 community-staging-x86_64/partimaged-gencrt                |   18 ++
 community-staging-x86_64/partimaged.service               |   10 +
 community-staging-x86_64/use-SSLv3-by-default.patch       |   80 ++++++++++++
 12 files changed, 404 insertions(+)

Copied: partimage/repos/community-staging-i686/PKGBUILD (from rev 164239, partimage/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-03-02 19:40:06 UTC (rev 164240)
@@ -0,0 +1,55 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: Sven Kauber <celeon at gmail.com>
+# Contributor: tardo <tardo at nagi-fanboi.net>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=partimage
+pkgver=0.6.9
+pkgrel=9
+pkgdesc='Partition Image saves partitions in many formats to an image file.'
+arch=('i686' 'x86_64')
+url='http://www.partimage.org/'
+license=('GPL')
+depends=('libnewt' 'bzip2' 'openssl')
+backup=('etc/partimaged/partimagedusers')
+install='partimage.install'
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+        'partimage-0.6.9-zlib-1.2.6.patch'
+        'use-SSLv3-by-default.patch'
+        'partimaged-gencrt'
+        'partimaged.service')
+md5sums=('1bc046fd915c5debbafc85729464e513'
+         '202c4334766041d98c5f67c9d62c3063'
+         '77c33f779186cd25e7c6543348ca5009'
+         '2316b116227b07efb48266e660ca1ba1'
+         '5f8dae511cdfbf097409a45e9642a372')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  patch -Np1 -i ../partimage-0.6.9-zlib-1.2.6.patch
+  patch -Np1 -i ../use-SSLv3-by-default.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --enable-pam
+  make
+  make pamfile
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm0644 partimaged.pam "${pkgdir}/etc/pam.d/partimaged"
+  install -Dm0755 "${srcdir}/partimaged-gencrt" "${pkgdir}/usr/bin/partimaged-gencrt"
+
+  chmod 644 "${pkgdir}/etc/partimaged/partimagedusers"
+  chown 110:110 "${pkgdir}/etc/partimaged/partimagedusers"
+
+  install -Dm0644 ../partimaged.service "${pkgdir}/usr/lib/systemd/system/partimaged.service"
+}

Copied: partimage/repos/community-staging-i686/partimage-0.6.9-zlib-1.2.6.patch (from rev 164239, partimage/trunk/partimage-0.6.9-zlib-1.2.6.patch)
===================================================================
--- community-staging-i686/partimage-0.6.9-zlib-1.2.6.patch	                        (rev 0)
+++ community-staging-i686/partimage-0.6.9-zlib-1.2.6.patch	2016-03-02 19:40:06 UTC (rev 164240)
@@ -0,0 +1,35 @@
+diff --git a/src/client/imagefile.cpp b/src/client/imagefile.cpp
+index dd83411..62d0f72 100644
+--- a/src/client/imagefile.cpp
++++ b/src/client/imagefile.cpp
+@@ -783,7 +783,7 @@ void CImage::openWriting()
+   else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip compression
+     {
+       showDebug(1, "open gzip\n");
+-      m_gzImageFile = (gzFile *) gzdopen(m_nFdImage, "wb"); //"wb1h");
++      m_gzImageFile = gzdopen(m_nFdImage, "wb"); //"wb1h");
+       if (m_gzImageFile == NULL)
+    {
+      showDebug(1, "error:%d %s\n", errno, strerror(errno));
+@@ -1098,7 +1098,7 @@ void CImage::openReading(CVolumeHeader *vh /* = NULL */)
+     }
+   else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip compression
+     {
+-      m_gzImageFile = (gzFile *) gzdopen(m_nFdImage, "rb");
++      m_gzImageFile = gzdopen(m_nFdImage, "rb");
+       if (m_gzImageFile == NULL)
+         THROW(ERR_ERRNO, errno);
+       else
+diff --git a/src/client/imagefile.h b/src/client/imagefile.h
+index 4ba8910..6adb098 100644
+--- a/src/client/imagefile.h
++++ b/src/client/imagefile.h
+@@ -41,7 +41,7 @@ class CImage
+   COptions m_options;
+ 
+   FILE *m_fImageFile;
+-  gzFile *m_gzImageFile;
++  gzFile m_gzImageFile;
+   BZFILE *m_bzImageFile;
+ 
+   int m_nFdImage;

Copied: partimage/repos/community-staging-i686/partimage.install (from rev 164239, partimage/trunk/partimage.install)
===================================================================
--- community-staging-i686/partimage.install	                        (rev 0)
+++ community-staging-i686/partimage.install	2016-03-02 19:40:06 UTC (rev 164240)
@@ -0,0 +1,4 @@
+pre_install() {
+  groupadd -g 110 partimag &> /dev/null
+  useradd -u 110 -g partimag -c "Partimage user" -d /dev/null -s /bin/false partimag &> /dev/null
+}

Copied: partimage/repos/community-staging-i686/partimaged-gencrt (from rev 164239, partimage/trunk/partimaged-gencrt)
===================================================================
--- community-staging-i686/partimaged-gencrt	                        (rev 0)
+++ community-staging-i686/partimaged-gencrt	2016-03-02 19:40:06 UTC (rev 164240)
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+if [ `whoami` != "root" ]; then
+	echo "You must be root to generate certificates."
+	exit
+fi
+
+echo -n "==> Generating certificate for Partimage/PartimageD SSL... "
+cd /etc/partimaged
+openssl req -new -x509 -outform PEM > partimaged.csr
+openssl rsa -in privkey.pem -out partimaged.key
+rm privkey.pem
+openssl x509 -in partimaged.csr -out partimaged.cert -signkey partimaged.key
+rm partimaged.csr
+chmod 600 partimaged.key
+chmod 600 partimaged.cert
+chown partimag:partimag partimaged.key
+chown partimag:partimag partimaged.cert

Copied: partimage/repos/community-staging-i686/partimaged.service (from rev 164239, partimage/trunk/partimaged.service)
===================================================================
--- community-staging-i686/partimaged.service	                        (rev 0)
+++ community-staging-i686/partimaged.service	2016-03-02 19:40:06 UTC (rev 164240)
@@ -0,0 +1,10 @@
+[Unit]
+Description=A partition imaging daemon
+After=syslog.target network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/partimaged --daemon
+
+[Install]
+WantedBy=multi-user.target

Copied: partimage/repos/community-staging-i686/use-SSLv3-by-default.patch (from rev 164239, partimage/trunk/use-SSLv3-by-default.patch)
===================================================================
--- community-staging-i686/use-SSLv3-by-default.patch	                        (rev 0)
+++ community-staging-i686/use-SSLv3-by-default.patch	2016-03-02 19:40:06 UTC (rev 164240)
@@ -0,0 +1,80 @@
+From 8b05af027723ff3a64040275d4050ff0e992d629 Mon Sep 17 00:00:00 2001
+From: Marko Kohtala <marko.kohtala at gmail.com>
+Date: Sun, 9 Feb 2014 22:54:11 +0200
+Subject: [PATCH] Use SSLv3 by default
+
+SSLv2_client_method may be hidden. Use the SSLv23_client_method instead.
+
+This is a fix from Debian package partimage-0.6.8-2.2.
+
+Signed-off-by: Marko Kohtala <marko.kohtala at gmail.com>
+---
+ src/client/netclient.cpp | 3 +--
+ src/client/netclient.h   | 6 ------
+ src/server/netserver.cpp | 3 +--
+ src/server/netserver.h   | 6 ------
+ 4 files changed, 2 insertions(+), 16 deletions(-)
+
+diff --git a/src/client/netclient.cpp b/src/client/netclient.cpp
+index 30b8d5c..43b2672 100644
+--- a/src/client/netclient.cpp
++++ b/src/client/netclient.cpp
+@@ -43,9 +43,8 @@ CNetClient::CNetClient(bool bMustLogin, bool bUseSSL):CNet()
+     {
+       showDebug(3, "initializing client ssl\n");
+       SSLeay_add_ssl_algorithms();
+-      meth = SSLv2_client_method();
+       SSL_load_error_strings();
+-      ctx = SSL_CTX_new(meth);
++      ctx = SSL_CTX_new(SSLv23_client_method());
+       if (!ctx)
+         THROW(ERR_SSL_CTX);
+       m_bUseSSL = (ctx != NULL);
+diff --git a/src/client/netclient.h b/src/client/netclient.h
+index 8423798..9d98b39 100644
+--- a/src/client/netclient.h
++++ b/src/client/netclient.h
+@@ -35,12 +35,6 @@ class CNetClient : public CNet
+ #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 --git a/src/server/netserver.cpp b/src/server/netserver.cpp
+index a542760..28c43cc 100644
+--- a/src/server/netserver.cpp
++++ b/src/server/netserver.cpp
+@@ -39,8 +39,7 @@ CNetServer::CNetServer( uint32_t ip4_addr, unsigned short int port):CNet()
+     {
+       SSL_load_error_strings();
+       SSLeay_add_ssl_algorithms();
+-      meth = SSLv23_server_method();
+-      ctx = SSL_CTX_new(meth);
++      ctx = SSL_CTX_new(SSLv23_server_method());
+       if (!ctx)
+         {
+           ERR_print_errors_fp(stderr);
+diff --git a/src/server/netserver.h b/src/server/netserver.h
+index 01f6b6c..29d2a32 100644
+--- a/src/server/netserver.h
++++ b/src/server/netserver.h
+@@ -41,12 +41,6 @@ class CNetServer : public CNet
+ #ifdef HAVE_SSL
+   SSL_CTX * ctx;
+   X509 * client_cert;
+-#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+-  SSL_METHOD const * meth; 
+-#else
+-  SSL_METHOD * meth;
+-#endif // OPENSSL_VERSION_NUMBER
+- 
+   int err;
+ #endif
+ 

Copied: partimage/repos/community-staging-x86_64/PKGBUILD (from rev 164239, partimage/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-03-02 19:40:06 UTC (rev 164240)
@@ -0,0 +1,55 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: Sven Kauber <celeon at gmail.com>
+# Contributor: tardo <tardo at nagi-fanboi.net>
+# Contributor: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=partimage
+pkgver=0.6.9
+pkgrel=9
+pkgdesc='Partition Image saves partitions in many formats to an image file.'
+arch=('i686' 'x86_64')
+url='http://www.partimage.org/'
+license=('GPL')
+depends=('libnewt' 'bzip2' 'openssl')
+backup=('etc/partimaged/partimagedusers')
+install='partimage.install'
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+        'partimage-0.6.9-zlib-1.2.6.patch'
+        'use-SSLv3-by-default.patch'
+        'partimaged-gencrt'
+        'partimaged.service')
+md5sums=('1bc046fd915c5debbafc85729464e513'
+         '202c4334766041d98c5f67c9d62c3063'
+         '77c33f779186cd25e7c6543348ca5009'
+         '2316b116227b07efb48266e660ca1ba1'
+         '5f8dae511cdfbf097409a45e9642a372')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  patch -Np1 -i ../partimage-0.6.9-zlib-1.2.6.patch
+  patch -Np1 -i ../use-SSLv3-by-default.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin --enable-pam
+  make
+  make pamfile
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm0644 partimaged.pam "${pkgdir}/etc/pam.d/partimaged"
+  install -Dm0755 "${srcdir}/partimaged-gencrt" "${pkgdir}/usr/bin/partimaged-gencrt"
+
+  chmod 644 "${pkgdir}/etc/partimaged/partimagedusers"
+  chown 110:110 "${pkgdir}/etc/partimaged/partimagedusers"
+
+  install -Dm0644 ../partimaged.service "${pkgdir}/usr/lib/systemd/system/partimaged.service"
+}

Copied: partimage/repos/community-staging-x86_64/partimage-0.6.9-zlib-1.2.6.patch (from rev 164239, partimage/trunk/partimage-0.6.9-zlib-1.2.6.patch)
===================================================================
--- community-staging-x86_64/partimage-0.6.9-zlib-1.2.6.patch	                        (rev 0)
+++ community-staging-x86_64/partimage-0.6.9-zlib-1.2.6.patch	2016-03-02 19:40:06 UTC (rev 164240)
@@ -0,0 +1,35 @@
+diff --git a/src/client/imagefile.cpp b/src/client/imagefile.cpp
+index dd83411..62d0f72 100644
+--- a/src/client/imagefile.cpp
++++ b/src/client/imagefile.cpp
+@@ -783,7 +783,7 @@ void CImage::openWriting()
+   else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip compression
+     {
+       showDebug(1, "open gzip\n");
+-      m_gzImageFile = (gzFile *) gzdopen(m_nFdImage, "wb"); //"wb1h");
++      m_gzImageFile = gzdopen(m_nFdImage, "wb"); //"wb1h");
+       if (m_gzImageFile == NULL)
+    {
+      showDebug(1, "error:%d %s\n", errno, strerror(errno));
+@@ -1098,7 +1098,7 @@ void CImage::openReading(CVolumeHeader *vh /* = NULL */)
+     }
+   else if (m_options.dwCompression == COMPRESS_GZIP) // Gzip compression
+     {
+-      m_gzImageFile = (gzFile *) gzdopen(m_nFdImage, "rb");
++      m_gzImageFile = gzdopen(m_nFdImage, "rb");
+       if (m_gzImageFile == NULL)
+         THROW(ERR_ERRNO, errno);
+       else
+diff --git a/src/client/imagefile.h b/src/client/imagefile.h
+index 4ba8910..6adb098 100644
+--- a/src/client/imagefile.h
++++ b/src/client/imagefile.h
+@@ -41,7 +41,7 @@ class CImage
+   COptions m_options;
+ 
+   FILE *m_fImageFile;
+-  gzFile *m_gzImageFile;
++  gzFile m_gzImageFile;
+   BZFILE *m_bzImageFile;
+ 
+   int m_nFdImage;

Copied: partimage/repos/community-staging-x86_64/partimage.install (from rev 164239, partimage/trunk/partimage.install)
===================================================================
--- community-staging-x86_64/partimage.install	                        (rev 0)
+++ community-staging-x86_64/partimage.install	2016-03-02 19:40:06 UTC (rev 164240)
@@ -0,0 +1,4 @@
+pre_install() {
+  groupadd -g 110 partimag &> /dev/null
+  useradd -u 110 -g partimag -c "Partimage user" -d /dev/null -s /bin/false partimag &> /dev/null
+}

Copied: partimage/repos/community-staging-x86_64/partimaged-gencrt (from rev 164239, partimage/trunk/partimaged-gencrt)
===================================================================
--- community-staging-x86_64/partimaged-gencrt	                        (rev 0)
+++ community-staging-x86_64/partimaged-gencrt	2016-03-02 19:40:06 UTC (rev 164240)
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+if [ `whoami` != "root" ]; then
+	echo "You must be root to generate certificates."
+	exit
+fi
+
+echo -n "==> Generating certificate for Partimage/PartimageD SSL... "
+cd /etc/partimaged
+openssl req -new -x509 -outform PEM > partimaged.csr
+openssl rsa -in privkey.pem -out partimaged.key
+rm privkey.pem
+openssl x509 -in partimaged.csr -out partimaged.cert -signkey partimaged.key
+rm partimaged.csr
+chmod 600 partimaged.key
+chmod 600 partimaged.cert
+chown partimag:partimag partimaged.key
+chown partimag:partimag partimaged.cert

Copied: partimage/repos/community-staging-x86_64/partimaged.service (from rev 164239, partimage/trunk/partimaged.service)
===================================================================
--- community-staging-x86_64/partimaged.service	                        (rev 0)
+++ community-staging-x86_64/partimaged.service	2016-03-02 19:40:06 UTC (rev 164240)
@@ -0,0 +1,10 @@
+[Unit]
+Description=A partition imaging daemon
+After=syslog.target network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/partimaged --daemon
+
+[Install]
+WantedBy=multi-user.target

Copied: partimage/repos/community-staging-x86_64/use-SSLv3-by-default.patch (from rev 164239, partimage/trunk/use-SSLv3-by-default.patch)
===================================================================
--- community-staging-x86_64/use-SSLv3-by-default.patch	                        (rev 0)
+++ community-staging-x86_64/use-SSLv3-by-default.patch	2016-03-02 19:40:06 UTC (rev 164240)
@@ -0,0 +1,80 @@
+From 8b05af027723ff3a64040275d4050ff0e992d629 Mon Sep 17 00:00:00 2001
+From: Marko Kohtala <marko.kohtala at gmail.com>
+Date: Sun, 9 Feb 2014 22:54:11 +0200
+Subject: [PATCH] Use SSLv3 by default
+
+SSLv2_client_method may be hidden. Use the SSLv23_client_method instead.
+
+This is a fix from Debian package partimage-0.6.8-2.2.
+
+Signed-off-by: Marko Kohtala <marko.kohtala at gmail.com>
+---
+ src/client/netclient.cpp | 3 +--
+ src/client/netclient.h   | 6 ------
+ src/server/netserver.cpp | 3 +--
+ src/server/netserver.h   | 6 ------
+ 4 files changed, 2 insertions(+), 16 deletions(-)
+
+diff --git a/src/client/netclient.cpp b/src/client/netclient.cpp
+index 30b8d5c..43b2672 100644
+--- a/src/client/netclient.cpp
++++ b/src/client/netclient.cpp
+@@ -43,9 +43,8 @@ CNetClient::CNetClient(bool bMustLogin, bool bUseSSL):CNet()
+     {
+       showDebug(3, "initializing client ssl\n");
+       SSLeay_add_ssl_algorithms();
+-      meth = SSLv2_client_method();
+       SSL_load_error_strings();
+-      ctx = SSL_CTX_new(meth);
++      ctx = SSL_CTX_new(SSLv23_client_method());
+       if (!ctx)
+         THROW(ERR_SSL_CTX);
+       m_bUseSSL = (ctx != NULL);
+diff --git a/src/client/netclient.h b/src/client/netclient.h
+index 8423798..9d98b39 100644
+--- a/src/client/netclient.h
++++ b/src/client/netclient.h
+@@ -35,12 +35,6 @@ class CNetClient : public CNet
+ #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 --git a/src/server/netserver.cpp b/src/server/netserver.cpp
+index a542760..28c43cc 100644
+--- a/src/server/netserver.cpp
++++ b/src/server/netserver.cpp
+@@ -39,8 +39,7 @@ CNetServer::CNetServer( uint32_t ip4_addr, unsigned short int port):CNet()
+     {
+       SSL_load_error_strings();
+       SSLeay_add_ssl_algorithms();
+-      meth = SSLv23_server_method();
+-      ctx = SSL_CTX_new(meth);
++      ctx = SSL_CTX_new(SSLv23_server_method());
+       if (!ctx)
+         {
+           ERR_print_errors_fp(stderr);
+diff --git a/src/server/netserver.h b/src/server/netserver.h
+index 01f6b6c..29d2a32 100644
+--- a/src/server/netserver.h
++++ b/src/server/netserver.h
+@@ -41,12 +41,6 @@ class CNetServer : public CNet
+ #ifdef HAVE_SSL
+   SSL_CTX * ctx;
+   X509 * client_cert;
+-#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+-  SSL_METHOD const * meth; 
+-#else
+-  SSL_METHOD * meth;
+-#endif // OPENSSL_VERSION_NUMBER
+- 
+   int err;
+ #endif
+ 



More information about the arch-commits mailing list