Source: libpcap Version: 1.7.4-2 Severity: normal Tags: patch Hello,
libpcap can be made cross-buildable easily. The only issue is determining the packet capture interface, which configure only wants to do on a live system. The attached patch hardcodes the results to fix this. Samuel -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.0 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) -- Samuel <y> le y est un animal discret se logeant facilement dans un terminal *** c has changed the topic on channel #ens-mim to ne pas jeter de cacahuetes aux ys, svp -+- #ens-mim - n'oubliez pas le guide -+-
--- debian/rules.original 2016-02-28 15:10:58.101215237 +0100 +++ debian/rules 2016-02-28 15:15:20.599630184 +0100 @@ -1,5 +1,17 @@ #!/usr/bin/make -f +DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + +ifeq ($(DEB_HOST_ARCH_OS),linux) +export with_pcap=linux +endif +ifeq ($(DEB_HOST_ARCH_OS),kfreebsd) +export with_pcap=bpf +endif +ifeq ($(DEB_HOST_ARCH_OS),hurd) +export with_pcap=hurd +endif + %: dh $@ --with autoreconf