SPECS: cracklib.spec - up to 2.8.3 - please review my changes - ST...

zawadaa zawadaa at pld-linux.org
Sun Sep 18 00:17:16 CEST 2005


Author: zawadaa                      Date: Sat Sep 17 22:17:16 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.8.3
- please review my changes
- STBR for test

---- Files affected:
SPECS:
   cracklib.spec (1.49 -> 1.50) 

---- Diffs:

================================================================
Index: SPECS/cracklib.spec
diff -u SPECS/cracklib.spec:1.49 SPECS/cracklib.spec:1.50
--- SPECS/cracklib.spec:1.49	Sat Mar 26 15:48:55 2005
+++ SPECS/cracklib.spec	Sun Sep 18 00:17:11 2005
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_with	ssp	# disable stack-smashing protector (vide dietlibc.spec)
+%bcond_with	words	# bigger words database
 #
 Summary:	Password checking library
 Summary(es):	Biblioteca de chequeo de contraseńas
@@ -12,16 +13,19 @@
 Summary(tr):	Parola denetim kitaplýđý
 Summary(uk):	âŚÂĚŚĎÔĹËÁ ĐĹŇĹ׌ŇËÉ ĐÁŇĎĚŚ×
 Name:		cracklib
-Version:	2.7
-Release:	19
-License:	Artistic
+Version:	2.8.3
+Release:	0.1
+License:	GPL v2
 Group:		Libraries
-Source0:	ftp://coast.cs.purdue.edu/pub/tools/unix/libs/cracklib/%{name}_%{version}.tgz
-# Source0-md5:	7f810e310c7f2df33d1eaa2b41ab2435
-Patch0:		%{name}.patch
-Patch1:		%{name}-pld.patch
-Patch2:		%{name}-nss.patch
-Patch3:		%{name}-libdir.patch
+Source0:	http://dl.sourceforge.net/cracklib/%{name}-%{version}.tar.gz
+# Source0-md5:	13f82f75b892cbd0ba7cb9069e307006
+Source1:	http://dl.sourceforge.net/cracklib/cracklib-words.gz
+# Source1-md5:	d18e670e5df560a8745e1b4dede8f84f
+URL:		http://sourceforge.net/projects/cracklib/
+Patch0:		%{name}-pld.patch
+#Patch1:		%{name}.patch
+#Patch2:		%{name}-nss.patch
+#Patch3:		%{name}-libdir.patch
 BuildRequires:	words
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -174,14 +178,18 @@
 ŐÔÉĚŚÔÉ, ÎĹĎÂČŚÄÎŚ ÄĚŃ ÓÔ×ĎŇĹÎÎŃ ÎĎ×ÉČ ÓĚĎ×ÎÉËŚ×.
 
 %prep
-%setup	-q -n %{name},%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%setup	-q
+%patch0 -p0
+#%patch1 -p1
+#%patch2 -p1
+#%patch3 -p1
+%if %{with words} 
+install %{SOURCE1} dicts/
+%endif
 
 %build
-%{__make} all \
+%configure
+%{__make} \
 	CC="%{__cc}" \
 	OPTFLAGS="%{rpmcflags} %{?with_ssp:-fno-stack-protector}"
 
@@ -190,10 +198,8 @@
 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir},%{_includedir},%{_datadir}/dict}
 
 %{__make} install \
-	libdir=%{_libdir} \
-	ROOT=$RPM_BUILD_ROOT
-
-install cracklib/packer.h $RPM_BUILD_ROOT%{_includedir}
+	DESTDIR=$RPM_BUILD_ROOT
+util/cracklib-format dicts/cracklib* | util/cracklib-packer $RPM_BUILD_ROOT/%{_datadir}/dict/cracklib_dict
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -203,7 +209,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc README MANIFEST LICENCE POSTER HISTORY
+%doc ChangeLog NEWS README
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
@@ -222,6 +228,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.50  2005/09/17 22:17:11  zawadaa
+- up to 2.8.3
+- please review my changes
+- STBR for test
+
 Revision 1.49  2005/03/26 14:48:55  mmazur
 - rel 19 for th
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cracklib.spec?r1=1.49&r2=1.50&f=u




More information about the pld-cvs-commit mailing list