|
@@ -5,15 +5,19 @@
|
|
Summary: A password-checking library.
|
|
Summary: A password-checking library.
|
|
Summary(ja): パスワードチェック用ライブラリ
|
|
Summary(ja): パスワードチェック用ライブラリ
|
|
Name: cracklib
|
|
Name: cracklib
|
|
-Version: 2.8.12
|
|
|
|
-Release: 3%{?_dist_release}
|
|
|
|
|
|
+Version: 2.8.18
|
|
|
|
+Release: 1%{?_dist_release}
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
URL: http://sourceforge.net/projects/cracklib/
|
|
URL: http://sourceforge.net/projects/cracklib/
|
|
-License: GPLv2
|
|
|
|
|
|
+License: LGPLv2+
|
|
|
|
|
|
-Source0: http://www.crypticide.org/users/alecm/security/cracklib-%{version}.tar.gz
|
|
|
|
-# Retrieved at 20070213003424Z.
|
|
|
|
-Source1: http://prdownloads.sourceforge.net/cracklib/cracklib-words.gz
|
|
|
|
|
|
+Source0: http://prdownloads.sourceforge.net/cracklib/cracklib-%{version}.tar.gz
|
|
|
|
+
|
|
|
|
+# Retrieved at 20091201191719Z.
|
|
|
|
+Source1: http://iweb.dl.sourceforge.net/project/cracklib/cracklib-words/2008-05-07/cracklib-words-20080507.gz
|
|
|
|
+
|
|
|
|
+# For man pages.
|
|
|
|
+Source2: http://ftp.us.debian.org/debian/pool/main/c/cracklib2/cracklib2_2.8.18-1.debian.tar.gz
|
|
|
|
|
|
Source10: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/computer/Domains.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
|
|
Source11: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/computer/Dosref.gz
|
|
@@ -46,14 +50,13 @@ Source36: ftp://ftp.cerias.purdue.edu/pub/dict/wordlists/names/surnames.finnish.
|
|
# No upstream source for this; it came in as a bugzilla attachment.
|
|
# No upstream source for this; it came in as a bugzilla attachment.
|
|
Source37: pass_file.gz
|
|
Source37: pass_file.gz
|
|
|
|
|
|
-Patch0: cracklib-2.8.10-suffix.patch
|
|
|
|
-Patch1: cracklib-2.8.12-inttypes.patch
|
|
|
|
-Patch2: cracklib-2.8.10-docstring.patch
|
|
|
|
-Patch3: cracklib-2.8.12-gettext.patch
|
|
|
|
|
|
+Patch1: cracklib-2.8.15-inttypes.patch
|
|
|
|
+Patch2: cracklib-2.8.12-gettext.patch
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: words, automake, libtool
|
|
|
|
|
|
+BuildRequires: words, autoconf, automake, gettext, libtool
|
|
Conflicts: cracklib-dicts < 2.8
|
|
Conflicts: cracklib-dicts < 2.8
|
|
|
|
+Requires: gzip
|
|
|
|
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
|
|
@@ -136,12 +139,10 @@ If you are installing CrackLib, you should also install cracklib-dicts.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
-%setup -q
|
|
|
|
-%patch0 -p1 -b .suffix
|
|
|
|
|
|
+%setup -q -a 2
|
|
cp lib/packer.h lib/packer.h.in
|
|
cp lib/packer.h lib/packer.h.in
|
|
%patch1 -p1 -b .inttypes
|
|
%patch1 -p1 -b .inttypes
|
|
-%patch2 -p1 -b .docstring
|
|
|
|
-%patch3 -p1 -b .gettext
|
|
|
|
|
|
+%patch2 -p1 -b .gettext
|
|
autoreconf -f -i
|
|
autoreconf -f -i
|
|
mkdir cracklib-dicts
|
|
mkdir cracklib-dicts
|
|
for dict in %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} \
|
|
for dict in %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} %{SOURCE14} \
|
|
@@ -239,6 +240,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libcrack.la
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Wed Apr 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.18-1
|
|
|
|
+- new upstream release
|
|
|
|
+
|
|
* Tue May 05 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.8.12-3
|
|
* Tue May 05 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.8.12-3
|
|
- fixed errors rebuilding with libtool-2
|
|
- fixed errors rebuilding with libtool-2
|
|
- added Patch3: cracklib-2.8.12-gettext.patch
|
|
- added Patch3: cracklib-2.8.12-gettext.patch
|