]> git.pld-linux.org Git - packages/cryptsetup.git/commitdiff
- added passwdqc bcond (mutually exclusive with pwquality)
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 5 Nov 2015 20:45:24 +0000 (21:45 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 5 Nov 2015 20:45:24 +0000 (21:45 +0100)
cryptsetup.spec

index b1f7342006d618da0d17eb283593e00941779fcd..4babf40cfa228260b8974f68d728cfe9f2604933 100644 (file)
@@ -2,7 +2,8 @@
 # Conditonal build:
 %bcond_with    initrd          # don't build initrd version
 %bcond_with    dietlibc        # build initrd version with static glibc instead of dietlibc
-%bcond_with    pwquality       # password quality checking
+%bcond_with    passwdqc        # password quality checking via libpasswdqc [conflicts with pwquality]
+%bcond_with    pwquality       # password quality checking via libpwquality [conflicts with passwdqc]
 %bcond_without python          # Python binding
 %bcond_without tests           # "make check" run
 
@@ -28,6 +29,7 @@ BuildRequires:        libselinux-devel
 BuildRequires: libsepol-devel
 BuildRequires: libtool >= 2:2.0
 BuildRequires: libuuid-devel
+%{?with_passwdqc:BuildRequires:        passwdqc-devel}
 BuildRequires: pkgconfig
 BuildRequires: popt-devel >= 1.7
 %if %{with python}
@@ -203,8 +205,9 @@ mv src/cryptsetup cryptsetup-initrd
        --enable-udev \
        --disable-silent-rules \
        --enable-static \
-       %{?with_python:--enable-python} \
-       %{?with_pwquality:--with-pwquality}
+       %{?with_passwdqc:--enable-passwdqc=/etc/passwdqc.conf} \
+       %{?with_pwquality:--enable-pwquality} \
+       %{?with_python:--enable-python}
 %{__make}
 
 %{?with_tests:%{__make} check}
This page took 0.203566 seconds and 4 git commands to generate.