[arch-commits] Commit in lynx/repos (6 files)
Jan de Groot
jgc at archlinux.org
Thu Mar 16 09:29:22 UTC 2017
Date: Thursday, March 16, 2017 @ 09:29:21
Author: jgc
Revision: 290915
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
lynx/repos/staging-i686/
lynx/repos/staging-i686/PKGBUILD
(from rev 290914, lynx/trunk/PKGBUILD)
lynx/repos/staging-i686/lynx-2.8.8-openssl.patch
(from rev 290914, lynx/trunk/lynx-2.8.8-openssl.patch)
lynx/repos/staging-x86_64/
lynx/repos/staging-x86_64/PKGBUILD
(from rev 290914, lynx/trunk/PKGBUILD)
lynx/repos/staging-x86_64/lynx-2.8.8-openssl.patch
(from rev 290914, lynx/trunk/lynx-2.8.8-openssl.patch)
-----------------------------------------+
staging-i686/PKGBUILD | 48 ++++++++++++++++++++++++++++++
staging-i686/lynx-2.8.8-openssl.patch | 11 ++++++
staging-x86_64/PKGBUILD | 48 ++++++++++++++++++++++++++++++
staging-x86_64/lynx-2.8.8-openssl.patch | 11 ++++++
4 files changed, 118 insertions(+)
Copied: lynx/repos/staging-i686/PKGBUILD (from rev 290914, lynx/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2017-03-16 09:29:21 UTC (rev 290915)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=lynx
+pkgver=2.8.8
+_relver=${pkgver}rel.2
+pkgrel=5
+pkgdesc="A text browser for the World Wide Web"
+url="http://lynx.isc.org/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('openssl' 'libidn')
+backup=('etc/lynx.cfg')
+source=(http://invisible-mirror.net/archives/lynx/tarballs/${pkgname}${_relver}.tar.bz2{,.asc}
+ lynx-2.8.8-openssl.patch)
+sha256sums=('6980e75cf0d677fd52c116e2e0dfd3884e360970c88c8356a114338500d5bee7'
+ 'SKIP'
+ '08a331c9fc07547f5a59c9b83077bf18ece0a6012d77a6f3e0dff2be27a07769')
+validpgpkeys=('0AFD1FFEEA2EA063B959ACDA5DDF8FB7688E31A6')
+
+prepare() {
+ cd ${srcdir}/${pkgname}${pkgver//./-}
+ patch -Np1 -i ../lynx-2.8.8-openssl.patch
+}
+
+build() {
+ cd ${srcdir}/${pkgname}${pkgver//./-}
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-ssl=/usr \
+ --enable-nls \
+ --enable-ipv6 \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}${pkgver//./-}
+ make DESTDIR=${pkgdir} install
+
+ # FS#20404 - points to local help
+ sed -i -e "s|^HELPFILE.*$|HELPFILE:file:///usr/share/doc/lynx/lynx_help/lynx_help_main.html|" ${pkgdir}/etc/lynx.cfg
+
+ install -d ${pkgdir}/usr/share/doc/lynx
+ cp -rf lynx_help ${pkgdir}/usr/share/doc/lynx
+}
Copied: lynx/repos/staging-i686/lynx-2.8.8-openssl.patch (from rev 290914, lynx/trunk/lynx-2.8.8-openssl.patch)
===================================================================
--- staging-i686/lynx-2.8.8-openssl.patch (rev 0)
+++ staging-i686/lynx-2.8.8-openssl.patch 2017-03-16 09:29:21 UTC (rev 290915)
@@ -0,0 +1,11 @@
+--- lynx2-8-8/WWW/Library/Implementation/HTTP.c.orig 2017-03-16 09:24:30.608537810 +0000
++++ lynx2-8-8/WWW/Library/Implementation/HTTP.c 2017-03-16 09:25:21.728457895 +0000
+@@ -720,7 +720,7 @@
+ #elif SSLEAY_VERSION_NUMBER >= 0x0900
+ #ifndef USE_NSS_COMPAT_INCL
+ if (!try_tls) {
+- handle->options |= SSL_OP_NO_TLSv1;
++ SSL_set_options(handle, SSL_OP_NO_TLSv1);
+ #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
+ } else {
+ int ret = (int) SSL_set_tlsext_host_name(handle, ssl_host);
Copied: lynx/repos/staging-x86_64/PKGBUILD (from rev 290914, lynx/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-03-16 09:29:21 UTC (rev 290915)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=lynx
+pkgver=2.8.8
+_relver=${pkgver}rel.2
+pkgrel=5
+pkgdesc="A text browser for the World Wide Web"
+url="http://lynx.isc.org/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('openssl' 'libidn')
+backup=('etc/lynx.cfg')
+source=(http://invisible-mirror.net/archives/lynx/tarballs/${pkgname}${_relver}.tar.bz2{,.asc}
+ lynx-2.8.8-openssl.patch)
+sha256sums=('6980e75cf0d677fd52c116e2e0dfd3884e360970c88c8356a114338500d5bee7'
+ 'SKIP'
+ '08a331c9fc07547f5a59c9b83077bf18ece0a6012d77a6f3e0dff2be27a07769')
+validpgpkeys=('0AFD1FFEEA2EA063B959ACDA5DDF8FB7688E31A6')
+
+prepare() {
+ cd ${srcdir}/${pkgname}${pkgver//./-}
+ patch -Np1 -i ../lynx-2.8.8-openssl.patch
+}
+
+build() {
+ cd ${srcdir}/${pkgname}${pkgver//./-}
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --with-ssl=/usr \
+ --enable-nls \
+ --enable-ipv6 \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}${pkgver//./-}
+ make DESTDIR=${pkgdir} install
+
+ # FS#20404 - points to local help
+ sed -i -e "s|^HELPFILE.*$|HELPFILE:file:///usr/share/doc/lynx/lynx_help/lynx_help_main.html|" ${pkgdir}/etc/lynx.cfg
+
+ install -d ${pkgdir}/usr/share/doc/lynx
+ cp -rf lynx_help ${pkgdir}/usr/share/doc/lynx
+}
Copied: lynx/repos/staging-x86_64/lynx-2.8.8-openssl.patch (from rev 290914, lynx/trunk/lynx-2.8.8-openssl.patch)
===================================================================
--- staging-x86_64/lynx-2.8.8-openssl.patch (rev 0)
+++ staging-x86_64/lynx-2.8.8-openssl.patch 2017-03-16 09:29:21 UTC (rev 290915)
@@ -0,0 +1,11 @@
+--- lynx2-8-8/WWW/Library/Implementation/HTTP.c.orig 2017-03-16 09:24:30.608537810 +0000
++++ lynx2-8-8/WWW/Library/Implementation/HTTP.c 2017-03-16 09:25:21.728457895 +0000
+@@ -720,7 +720,7 @@
+ #elif SSLEAY_VERSION_NUMBER >= 0x0900
+ #ifndef USE_NSS_COMPAT_INCL
+ if (!try_tls) {
+- handle->options |= SSL_OP_NO_TLSv1;
++ SSL_set_options(handle, SSL_OP_NO_TLSv1);
+ #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
+ } else {
+ int ret = (int) SSL_set_tlsext_host_name(handle, ssl_host);
More information about the arch-commits
mailing list