Hello community, here is the log from the commit of package pam_passwdqc for openSUSE:Factory checked in at Fri Mar 5 11:53:59 CET 2010. -------- --- pam_passwdqc/pam_passwdqc.changes 2010-02-01 13:19:40.000000000 +0100 +++ /mounts/work_src_done/STABLE/pam_passwdqc/pam_passwdqc.changes 2010-03-04 16:11:31.000000000 +0100 @@ -1,0 +2,7 @@ +Thu Mar 4 16:10:07 CET 2010 - mc@suse.de + +- update to version 1.1.4 + * new library for password checking + * tools for password checking and password generation + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- pam_passwdqc-1.0.5.tar.bz2 New: ---- passwdqc-1.1.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pam_passwdqc.spec ++++++ --- /var/tmp/diff_new_pack.WlpiaL/_old 2010-03-05 11:53:38.000000000 +0100 +++ /var/tmp/diff_new_pack.WlpiaL/_new 2010-03-05 11:53:38.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package pam_passwdqc (Version 1.0.5) +# spec file for package pam_passwdqc (Version 1.1.4) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -24,12 +24,13 @@ License: BSD3c(or similar) ; Other uncritical OpenSource License ; Public Domain, Freeware Group: System/Libraries Requires: pam +Recommends: passwdqc Provides: pam-modules:/%_lib/security/pam_passwdqc.so AutoReqProv: on -Version: 1.0.5 -Release: 42 +Version: 1.1.4 +Release: 1 Summary: Simple Password Strength Checking Module -Source0: pam_passwdqc-1.0.5.tar.bz2 +Source0: passwdqc-1.1.4.tar.bz2 Source1: baselibs.conf Source50: dlopen.sh BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -44,10 +45,40 @@ it offers support for passphrases and can provide randomly generated ones. +%package -n libpasswdqc0 +License: BSD3c(or similar) ; Other uncritical OpenSource License ; Public Domain, Freeware +Summary: A Simple Password Strength Checking Library +Group: System/Libraries + +%description -n libpasswdqc0 +libpasswdqc is a simple password strength checking library. +In addition to checking regular passwords, it offers support for passphrases +and can provide randomly generated ones. + +%package -n passwdqc-devel +License: BSD3c(or similar) ; Other uncritical OpenSource License ; Public Domain, Freeware +Summary: Useful collection of routines for C and C++ programming +Group: Development/Libraries/C and C++ +Requires: libpasswdqc0 = %{version} + +%description -n passwdqc-devel +libpasswdqc is a simple password strength checking library. +In addition to checking regular passwords, it offers support for passphrases +and can provide randomly generated ones. + + +%package -n passwdqc +License: BSD3c(or similar) ; Other uncritical OpenSource License ; Public Domain, Freeware +Summary: Tools for Password Checking and Generation +Group: Productivity/Networking/Diagnostic + +%description -n passwdqc +The pwqcheck program checks passphrase quality using the libpasswdqc library. +The pwqgen program generates a random passphrase using the libpasswdqc library. %prep -%setup +%setup -n passwdqc-1.1.4 %build EXTRA_CFLAGS="-fno-strict-aliasing" @@ -55,37 +86,48 @@ %ifnarch ia64 EXTRA_CFLAGS="$EXTRA_CFLAGS -Wa,--noexecstack" %endif - make CFLAGS="$RPM_OPT_FLAGS $EXTRA_CFLAGS -fPIC -DHAVE_SHADOW -DLINUX_PAM" + make CFLAGS="$RPM_OPT_FLAGS $EXTRA_CFLAGS -fPIC -DHAVE_SHADOW -DLINUX_PAM" SHARED_LIBDIR="/%{_lib}" DEVEL_LIBDIR="/usr/%{_lib}" SECUREDIR="/%{_lib}/security" %install -mkdir -p $RPM_BUILD_ROOT/%{_lib}/security/ -make DESTDIR=$RPM_BUILD_ROOT install -# -# Remove stuff we don't wish to have now: -# -rm -rf $RPM_BUILD_ROOT/usr/{include,lib} -rm -rf $RPM_BUILD_ROOT/%{_lib}/security/*.la -# -# On 64bit archs, we need to move same libraries ourself: -# -if [ %_lib = lib64 ]; then - mv $RPM_BUILD_ROOT/lib/security/* $RPM_BUILD_ROOT/%{_lib}/security/ -fi +make DESTDIR=$RPM_BUILD_ROOT SHARED_LIBDIR="/%{_lib}" DEVEL_LIBDIR="/%{_libdir}" SECUREDIR="/%{_lib}/security" install + +%check # Check for module problems. Specifically, check that every module we just # installed can actually be loaded by a minimal PAM-aware application. +export LD_LIBRARY_PATH="$RPM_BUILD_ROOT/%{_lib}/" for module in $RPM_BUILD_ROOT/%{_lib}/security/pam*.so ; do if ! sh $RPM_SOURCE_DIR/dlopen.sh -lpam -ldl ${module} ; then exit 1 fi done +%post -n libpasswdqc0 -p /sbin/ldconfig + +%postun -n libpasswdqc0 -p /sbin/ldconfig + %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,755) -%doc INTERNALS LICENSE PLATFORMS README %attr(755,root,root) /%{_lib}/security/pam_*.so %attr(644,root,root) %doc %{_mandir}/man8/pam_*.8.* +%files -n libpasswdqc0 +%defattr(-,root,root) +/%{_lib}/libpasswdqc*.so.* + +%files -n passwdqc-devel +%defattr(-,root,root) +%{_libdir}/libpasswdqc*.so +%{_includedir}/* + +%files -n passwdqc +%defattr(-,root,root) +%attr(644,root,root) %doc %{_mandir}/man1/* +%attr(644,root,root) %doc %{_mandir}/man5/* +%doc INTERNALS LICENSE PLATFORMS README +%config(noreplace) %{_sysconfdir}/*.conf +%{_bindir}/* + %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.WlpiaL/_old 2010-03-05 11:53:38.000000000 +0100 +++ /var/tmp/diff_new_pack.WlpiaL/_new 2010-03-05 11:53:38.000000000 +0100 @@ -1,2 +1,3 @@ pam_passwdqc supplements "packageand(pam_passwdqc:pam-<targettype>)" +libpasswdqc1 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org