]> git.pld-linux.org Git - packages/cracklib.git/blob - cracklib.spec
- strict internal dep, don't package autogenerated symlink
[packages/cracklib.git] / cracklib.spec
1 #
2 # Conditional build:
3 %bcond_with     ssp     # disable stack-smashing protector (vide dietlibc.spec)
4 #
5 Summary:        Password checking library
6 Summary(es):    Biblioteca de chequeo de contraseñas
7 Summary(fr):    Bibliothèque de vérification de mots de passe
8 Summary(pl):    Biblioteka sprawdzania hase³
9 Summary(pt_BR): Biblioteca de checagem de senhas
10 Summary(ru):    âÉÂÌÉÏÔÅËÁ ÐÒÏ×ÅÒËÉ ÐÁÒÏÌÅÊ
11 Summary(tr):    Parola denetim kitaplýðý
12 Summary(uk):    â¦Â̦ÏÔÅËÁ ÐÅÒÅצÒËÉ ÐÁÒÏ̦×
13 Name:           cracklib
14 Version:        2.7
15 Release:        18
16 License:        Artistic
17 Group:          Libraries
18 Source0:        ftp://coast.cs.purdue.edu/pub/tools/unix/libs/cracklib/%{name}_%{version}.tgz
19 # Source0-md5:  7f810e310c7f2df33d1eaa2b41ab2435
20 Patch0:         %{name}.patch
21 Patch1:         %{name}-pld.patch
22 Patch2:         %{name}-nss.patch
23 Patch3:         %{name}-libdir.patch
24 BuildRequires:  words
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 CrackLib tests passwords to determine whether they match certain
29 security-oriented characteristics. You can use CrackLib to stop users
30 from choosing passwords which would be easy to guess. CrackLib
31 performs certain tests:
32
33 - It tries to generate words from a username and gecos entry and
34   checks those words against the password;
35 - It checks for simplistic patterns in passwords;
36 - It checks for the password in a dictionary.
37
38 CrackLib is actually a library containing a particular C function
39 which is used to check the password, as well as other C functions.
40 CrackLib is not a replacement for a passwd program; it must be used in
41 conjunction with an existing passwd program.
42
43 Install the cracklib package if you need a program to check users'
44 passwords to see if they are at least minimally secure. If you install
45 CrackLib, you'll also want to install the cracklib-dicts package.
46
47 %description -l de
48 Überprüft Paßwörter auf Sicherheitsmerkmale - Länge, Eindeutigkeit,
49 Anwesenheit in einer Wörter-Datenbank usw.
50
51 %description -l fr
52 Vérifie les caractéristiques liées à la sécurité des mots de passe -
53 longueur, unicité, s'ils sont dans une base de mots, etc.
54
55 %description -l pl
56 Sprawdza has³a pod k±tem bezpieczeñstwa - d³ugo¶æ, unikalno¶æ, czy
57 wystêpuj± w s³owniu itp.
58
59 %description -l pt_BR
60 Inclui os dicionários cracklib para o padrão /usr/dict/words, assim
61 como os utilitários necessários para criar dicionários.
62
63 %description -l ru
64 CrackLib ÐÒÏ×ÅÒÑÅÔ ÐÁÒÏÌÉ ÎÁ ÐÒÅÄÍÅÔ ÓÏÏÔ×ÅÔÓÔ×ÉÑ ÎÅËÏÔÏÒÙÍ ËÒÉÔÅÒÉÑÍ
65 ÂÅÚÏÐÁÓÎÏÓÔÉ. ïÎÁ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎÁ ÄÌÑ ÐÒÅÄÏÔ×ÒÁÝÅÎÉÑ ×ÙÂÏÒÁ
66 ÐÏÌØÚÏ×ÁÔÅÌÑÍÉ ÌÅÇËÏÕÇÁÄÙ×ÁÅÍÙÈ ÐÁÒÏÌÅÊ. CrackLib ÐÒÏÉÚ×ÏÄÉÔ ÔÁËÉÅ
67 ÔÅÓÔÙ:
68
69 - çÅÎÅÒÉÒÕÅÔ ÓÌÏ×Á ÉÚ ÉÍÅÎÉ ÐÏÌØÚÏ×ÁÔÅÌÑ É ÐÏÌÑ gecos É ÓÒÁ×ÎÉ×ÁÅÔ ÉÈ
70   Ó ÐÁÒÏÌÅÍ;
71 - éÝÅÔ × ÐÁÒÏÌÑÈ ÐÒÏÓÔÙÅ ÛÁÂÌÏÎÙ;
72 - ðÒÏ×ÅÒÑÅÔ ÐÁÒÏÌØ ÎÁ ÎÁÌÉÞÉÅ ÅÇÏ × ÓÌÏ×ÁÒÅ.
73
74 CrackLib - ÜÔÏ, ÓÏÂÓÔ×ÅÎÎÏ, ÂÉÂÌÉÏÔÅËÁ, ÓÏÄÅÒÖÁÝÁÑ ÓÐÅÃÉÆÉÞÅÓËÕÀ
75 ÆÕÎËÃÉÀ C ÄÌÑ ÕÇÁÄÙ×ÁÎÉÑ ÐÁÒÏÌÅÊ É ÎÅËÏÔÏÒÙÅ ÄÒÕÇÉÅ ÆÕÎËÃÉÉ. üÔÏ ÎÅ
76 ÚÁÍÅÎÁ ÐÒÏÇÒÁÍÍÙ passwd, ÅÅ ÎÁÄÏ ÉÓÐÏÌØÚÏ×ÁÔØ ÓÏ×ÍÅÓÔÎÏ Ó ÓÕÝÅÓÔ×ÕÀÝÅÊ
77 ÐÒÏÇÒÁÍÍÏÊ passwd.
78
79 %description -l tr
80 Parolalarýn uzunluklarý, sistemde tek olmalarý, sözcük veri tabanýnda
81 bulunmamalarý gibi güvenlikle ilgili özelliklerini kontrol eder.
82
83 %description -l uk
84 CrackLib ÐÅÒÅצÒѤ ÐÁÒÏ̦ ÎÁ ×¦ÄÐÏצÄΦÓÔØ ÄÅÑËÉÍ ËÒÉÔÅÒ¦ÑÍ ÂÅÚÐÅËÉ.
85 ÷ÏÎÁ ÍÏÖÅ ÂÕÔÉ ×ÉËÏÒÉÓÔÁÎÁ ÄÌÑ ÚÁÐϦÇÁÎÎÑ ×ÉÂÏÒÕ ËÏÒÉÓÔÕ×ÁÞÁÍÉ
86 ÐÁÒÏ̦×, Ñ˦ ÌÅÇËϠצÄÇÁÄÁÔÉ. ÷ÏÎÁ ×ÉËÏÎÕ¤ ÔÁ˦ ÔÅÓÔÉ:
87
88 - çÅÎÅÒÕ¤ ÓÌÏ×Á Ú ¦ÍÅΦ ËÏÒÉÓÔÕ×ÁÞÁ ÔÁ ÐÏÌÑ gecos ¦ ÐÏÒ¦×ÎÀ¤ §È Ú
89   ÐÁÒÏÌÅÍ;
90 - ûÕËÁ¤ × ÐÁÒÏÌÑÈ ÐÒÏÓÔ¦ ÛÁÂÌÏÎÉ;
91 - ðÅÒÅצÒѤ ÐÁÒÏ̦ ÎÁ ÎÁÑ×ΦÓÔØ §È Õ ÓÌÏ×ÎÉËÕ.
92
93 CrackLib - ÃÅ, ×ÌÁÓÎÅ, Â¦Â̦ÏÔÅËÁ, ÝϠͦÓÔÉÔØ ÓÐÅÃÉƦÞÎÕ ÆÕÎËæÀ C ÄÌÑ
94 צÄÇÁÄÕ×ÁÎÎÑ ÐÁÒÏ̦נÔÁ ÄÅÑ˦ ¦ÎÛ¦ ÆÕÎËæ§. ãÅ ÎÅ ÚÁͦÎÁ ÐÒÏÇÒÁÍÉ
95 passwd, §§ ÔÒÅÂÁ ×ÉËÏÒÉÓÔÏ×Õ×ÁÔÉ ÓЦÌØÎÏ Ú ¦ÓÎÕÀÞÏÀ ÐÒÏÇÒÁÍÏÀ passwd.
96
97 %package devel
98 Summary:        Header files and documentation for cracklib
99 Summary(es):    Archivos de inclusión y bibliotecas para cracklib
100 Summary(pl):    Pliki nag³ówkowe i dokumentacja dla cracklib
101 Summary(pt_BR): Arquivos de inclusão e bibliotecas para a cracklib
102 Group:          Development/Libraries
103 Requires:       %{name} = %{version}-%{release}
104
105 %description devel
106 Header files and documentation for cracklib.
107
108 %description devel -l es
109 Este paquete contiene los archivos de inclusión y bibliotecas que se
110 necesitan para desarrollar programas que usan cracklib.
111
112 %description devel -l pl
113 Pliki nag³ówkowe i dokumentacja dla cracklib.
114
115 %description devel -l pt_BR
116 Este pacote contém os arquivos de inclusão e bibliotecas que são
117 necessários para desenvolver programas que usam a cracklib.
118
119 %package dicts
120 Summary:        Standard dictionaries (/usr/share/dict/words)
121 Summary(de):    Standard-Wörterbücher (/usr/share/dict/words)
122 Summary(es):    Diccionarios para chequeo de contraseñas
123 Summary(fr):    Dictionnaires standards (/usr/share/dict/words)
124 Summary(pl):    Standardowe s³owniki (/usr/share/dict/words)
125 Summary(pt_BR): Dicionários para checagem de senhas
126 Summary(ru):    óÔÁÎÄÁÒÔÎÙÅ ÓÌÏ×ÁÒÉ CrackLib
127 Summary(tr):    Standart sözlükler (/usr/share/dict/words)
128 Summary(uk):    óÔÁÎÄÁÒÔΦ ÓÌÏ×ÎÉËÉ CrackLib
129 Group:          Applications/System
130
131 %description dicts
132 The cracklib-dicts package includes the CrackLib dictionaries.
133 CrackLib will need to use the dictionary appropriate to your system,
134 which is normally put in /usr/share/dict/words. Cracklib-dicts also
135 contains the utilities necessary for the creation of new dictionaries.
136
137 %description dicts -l de
138 Enthält die Cracklib-Wörterbücher für die
139 Standard-/usr/share/dict/Wörter sowie Utilities zum Erstellen neuer
140 Wörterbücher"
141
142 %description dicts -l es
143 Incluye el diccionario cracklib para el padrón /usr/share/dict/words,
144 y utilitarios necesarios a creación de nuevos diccionarios.
145
146 %description dicts -l fr
147 Contient les dictionnaires cracklib pour le /usr/share/dict/words
148 standard, ainsi que les utilitaires nécessaires à la création de
149 nouveaux dictionnaires.
150
151 %description dicts -l pl
152 Pakiet zawiera s³owniki cracklib'a dla standardowego
153 /usr/share/dict/words oraz narzêdzia do tworzenia nowych s³owników.
154
155 %description dicts -l pt_BR
156 Inclui o dicionário cracklib para o padrão /usr/dict/words, bem como
157 utilitários necessários a criação de novos dicionários.
158
159 %description dicts -l ru
160 ðÁËÅÔ cracklib-dicts ×ËÌÀÞÁÅÔ ÓÌÏ×ÁÒÉ CrackLib. CrackLib ÂÕÄÕÔ ÎÕÖÎÙ
161 ÓÌÏ×ÁÒÉ, ÓÏÏÔ×ÅÔÓÔ×ÕÀÝÉÅ ×ÁÛÅÊ ÓÉÓÔÅÍÅ, ËÏÔÏÒÙÅ ÏÂÙÞÎÏ ÎÁÈÏÄÑÔÓÑ ×
162 /usr/share/dict/words. Cracklib-dicts ÔÁËÖÅ ÓÏÄÅÒÖÉÔ ÕÔÉÌÉÔÙ,
163 ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÏÚÄÁÎÉÑ ÎÏ×ÙÈ ÓÌÏ×ÁÒÅÊ.
164
165 %description dicts -l tr
166 /usr/share/dict/words dosyasý için 'cracklib' kitaplýklarýný ve yeni
167 sözlükler yaratýlmasý için gerekli yardýmcý programlarý içerir.
168
169 %description dicts -l uk
170 ðÁËÅÔ cracklib-dicts Í¦ÓÔÉÔØ ÓÌÏ×ÎÉËÉ CrackLib. CrackLib ÂÕÄÕÔØ
171 ÐÏÔÒ¦ÂΦ ÓÌÏ×ÎÉËÉ, ÝϠצÄÐÏצÄÁÀÔØ ×ÁۦʠÓÉÓÔÅͦ, ËÏÔÒ¦ ÚÁÚ×ÉÞÁÊ
172 ÚÎÁÈÏÄÑÔØÓÑ × /usr/share/dict/words. Cracklib-dicts ÔÁËÏ֠ͦÓÔÉÔØ
173 ÕÔÉ̦ÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÓÔ×ÏÒÅÎÎÑ ÎÏ×ÉÈ ÓÌÏ×ÎÉ˦×.
174
175 %prep
176 %setup  -q -n %{name},%{version}
177 %patch0 -p1
178 %patch1 -p1
179 %patch2 -p1
180 %patch3 -p1
181
182 %build
183 %{__make} all \
184         CC="%{__cc}" \
185         OPTFLAGS="%{rpmcflags} %{?with_ssp:-fno-stack-protector}"
186
187 %install
188 rm -rf $RPM_BUILD_ROOT
189 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_libdir},%{_includedir},%{_datadir}/dict}
190
191 %{__make} install \
192         libdir=%{_libdir} \
193         ROOT=$RPM_BUILD_ROOT
194
195 install cracklib/packer.h $RPM_BUILD_ROOT%{_includedir}
196
197 %clean
198 rm -rf $RPM_BUILD_ROOT
199
200 %post   -p /sbin/ldconfig
201 %postun -p /sbin/ldconfig
202
203 %files
204 %defattr(644,root,root,755)
205 %doc README MANIFEST LICENCE POSTER HISTORY
206 %attr(755,root,root) %{_libdir}/lib*.so.*.*
207
208 %files devel
209 %defattr(644,root,root,755)
210 %attr(755,root,root) %{_libdir}/lib*.so
211 %{_includedir}/*
212
213 %files dicts
214 %defattr(644,root,root,755)
215 %attr(755,root,root) %{_sbindir}/*
216 %{_datadir}/dict/cracklib_dict*
This page took 0.150986 seconds and 3 git commands to generate.