Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock

Please unblock package lprng.

The NMU 3.8.B-2.1 fixes a bug where SSL support in the package was
silently dropped since OpenSSL 1.1 (#854468), because the configure
checks were looking for a deprecated library symbol, which is now
a preprocessor macro. The change restores SSL support by looking for
a different symbol.

Regards,
  Reiner

unblock lprng/3.8.B-2.1
diff -Nru lprng-3.8.B/debian/changelog lprng-3.8.B/debian/changelog
--- lprng-3.8.B/debian/changelog        2012-06-11 10:07:15.000000000 +0200
+++ lprng-3.8.B/debian/changelog        2017-02-08 21:20:30.000000000 +0100
@@ -1,3 +1,11 @@
+lprng (3.8.B-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Don't lose authentication support when compiled with OpenSSL 1.1, patch by
+    Reiner Herrmann <[email protected]> (Closes: #854468).
+
+ -- Sebastian Andrzej Siewior <[email protected]>  Wed, 08 Feb 2017 
21:20:30 +0100
+
 lprng (3.8.B-2) unstable; urgency=low
 
   * Compilies on hurd-i386 Closes: #671848
diff -Nru lprng-3.8.B/debian/patches/openssl_1.1.patch 
lprng-3.8.B/debian/patches/openssl_1.1.patch
--- lprng-3.8.B/debian/patches/openssl_1.1.patch        1970-01-01 
01:00:00.000000000 +0100
+++ lprng-3.8.B/debian/patches/openssl_1.1.patch        2017-02-08 
21:19:17.000000000 +0100
@@ -0,0 +1,27 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -1008,7 +1008,7 @@
+                       SSL_LDADD="-L$dir $SSL_LDADD"
+               fi
+               LDFLAGS="$LDFLAGS $SSL_LDADD"
+-              AC_TRY_LINK_FUNC(SSL_load_error_strings,ac_linked_libssl="true",
++              AC_TRY_LINK_FUNC(OPENSSL_init_ssl,ac_linked_libssl="true",
+                       ac_linked_libssl="false");
+               AC_TRY_LINK_FUNC(RC4_set_key,ac_linked_libcrypto="true",
+                       ac_linked_libcrypto="false");
+--- a/configure
++++ b/configure
+@@ -10408,11 +10408,11 @@
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+-char SSL_load_error_strings ();
++char OPENSSL_init_ssl ();
+ int
+ main ()
+ {
+-return SSL_load_error_strings ();
++return OPENSSL_init_ssl ();
+   ;
+   return 0;
+ }
diff -Nru lprng-3.8.B/debian/patches/series lprng-3.8.B/debian/patches/series
--- lprng-3.8.B/debian/patches/series   2012-06-11 08:49:05.000000000 +0200
+++ lprng-3.8.B/debian/patches/series   2017-02-08 21:19:17.000000000 +0100
@@ -1,3 +1,4 @@
 lpd_conf_manwarnings
 portable_maxpathlen
 string_literals
+openssl_1.1.patch

Reply via email to