initial commit of file from CVS for perl-Crypt-Password on Sun Mar 24 22:24:38 AEDT 2024

This commit is contained in:
Trevor Batley 2024-03-24 22:24:38 +11:00
parent 9e9228312f
commit 20b1eebe80
6 changed files with 63 additions and 1 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*. filter=lfs diff=lfs merge=lfs -text

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.rpm
*.log
*spec-20*

BIN
Crypt-Password-0.28.tgz Normal file

Binary file not shown.

View File

@ -1,3 +1,9 @@
# perl-Crypt-Password # perl-Crypt-Password
3rd Party (Maintained by Koozali) git repo for perl-Crypt-Password smeserver 3rd Party (Maintained by Koozali) git repo for perl-Crypt-Password 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 />

1
contriborbase Normal file
View File

@ -0,0 +1 @@
sme10

51
perl-Crypt-Password.spec Normal file
View File

@ -0,0 +1,51 @@
Name: perl-Crypt-Password
Version: 0.28
Release: 1%{?dist}
Summary: Unix-style, Variously Hashed Passwords
License: Distributable, see COPYING.txt
Group: Development/Libraries
URL: http://search.cpan.org/dist/Crypt-Password/
Source0: http://www.cpan.org/authors/id/D/DR/DRSTEVE/Crypt-Password-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This is just a wrapper for perl's crypt(), which can do everything you
would probably want to do to store a password, but this is to make usage
easier. The object stringifies to the return string of the crypt()
function, which is (on Linux/glibc et al) in Modular Crypt Format:
%prep
%setup -q -n Crypt-Password-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%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/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc CHANGES COPYING.txt README SubmittingPatches
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sun Mar 24 2024 Trevor Batley <trevor@batley.id.au> 0.28-1
- Specfile autogenerated by cpanspec 1.78.