- updated to 1.4.0 master auto/th/passwdqc-1.4.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 5 Jun 2020 17:03:06 +0000 (19:03 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Fri, 5 Jun 2020 17:03:06 +0000 (19:03 +0200)
passwdqc.spec

index 9a69b56e4a46cef4552b98f2d7076873ab5b2e20..5ce4303cd0c24ef5e77660706fd2c23fa8d02db4 100644 (file)
@@ -1,13 +1,18 @@
+#
+# Conditional build:
+%bcond_without audit   # libaudit support in PAM (disable for use with PAM without audit support)
+
 Summary:       A password/passphrase strength checking and policy enforcement toolset
 Summary(pl.UTF-8):     Narzędzia do sprawdzania i wymuszania polityki jakości haseł
 Name:          passwdqc
-Version:       1.3.1
+Version:       1.4.0
 Release:       1
 License:       BSD
 Group:         Base
-Source0:       http://www.openwall.com/passwdqc/%{name}-%{version}.tar.gz
-# Source0-md5: 3878b57bcd3fdbcf3d4b362dbc6228b9
-URL:           http://www.openwall.com/passwdqc/
+Source0:       https://www.openwall.com/passwdqc/%{name}-%{version}.tar.gz
+# Source0-md5: 204de4ff2e95095272bba1b0cbab1579
+URL:           https://www.openwall.com/passwdqc/
+%{?with_audit:BuildRequires:   audit-libs-devel}
 BuildRequires: pam-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -75,7 +80,7 @@ opcjonalne i łatwo (re)konfigurowalne.
 %build
 %{__make} \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall -W -DLINUX_PAM" \
+       CFLAGS="%{rpmcflags} %{rpmcppflags} -Wall -W -DLINUX_PAM %{?with_audit:-DHAVE_LIBAUDIT}" \
        LDFLAGS="%{rpmldflags}"
 
 %install
This page took 0.21693 seconds and 4 git commands to generate.