Package: hashrat
Version: 1.8.1-2
Severity: wishlist
Tags: patch

Dear Maintainer,

The configure script needs --enable-xattr in order to gain support for
filesystem Extended Attributes.

Attached is a patch which updates debian/rules to do just that.

I'm uncertain whether compiling xattr is Linux-only, perhaps this change
would cause FTBFS on other kernels, however a comment in configure
describes this option being used on IRIX, so I'm guessing it's portable.

Thanks!

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages hashrat depends on:
ii  libc6  2.23-4

hashrat recommends no packages.

hashrat suggests no packages.

-- no debconf information

-- 
Gerald Turner <gtur...@unzane.com>        Encrypted mail preferred!
OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80  3858 EC94 2276 FDB8 716D
From 38434efe217b9e878b5f0378600e1d9cdcee47cb Mon Sep 17 00:00:00 2001
From: Gerald Turner <gtur...@unzane.com>
Date: Tue, 23 Aug 2016 16:39:42 -0700
Subject: [PATCH] Configure with --enable-xattr, enabling filesystem Extended
 Attributes support.

---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index 6e24fef..46833af 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,5 +6,8 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 %:
 	dh $@  --with autoreconf
 
+override_dh_auto_configure:
+	dh_auto_configure -- --enable-xattr
+
 # Disable the tests temporarily.
 override_dh_auto_test:
-- 
2.8.1

Attachment: signature.asc
Description: PGP signature

Reply via email to