From 580c9c0b187081edda53d488f633bc879bb3d48c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:47:07 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 0.12-5mamba;Tue Nov 13 2012] --- README.md | 3 ++ perl-Crypt-SmbHash.spec | 63 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 perl-Crypt-SmbHash.spec diff --git a/README.md b/README.md index e1aa5de..cd67143 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # perl-Crypt-SmbHash +This module generates Lanman and NT MD4 style password hashes, using perl-only code for portability. +The module aids in the administration of Samba style systems. + diff --git a/perl-Crypt-SmbHash.spec b/perl-Crypt-SmbHash.spec new file mode 100644 index 0000000..7515e36 --- /dev/null +++ b/perl-Crypt-SmbHash.spec @@ -0,0 +1,63 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Crypt-SmbHash +Version: 0.12 +Release: 5mamba +Summary: Crypt::SmbHash - Perl-only implementation of lanman and nt md4 hash functions +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/Crypt/Crypt-SmbHash-%{version}.tar.gz +License: GPL +BuildRequires: perl-devel >= %perl_major_ver +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This module generates Lanman and NT MD4 style password hashes, using perl-only code for portability. +The module aids in the administration of Samba style systems. + +%prep +%setup -q -n Crypt-SmbHash-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Tue Nov 13 2012 Silvan Calarco 0.12-5mamba +- perl 5.16 mass rebuild + +* Tue Nov 04 2008 Silvan Calarco 0.12-4mamba +- automatic rebuild by autodist + +* Tue Nov 13 2007 Aleph0 0.12-3mamba +- rebuilt + +* Tue Jun 06 2006 Stefano Cotta Ramusino 0.12-2qilnx +- specfile fixed and updated + +* Tue Feb 15 2005 Silvan Calarco 0.12-1qilnx +- package created by autospec