[arch-commits] Commit in proxytunnel/repos (8 files)
Sergej Pupykin
spupykin at archlinux.org
Fri Feb 17 21:18:50 UTC 2017
Date: Friday, February 17, 2017 @ 21:18:50
Author: spupykin
Revision: 212980
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
proxytunnel/repos/community-staging-i686/
proxytunnel/repos/community-staging-i686/PKGBUILD
(from rev 212979, proxytunnel/trunk/PKGBUILD)
proxytunnel/repos/community-staging-i686/fix-Makefile-ssl-FTBFS.patch
(from rev 212979, proxytunnel/trunk/fix-Makefile-ssl-FTBFS.patch)
proxytunnel/repos/community-staging-i686/migrate-from-SSLv3.patch
(from rev 212979, proxytunnel/trunk/migrate-from-SSLv3.patch)
proxytunnel/repos/community-staging-x86_64/
proxytunnel/repos/community-staging-x86_64/PKGBUILD
(from rev 212979, proxytunnel/trunk/PKGBUILD)
proxytunnel/repos/community-staging-x86_64/fix-Makefile-ssl-FTBFS.patch
(from rev 212979, proxytunnel/trunk/fix-Makefile-ssl-FTBFS.patch)
proxytunnel/repos/community-staging-x86_64/migrate-from-SSLv3.patch
(from rev 212979, proxytunnel/trunk/migrate-from-SSLv3.patch)
-------------------------------------------------------+
community-staging-i686/PKGBUILD | 36 ++++++++++++++++
community-staging-i686/fix-Makefile-ssl-FTBFS.patch | 11 ++++
community-staging-i686/migrate-from-SSLv3.patch | 12 +++++
community-staging-x86_64/PKGBUILD | 36 ++++++++++++++++
community-staging-x86_64/fix-Makefile-ssl-FTBFS.patch | 11 ++++
community-staging-x86_64/migrate-from-SSLv3.patch | 12 +++++
6 files changed, 118 insertions(+)
Copied: proxytunnel/repos/community-staging-i686/PKGBUILD (from rev 212979, proxytunnel/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-02-17 21:18:50 UTC (rev 212980)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Georg Grabler (STiAT) <ggrabler at gmail.com>
+
+pkgname=proxytunnel
+pkgver=1.9.0.253
+pkgrel=2
+pkgdesc="a program that connects stdin and stdout to a server somewhere on the network, through a standard HTTPS proxy"
+arch=('i686' 'x86_64')
+url="http://proxytunnel.sourceforge.net"
+license=('GPL')
+depends=('openssl')
+makedepends=('subversion' 'asciidoc' 'xmlto')
+#source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tgz
+source=("svn://svn.code.sf.net/p/proxytunnel/code/trunk/proxytunnel#revision=${pkgver##*.}"
+ fix-Makefile-ssl-FTBFS.patch
+ migrate-from-SSLv3.patch)
+md5sums=('SKIP'
+ 'facacbf723512e7c94a4d7e6a0d12eeb'
+ '71c403c2bd6fb332bc5839894bcafe76')
+
+prepare() {
+ cd $pkgname
+ patch -Np1 -i ../fix-Makefile-ssl-FTBFS.patch
+ patch -Np1 -i ../migrate-from-SSLv3.patch
+}
+
+build() {
+ cd $pkgname
+ make prefix=/usr
+}
+
+package() {
+ cd $pkgname
+ make prefix=/usr DESTDIR="$pkgdir" install
+}
Copied: proxytunnel/repos/community-staging-i686/fix-Makefile-ssl-FTBFS.patch (from rev 212979, proxytunnel/trunk/fix-Makefile-ssl-FTBFS.patch)
===================================================================
--- community-staging-i686/fix-Makefile-ssl-FTBFS.patch (rev 0)
+++ community-staging-i686/fix-Makefile-ssl-FTBFS.patch 2017-02-17 21:18:50 UTC (rev 212980)
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -48,7 +48,7 @@
+
+ # END system dependant block
+
+-SSL_LIBS := $(shell pkg-config --libs libssl 2>/dev/null)
++#SSL_LIBS := $(shell pkg-config --libs libssl 2>/dev/null)
+ ifeq ($(SSL_LIBS),)
+ SSL_LIBS := $(shell pkg-config --libs openssl 2>/dev/null)
+ endif
Copied: proxytunnel/repos/community-staging-i686/migrate-from-SSLv3.patch (from rev 212979, proxytunnel/trunk/migrate-from-SSLv3.patch)
===================================================================
--- community-staging-i686/migrate-from-SSLv3.patch (rev 0)
+++ community-staging-i686/migrate-from-SSLv3.patch 2017-02-17 21:18:50 UTC (rev 212980)
@@ -0,0 +1,12 @@
+diff -upr proxytunnel-1.9.0.orig/ptstream.c proxytunnel-1.9.0/ptstream.c
+--- proxytunnel-1.9.0.orig/ptstream.c 2008-02-27 01:27:27.000000000 +0200
++++ proxytunnel-1.9.0/ptstream.c 2016-03-02 20:43:32.909153946 +0200
+@@ -167,7 +167,7 @@
+ SSLeay_add_ssl_algorithms();
+ SSL_load_error_strings();
+
+- ctx = SSL_CTX_new (SSLv3_client_method());
++ ctx = SSL_CTX_new (SSLv23_client_method());
+ ssl = SSL_new (ctx);
+
+ if (args_info.verbose_flag) {
Copied: proxytunnel/repos/community-staging-x86_64/PKGBUILD (from rev 212979, proxytunnel/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-02-17 21:18:50 UTC (rev 212980)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Georg Grabler (STiAT) <ggrabler at gmail.com>
+
+pkgname=proxytunnel
+pkgver=1.9.0.253
+pkgrel=2
+pkgdesc="a program that connects stdin and stdout to a server somewhere on the network, through a standard HTTPS proxy"
+arch=('i686' 'x86_64')
+url="http://proxytunnel.sourceforge.net"
+license=('GPL')
+depends=('openssl')
+makedepends=('subversion' 'asciidoc' 'xmlto')
+#source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tgz
+source=("svn://svn.code.sf.net/p/proxytunnel/code/trunk/proxytunnel#revision=${pkgver##*.}"
+ fix-Makefile-ssl-FTBFS.patch
+ migrate-from-SSLv3.patch)
+md5sums=('SKIP'
+ 'facacbf723512e7c94a4d7e6a0d12eeb'
+ '71c403c2bd6fb332bc5839894bcafe76')
+
+prepare() {
+ cd $pkgname
+ patch -Np1 -i ../fix-Makefile-ssl-FTBFS.patch
+ patch -Np1 -i ../migrate-from-SSLv3.patch
+}
+
+build() {
+ cd $pkgname
+ make prefix=/usr
+}
+
+package() {
+ cd $pkgname
+ make prefix=/usr DESTDIR="$pkgdir" install
+}
Copied: proxytunnel/repos/community-staging-x86_64/fix-Makefile-ssl-FTBFS.patch (from rev 212979, proxytunnel/trunk/fix-Makefile-ssl-FTBFS.patch)
===================================================================
--- community-staging-x86_64/fix-Makefile-ssl-FTBFS.patch (rev 0)
+++ community-staging-x86_64/fix-Makefile-ssl-FTBFS.patch 2017-02-17 21:18:50 UTC (rev 212980)
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -48,7 +48,7 @@
+
+ # END system dependant block
+
+-SSL_LIBS := $(shell pkg-config --libs libssl 2>/dev/null)
++#SSL_LIBS := $(shell pkg-config --libs libssl 2>/dev/null)
+ ifeq ($(SSL_LIBS),)
+ SSL_LIBS := $(shell pkg-config --libs openssl 2>/dev/null)
+ endif
Copied: proxytunnel/repos/community-staging-x86_64/migrate-from-SSLv3.patch (from rev 212979, proxytunnel/trunk/migrate-from-SSLv3.patch)
===================================================================
--- community-staging-x86_64/migrate-from-SSLv3.patch (rev 0)
+++ community-staging-x86_64/migrate-from-SSLv3.patch 2017-02-17 21:18:50 UTC (rev 212980)
@@ -0,0 +1,12 @@
+diff -upr proxytunnel-1.9.0.orig/ptstream.c proxytunnel-1.9.0/ptstream.c
+--- proxytunnel-1.9.0.orig/ptstream.c 2008-02-27 01:27:27.000000000 +0200
++++ proxytunnel-1.9.0/ptstream.c 2016-03-02 20:43:32.909153946 +0200
+@@ -167,7 +167,7 @@
+ SSLeay_add_ssl_algorithms();
+ SSL_load_error_strings();
+
+- ctx = SSL_CTX_new (SSLv3_client_method());
++ ctx = SSL_CTX_new (SSLv23_client_method());
+ ssl = SSL_new (ctx);
+
+ if (args_info.verbose_flag) {
More information about the arch-commits
mailing list