From a4f051a3efcdb0ad1f4d76762313d66619534331d21f43b7f9d7564378b75192 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 23 Apr 2007 21:15:46 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cracklib?expand=0&rev=3 --- ASSurnames.gz | 3 -- Congress.gz | 3 -- Domains.gz | 3 -- Dosref.gz | 3 -- Family-Names.gz | 3 -- Ftpsites.gz | 3 -- Given-Names.gz | 3 -- Jargon.gz | 3 -- LCarrol.gz | 3 -- Movies.gz | 3 -- Paradise.Lost.gz | 3 -- Python.gz | 3 -- Trek.gz | 3 -- cartoon.gz | 3 -- common-passwords.txt.gz | 3 -- cracklib-words.gz | 3 -- cracklib.changes | 7 ++++ cracklib.spec | 78 +++++++++++++++++------------------------ es-wordlist.gz | 3 -- etc-hosts.gz | 3 -- famous.gz | 3 -- fast-names.gz | 3 -- female-names.gz | 3 -- male-names.gz | 3 -- myths-legends.gz | 3 -- names.french.gz | 3 -- names.hp.gz | 3 -- other-names.gz | 3 -- pt_BR-wordlist.gz | 3 -- sf.gz | 3 -- shakespeare.gz | 3 -- surnames.finnish.gz | 3 -- 32 files changed, 40 insertions(+), 135 deletions(-) delete mode 100644 ASSurnames.gz delete mode 100644 Congress.gz delete mode 100644 Domains.gz delete mode 100644 Dosref.gz delete mode 100644 Family-Names.gz delete mode 100644 Ftpsites.gz delete mode 100644 Given-Names.gz delete mode 100644 Jargon.gz delete mode 100644 LCarrol.gz delete mode 100644 Movies.gz delete mode 100644 Paradise.Lost.gz delete mode 100644 Python.gz delete mode 100644 Trek.gz delete mode 100644 cartoon.gz delete mode 100644 common-passwords.txt.gz delete mode 100644 cracklib-words.gz delete mode 100644 es-wordlist.gz delete mode 100644 etc-hosts.gz delete mode 100644 famous.gz delete mode 100644 fast-names.gz delete mode 100644 female-names.gz delete mode 100644 male-names.gz delete mode 100644 myths-legends.gz delete mode 100644 names.french.gz delete mode 100644 names.hp.gz delete mode 100644 other-names.gz delete mode 100644 pt_BR-wordlist.gz delete mode 100644 sf.gz delete mode 100644 shakespeare.gz delete mode 100644 surnames.finnish.gz diff --git a/ASSurnames.gz b/ASSurnames.gz deleted file mode 100644 index 6ad983e..0000000 --- a/ASSurnames.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12c5c66b9e3711f96ab7f82a8a36183d8955c883a65e22d1e1b1dc2d75da0e2a -size 678 diff --git a/Congress.gz b/Congress.gz deleted file mode 100644 index 6221fc3..0000000 --- a/Congress.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a12ebc19e42d6db6662c89afa2cd1d07646cad4c80b7d2fc201b659a0bb42cb5 -size 2501 diff --git a/Domains.gz b/Domains.gz deleted file mode 100644 index e1eba40..0000000 --- a/Domains.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0460d732d45093f3658612cf1190e84611f2176e8f6d841eec02ab3909114a97 -size 1617 diff --git a/Dosref.gz b/Dosref.gz deleted file mode 100644 index a5c1ba3..0000000 --- a/Dosref.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:23a1e78ac3e64a4c4c77548a3fb0be22d93e405160aa29f9bf0eaa4d30b12622 -size 2074 diff --git a/Family-Names.gz b/Family-Names.gz deleted file mode 100644 index 29b6c75..0000000 --- a/Family-Names.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f32ae4d12fcfbba4e6e71d55b3de1d2328d8b0646a30199a66846211fd404621 -size 46264 diff --git a/Ftpsites.gz b/Ftpsites.gz deleted file mode 100644 index aee2986..0000000 --- a/Ftpsites.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ac1dea9f1f6bc5bdab2dbea02245a0bcd53239219280a7319e650022417a3459 -size 2653 diff --git a/Given-Names.gz b/Given-Names.gz deleted file mode 100644 index 9d13252..0000000 --- a/Given-Names.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1799d121010e5349d2aa6965d85526ebdb65465180d471f96fa470cfae661932 -size 23343 diff --git a/Jargon.gz b/Jargon.gz deleted file mode 100644 index fbdb1a6..0000000 --- a/Jargon.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7a3df73e01b47eaf181b978404231bdcfb61dd7c30becbc280412ab7af6d2ecc -size 32363 diff --git a/LCarrol.gz b/LCarrol.gz deleted file mode 100644 index a940886..0000000 --- a/LCarrol.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b1d29407f502b3258da15f60694463efc24bab5f2eedfd53e8805f30615bf93c -size 7049 diff --git a/Movies.gz b/Movies.gz deleted file mode 100644 index 05e1b4b..0000000 --- a/Movies.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ca9c73e2a2e6a7aa4dc4a892ffc38a584e5e805c854eef95ac17c775d587ee29 -size 116258 diff --git a/Paradise.Lost.gz b/Paradise.Lost.gz deleted file mode 100644 index 016b97c..0000000 --- a/Paradise.Lost.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4b7693510c87f17f5e3950969e34fcb0be2eb23a92f0a0387091fae6be8b47a6 -size 18486 diff --git a/Python.gz b/Python.gz deleted file mode 100644 index 7f86f16..0000000 --- a/Python.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d59a1ba926281f2f501f95197d41d3e54949fc31004e0e9b991cc904098e059b -size 12138 diff --git a/Trek.gz b/Trek.gz deleted file mode 100644 index 36fad05..0000000 --- a/Trek.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9ff5de76721cdab66ebc2c0ee1d6339f3b0679b7a24ef834fa8c554cb987cb3f -size 2081 diff --git a/cartoon.gz b/cartoon.gz deleted file mode 100644 index 7ac5f17..0000000 --- a/cartoon.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:737440c7d3fd652f8c1868f1f1f1bd022751782c3c4694766d534abd4884a9ca -size 668 diff --git a/common-passwords.txt.gz b/common-passwords.txt.gz deleted file mode 100644 index eb36636..0000000 --- a/common-passwords.txt.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:23c62c447cf5f0473b149661f3726eb54f2e3af19b32bc92589e010cefffecd9 -size 2792 diff --git a/cracklib-words.gz b/cracklib-words.gz deleted file mode 100644 index 0b3645c..0000000 --- a/cracklib-words.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:59b684a93ba98fa1aae1006762b25d06c2e0e51d84f61ceff6dc1fbc0b6dc374 -size 4559371 diff --git a/cracklib.changes b/cracklib.changes index dbf88d1..50393aa 100644 --- a/cracklib.changes +++ b/cracklib.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Apr 23 11:57:08 CEST 2007 - mc@suse.de + +- added cracklib-dict-small and splitted the full dictionary + into a seperate package. [#265733] +- cracklib requires cracklib-dict + ------------------------------------------------------------------- Mon Apr 16 13:37:30 CEST 2007 - mc@suse.de diff --git a/cracklib.spec b/cracklib.spec index ec11fa9..7efe992 100644 --- a/cracklib.spec +++ b/cracklib.spec @@ -16,39 +16,10 @@ License: Artistic License Group: System/Libraries Autoreqprov: on Version: 2.8.10 -Release: 1 -Summary: A Password-Checking Library +Release: 3 +Requires: cracklib-dict +Summary: Full dictionary for cracklib - A Password-Checking Library Source: http://prdownloads.sourceforge.net/cracklib/cracklib-%{version}.tar.bz2 -Source1: http://prdownloads.sourceforge.net/cracklib/cracklib-words.gz -Source10: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/computer/Domains.gz -Source11: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/computer/Dosref.gz -Source12: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/computer/Ftpsites.gz -Source13: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/computer/Jargon.gz -Source14: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/computer/common-passwords.txt.gz -Source15: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/computer/etc-hosts.gz -Source16: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/movieTV/Movies.gz -Source17: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/movieTV/Python.gz -Source18: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/movieTV/Trek.gz -Source19: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/literature/LCarrol.gz -Source20: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/literature/Paradise.Lost.gz -Source21: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/literature/cartoon.gz -Source22: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/literature/myths-legends.gz -Source23: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/literature/sf.gz -Source24: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/literature/shakespeare.gz -Source25: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/ASSurnames.gz -Source26: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/Congress.gz -Source27: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/Family-Names.gz -Source28: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/Given-Names.gz -Source29: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/famous.gz -Source30: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/fast-names.gz -Source31: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/female-names.gz -Source32: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/male-names.gz -Source33: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/names.french.gz -Source34: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/names.hp.gz -Source35: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/other-names.gz -Source36: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/surnames.finnish.gz -Source37: pt_BR-wordlist.gz -Source38: es-wordlist.gz Patch: cracklib-magic.diff Patch1: cracklib-trans.diff Patch2: datarootdir.patch @@ -60,6 +31,8 @@ CrackLib tests passwords to determine whether they match certain security-oriented characteristics. You can use CrackLib to stop users from choosing passwords that are easy to guess. +This package contains a full dictionary file used by cracklib. + %package devel @@ -77,21 +50,27 @@ characteristics. +%package dict-small +Summary: Small dictionary for cracklib - A Password-Checking Library +Group: System/Libraries +Provides: cracklib-dict +Conflicts: cracklib-dict-full + +%description dict-small +CrackLib tests passwords to determine whether they match certain +security-oriented characteristics. You can use CrackLib to stop users +from choosing passwords that are easy to guess. + +This package contains a small dictionay file used by cracklib. + + + %prep %setup -q %patch %patch1 %patch2 %patch3 -mkdir cracklib-dicts -cp -f %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} \ - %{SOURCE15} %{SOURCE16} %{SOURCE17} %{SOURCE18} %{SOURCE19} \ - %{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23} %{SOURCE24} \ - %{SOURCE25} %{SOURCE26} %{SOURCE27} %{SOURCE28} %{SOURCE29} \ - %{SOURCE30} %{SOURCE31} %{SOURCE32} %{SOURCE33} %{SOURCE34} \ - %{SOURCE35} %{SOURCE36} %{SOURCE37} %{SOURCE38} %{SOURCE1} \ - cracklib-dicts/ -gunzip cracklib-dicts/* %build autoreconf @@ -107,9 +86,11 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT # libtool is broken by design, remove this *.la files ... rm $RPM_BUILD_ROOT/%{_libdir}/libcrack.la +# set executable +chmod 755 ./util/cracklib-format # Adjust path in comment sed "s,/usr/lib/cracklib_dict,%{_datadir}/cracklib/pw_dict,g" lib/crack.h > $RPM_BUILD_ROOT/%{_includedir}/crack.h -./util/cracklib-format cracklib-dicts/* | \ +./util/cracklib-format ./dicts/cracklib-small | \ ./util/cracklib-packer $RPM_BUILD_ROOT/%{_datadir}/cracklib/pw_dict ln -s cracklib-format $RPM_BUILD_ROOT/%{_sbindir}/mkdict ln -s cracklib-packer $RPM_BUILD_ROOT/%{_sbindir}/packer @@ -137,9 +118,6 @@ ln -sf %{_datadir}/cracklib/pw_dict.pwi $RPM_BUILD_ROOT/usr/lib/cracklib_dict.pw /usr/sbin/cracklib-unpacker %dir %{_datadir}/cracklib %{_datadir}/cracklib/cracklib.magic -%{_datadir}/cracklib/pw_dict.hwm -%{_datadir}/cracklib/pw_dict.pwd -%{_datadir}/cracklib/pw_dict.pwi /usr/lib/cracklib_dict.hwm /usr/lib/cracklib_dict.pwd /usr/lib/cracklib_dict.pwi @@ -151,7 +129,17 @@ ln -sf %{_datadir}/cracklib/pw_dict.pwi $RPM_BUILD_ROOT/usr/lib/cracklib_dict.pw %{_libdir}/libcrack.a %{_libdir}/libcrack.so +%files dict-small +%defattr(-,root,root) +%{_datadir}/cracklib/pw_dict.hwm +%{_datadir}/cracklib/pw_dict.pwd +%{_datadir}/cracklib/pw_dict.pwi + %changelog +* Mon Apr 23 2007 - mc@suse.de +- added cracklib-dict-small and splitted the full dictionary + into a seperate package. [#265733] +- cracklib requires cracklib-dict * Mon Apr 16 2007 - mc@suse.de - update to version 2.8.10 * better hanlding of cracklist dictionary paths in diff --git a/es-wordlist.gz b/es-wordlist.gz deleted file mode 100644 index 133d915..0000000 --- a/es-wordlist.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:024fee21b1483ccf3658933f6f3ca6fa0db13980eb0144f936d4a11566be95c8 -size 1463845 diff --git a/etc-hosts.gz b/etc-hosts.gz deleted file mode 100644 index 1c0d78c..0000000 --- a/etc-hosts.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e9423abc93e0de39170af54d2780b6291115fc4ccd258ebbad9b89919c8258ca -size 45523 diff --git a/famous.gz b/famous.gz deleted file mode 100644 index d08dea9..0000000 --- a/famous.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3e53134bdea7a86cbb4dabbe0a0373927b44c1b679b720b6715c3cf220e78b29 -size 2033 diff --git a/fast-names.gz b/fast-names.gz deleted file mode 100644 index 0da233f..0000000 --- a/fast-names.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c0e6b916d0100300d72c6e925862e2f3bb717bb1677880ea5723e86987d294e9 -size 6874 diff --git a/female-names.gz b/female-names.gz deleted file mode 100644 index d923138..0000000 --- a/female-names.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:36ee5cc94423f1a7957e8430ce5954a9dba170954bbaa676adbe06bd3dea9773 -size 12133 diff --git a/male-names.gz b/male-names.gz deleted file mode 100644 index 64a9213..0000000 --- a/male-names.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8828e2bdc43a0df4a70354b3eca2a08b6d37da6d8c0a017525440d298c147bae -size 10116 diff --git a/myths-legends.gz b/myths-legends.gz deleted file mode 100644 index c29ac21..0000000 --- a/myths-legends.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:57177b7284e1d203099bceba031b762795247d53cd5c0b03720cdabf95bdc7f8 -size 5432 diff --git a/names.french.gz b/names.french.gz deleted file mode 100644 index e8ef66c..0000000 --- a/names.french.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:752fe17bffb33f983ec97facc1a6e06b0eed7523a95d287a439f0f3839990aba -size 2482 diff --git a/names.hp.gz b/names.hp.gz deleted file mode 100644 index e03c54f..0000000 --- a/names.hp.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0b60b69d27c457822f517ee2a34d3f62202ef364a6005a006e376eb51bdaf483 -size 153546 diff --git a/other-names.gz b/other-names.gz deleted file mode 100644 index 896b2f2..0000000 --- a/other-names.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:981aa819d40cdb8ac8aa3684174c88640907e244891519a2573b2b13067bad51 -size 18413 diff --git a/pt_BR-wordlist.gz b/pt_BR-wordlist.gz deleted file mode 100644 index 7083784..0000000 --- a/pt_BR-wordlist.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa36cba9d0be687635f432d3ce1c0622977f81c072bd8c7490fa8c497f5c1cc4 -size 641916 diff --git a/sf.gz b/sf.gz deleted file mode 100644 index 35acd4a..0000000 --- a/sf.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:47b7546aab9e0d5671d657a17a8aac918397e741f15d6075b34f121b80e79a4d -size 3167 diff --git a/shakespeare.gz b/shakespeare.gz deleted file mode 100644 index 77863e9..0000000 --- a/shakespeare.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:80f81cf26c980f1d16f1d401d55241a4f8a04288623cb98ba7cc1c4efb69d22b -size 2653 diff --git a/surnames.finnish.gz b/surnames.finnish.gz deleted file mode 100644 index d8505a2..0000000 --- a/surnames.finnish.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9e99bff401730ef2b3b1f4f15df729bc077c3666bcbddc13c33116a02c16bbb2 -size 1961