Blame SPECS/cracklib.spec

bacf98
# Reflects the values hard-coded in various Makefile.am's in the source tree.
bacf98
%define dictdir %{_datadir}/cracklib
bacf98
%define dictpath %{dictdir}/pw_dict
bacf98
bacf98
Summary: A password-checking library
bacf98
Name: cracklib
bacf98
Version: 2.9.6
bacf98
Release: 15%{?dist}
bacf98
Group: System Environment/Libraries
bacf98
Source0: https://github.com/cracklib/cracklib/releases/download/cracklib-%{version}/cracklib-%{version}.tar.gz
bacf98
Source1: https://github.com/cracklib/cracklib/releases/download/cracklib-%{version}/cracklib-words-%{version}.gz
bacf98
bacf98
# For man pages.
bacf98
Source2: http://ftp.us.debian.org/debian/pool/main/c/cracklib2/cracklib2_2.8.19-1.debian.tar.gz
bacf98
Source40: http://ftp.us.debian.org/debian/pool/main/c/cracklib2/cracklib2_2.8.19-1.dsc
bacf98
bacf98
# From attachment to https://bugzilla.redhat.com/show_bug.cgi?id=627449
bacf98
Source3: cracklib.default.zh_CN.po
bacf98
bacf98
# No upstream source for this, just words missing from the current cracklib-words
bacf98
Source10: missing-words.gz
bacf98
bacf98
Patch1: cracklib-2.9.1-inttypes.patch
bacf98
Patch2: cracklib-2.9.0-python-gzdicts.patch
bacf98
Patch4: cracklib-2.9.6-packlib-reentrant.patch
bacf98
Patch6: cracklib-2.9.6-simplistic.patch
bacf98
Patch7: cracklib-2.9.6-translation-updates.patch
bacf98
Patch8: cracklib-2.9.6-cve-2016-6318.patch
bacf98
Patch9: cracklib-2.9.6-lookup.patch
bacf98
URL: http://sourceforge.net/projects/cracklib/
bacf98
License: LGPLv2+
bacf98
Buildroot: %{_tmppath}/%{name}-%{version}-root
bacf98
BuildRequires: gcc
bacf98
BuildRequires: words, gettext
bacf98
BuildRequires: gettext-autopoint
bacf98
BuildRequires: zlib-devel
bacf98
%if 0%{?rhel} == 0
bacf98
BuildRequires: python2-devel
bacf98
%endif
bacf98
Conflicts: cracklib-dicts < 2.8
bacf98
# The cracklib-format script calls gzip, but without a specific path.
bacf98
Requires: gzip
bacf98
bacf98
%description
bacf98
CrackLib tests passwords to determine whether they match certain
bacf98
security-oriented characteristics, with the purpose of stopping users
bacf98
from choosing passwords that are easy to guess. CrackLib performs
bacf98
several tests on passwords: it tries to generate words from a username
bacf98
and gecos entry and checks those words against the password; it checks
bacf98
for simplistic patterns in passwords; and it checks for the password
bacf98
in a dictionary.
bacf98
bacf98
CrackLib is actually a library containing a particular C function
bacf98
which is used to check the password, as well as other C
bacf98
functions. CrackLib is not a replacement for a passwd program; it must
bacf98
be used in conjunction with an existing passwd program.
bacf98
bacf98
Install the cracklib package if you need a program to check users'
bacf98
passwords to see if they are at least minimally secure. If you install
bacf98
CrackLib, you will also want to install the cracklib-dicts package.
bacf98
bacf98
%package devel
bacf98
Summary: Development files needed for building applications which use cracklib
bacf98
Group: Development/Libraries
bacf98
Requires: %{name} = %{version}-%{release}
bacf98
bacf98
%description devel
bacf98
The cracklib-devel package contains the header files and libraries needed
bacf98
for compiling applications which use cracklib.
bacf98
bacf98
%if 0%{?rhel} == 0
bacf98
%package -n python2-cracklib
bacf98
Summary: Python bindings for applications which use cracklib
bacf98
Group: Development/Libraries
bacf98
Requires: %{name} = %{version}-%{release}
bacf98
%{?python_provide:%python_provide python2-cracklib}
bacf98
# Remove before F30
bacf98
Provides: %{name}-python = %{version}-%{release}
bacf98
Provides: %{name}-python%{?_isa} = %{version}-%{release}
bacf98
Obsoletes: %{name}-python < %{version}-%{release}
bacf98
bacf98
%description -n python2-cracklib
bacf98
The cracklib-python package contains a module which permits applications
bacf98
written in the Python programming language to use cracklib.
bacf98
%endif
bacf98
bacf98
%package dicts
bacf98
Summary: The standard CrackLib dictionaries
bacf98
Group: System Environment/Libraries
bacf98
BuildRequires: words >= 2-13
bacf98
Requires: cracklib = %{version}-%{release}
bacf98
bacf98
%description dicts
bacf98
The cracklib-dicts package includes the CrackLib dictionaries.
bacf98
CrackLib will need to use the dictionary appropriate to your system,
bacf98
which is normally put in /usr/share/dict/words. Cracklib-dicts also
bacf98
contains the utilities necessary for the creation of new dictionaries.
bacf98
bacf98
If you are installing CrackLib, you should also install cracklib-dicts.
bacf98
bacf98
%prep
bacf98
%setup -q -a 2
bacf98
bacf98
# Replace zn_CN.po with one that wasn't mis-transcoded at some point.
bacf98
grep '????????????????' po/zh_CN.po
bacf98
install -p -m 644 %{SOURCE3} po/zh_CN.po
bacf98
bacf98
%patch1 -p1 -b .inttypes
bacf98
%patch2 -p1 -b .gzdicts
bacf98
%patch4 -p1 -b .reentrant
bacf98
%patch6 -p1 -b .simplistic
bacf98
%patch7 -p1 -b .translations
bacf98
%patch8 -p1 -b .overflow
bacf98
%patch9 -p1 -b .lookup
bacf98
bacf98
mkdir cracklib-dicts
bacf98
for dict in %{SOURCE10} %{SOURCE1}
bacf98
do
bacf98
        cp -fv ${dict} cracklib-dicts/
bacf98
done
bacf98
chmod +x util/cracklib-format
bacf98
bacf98
%build
bacf98
# Use the dictionary from the build to test
bacf98
sed -i 's,util/cracklib-check <,util/cracklib-check $(DESTDIR)/$(DEFAULT_CRACKLIB_DICT) <,' Makefile.in
bacf98
%configure --with-pic \
bacf98
%if 0%{?rhel} == 0
bacf98
 --with-python \
bacf98
%else
bacf98
 --without-python \
bacf98
%endif
bacf98
 --with-default-dict=%{dictpath} --disable-static
bacf98
make -C po update-gmo
bacf98
make
bacf98
bacf98
%install
bacf98
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
bacf98
make install DESTDIR=$RPM_BUILD_ROOT 'pythondir=${pyexecdir}'
bacf98
./util/cracklib-format cracklib-dicts/* | \
bacf98
./util/cracklib-packer $RPM_BUILD_ROOT/%{dictpath}
bacf98
./util/cracklib-format $RPM_BUILD_ROOT/%{dictdir}/cracklib-small | \
bacf98
./util/cracklib-packer $RPM_BUILD_ROOT/%{dictdir}/cracklib-small
bacf98
rm -f $RPM_BUILD_ROOT/%{dictdir}/cracklib-small
bacf98
sed s,/usr/lib/cracklib_dict,%{dictpath},g lib/crack.h > $RPM_BUILD_ROOT/%{_includedir}/crack.h
bacf98
ln -s cracklib-format $RPM_BUILD_ROOT/%{_sbindir}/mkdict
bacf98
ln -s cracklib-packer $RPM_BUILD_ROOT/%{_sbindir}/packer
bacf98
touch $RPM_BUILD_ROOT/top
bacf98
bacf98
toprelpath=..
bacf98
touch $RPM_BUILD_ROOT/top
bacf98
while ! test -f $RPM_BUILD_ROOT/%{_libdir}/$toprelpath/top ; do
bacf98
	toprelpath=../$toprelpath
bacf98
done
bacf98
rm -f $RPM_BUILD_ROOT/top
bacf98
if test %{dictpath} != %{_libdir}/cracklib_dict ; then
bacf98
ln -s $toprelpath%{dictpath}.hwm $RPM_BUILD_ROOT/%{_libdir}/cracklib_dict.hwm
bacf98
ln -s $toprelpath%{dictpath}.pwd $RPM_BUILD_ROOT/%{_libdir}/cracklib_dict.pwd
bacf98
ln -s $toprelpath%{dictpath}.pwi $RPM_BUILD_ROOT/%{_libdir}/cracklib_dict.pwi
bacf98
fi
bacf98
rm -f $RPM_BUILD_ROOT/%{_libdir}/python*/site-packages/_cracklib*.*a
bacf98
rm -f $RPM_BUILD_ROOT/%{_libdir}/libcrack.la
bacf98
bacf98
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man{3,8}
bacf98
install -p -m644 debian/*.3 $RPM_BUILD_ROOT/%{_mandir}/man3/
bacf98
install -p -m644 debian/*.8 $RPM_BUILD_ROOT/%{_mandir}/man8/
bacf98
if ! test -s $RPM_BUILD_ROOT/%{_mandir}/man8/cracklib-packer.8 ; then
bacf98
    echo .so man8/cracklib-format.8 > $RPM_BUILD_ROOT/%{_mandir}/man8/cracklib-packer.8
bacf98
fi
bacf98
if ! test -s $RPM_BUILD_ROOT/%{_mandir}/man8/cracklib-unpacker.8 ; then
bacf98
    echo .so man8/cracklib-format.8 > $RPM_BUILD_ROOT/%{_mandir}/man8/cracklib-unpacker.8
bacf98
fi
bacf98
bacf98
%find_lang %{name}
bacf98
bacf98
%check
bacf98
make test DESTDIR=$RPM_BUILD_ROOT
bacf98
%if 0%{?rhel} == 0
bacf98
# We want to check that the new library is able to open the new dictionaries,
bacf98
# using the new python module.
bacf98
LD_LIBRARY_PATH=$RPM_BUILD_ROOT/%{_libdir} %{__python2} 2>&1 << EOF
bacf98
import string, sys
bacf98
# Prepend buildroot-specific variations of the python path to the python path.
bacf98
syspath2=[]
bacf98
for element in sys.path:
bacf98
	syspath2.append("$RPM_BUILD_ROOT/" + element)
bacf98
syspath2.reverse()
bacf98
for element in syspath2:
bacf98
	sys.path.insert(0,element)
bacf98
# Now actually do the test.  If we get a different result, or throw an
bacf98
# exception, the script will end with the error.
bacf98
import cracklib
bacf98
try:
bacf98
	s = cracklib.FascistCheck("cracklib", "$RPM_BUILD_ROOT/%{dictpath}")
bacf98
except ValueError, message:
bacf98
	expected = "it is based on a dictionary word"
bacf98
	if message != expected:
bacf98
		print "Got unexpected result \"%s\"," % messgae,
bacf98
		print "instead of expected value of \"%s\"." % expected
bacf98
		sys.exit(1)
bacf98
	print "Got expected result \"%s\"," % message
bacf98
	sys.exit(0)
bacf98
finally:
bacf98
	sys.exit(0)
bacf98
EOF
bacf98
%endif
bacf98
bacf98
%ldconfig_scriptlets
bacf98
bacf98
%files -f %{name}.lang
bacf98
%doc README README-WORDS NEWS README-LICENSE AUTHORS
bacf98
%{!?_licensedir:%global license %%doc}
bacf98
%license COPYING.LIB
bacf98
%{_libdir}/libcrack.so.*
bacf98
%dir %{_datadir}/cracklib
bacf98
%{_datadir}/cracklib/cracklib.magic
bacf98
%{_sbindir}/*cracklib*
bacf98
%{_mandir}/man8/*
bacf98
bacf98
%files devel
bacf98
%{_includedir}/*
bacf98
%{_libdir}/libcrack.so
bacf98
%{_mandir}/man3/*
bacf98
bacf98
%files dicts
bacf98
%{_datadir}/cracklib/pw_dict.*
bacf98
%{_datadir}/cracklib/cracklib-small.*
bacf98
%{_libdir}/cracklib_dict.*
bacf98
%{_sbindir}/mkdict
bacf98
%{_sbindir}/packer
bacf98
bacf98
%if 0%{?rhel} == 0
bacf98
%files -n python2-cracklib
bacf98
%{_libdir}/python*/site-packages/_cracklib*.so
bacf98
%{_libdir}/python*/site-packages/*.py*
bacf98
%endif
bacf98
bacf98
%changelog
bacf98
* Mon Nov 26 2018 Tomáš Mráz <tmraz@redhat.com> - 2.9.6-15
bacf98
- Fix regression in dictionary creation and lookup
bacf98
bacf98
* Tue Oct  9 2018 Tomáš Mráz <tmraz@redhat.com> - 2.9.6-14
bacf98
- Updated translations
bacf98
bacf98
* Wed Feb 21 2018 Tomáš Mráz <tmraz@redhat.com> - 2.9.6-13
bacf98
- Drop Python 2 support in RHEL
bacf98
bacf98
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.6-12
bacf98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
bacf98
bacf98
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.9.6-11
bacf98
- Switch to %%ldconfig_scriptlets
bacf98
bacf98
* Wed Jan 03 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.9.6-10
bacf98
- Update Python 2 dependency declarations to new packaging standards
bacf98
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
bacf98
bacf98
* Sun Aug 20 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.9.6-9
bacf98
- Add Provides for the old name without %%_isa
bacf98
bacf98
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.9.6-8
bacf98
- Python 2 binary package renamed to python2-cracklib
bacf98
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
bacf98
bacf98
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.6-7
bacf98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
bacf98
bacf98
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.6-6
bacf98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bacf98
bacf98
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.6-5
bacf98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
bacf98
bacf98
* Thu Dec  8 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.6-4
bacf98
- fix CVE-2016-6318 - avoid overflows in GECOS handling and mangling password (#1364944)
bacf98
bacf98
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.6-3
bacf98
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
bacf98
bacf98
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.6-2
bacf98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
bacf98
bacf98
* Fri Oct 23 2015 Tomáš Mráz <tmraz@redhat.com> - 2.9.6-1
bacf98
- new upstream release
bacf98
- cleanup of the word lists
bacf98
bacf98
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.1-6
bacf98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
bacf98
bacf98
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.1-5
bacf98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
bacf98
bacf98
* Fri Jul 11 2014 Tom Callaway <spot@fedoraproject.org> - 2.9.1-4
bacf98
- fix license handling
bacf98
bacf98
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.1-3
bacf98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
bacf98
bacf98
* Wed Feb  5 2014 Tomáš Mráz <tmraz@redhat.com> - 2.9.1-2
bacf98
- move python files to libdir
bacf98
bacf98
* Mon Dec  9 2013 Tomáš Mráz <tmraz@redhat.com> - 2.9.1-1
bacf98
- new upstream release
bacf98
bacf98
* Mon Dec  2 2013 Tomáš Mráz <tmraz@redhat.com> - 2.9.0-9
bacf98
- update only .gmo files to avoid multilib conflicts (#1036305)
bacf98
bacf98
* Thu Nov 28 2013 Tomáš Mráz <tmraz@redhat.com> - 2.9.0-8
bacf98
- updated translations
bacf98
bacf98
* Thu Oct 31 2013 Tomáš Mráz <tmraz@redhat.com> - 2.9.0-7
bacf98
- do not remove any printable characters in cracklib-format
bacf98
bacf98
* Thu Oct 31 2013 Tomáš Mráz <tmraz@redhat.com> - 2.9.0-6
bacf98
- fix the broken zh_CN translation
bacf98
bacf98
* Tue Sep  3 2013 Tomáš Mráz <tmraz@redhat.com> - 2.9.0-5
bacf98
- make the simplistic check and the purging of special characters much
bacf98
  less aggressive (#1003624, #985378)
bacf98
bacf98
* Wed Aug 28 2013 Tomáš Mráz <tmraz@redhat.com> - 2.9.0-4
bacf98
- revert compression of the dictionaries as the performance penalty is too big
bacf98
bacf98
* Wed Aug 21 2013 Tomáš Mráz <tmraz@redhat.com> - 2.9.0-3
bacf98
- fix the python module to work with compressed dictionaries (#972542)
bacf98
- fix various dictionary lookup errors (#986400, #986401)
bacf98
- make the library reentrant and fix compilation warnings
bacf98
bacf98
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.0-2
bacf98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
bacf98
bacf98
* Mon Jun  3 2013 Nalin Dahyabhai <nalin@redhat.com> - 2.9.0-1
bacf98
- update to 2.9.0 (#970065)
bacf98
  - adds FascistCheckUser()
bacf98
- go ahead and compress the main dictionary, since we're linking with zlib
bacf98
  anyway
bacf98
bacf98
* Tue Jan 29 2013 Nalin Dahyabhai <nalin@redhat.com> - 2.8.22-3
bacf98
- point cracklib-packer and cracklib-unpacker man pages to cracklib-format
bacf98
  (internal tooling)
bacf98
bacf98
* Wed Dec 19 2012 Nalin Dahyabhai <nalin@redhat.com> - 2.8.22-2
bacf98
- add missing buildrequires: on zlib-devel (#888876)
bacf98
bacf98
* Mon Dec 17 2012 Nalin Dahyabhai <nalin@redhat.com> - 2.8.22-1
bacf98
- update to 2.8.22 (#887461), which now returns an error instead of exiting
bacf98
  when there's a failure opening the dictionary in FascistCheck()
bacf98
bacf98
* Thu Dec 13 2012 Nalin Dahyabhai <nalin@redhat.com> - 2.8.21-1
bacf98
- update to 2.8.21
bacf98
bacf98
* Mon Dec 10 2012 Nalin Dahyabhai <nalin@redhat.com> - 2.8.20-1
bacf98
- update to 2.8.20 (#885439)
bacf98
bacf98
* Tue Nov 20 2012 Nalin Dahyabhai <nalin@redhat.com> - 2.8.19-3
bacf98
- update the copy of the debian source package to one that can currently be
bacf98
  retrieved using the URL we list for it
bacf98
bacf98
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.19-2
bacf98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
bacf98
bacf98
* Fri May 18 2012 Nalin Dahyabhai <nalin@redhat.com> - 2.8.19-1
bacf98
- update to 2.8.19
bacf98
bacf98
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.18-3
bacf98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
bacf98
bacf98
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.18-2
bacf98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
bacf98
bacf98
* Thu Jan 27 2011 Nalin Dahyabhai <nalin@redhat.com> - 2.8.18-1
bacf98
- update to 2.8.18
bacf98
- add man pages from Debian (#583932)
bacf98
- replace zh_CN translation (related to #627449)
bacf98
bacf98
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 2.8.16-4
bacf98
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
bacf98
bacf98
* Sat Jul  3 2010 Dan Horák <dan[at]danny.cz> - 2.8.16-3
bacf98
- added gettext-autopoint as BR:
bacf98
bacf98
* Thu May 20 2010 Nalin Dahyabhai <nalin@redhat.com> - 2.8.16-2
bacf98
- pull in changes to the Hindi translation (#589188)
bacf98
bacf98
* Tue Apr 20 2010 Nalin Dahyabhai <nalin@redhat.com> - 2.8.16-1
bacf98
- update to 2.8.16
bacf98
bacf98
* Fri Jan 22 2010 Nalin Dahyabhai <nalin@redhat.com> - 2.8.15-3
bacf98
- add passwords derived from rockyou breach data to the dictionaries (Matthew
bacf98
  Miller, #557592)
bacf98
bacf98
* Thu Jan 21 2010 Nalin Dahyabhai <nalin@redhat.com> - 2.8.15-2
bacf98
- update license: tag
bacf98
- include license file
bacf98
bacf98
* Tue Dec  1 2009 Nalin Dahyabhai <nalin@redhat.com> - 2.8.15-1
bacf98
- update to 2.8.15
bacf98
- update cracklib-words to the current version (2008-05-07)
bacf98
- fixup URLs for various dictionary sources that we use
bacf98
- fix freeing-an-uninitialized-pointer in the python module (SF#2907102)
bacf98
- add a disttag
bacf98
bacf98
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.13-6
bacf98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
bacf98
bacf98
* Mon May 18 2009 Nalin Dahyabhai <nalin@redhat.com> - 2.8.13-5
bacf98
- add explicit dependency on gzip for the sake of cracklib-format (Daniel
bacf98
  Mach, #501278)
bacf98
bacf98
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8.13-4
bacf98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
bacf98
bacf98
* Thu Feb 19 2009 Nalin Dahyabhai <nalin@redhat.com> - 2.8.13-3
bacf98
- drop trailing "." from the package description for the dicts
bacf98
  subpackage (#225659)
bacf98
bacf98
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.8.13-2
bacf98
- Rebuild for Python 2.6
bacf98
bacf98
* Tue Oct 28 2008 Nalin Dahyabhai <nalin@redhat.com> - 2.8.13-1
bacf98
- update to 2.8.13, which overhauls the python bindings and revises
bacf98
  FascistCheck()'s behavior:
bacf98
  2.8.12 success: returns None, fail: returns error text, other: exceptions
bacf98
  2.8.13 success: returns candidate, fail: throws ValueError, other: exceptions
bacf98
bacf98
* Tue Oct 28 2008 Nalin Dahyabhai <nalin@redhat.com> - 2.8.12-3
bacf98
- fix errors rebuilding with libtool that's newer than the one upstream
bacf98
  has (#467364)
bacf98
bacf98
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.8.12-2
bacf98
- Autorebuild for GCC 4.3
bacf98
bacf98
* Fri Jan 25 2008 Nalin Dahyabhai <nalin@redhat.com> - 2.8.12-1
bacf98
- update to 2.8.12, which was relicensed to GPLv2
bacf98
- package the now-bundled cracklib-small dictionary in cracklib-dicts
bacf98
bacf98
* Tue Aug 21 2007 Nalin Dahyabhai <nalin@redhat.com> - 2.8.10-3
bacf98
- rebuild
bacf98
bacf98
* Mon Jul 23 2007 Nalin Dahyabhai <nalin@redhat.com>
bacf98
- add a %%check script to catch things like #249210
bacf98
bacf98
* Mon Jul 23 2007 Nalin Dahyabhai <nalin@redhat.com> - 2.8.10-2
bacf98
- work around non-executable util/cracklib-format giving us empty/garbage
bacf98
  dictionaries (#249210)
bacf98
bacf98
* Thu Jul 19 2007 Nalin Dahyabhai <nalin@redhat.com> - 2.8.10-1
bacf98
- update to 2.8.10
bacf98
bacf98
* Wed Jun 20 2007 Nalin Dahyabhai <nalin@redhat.com> - 2.8.9-11
bacf98
- improve reports of out-of-memory exceptions so that they don't include a
bacf98
  bogus filename
bacf98
- improve reports of file-missing exceptions from the python module so that
bacf98
  they give the right filename (#225858)
bacf98
bacf98
* Mon Mar 12 2007 Nalin Dahyabhai <nalin@redhat.com> - 2.8.9-10
bacf98
- explicitly include required headers from <packer.h> (#228698)
bacf98
- attempt to provide doc strings in the python module
bacf98
bacf98
* Mon Feb 12 2007 Nalin Dahyabhai <nalin@redhat.com> - 2.8.9-9
bacf98
- drop final "." from summaries (Jef Spaleta, #225659)
bacf98
- drop static library from -devel subpackage (Jef Spaleta, #225659)
bacf98
- note that the most recently-added wordlist came from bugzilla (#225659)
bacf98
- remove explicit dependency on gzip, as it's implicit (Jef Spaleta, #225659)
bacf98
- convert %%triggerpostun to not use a shell as an interpreter (#225659)
bacf98
bacf98
* Wed Jan 31 2007 Nalin Dahyabhai <nalin@redhat.com> - 2.8.9-8
bacf98
- add word list from attachment #126053 (#185314)
bacf98
bacf98
* Thu Jan 25 2007 Nalin Dahyabhai <nalin@redhat.com> - 2.8.9-7
bacf98
- fix check for the existence of dictionaries when the caller specifies a
bacf98
  location (#224347, upstream #1644628)
bacf98
bacf98
* Thu Dec  7 2006 Jeremy Katz <katzj@redhat.com> - 2.8.9-6
bacf98
- rebuild against python 2.5
bacf98
bacf98
* Sun Oct 29 2006 Nalin Dahyabhai <nalin@redhat.com> - 2.8.9-5
bacf98
- split out cracklib-python (#203327)
bacf98
bacf98
* Sun Oct 29 2006 Nalin Dahyabhai <nalin@redhat.com> - 2.8.9-4
bacf98
- split out cracklib-devel (#203569)
bacf98
bacf98
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.8.9-3.1
bacf98
- rebuild
bacf98
bacf98
* Mon Jun 12 2006 Jesse Keating <jkeating@redhat.com> - 2.8.9-3
bacf98
- Add missing br, automake, libtool (#194738)
bacf98
bacf98
* Tue Apr 25 2006 Nalin Dahyabhai <nalin@redhat.com> - 2.8.9-2
bacf98
- update to 2.8.9
bacf98
- only create compat symlinks for the dictionaries if we aren't installing
bacf98
  them into the old locations
bacf98
bacf98
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.8.6-1.2.1
bacf98
- bump again for double-long bug on ppc(64)
bacf98
bacf98
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.8.6-1.2
bacf98
- rebuilt for new gcc4.1 snapshot and glibc changes
bacf98
bacf98
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
bacf98
- rebuilt
bacf98
bacf98
* Mon Nov  7 2005 Nalin Dahyabhai <nalin@redhat.com> 2.8.6-1
bacf98
- update to 2.8.6
bacf98
- remove .la file (#172632)
bacf98
bacf98
* Wed Sep 28 2005 Nalin Dahyabhai <nalin@redhat.com> 2.8.5-2
bacf98
- update to 2.8.5
bacf98
bacf98
* Tue Sep 27 2005 Nalin Dahyabhai <nalin@redhat.com> 2.8.4-1
bacf98
- update to 2.8.4
bacf98
- build python module
bacf98
bacf98
* Fri May 13 2005 Nalin Dahyabhai <nalin@redhat.com> 2.8.3-1
bacf98
- update to 2.8.3
bacf98
bacf98
* Thu Mar 17 2005 Nalin Dahyabhai <nalin@redhat.com> 2.8.2-1
bacf98
- update to 2.8.2
bacf98
bacf98
* Wed Mar 16 2005 Nalin Dahyabhai <nalin@redhat.com> 2.8.1-1
bacf98
- update to 2.8.1
bacf98
  - moves dictionary to new default location under %%{_datadir} -- the
bacf98
    dictionary format is the same across all architectures
bacf98
  - renames "packer" to "cracklib-packer"
bacf98
- conflict with cracklib-dicts < 2.8, where the on-disk format was not
bacf98
  compatible on 64-bit arches due to now-fixed cleanliness bugs
bacf98
- move binaries for manipulating and checking words against dictionaries
bacf98
  from -dicts into the main package
bacf98
bacf98
* Mon Jan  3 2005 Nalin Dahyabhai <nalin@redhat.com> 2.7-30
bacf98
- rebuild
bacf98
bacf98
* Mon Jan  3 2005 Nalin Dahyabhai <nalin@redhat.com> 2.7-29
bacf98
- correctly build on 64-bit systems (part of #143417)
bacf98
- patch so that 32- and 64-bit libcrack can read dictionaries which were
bacf98
  incorrectly generated on 64-bit systems of the same endianness (more #143417)
bacf98
- include a sample cracklib magic file
bacf98
- stop using /usr/dict/* when building the dictionary
bacf98
- list words as a build requirement, which it is, instead of a run-time
bacf98
  requirement
bacf98
- provide a virtual arch-specific dep in cracklib-dicts, require it in
bacf98
  cracklib (part of #143417)
bacf98
bacf98
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
bacf98
- rebuilt
bacf98
bacf98
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
bacf98
- rebuilt
bacf98
bacf98
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
bacf98
- rebuilt
bacf98
bacf98
* Wed Feb  4 2004 Nalin Dahyabhai <nalin@redhat.com> 2.7-26
bacf98
- update URL (previous page moved) (#114894)
bacf98
bacf98
* Fri Jan 30 2004 Nalin Dahyabhai <nalin@redhat.com> 2.7-25
bacf98
- fix ldconfig invocation in trigger for older versions which included the
bacf98
  soname symlink (#114620)
bacf98
bacf98
* Mon Dec  1 2003 Nalin Dahyabhai <nalin@redhat.com> 2.7-24
bacf98
- include packer.h for reading dictionaries directly, since we already include
bacf98
  packer in the -dicts subpackage (#68339)
bacf98
- don't include the soname symlink in the package, let ldconfig do its job
bacf98
bacf98
* Wed Jun 18 2003 Nalin Dahyabhai <nalin@redhat.com> 2.7-23
bacf98
- rebuild
bacf98
bacf98
* Mon Jun 16 2003 Nalin Dahyabhai <nalin@redhat.com> 2.7-22
bacf98
- rebuild
bacf98
bacf98
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
bacf98
- rebuilt
bacf98
bacf98
* Wed Apr 30 2003 Nalin Dahyabhai <nalin@redhat.com>
bacf98
- update URL
bacf98
bacf98
* Tue Feb 04 2003 Florian La Roche <Florian.LaRoche@redhat.de>
bacf98
- add symlink to shared libs
bacf98
bacf98
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
bacf98
- rebuilt
bacf98
bacf98
* Wed Sep 25 2002 Nalin Dahyabhai <nalin@redhat.com> 2.7-19
bacf98
- fix for builds on multilib systems (set DICTPATH properly)
bacf98
bacf98
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
bacf98
- automated rebuild
bacf98
bacf98
* Sun May 26 2002 Tim Powers <timp@redhat.com>
bacf98
- automated rebuild
bacf98
bacf98
* Thu May  9 2002 Nalin Dahyabhai <nalin@redhat.com> 2.7-16
bacf98
- rebuild in new environment
bacf98
bacf98
* Fri Feb 22 2002 Nalin Dahyabhai <nalin@redhat.com> 2.7-15
bacf98
- rebuild
bacf98
bacf98
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
bacf98
- automated rebuild
bacf98
bacf98
* Tue Oct  2 2001 Nalin Dahyabhai <nalin@redhat.com> 2.7-13
bacf98
- use getpwuid_r instead of getpwuid
bacf98
bacf98
* Fri Aug  3 2001 Nalin Dahyabhai <nalin@redhat.com> 2.7-12
bacf98
- remove cruft that ldconfig already knows how to manage
bacf98
- don't explicitly strip anything -- the brp setup decides that
bacf98
- tweak the header so that it can be used in C++ (#46685)
bacf98
- buildprereq the words package
bacf98
bacf98
* Tue Jun 26 2001 Florian La Roche <Florian.LaRoche@redhat.de>
bacf98
- add link from library major version number
bacf98
bacf98
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
bacf98
- Bump release + rebuild.
bacf98
bacf98
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
bacf98
- automatic rebuild
bacf98
bacf98
* Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com>
bacf98
- FHS fixes
bacf98
- fix undeclared function warnings from the new compiler
bacf98
- fix URL
bacf98
bacf98
* Fri Apr 07 2000 Trond Eivind Glomsrød <teg@redhat.com>
bacf98
- switched to use /usr/share/dict/words
bacf98
bacf98
* Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
bacf98
- strip binaries
bacf98
bacf98
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
bacf98
- auto rebuild in the new build environment (release 4)
bacf98
bacf98
* Wed Jan 06 1999 Cristian Gafton <gafton@redhat.com>
bacf98
- build for glibc 2.1
bacf98
bacf98
* Sat May 09 1998 Prospector System <bugs@redhat.com>
bacf98
- translations modified for de, fr, tr
bacf98
bacf98
* Tue Mar 10 1998 Cristian Gafton <gafton@redhat.com>
bacf98
- updated to 2.7
bacf98
- build shared libraries
bacf98
bacf98
* Mon Nov 03 1997 Donnie Barnes <djb@redhat.com>
bacf98
- added -fPIC
bacf98
bacf98
* Mon Oct 13 1997 Donnie Barnes <djb@redhat.com>
bacf98
- basic spec file cleanups
bacf98
bacf98
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
bacf98
- built against glibc