Source: hydra Version: 9.1-1 Severity: minor User: [email protected] Usertags: ftcbfs Tags: patch Control: forwarded -1 https://github.com/vanhauser-thc/thc-hydra/issues/607
Hi, I took a look into what it would take to get Hydra to cross-build from source, and there are two main issues. The first is that it's using the build system compiler by default instead of the host; I've attached a patch for this. The second is that Hydra's custom build system uses the wrong pkg- config and doesn't find GTK. I've filed an upstream issue for them to add a mechanism to specify the right pkg-config. A third issue is that the make_xhydra.sh script doesn't pass along the top-level configure arguments needed for it to cross-build, but perhaps this can be worked around by building the xhydra directory with its own call to dh_auto_configure/build. -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing'), (2, 'unstable'), (1, 'testing-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-3-amd64 (SMP w/2 CPU threads) Kernel taint flags: TAINT_USER, TAINT_FIRMWARE_WORKAROUND Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
diff -u -r hydra-9.1.orig/debian/rules hydra-9.1/debian/rules --- hydra-9.1.orig/debian/rules 2021-02-18 13:55:49.040956864 -0500 +++ hydra-9.1/debian/rules 2021-02-18 13:56:35.680809197 -0500 @@ -1,11 +1,11 @@ #!/usr/bin/make -f - +include /usr/share/dpkg/buildtools.mk #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all INSTALL := install -m 755 %: - dh $@ + CC=$(CC) dh $@ override_dh_auto_install: $(INSTALL) hydra $(CURDIR)/debian/hydra/usr/bin
signature.asc
Description: This is a digitally signed message part

