initial commit of file from CVS for perl-Crypt-Cracklib on Fri 14 Jul 13:56:37 BST 2023
This commit is contained in:
parent
29226c3520
commit
5a9129730e
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.7.tar.gz filter=lfs diff=lfs merge=lfs -text
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
*.rpm
|
||||||
|
*.log
|
||||||
|
*spec-20*
|
BIN
Crypt-Cracklib-1.7.tar.gz
(Stored with Git LFS)
Normal file
BIN
Crypt-Cracklib-1.7.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
19
Makefile
Normal file
19
Makefile
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
NAME := perl-Crypt-Cracklib
|
||||||
|
SPECFILE = $(firstword $(wildcard *.spec))
|
||||||
|
|
||||||
|
define find-makefile-common
|
||||||
|
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||||
|
|
||||||
|
ifeq ($(MAKEFILE_COMMON),)
|
||||||
|
# attept a checkout
|
||||||
|
define checkout-makefile-common
|
||||||
|
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||||
|
endef
|
||||||
|
|
||||||
|
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||||
|
endif
|
||||||
|
|
||||||
|
include $(MAKEFILE_COMMON)
|
10
README.md
10
README.md
@ -1,3 +1,11 @@
|
|||||||
# perl-Crypt-Cracklib
|
# perl-Crypt-Cracklib
|
||||||
|
|
||||||
3rd Party (Maintained by Koozali) git repo for perl-Crypt-Cracklib smeserver
|
3rd Party (Maintained by Koozali) git repo for perl-Crypt-Cracklib smeserver
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
<br />*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.*
|
||||||
|
*Once it has been checked, then this comment will be deleted*
|
||||||
|
<br />
|
||||||
|
|
||||||
|
Perl-Crypt-Cracklib is a software package that allows for encryption and decryption of passwords using the cracklib library. The software allows for the use of algorithm-based password strength checking functions, as well as functions to generate random passwords. The package also provides support for hashing and salting of passwords to create more secure passwords.
|
||||||
|
8
automake.patch
Normal file
8
automake.patch
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
--- Makefile.PL 2010-12-29 17:30:32.000000000 -0600
|
||||||
|
+++ Makefile.PL 2011-02-06 19:01:46.997930757 -0600
|
||||||
|
@@ -17,5 +17,4 @@
|
||||||
|
cc_lib_links('crack');
|
||||||
|
cc_optimize_flags('-g -Wall -Werror');
|
||||||
|
|
||||||
|
-auto_install();
|
||||||
|
WriteAll();
|
1
contriborbase
Normal file
1
contriborbase
Normal file
@ -0,0 +1 @@
|
|||||||
|
sme10
|
94
perl-Crypt-Cracklib.spec
Normal file
94
perl-Crypt-Cracklib.spec
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
%define auto %{perl_vendorarch}/auto
|
||||||
|
%define archlib %{perl_vendorarch}
|
||||||
|
%define _use_internal_dependency_generator 1
|
||||||
|
|
||||||
|
Name: perl-Crypt-Cracklib
|
||||||
|
Version: 1.7
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: Crypt-Cracklib - Perl interface to Alec Muffett's Cracklib
|
||||||
|
|
||||||
|
Group: Development/Libraries
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: http://search.cpan.org/dist/Crypt-Cracklib/
|
||||||
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/Crypt-Cracklib-1.7.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(ExtUtils::ParseXS)
|
||||||
|
BuildRequires: perl(ExtUtils::Manifest)
|
||||||
|
BuildRequires: cracklib-devel
|
||||||
|
BuildRequires: cracklib-dicts
|
||||||
|
BuildRequires: perl-Test-Pod
|
||||||
|
BuildRequires: perl-Test-Pod-Coverage
|
||||||
|
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
Patch0: automake.patch
|
||||||
|
|
||||||
|
%description
|
||||||
|
This module providers interaction with the system cracklib libraries.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n Crypt-Cracklib-%{version}
|
||||||
|
%patch0 -p0 -b .automake
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||||
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||||
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
|
||||||
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||||
|
find $RPM_BUILD_ROOT -name Cracklib.bs -exec rm -f {} ';'
|
||||||
|
|
||||||
|
mkdir -p -m0700 $RPM_BUILD_ROOT%{_defaultdocdir}/perl-Crypt-Cracklib-%{version}
|
||||||
|
install -m 0644 Changes $RPM_BUILD_ROOT%{_defaultdocdir}/perl-Crypt-Cracklib-%{version}/Changes
|
||||||
|
install -m 0644 README $RPM_BUILD_ROOT%{_defaultdocdir}/perl-Crypt-Cracklib-%{version}/README
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%dir %{auto}/Crypt
|
||||||
|
%dir %{auto}/Crypt/Cracklib
|
||||||
|
%{archlib}/Crypt/Cracklib.pm
|
||||||
|
%{auto}/Crypt/Cracklib/*
|
||||||
|
%{_mandir}/man3/*.3*
|
||||||
|
%doc Changes README
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jul 14 2023 BogusDateBot
|
||||||
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
|
||||||
|
by assuming the date is correct and changing the weekday.
|
||||||
|
Sun Feb 05 2011 --> Sun Jan 30 2011 or Sat Feb 05 2011 or Sun Feb 06 2011 or ....
|
||||||
|
|
||||||
|
* Mon Mar 14 2016 Daniel Berteaud <daniel@firewall-services.com> 1.7-2
|
||||||
|
- Remove fedora and el5 specific conditions
|
||||||
|
- Add cracklib-dicts to the buildreqs so it builds on el7
|
||||||
|
* Sat Feb 05 2011 Carl Thompson <fedora@red-dragon.com> 1.7-1
|
||||||
|
Sun Feb 05 2011 --> Sun Jan 30 2011 or Sat Feb 05 2011 or Sun Feb 06 2011 or ....
|
||||||
|
- upgraded to version 1.7
|
||||||
|
- added patch to remove AutoMake functions of perl so its
|
||||||
|
- dependant on packages
|
||||||
|
- updated spec to work with fedora and epel builds
|
||||||
|
- updated spec to deal with perl module install paths
|
||||||
|
* Wed Jul 28 2010 Carl Thompson <fedora@red-dragon.com> 1.5-3
|
||||||
|
- update files section for cleaner docs list
|
||||||
|
- removed epoch
|
||||||
|
- added Crypt as a directory owned by package
|
||||||
|
* Tue Jul 27 2010 Carl Thompson <fedora@red-dragon.com> 1:1.5-2
|
||||||
|
- added check section to spec
|
||||||
|
- removed BUILD_ROOT check in install and clean
|
||||||
|
- included the README and Changes files to the installation
|
||||||
|
- re enabled the internal dependancy checks
|
||||||
|
* Tue Jul 20 2010 Carl Thompson <fedora@red-dragon.com> 1:1.5-1
|
||||||
|
- update to 1.5
|
||||||
|
* Sat Jul 17 2010 Carl Thompson <fedora@red-dragon.com> 1:1.4-1
|
||||||
|
- initial build
|
||||||
|
|
Loading…
Reference in New Issue
Block a user