[arch-commits] Commit in socat/repos (6 files)

Felix Yan fyan at archlinux.org
Wed Mar 2 20:10:06 UTC 2016


    Date: Wednesday, March 2, 2016 @ 21:10:05
  Author: fyan
Revision: 260553

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

Added:
  socat/repos/staging-i686/
  socat/repos/staging-i686/PKGBUILD
    (from rev 260552, socat/trunk/PKGBUILD)
  socat/repos/staging-i686/add-missing-checks.patch
    (from rev 260552, socat/trunk/add-missing-checks.patch)
  socat/repos/staging-x86_64/
  socat/repos/staging-x86_64/PKGBUILD
    (from rev 260552, socat/trunk/PKGBUILD)
  socat/repos/staging-x86_64/add-missing-checks.patch
    (from rev 260552, socat/trunk/add-missing-checks.patch)

-----------------------------------------+
 staging-i686/PKGBUILD                   |   36 +++++++++++
 staging-i686/add-missing-checks.patch   |   95 ++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD                 |   36 +++++++++++
 staging-x86_64/add-missing-checks.patch |   95 ++++++++++++++++++++++++++++++
 4 files changed, 262 insertions(+)

Copied: socat/repos/staging-i686/PKGBUILD (from rev 260552, socat/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-03-02 20:10:05 UTC (rev 260553)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=socat
+pkgver=1.7.3.1
+pkgrel=2
+pkgdesc='Multipurpose relay'
+url='http://www.dest-unreach.org/socat/'
+license=('GPL2')
+arch=('i686' 'x86_64')
+depends=('readline' 'openssl')
+source=("http://www.dest-unreach.org/socat/download/${pkgname}-${pkgver}.tar.gz"
+        'add-missing-checks.patch')
+sha1sums=('a6f1d8ab3e85f565dbe172f33a9be6708dd52ffb'
+          'cfdaa269dac053ceec4c4f763d9075983c4c9307')
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -Np1 -i ../add-missing-checks.patch
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/usr \
+		--mandir=/usr/share/man \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}

Copied: socat/repos/staging-i686/add-missing-checks.patch (from rev 260552, socat/trunk/add-missing-checks.patch)
===================================================================
--- staging-i686/add-missing-checks.patch	                        (rev 0)
+++ staging-i686/add-missing-checks.patch	2016-03-02 20:10:05 UTC (rev 260553)
@@ -0,0 +1,95 @@
+diff -Nru socat-1.7.3.0.orig/sslcls.c socat-1.7.3.0/sslcls.c
+--- socat-1.7.3.0.orig/sslcls.c	2015-01-24 05:15:22.000000000 -0500
++++ socat-1.7.3.0/sslcls.c	2015-11-29 14:14:13.252000000 -0500
+@@ -55,6 +55,7 @@
+ }
+ #endif
+ 
++#if HAVE_SSLv3_client_method
+ const SSL_METHOD *sycSSLv3_client_method(void) {
+    const SSL_METHOD *result;
+    Debug("SSLv3_client_method()");
+@@ -62,7 +63,9 @@
+    Debug1("SSLv3_client_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
++#if HAVE_SSLv3_server_method
+ const SSL_METHOD *sycSSLv3_server_method(void) {
+    const SSL_METHOD *result;
+    Debug("SSLv3_server_method()");
+@@ -70,7 +73,9 @@
+    Debug1("SSLv3_server_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
++#if HAVE_SSLv23_client_method
+ const SSL_METHOD *sycSSLv23_client_method(void) {
+    const SSL_METHOD *result;
+    Debug("SSLv23_client_method()");
+@@ -78,7 +83,9 @@
+    Debug1("SSLv23_client_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
++#if HAVE_SSLv23_server_method
+ const SSL_METHOD *sycSSLv23_server_method(void) {
+    const SSL_METHOD *result;
+    Debug("SSLv23_server_method()");
+@@ -86,7 +93,9 @@
+    Debug1("SSLv23_server_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
++#if HAVE_TLSv1_client_method
+ const SSL_METHOD *sycTLSv1_client_method(void) {
+    const SSL_METHOD *result;
+    Debug("TLSv1_client_method()");
+@@ -94,7 +103,9 @@
+    Debug1("TLSv1_client_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
++#if HAVE_TLSv1_server_method
+ const SSL_METHOD *sycTLSv1_server_method(void) {
+    const SSL_METHOD *result;
+    Debug("TLSv1_server_method()");
+@@ -102,6 +113,7 @@
+    Debug1("TLSv1_server_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
+ #if HAVE_TLSv1_1_client_method
+ const SSL_METHOD *sycTLSv1_1_client_method(void) {
+@@ -143,6 +155,7 @@
+ }
+ #endif
+ 
++#if HAVE_DTLSv1_client_method
+ const SSL_METHOD *sycDTLSv1_client_method(void) {
+    const SSL_METHOD *result;
+    Debug("DTLSv1_client_method()");
+@@ -150,7 +163,9 @@
+    Debug1("DTLSv1_client_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
++#if HAVE_DTLSv1_server_method
+ const SSL_METHOD *sycDTLSv1_server_method(void) {
+    const SSL_METHOD *result;
+    Debug("DTLSv1_server_method()");
+@@ -158,6 +173,7 @@
+    Debug1("DTLSv1_server_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
+ SSL_CTX *sycSSL_CTX_new(const SSL_METHOD *method) {
+    SSL_CTX *result;

Copied: socat/repos/staging-x86_64/PKGBUILD (from rev 260552, socat/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-03-02 20:10:05 UTC (rev 260553)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Juergen Hoetzel <juergen at archlinux.org>
+# Contributor: John Proctor <jproctor at prium.net>
+
+pkgname=socat
+pkgver=1.7.3.1
+pkgrel=2
+pkgdesc='Multipurpose relay'
+url='http://www.dest-unreach.org/socat/'
+license=('GPL2')
+arch=('i686' 'x86_64')
+depends=('readline' 'openssl')
+source=("http://www.dest-unreach.org/socat/download/${pkgname}-${pkgver}.tar.gz"
+        'add-missing-checks.patch')
+sha1sums=('a6f1d8ab3e85f565dbe172f33a9be6708dd52ffb'
+          'cfdaa269dac053ceec4c4f763d9075983c4c9307')
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -Np1 -i ../add-missing-checks.patch
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/usr \
+		--mandir=/usr/share/man \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}

Copied: socat/repos/staging-x86_64/add-missing-checks.patch (from rev 260552, socat/trunk/add-missing-checks.patch)
===================================================================
--- staging-x86_64/add-missing-checks.patch	                        (rev 0)
+++ staging-x86_64/add-missing-checks.patch	2016-03-02 20:10:05 UTC (rev 260553)
@@ -0,0 +1,95 @@
+diff -Nru socat-1.7.3.0.orig/sslcls.c socat-1.7.3.0/sslcls.c
+--- socat-1.7.3.0.orig/sslcls.c	2015-01-24 05:15:22.000000000 -0500
++++ socat-1.7.3.0/sslcls.c	2015-11-29 14:14:13.252000000 -0500
+@@ -55,6 +55,7 @@
+ }
+ #endif
+ 
++#if HAVE_SSLv3_client_method
+ const SSL_METHOD *sycSSLv3_client_method(void) {
+    const SSL_METHOD *result;
+    Debug("SSLv3_client_method()");
+@@ -62,7 +63,9 @@
+    Debug1("SSLv3_client_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
++#if HAVE_SSLv3_server_method
+ const SSL_METHOD *sycSSLv3_server_method(void) {
+    const SSL_METHOD *result;
+    Debug("SSLv3_server_method()");
+@@ -70,7 +73,9 @@
+    Debug1("SSLv3_server_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
++#if HAVE_SSLv23_client_method
+ const SSL_METHOD *sycSSLv23_client_method(void) {
+    const SSL_METHOD *result;
+    Debug("SSLv23_client_method()");
+@@ -78,7 +83,9 @@
+    Debug1("SSLv23_client_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
++#if HAVE_SSLv23_server_method
+ const SSL_METHOD *sycSSLv23_server_method(void) {
+    const SSL_METHOD *result;
+    Debug("SSLv23_server_method()");
+@@ -86,7 +93,9 @@
+    Debug1("SSLv23_server_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
++#if HAVE_TLSv1_client_method
+ const SSL_METHOD *sycTLSv1_client_method(void) {
+    const SSL_METHOD *result;
+    Debug("TLSv1_client_method()");
+@@ -94,7 +103,9 @@
+    Debug1("TLSv1_client_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
++#if HAVE_TLSv1_server_method
+ const SSL_METHOD *sycTLSv1_server_method(void) {
+    const SSL_METHOD *result;
+    Debug("TLSv1_server_method()");
+@@ -102,6 +113,7 @@
+    Debug1("TLSv1_server_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
+ #if HAVE_TLSv1_1_client_method
+ const SSL_METHOD *sycTLSv1_1_client_method(void) {
+@@ -143,6 +155,7 @@
+ }
+ #endif
+ 
++#if HAVE_DTLSv1_client_method
+ const SSL_METHOD *sycDTLSv1_client_method(void) {
+    const SSL_METHOD *result;
+    Debug("DTLSv1_client_method()");
+@@ -150,7 +163,9 @@
+    Debug1("DTLSv1_client_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
++#if HAVE_DTLSv1_server_method
+ const SSL_METHOD *sycDTLSv1_server_method(void) {
+    const SSL_METHOD *result;
+    Debug("DTLSv1_server_method()");
+@@ -158,6 +173,7 @@
+    Debug1("DTLSv1_server_method() -> %p", result);
+    return result;
+ }
++#endif
+ 
+ SSL_CTX *sycSSL_CTX_new(const SSL_METHOD *method) {
+    SSL_CTX *result;



More information about the arch-commits mailing list