• Bug#1067567: dhcp-probe: [time_t] Remove hardcoded dependencies on libp

    From Julian Andres Klode@21:1/5 to All on Sat Mar 23 20:30:01 2024
    Package: dhcp-probe
    Version: 1.3.0-10.1
    Severity: serious
    Tags: patch
    X-Debbugs-Cc: juliank@ubuntu.com
    User: ubuntu-devel@lists.ubuntu.com
    Usertags: origin-ubuntu noble ubuntu-patch




    *** /tmp/tmp9u3imu66/bug_body

    In Ubuntu, the attached patch was applied to achieve the following:

    * Remove hardcoded libpcap0.8, libnet1 dependencies; shlibs adds right ones

    libpcap0.8 becomes libpcap0.8t64, hence it fails to install and the
    package is not binNMUable.

    Thanks for considering the patch.

    *** /tmp/tmp9u3imu66/dhcp-probe_1.3.0-10.1ubuntu1.debdiff
    diff -Nru dhcp-probe-1.3.0/debian/control dhcp-probe-1.3.0/debian/control
    --- dhcp-probe-1.3.0/debian/control 2018-04-03 14:19:19.000000000 +0200
    +++ dhcp-probe-1.3.0/debian/control 2024-03-23 20:16:10.000000000 +0100
    @@ -1,15 +1,14 @@
    Source: dhcp-probe
    Section: net
    Priority: optional
    -Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> -XSBC-Original-Maintainer: Laurent Guignard <lguignard.debian@gmail.com> +Maintainer: Laurent Guignard <lguignard.debian@gmail.com>
    Build-Depends: debhelper (>= 7), quilt, autotools-dev, libpcap-dev (>= 0.9), libnet1-dev (>= 1.1.2.1-3), dpkg-dev (>=1.15.4), dh-autoreconf
    Standards-Version: 3.9.2
    Homepage: http://www.net.princeton.edu/software/dhcp_probe/

    Package: dhcp-probe
    Architecture: any
    -Depends: ${shlibs:Depends}, ${misc:Depends}, ucf, libpcap0.8 (>= 0.9), libnet1 (>= 1.1.2.1-3), net-tools
    +Depends: ${shlibs:Depends}, ${misc:Depends}, ucf, net-tools
    Description: network DHCP or BootP server discover
    dhcp_probe attempts to discover DHCP and BootP servers on a directly-attached
    Ethernet network