Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37700459
en ru br
ALT Linux repos
S:2.9.11-alt1
5.0: 2.8.13-alt1
4.1: 2.8.13-alt0.M41.1
4.0: 2.8.10-alt1
3.0: 2.8.2-alt1

Group :: System/Libraries
RPM: cracklib

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: cracklib
%define ver_major 2
Version: %ver_major.8.2
Release: alt1

Summary: A password-checking library.
Copyright: GPL
Group: System/Libraries
Url: %name.sourceforge.net

Source: %name-%version.tar.gz

# Automatically added by buildreq on Wed Mar 23 2005

BuildRequires: gcc-c++ gcc-g77 libstdc++-devel xorg-x11-devel-static

%package utils
Summary: The CrackLib utilities for the build dictionaries.
Group: System/Libraries
Requires: %name = %version-%release

%package devel
Summary: %name link library & header file
Group: Development/C
Requires: %name = %version-%release

%description
CrackLib tests passwords to determine whether they match certain
security-oriented characteristics. You can use CrackLib to stop
users from choosing passwords which would be easy to guess. CrackLib
performs certain tests:

* It tries to generate words from a username and gecos entry and
 checks those words against the password;
* It checks for simplistic patterns in passwords;
* It checks for the password in a dictionary.

CrackLib is actually a library containing a particular
C function which is used to check the password, as well as
other C functions. CrackLib is not a replacement for a passwd
program; it must be used in conjunction with an existing passwd
program.

Install the %name package if you need a program to check users'
passwords to see if they are at least minimally secure. If you
install CrackLib, you'll also want to install the %name-words
package.

%description devel
The %name devel package include the needed library link and
header files for development.

%description utils
The %name-utils package includes the utilities necessary for
the creation of new dictionaries.

%prep
%setup -q

%build
%configure --disable-static
%make_build

%install
%makeinstall

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%_libdir/*.so.*
%_datadir/%name
%doc AUTHORS ChangeLog NEWS README*

%files devel
%_includedir/*
%_libdir/*.so

%files utils
%_sbindir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin