commit elinks for openSUSE:Factory

2019-07-26 Thread root
Hello community,

here is the log from the commit of package elinks for openSUSE:Factory checked 
in at 2019-07-26 12:39:33

Comparing /work/SRC/openSUSE:Factory/elinks (Old)
 and  /work/SRC/openSUSE:Factory/.elinks.new.4126 (New)


Package is "elinks"

Fri Jul 26 12:39:33 2019 rev:4 rq:717993 version:0.13~0.20190723

Changes:

--- /work/SRC/openSUSE:Factory/elinks/elinks.changes2017-12-31 
01:14:38.624589641 +0100
+++ /work/SRC/openSUSE:Factory/.elinks.new.4126/elinks.changes  2019-07-26 
12:39:37.101934242 +0200
@@ -1,0 +2,38 @@
+Tue Jul 23 20:49:14 CEST 2019 - sbra...@suse.com
+
+- Update to 20190723 snapshot of version 0.13:
+  * no changes
+- Use pre-version tag, as the current snapshot is a pre-release.
+- Remove volatile URL from Source0.
+- Compile without strict aliasing to prevent breakage with new gcc.
+
+---
+Mon Apr  1 09:31:50 UTC 2019 - Marketa Calabkova 
+
+- Update to version 0.13
+  * parse_header: document parameters and return value
+  * doxygen: Fix link to bookmark::url
+  * use draw_text for titles
+  * iconv: Bail out of the loop when an illegal sequence of bytes 
+occur
+  * Add support for the CSS list-style-type property
+  * configure.in: use PKG_CONFIG
+  * Fixed problem of converting more than 256 chars
+  * mem_free_if where aplicable
+  * ssl: Make RAND_egd optional
+  * Better handling of content-disposition
+  * Compilation fix for OpenSSL-1.1
+  * display lua hooks errors
+  * brotli code updated
+  * Use blacklist to skip verification of certificates
+  * various code cleanup
+  * -VERS-SSL3.0 in gnutls to avoid SSL error.
+  * 1024: Verify server certificate hostname with OpenSSL (bsc#1082814)
+- Removed unneeded patches:
+  * elinks-0.12_pre5-compilation-fix.patch
+  * use_lua-5.1.patch
+  * build.with-openssl-1_1.patch
+- Renamed patch:
+  * build-with-ruby-1.9.patch -> build-with-new-ruby.patch
+
+---

Old:

  build-with-ruby-1.9.patch
  build.with-openssl-1_1.patch
  elinks-0.12_pre5-compilation-fix.patch
  elinks-0.12pre6.tar.bz2
  use_lua-5.1.patch

New:

  build-with-new-ruby.patch
  elinks-current-0.13.tar.bz2



Other differences:
--
++ elinks.spec ++
--- /var/tmp/diff_new_pack.8IZyIW/_old  2019-07-26 12:39:37.969933736 +0200
+++ /var/tmp/diff_new_pack.8IZyIW/_new  2019-07-26 12:39:37.969933736 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package elinks
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,29 +12,25 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%define pkg_version 0.12pre6
+%define tar_version 0.13
+%define snapshot 20190723
 
 %bcond_with js
 
 Name:   elinks
-Version:0.11.996
+Version:%{tar_version}~0.%{snapshot}
 Release:0
 Summary:An advanced and well-established feature-rich text mode web 
browser
-License:GPL-2.0
+License:GPL-2.0-or-later
 Group:  Productivity/Networking/Web/Browsers
 Url:http://elinks.or.cz/
-Source0:http://elinks.or.cz/download/%{name}-%{pkg_version}.tar.bz2
-# PATCH-FIX-UPSTREAM elinks-0.12_pre5-compilation-fix.patch 
asterios.dra...@gmail.com -- Fix compilation with gc (patch taken from Gentoo)
-Patch0: elinks-0.12_pre5-compilation-fix.patch
-# PATCH-FIX-UPSTREAM use_lua-5.1.patch asterios.dra...@gmail.com -- Support 
for lua-5.1 (based on patch from Debian)
-Patch1: use_lua-5.1.patch
-# PATCH-FIX-UPSTREAM build-with-ruby-1.9.patch dab...@gentoo.org -- Support 
for ruby-1.9 (patch taken from Gentoo)
-Patch2: build-with-ruby-1.9.patch
-Patch3: build.with-openssl-1_1.patch
+# Volatile download URL 
http://elinks.or.cz/download/%{name}-current-%{tar_version}.tar.bz2
+Source0:%{name}-current-%{tar_version}.tar.bz2
+Patch0: build-with-new-ruby.patch
 %if 0%{?suse_version} > 1140
 BuildRequires:  gc-devel
 %endif
@@ -72,11 +68,8 @@
 description.
 
 %prep
-%setup -q -n %{name}-%{pkg_version}
+%setup -q -n %{name}-%{tar_version}-%{snapshot}
 %patch0 -p1
-%patch1
-%patch2 -p1
-%patch3 -p1
 # Remove build time references so build-compare can do its work
 FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M')
 FAKE_BUILDDATE=$(LC_ALL=C date -u -r 

commit elinks for openSUSE:Factory

2017-12-30 Thread root
Hello community,

here is the log from the commit of package elinks for openSUSE:Factory checked 
in at 2017-12-31 01:14:37

Comparing /work/SRC/openSUSE:Factory/elinks (Old)
 and  /work/SRC/openSUSE:Factory/.elinks.new (New)


Package is "elinks"

Sun Dec 31 01:14:37 2017 rev:3 rq:560685 version:0.11.996

Changes:

--- /work/SRC/openSUSE:Factory/elinks/elinks.changes2016-06-19 
10:49:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.elinks.new/elinks.changes   2017-12-31 
01:14:38.624589641 +0100
@@ -1,0 +2,5 @@
+Thu Dec 28 19:36:07 UTC 2017 - crrodrig...@opensuse.org
+
+- build.with-openssl-1_1.patch: fix build with openssl 1.1.
+
+---

New:

  build.with-openssl-1_1.patch



Other differences:
--
++ elinks.spec ++
--- /var/tmp/diff_new_pack.81NQKD/_old  2017-12-31 01:14:39.200397532 +0100
+++ /var/tmp/diff_new_pack.81NQKD/_new  2017-12-31 01:14:39.204396198 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package elinks
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -34,6 +34,7 @@
 Patch1: use_lua-5.1.patch
 # PATCH-FIX-UPSTREAM build-with-ruby-1.9.patch dab...@gentoo.org -- Support 
for ruby-1.9 (patch taken from Gentoo)
 Patch2: build-with-ruby-1.9.patch
+Patch3: build.with-openssl-1_1.patch
 %if 0%{?suse_version} > 1140
 BuildRequires:  gc-devel
 %endif
@@ -75,7 +76,7 @@
 %patch0 -p1
 %patch1
 %patch2 -p1
-
+%patch3 -p1
 # Remove build time references so build-compare can do its work
 FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M')
 FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e 
%%Y')
@@ -85,7 +86,6 @@
 %build
 # required for ruby patch
 sh ./autogen.sh
-export CFLAGS="%{optflags} -fstack-protector"
 %configure \
 --sysconfdir=%{_sysconfdir}/elinks \
 --enable-bittorrent \

++ build.with-openssl-1_1.patch ++
Index: elinks-0.12pre6/src/network/ssl/socket.c
===
--- elinks-0.12pre6.orig/src/network/ssl/socket.c
+++ elinks-0.12pre6/src/network/ssl/socket.c
@@ -67,7 +67,7 @@ static void
 ssl_set_no_tls(struct socket *socket)
 {
 #ifdef CONFIG_OPENSSL
-   ((ssl_t *) socket->ssl)->options |= SSL_OP_NO_TLSv1;
+//nothing.. wut was that..
 #elif defined(CONFIG_GNUTLS)
{
/* GnuTLS does not support SSLv2 because it is "insecure".
@@ -145,7 +145,7 @@ ssl_connect(struct socket *socket)
}
 
if (client_cert) {
-   SSL_CTX *ctx = ((SSL *) socket->ssl)->ctx;
+   SSL_CTX *ctx = SSL_get_SSL_CTX(socket->ssl);
 
SSL_CTX_use_certificate_chain_file(ctx, client_cert);
SSL_CTX_use_PrivateKey_file(ctx, client_cert,
Index: elinks-0.12pre6/src/network/ssl/ssl.c
===
--- elinks-0.12pre6.orig/src/network/ssl/ssl.c
+++ elinks-0.12pre6/src/network/ssl/ssl.c
@@ -44,19 +44,13 @@ SSL_CTX *context = NULL;
 static void
 init_openssl(struct module *module)
 {
-   unsigned char f_randfile[PATH_MAX];
 
-   /* In a nutshell, on OS's without a /dev/urandom, the OpenSSL library
-* cannot initialize the PRNG and so every attempt to use SSL fails.
-* It's actually an OpenSSL FAQ, and according to them, it's up to the
-* application coders to seed the RNG. -- William Yodlowsky */
-   if (RAND_egd(RAND_file_name(f_randfile, sizeof(f_randfile))) < 0) {
-   /* Not an EGD, so read and write to it */
-   if (RAND_load_file(f_randfile, -1))
-   RAND_write_file(f_randfile);
-   }
+#if OPENSSL_VERSION_NUMBER < 0x1010L
+   SSL_library_init();
+#else
+   OPENSSL_init_ssl(0, NULL);
+#endif
 
-   SSLeay_add_ssl_algorithms();
context = SSL_CTX_new(SSLv23_client_method());
SSL_CTX_set_options(context, SSL_OP_ALL);
SSL_CTX_set_default_verify_paths(context);



commit elinks for openSUSE:Factory

2016-06-19 Thread h_root
Hello community,

here is the log from the commit of package elinks for openSUSE:Factory checked 
in at 2016-06-19 10:49:13

Comparing /work/SRC/openSUSE:Factory/elinks (Old)
 and  /work/SRC/openSUSE:Factory/.elinks.new (New)


Package is "elinks"

Changes:

--- /work/SRC/openSUSE:Factory/elinks/elinks.changes2016-05-04 
08:19:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.elinks.new/elinks.changes   2016-06-19 
10:49:15.0 +0200
@@ -1,0 +2,8 @@
+Tue Jun 14 14:46:59 UTC 2016 - adam.ma...@suse.de
+
+- Add %perl_requires to be certain that package rebuilds when
+  perl is updated. This is causing elinks not to be rebuilt with
+  factory and it can't find current libperl.so. See bnc#984661
+  for details.
+
+---



Other differences:
--
++ elinks.spec ++
--- /var/tmp/diff_new_pack.SIPU88/_old  2016-06-19 10:49:16.0 +0200
+++ /var/tmp/diff_new_pack.SIPU88/_new  2016-06-19 10:49:16.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package elinks
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define pkg_version 0.12pre6
 
 %bcond_with js
@@ -22,10 +23,10 @@
 Name:   elinks
 Version:0.11.996
 Release:0
-License:GPL-2.0
 Summary:An advanced and well-established feature-rich text mode web 
browser
-Url:http://elinks.or.cz/
+License:GPL-2.0
 Group:  Productivity/Networking/Web/Browsers
+Url:http://elinks.or.cz/
 Source0:http://elinks.or.cz/download/%{name}-%{pkg_version}.tar.bz2
 # PATCH-FIX-UPSTREAM elinks-0.12_pre5-compilation-fix.patch 
asterios.dra...@gmail.com -- Fix compilation with gc (patch taken from Gentoo)
 Patch0: elinks-0.12_pre5-compilation-fix.patch
@@ -38,8 +39,8 @@
 %endif
 BuildRequires:  gpm-devel
 %if %{with js}
-BuildRequires:  mozjs24-devel
 BuildRequires:  gcc-c++
+BuildRequires:  mozjs24-devel
 %endif
 BuildRequires:  krb5-devel
 BuildRequires:  libbz2-devel
@@ -50,14 +51,17 @@
 %else
 BuildRequires:  lua-devel
 %endif
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  libtool
 BuildRequires:  openssl-devel
 BuildRequires:  pkg-config
 BuildRequires:  ruby-devel
 BuildRequires:  tre-devel
 BuildRequires:  zlib-devel
-BuildRequires:  automake autoconf libtool
 Provides:   web_browser
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%perl_requires
 
 %description
 ELinks is an advanced and well-established feature-rich text mode web