From 532306bef58925633792fe1a2487c4b5a575430a2345cf24f1a349875737a610 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 7 Dec 2022 22:10:02 +0000 Subject: [PATCH 1/2] - update to 2.9.8: * rules: Drop using register keyword * add exec perms * translation updates * Use what's in the build environment and use a current autoconf * util/Makefile.am: fix link with lintl * Force grep to treat the input as text when formatting word files OBS-URL: https://build.opensuse.org/package/show/Base:System/cracklib?expand=0&rev=58 --- cracklib-2.9.7.tar.bz2 | 3 --- cracklib-2.9.8.tar.bz2 | 3 +++ cracklib.changes | 11 +++++++++++ cracklib.spec | 4 ++-- 4 files changed, 16 insertions(+), 5 deletions(-) delete mode 100644 cracklib-2.9.7.tar.bz2 create mode 100644 cracklib-2.9.8.tar.bz2 diff --git a/cracklib-2.9.7.tar.bz2 b/cracklib-2.9.7.tar.bz2 deleted file mode 100644 index 86c43f5..0000000 --- a/cracklib-2.9.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fe82098509e4d60377b998662facf058dc405864a8947956718857dbb4bc35e6 -size 603630 diff --git a/cracklib-2.9.8.tar.bz2 b/cracklib-2.9.8.tar.bz2 new file mode 100644 index 0000000..8c185e0 --- /dev/null +++ b/cracklib-2.9.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f9d34385ea3aa7cd7c07fa388dc25810aea9d3c33e260c713a3a5873d70e386 +size 613017 diff --git a/cracklib.changes b/cracklib.changes index a20df21..b7a0601 100644 --- a/cracklib.changes +++ b/cracklib.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Dec 7 22:09:01 UTC 2022 - Dirk Müller + +- update to 2.9.8: + * rules: Drop using register keyword + * add exec perms + * translation updates + * Use what's in the build environment and use a current autoconf + * util/Makefile.am: fix link with lintl + * Force grep to treat the input as text when formatting word files + ------------------------------------------------------------------- Thu Nov 4 13:45:06 UTC 2021 - pgajdos@suse.com diff --git a/cracklib.spec b/cracklib.spec index f3a8174..5ee4321 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -1,7 +1,7 @@ # # spec file for package cracklib # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: cracklib -Version: 2.9.7 +Version: 2.9.8 Release: 0 Summary: Library to crack passwords using dictionaries License: LGPL-2.1-only From 664d6861cda4ba0217fc3799816722ea3ab2c30b7e7da8a3f8c738c6ef618be1 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 7 Dec 2022 22:11:00 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/Base:System/cracklib?expand=0&rev=59 --- cracklib.spec | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/cracklib.spec b/cracklib.spec index 5ee4321..4939267 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -22,7 +22,7 @@ Release: 0 Summary: Library to crack passwords using dictionaries License: LGPL-2.1-only Group: Development/Libraries/C and C++ -URL: http://sourceforge.net/projects/cracklib +URL: https://github.com/cracklib/cracklib Source: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.bz2 Source2: baselibs.conf # PATCH-FIX-OPENSUSE (should be upstreamed) @@ -105,9 +105,9 @@ sed "s,%{_libexecdir}/cracklib_dict,%{_datadir}/cracklib/pw_dict,g" lib/crack.h ln -s cracklib-format %{buildroot}/%{_sbindir}/mkdict ln -s cracklib-packer %{buildroot}/%{_sbindir}/packer rm -f %{buildroot}/%{_datadir}/cracklib/cracklib-small -ln -sf %{_datadir}/cracklib/pw_dict.hwm %{buildroot}/usr/lib/cracklib_dict.hwm -ln -sf %{_datadir}/cracklib/pw_dict.pwd %{buildroot}/usr/lib/cracklib_dict.pwd -ln -sf %{_datadir}/cracklib/pw_dict.pwi %{buildroot}/usr/lib/cracklib_dict.pwi +ln -sf %{_datadir}/cracklib/pw_dict.hwm %{buildroot}%{_prefix}/lib/cracklib_dict.hwm +ln -sf %{_datadir}/cracklib/pw_dict.pwd %{buildroot}%{_prefix}/lib/cracklib_dict.pwd +ln -sf %{_datadir}/cracklib/pw_dict.pwi %{buildroot}%{_prefix}/lib/cracklib_dict.pwi # # using zip'ed dict takes too long for a check. But the support # for this is still in the lib. @@ -120,7 +120,7 @@ nm -C -D %{buildroot}%{_libdir}/libcrack.so.2 | grep ' T ' %endif %check -sed -i 's:\(util/cracklib-check\):\1 %{buildroot}/usr/lib/cracklib_dict:' Makefile +sed -i 's:\(util/cracklib-check\):\1 %{buildroot}%{_prefix}/lib/cracklib_dict:' Makefile %make_build test %post -n libcrack2 -p /sbin/ldconfig @@ -132,7 +132,8 @@ sed -i 's:\(util/cracklib-check\):\1 %{buildroot}/usr/lib/cracklib_dict:' Makefi %files -f %{name}.lang %license COPYING.LIB -%doc README README-WORDS NEWS README-LICENSE README-DAWG AUTHORS +%license README-LICENSE +%doc README README-WORDS NEWS README-DAWG AUTHORS %{_sbindir}/create-cracklib-dict %{_sbindir}/mkdict %{_sbindir}/packer @@ -142,9 +143,9 @@ sed -i 's:\(util/cracklib-check\):\1 %{buildroot}/usr/lib/cracklib_dict:' Makefi %{_sbindir}/cracklib-unpacker %dir %{_datadir}/cracklib %{_datadir}/cracklib/cracklib.magic -/usr/lib/cracklib_dict.hwm -/usr/lib/cracklib_dict.pwd -/usr/lib/cracklib_dict.pwi +%{_prefix}/lib/cracklib_dict.hwm +%{_prefix}/lib/cracklib_dict.pwd +%{_prefix}/lib/cracklib_dict.pwi %files devel %{_includedir}/crack.h