Accepting request 133316 from home:vuntz:branches:GNOME:Factory
Cleanup + update to 1.2.0 OBS-URL: https://build.opensuse.org/request/show/133316 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libpwquality?expand=0&rev=2
This commit is contained in:
parent
53fbffbe9f
commit
ed0ceb440c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1aad05fd8801165aa5c14badf06d3b8c94b2f4213016e0f09d73a3973c41db93
|
|
||||||
size 358017
|
|
3
libpwquality-1.2.0.tar.bz2
Normal file
3
libpwquality-1.2.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:32cfbe302ade7e7271ed44bcae8aae3b6b55ca56ff642c4ece1752ffaa8003ee
|
||||||
|
size 361427
|
@ -1,5 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 7 21:31:36 UTC 2012 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Cleanup for inclusion in Factory.
|
||||||
|
- Update to version 1.2.0:
|
||||||
|
+ Add maxsequence check for too long monotonic character
|
||||||
|
sequence.
|
||||||
|
+ Clarified alternative licensing to GPLv2+.
|
||||||
|
+ Add local_users_only option to skip the pwquality checks for
|
||||||
|
non-locals.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 7 17:02:52 UTC 2012 - badshah400@gmail.com
|
Thu Jun 7 17:02:52 UTC 2012 - badshah400@gmail.com
|
||||||
|
|
||||||
- Initial build (version 1.1.0).
|
- Initial build (version 1.1.0).
|
||||||
|
|
||||||
|
@ -16,115 +16,133 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define _moduledir /%{_lib}/security
|
%define _pammoduledir /%{_lib}/security
|
||||||
%define _secconfdir %{_sysconfdir}/security
|
%define _secconfdir %{_sysconfdir}/security
|
||||||
|
|
||||||
Name: libpwquality
|
Name: libpwquality
|
||||||
Version: 1.1.0
|
Version: 1.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for password quality checking and generating random passwords
|
Summary: Library for password quality checking and generating random passwords
|
||||||
License: BSD-3-Clause or GPL-2.0
|
License: BSD-3-Clause or GPL-2.0+
|
||||||
Group: System/Base
|
Group: System/Libraries
|
||||||
Url: https://fedorahosted.org/libpwquality/
|
Url: https://fedorahosted.org/libpwquality/
|
||||||
Source: https://fedorahosted.org/releases/l/i/%{name}/%{name}-%{version}.tar.bz2
|
Source: https://fedorahosted.org/releases/l/i/%{name}/%{name}-%{version}.tar.bz2
|
||||||
BuildRequires: cracklib-devel
|
BuildRequires: cracklib-devel
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
|
# Needed for pkgconfig() Provides
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
Requires: cracklib-dict-full >= 2.8
|
|
||||||
Requires: pam
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libpwquality is a library for password quality checks and generation
|
libpwquality is a library for password quality checks and generation
|
||||||
of random passwords that pass the checks.
|
of random passwords that pass the checks.
|
||||||
This library uses the cracklib and cracklib dictionaries
|
|
||||||
to perform some of the checks.
|
%package -n libpwquality1
|
||||||
|
Summary: Library for password quality checking and generating random passwords
|
||||||
|
Group: System/Libraries
|
||||||
|
Requires: cracklib-dict-full >= 2.8
|
||||||
|
Recommends: %{name}-lang
|
||||||
|
# To make lang package installable
|
||||||
|
Provides: %{name}
|
||||||
|
|
||||||
|
%description -n libpwquality1
|
||||||
|
libpwquality is a library for password quality checks and generation
|
||||||
|
of random passwords that pass the checks.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Summary: Library for password quality checking -- Tools
|
||||||
|
Group: Productivity/Security
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
libpwquality is a library for password quality checks and generation
|
||||||
|
of random passwords that pass the checks.
|
||||||
|
|
||||||
|
This package contains simple tools that use libpwquality.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Files needed for developing PAM-aware applications and modules for PAM
|
Summary: Library for password quality checking -- Development Files
|
||||||
Group: Development/Libraries/Other
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libpwquality = %{version}
|
Requires: libpwquality1 = %{version}
|
||||||
Requires: pkg-config
|
Requires: pkg-config
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
libpwquality is a library for password quality checks and generation
|
libpwquality is a library for password quality checks and generation
|
||||||
of random passwords that pass the checks.
|
of random passwords that pass the checks.
|
||||||
This library uses the cracklib and cracklib dictionaries
|
|
||||||
to perform some of the checks.
|
|
||||||
|
|
||||||
This package provides files needed for development of applications
|
This package provides files needed for development of applications
|
||||||
using the libpwquality library.
|
using the libpwquality library.
|
||||||
|
|
||||||
See the pwquality.h header file for the API.
|
%package -n pam_pwquality
|
||||||
|
Summary: PAM module to disallow weak new passwords
|
||||||
|
Group: System/Libraries
|
||||||
|
Requires: pam
|
||||||
|
|
||||||
|
%description -n pam_pwquality
|
||||||
|
The pam_pwquality PAM module can be used instead of pam_cracklib to
|
||||||
|
disallow weak new passwords when user's login password is changed.
|
||||||
|
|
||||||
%package -n python-pwquality
|
%package -n python-pwquality
|
||||||
Summary: Python bindings for the libpwquality library
|
Summary: Library for password quality checking -- Python bindings
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/Python
|
||||||
Requires: libpwquality = %{version}
|
|
||||||
|
|
||||||
%description -n python-pwquality
|
%description -n python-pwquality
|
||||||
libpwquality is a library for password quality checks and generation
|
libpwquality is a library for password quality checks and generation
|
||||||
of random passwords that pass the checks.
|
of random passwords that pass the checks.
|
||||||
This library uses the cracklib and cracklib dictionaries
|
|
||||||
to perform some of the checks.
|
|
||||||
|
|
||||||
This package provides Python bindings for the libpwquality library.
|
This package provides Python bindings for the libpwquality library.
|
||||||
These bindings can be used for easy password quality checking and
|
|
||||||
generation of random pronounceable passwords from Python
|
|
||||||
applications.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--with-securedir=/%{_lib}/security \
|
--disable-static \
|
||||||
--with-pythonsitedir=%{python_sitearch} \
|
--with-securedir=%{_pammoduledir} \
|
||||||
--disable-static
|
--with-pythonsitedir=%{python_sitearch}
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
|
%make_install
|
||||||
|
rm %{buildroot}%{_libdir}/*.la
|
||||||
pushd $RPM_BUILD_ROOT%{_libdir}
|
rm %{buildroot}%{_pammoduledir}/*.la
|
||||||
mv libpwquality.so.* $RPM_BUILD_ROOT/%{_lib}/
|
|
||||||
ln -sf ../../%{_lib}/libpwquality.so.*.* libpwquality.so
|
|
||||||
popd
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_moduledir}/*.la
|
|
||||||
|
|
||||||
%find_lang %{name} %{?no_lang_C}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -n libpwquality1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -n libpwquality1 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files lang -f libpwquality.lang
|
%files -n libpwquality1
|
||||||
|
%defattr(-,root,root)
|
||||||
%files
|
%doc AUTHORS COPYING NEWS README
|
||||||
|
%{_libdir}/libpwquality.so.*
|
||||||
|
%config(noreplace) %{_secconfdir}/pwquality.conf
|
||||||
|
%{_mandir}/man5/pwquality.conf.5%{?ext_man}
|
||||||
|
|
||||||
|
%files tools
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING README NEWS AUTHORS
|
|
||||||
%{_bindir}/pwmake
|
%{_bindir}/pwmake
|
||||||
%{_bindir}/pwscore
|
%{_bindir}/pwscore
|
||||||
%{_moduledir}/pam_pwquality.so
|
%{_mandir}/man1/pwmake.1%{?ext_man}
|
||||||
/%{_lib}/libpwquality.so.*
|
%{_mandir}/man1/pwscore.1%{?ext_man}
|
||||||
%config(noreplace) %{_secconfdir}/pwquality.conf
|
|
||||||
%{_mandir}/man1/*
|
|
||||||
%{_mandir}/man5/*
|
|
||||||
%{_mandir}/man8/*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/pwquality.h
|
%{_includedir}/pwquality.h
|
||||||
%{_libdir}/libpwquality.so
|
%{_libdir}/libpwquality.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/pwquality.pc
|
||||||
|
|
||||||
|
%files -n pam_pwquality
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_pammoduledir}/pam_pwquality.so
|
||||||
|
%{_mandir}/man8/pam_pwquality.8%{?ext_man}
|
||||||
|
|
||||||
%files -n python-pwquality
|
%files -n python-pwquality
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python_sitearch}/pwquality.so
|
%{python_sitearch}/pwquality.so
|
||||||
|
|
||||||
|
%files lang -f libpwquality.lang
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user