Package: curl
Version: 8.9.1-2
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oracular ubuntu-patch

Dear Maintainer,

  Bug 888449 requested an Ubuntu-specific case to depend on libssh-dev due to
lib-ssh-dev being in main. libssh2-dev is also present in main in Oracular.
There is bug 897950 asking to switch to libssh-dev in Debian.
 Would it be possible to consider dropping Ubuntu-specific delta so that both
Debian and Ubuntu have the same dependencies?

In Ubuntu, the attached patch was applied to achieve the following:
  * d/rules: Use libssh2-dev as it is in main (LP: #2076865).


Thanks for considering the patch.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888449
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897950


-- System Information:
Debian Release: trixie/sid
  APT prefers noble-updates
  APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), 
(100, 'noble-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.8.0-40-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru curl-8.9.1/debian/rules curl-8.9.1/debian/rules
--- curl-8.9.1/debian/rules     2024-08-10 10:47:58.000000000 +1200
+++ curl-8.9.1/debian/rules     2024-08-13 09:16:22.000000000 +1200
@@ -18,15 +18,8 @@
        --with-zsh-functions-dir=/usr/share/zsh/vendor-completions \
        --with-fish-functions-dir=/usr/share/fish/vendor_completions.d \
        --with-ca-path=/etc/ssl/certs \
-       --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
-
-# disable libssh2 on Ubuntu (see #888449)
-ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
-       CONFIGURE_ARGS += --with-libssh --without-libssh2
-else
-       CONFIGURE_ARGS += --without-libssh --with-libssh2
-endif
-
+       --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
+       --without-libssh --with-libssh2
 
 ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
   NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))

Reply via email to