SPECS: pwdutils.spec - optional bioapi support

qboosh qboosh at pld-linux.org
Wed Aug 9 23:03:48 CEST 2006


Author: qboosh                       Date: Wed Aug  9 21:03:48 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- optional bioapi support

---- Files affected:
SPECS:
   pwdutils.spec (1.75 -> 1.76) 

---- Diffs:

================================================================
Index: SPECS/pwdutils.spec
diff -u SPECS/pwdutils.spec:1.75 SPECS/pwdutils.spec:1.76
--- SPECS/pwdutils.spec:1.75	Wed Aug  9 20:02:42 2006
+++ SPECS/pwdutils.spec	Wed Aug  9 23:03:43 2006
@@ -1,19 +1,19 @@
 # $Revision$, $Date$
 # TODO:
 # - review default login.defs
-# - BioAPI support
 #
 # Conditional build:
 %bcond_without	audit		# don't build audit log plugin
 %bcond_without	ldap		# build without LDAP support
 %bcond_without	selinux		# build without SELinux support
+%bcond_with	bioapi		# with BioAPI support in passwd
 %bcond_with	gnutls		# use GnuTLS instead of OpenSSL
 #
 Summary:	Utilities to manage the passwd and shadow user information
 Summary(pl):	Narzędzia do zarządzania informacjami o użytkownikach z passwd i shadow
 Name:		pwdutils
 Version:	3.1.0
-Release:	0.2
+Release:	0.3
 License:	GPL v2
 Group:		Applications/System
 Source0:	ftp://ftp.kernel.org/pub/linux/utils/net/NIS/%{name}-%{version}.tar.bz2
@@ -35,6 +35,7 @@
 %{?with_audit:BuildRequires:	audit-libs-devel}
 BuildRequires:	autoconf
 BuildRequires:	automake >= 1:1.7
+%{?with_bioapi:BuildRequires:	bioapi-devel}
 BuildRequires:	gcc >= 5:3.2
 BuildRequires:	gettext-devel
 %{?with_gnutls:BuildRequires:	gnutls-devel >= 1.0.0}
@@ -167,6 +168,8 @@
 %{__autoheader}
 %{__automake}
 %configure \
+	%{?with_bioapi:CPPFLAGS="-I/usr/include/bioapi"} \
+	%{!?with_bioapi:ac_cv_header_bioapi_h=no ac_cv_lib_bioapi100_BioAPI_Init=no} \
 	%{?with_audit:--enable-audit-plugin} \
 	%{!?with_gnutls:--disable-gnutls} \
 	--%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
@@ -305,6 +308,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.76  2006/08/09 21:03:43  qboosh
+- optional bioapi support
+
 Revision 1.75  2006/08/09 18:02:42  qboosh
 - updated pl.po-update patch, release 0.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/pwdutils.spec?r1=1.75&r2=1.76&f=u



More information about the pld-cvs-commit mailing list