Bug#999953: sslh: depends on obsolete pcre3 library

2023-08-15 Thread Don Armstrong
On Tue, 15 Aug 2023, Bastian Germann wrote:
> I am uploading a NMU to fix this.

That's not the correct fix; the correct fix is to use pcre2 instead of
pcre3. I've already got a patch for it available. but apparently I
haven't pushed it to salsa; sorry about that.

The reason why I haven't uploaded it yet is because the tests for 1.22c 
do not succeed.

-- 
Don Armstrong  https://www.donarmstrong.com

Let the victors, when they come,
When the forts of folly fall
Find thy body by the wall!
 -- Matthew Arnold



Bug#999953: sslh: depends on obsolete pcre3 library

2023-08-15 Thread Bastian Germann

I am uploading a NMU to fix this.diff -Nru sslh-1.20/debian/changelog sslh-1.20/debian/changelog
--- sslh-1.20/debian/changelog  2019-09-05 19:04:54.0 +0200
+++ sslh-1.20/debian/changelog  2023-08-15 21:02:01.0 +0200
@@ -1,3 +1,10 @@
+sslh (1.20-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * Drop pcre3 (Closes: #53)
+
+ -- Bastian Germann   Tue, 15 Aug 2023 21:02:01 +0200
+
 sslh (1.20-1) unstable; urgency=medium
 
   [ Guillaume Delacour ]
diff -Nru sslh-1.20/debian/control sslh-1.20/debian/control
--- sslh-1.20/debian/control2019-09-05 19:04:54.0 +0200
+++ sslh-1.20/debian/control2023-08-15 20:49:18.0 +0200
@@ -4,7 +4,7 @@
 Maintainer: Don Armstrong 
 Build-Depends: debhelper-compat (= 12), libwrap0-dev, binutils, po-debconf,
libio-socket-inet6-perl, libconfig-dev, libcap-dev [linux-any],
-   psmisc, lcov, libpcre3-dev,
+   psmisc, lcov,
init-system-helpers (>= 1.51)
 Standards-Version: 4.4.0
 Homepage: http://www.rutschle.net/tech/sslh/README.html
diff -Nru sslh-1.20/debian/rules sslh-1.20/debian/rules
--- sslh-1.20/debian/rules  2019-09-05 19:04:54.0 +0200
+++ sslh-1.20/debian/rules  2023-08-15 20:58:16.0 +0200
@@ -12,7 +12,7 @@
 endif
 
 override_dh_auto_build:
-   dh_auto_build -- USELIBWRAP=1 $(EXTRA_OPTIONS)
+   dh_auto_build -- USELIBWRAP=1 USELIBPCRE= $(EXTRA_OPTIONS)
 
 override_dh_auto_install:
# auto install fork version, see debian/install for select version