Accepting request 541257 from Base:System

OBS-URL: https://build.opensuse.org/request/show/541257
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cracklib?expand=0&rev=57
This commit is contained in:
Dominique Leuenberger 2017-11-17 09:36:18 +00:00 committed by Git OBS Bridge
commit ede1923686
4 changed files with 19 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59ab0138bc8cf90cccb8509b6969a024d5e58d2d02bcbdccbb9ba9b88be3fa33
size 622499

3
cracklib-2.9.6.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:17cf76943de272fd579ed831a1fd85339b393f8d00bf9e0d17c91e972f583343
size 642402

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sat Nov 11 04:46:42 UTC 2017 - aavindraa@gmail.com
- Update to 2.9.6
* fix issue with sort and locale
* some particularly bad cases to the cracklib small dictionary
* updates to cracklib-words (adds a bunch of other dictionary lists)
* migration to github
- run spec-cleaner
-------------------------------------------------------------------
Mon Dec 12 16:31:23 UTC 2016 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package cracklib
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,13 +17,13 @@
Name: cracklib
Version: 2.9.5
Version: 2.9.6
Release: 0
Summary: Library to crack passwords using dictionaries
License: LGPL-2.1
Group: System/Libraries
Url: http://sourceforge.net/projects/cracklib
Source: http://prdownloads.sourceforge.net/cracklib/cracklib-%{version}.tar.gz
Source: https://github.com/%{name}/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
Source2: baselibs.conf
# PATCH-FIX-OPENSUSE (should be upstreamed)
# Remove support for broken 64bit indexes from magic entry [bnc#106007]
@ -36,12 +36,11 @@ BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gzip
BuildRequires: libtool
BuildRequires: zlib-devel
Requires: cracklib-dict
%if ! 0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
BuildRequires: zlib-devel
Requires: cracklib-dict
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
CrackLib tests passwords to determine whether they match
@ -107,7 +106,7 @@ make %{?_smp_mflags}
%install
mkdir -p %{buildroot}%{_prefix}/lib
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%make_install
# libtool is broken by design, remove this *.la files ...
rm %{buildroot}/%{_libdir}/libcrack.la
# set executable
@ -137,16 +136,13 @@ nm -C -D %{buildroot}%{_libdir}/libcrack.so.2 | grep ' T '
make %{?_smp_mflags} check
%post -n libcrack2 -p /sbin/ldconfig
%postun -n libcrack2 -p /sbin/ldconfig
%files -n libcrack2
%defattr(-,root,root)
%{_libdir}/libcrack.so.2
%{_libdir}/libcrack.so.2.*
%files -f %{name}.lang
%defattr(-,root,root)
%doc README README-WORDS NEWS README-LICENSE README-DAWG AUTHORS COPYING.LIB
%{_sbindir}/create-cracklib-dict
%{_sbindir}/mkdict
@ -162,13 +158,11 @@ make %{?_smp_mflags} check
%{_libexecdir}/cracklib_dict.pwi
%files devel
%defattr(644,root,root,755)
%{_includedir}/crack.h
%{_includedir}/packer.h
%{_libdir}/libcrack.so
%files dict-small
%defattr(-,root,root)
%{_datadir}/cracklib/pw_dict.hwm
%{_datadir}/cracklib/pw_dict.pwd
%{_datadir}/cracklib/pw_dict.pwi