rpms/perl-Tie-EncryptedHash/devel perl-Tie-EncryptedHash.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Wed Feb 8 07:23:10 UTC 2006


Author: pghmcfc

Update of /cvs/extras/rpms/perl-Tie-EncryptedHash/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13225/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Tie-EncryptedHash.spec 
Log Message:
auto-import perl-Tie-EncryptedHash-1.21-1 on branch devel from perl-Tie-EncryptedHash-1.21-1.src.rpm


--- NEW FILE perl-Tie-EncryptedHash.spec ---
Summary:	Hashes (and objects based on hashes) with encrypting fields
Name:		perl-Tie-EncryptedHash
Version:	1.21
Release:	1%{?dist}
License:	Artistic
Group:		Development/Libraries
Url:		http://search.cpan.org/dist/Tie-EncryptedHash/
Source0:	http://search.cpan.org/CPAN/authors/id/V/VI/VIPUL/Tie-EncryptedHash-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:	noarch
BuildRequires:	perl(Crypt::CBC)
BuildRequires:	perl(Crypt::Blowfish)
BuildRequires:	perl(Crypt::DES)

%description
Tie::EncryptedHash augments Perl hash semantics to build secure, encrypting
containers of data. Tie::EncryptedHash introduces special hash fields that are
coupled with encrypt/decrypt routines to encrypt assignments at STORE() and
decrypt retrievals at FETCH(). By design, encrypting fields are associated with
keys that begin in single underscore. The remaining keyspace is used for
accessing normal hash fields, which are retained without modification.

While the password is set, a Tie::EncryptedHash behaves exactly like a standard
Perl hash. This is its transparent mode of access. Encrypting and normal fields
are identical in this mode. When password is deleted, encrypting fields are
accessible only as ciphertext. This is Tie::EncryptedHash's opaque mode of
access, optimized for serialization.

Encryption is done with Crypt::CBC(3), which encrypts in the cipher block
chaining mode with Blowfish, DES or IDEA. Tie::EncryptedHash uses Blowfish by
default, but can be instructed to employ any cipher supported by Crypt::CBC(3).

%prep
%setup -q -n Tie-EncryptedHash-%{version}
%{__sed} -i -e '/^#! *\/usr\/bin\/perl /d' lib/Tie/EncryptedHash.pm

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}

%check
%{__make} test

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
/usr/bin/find %{buildroot} -type d -depth -exec /bin/rmdir {} 2>/dev/null ';'
%{__chmod} -R u+w %{buildroot}/*

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,0755)
%doc Changes README.html TODO
%{perl_vendorlib}/Tie/
%{_mandir}/man3/Tie::EncryptedHash.3pm*

%changelog
* Tue Dec  6 2005 Paul Howarth <paul at city-fan.org> 1.21-1
- Initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Tie-EncryptedHash/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Feb 2006 07:21:10 -0000	1.1
+++ .cvsignore	8 Feb 2006 07:23:09 -0000	1.2
@@ -0,0 +1 @@
+Tie-EncryptedHash-1.21.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Tie-EncryptedHash/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Feb 2006 07:21:10 -0000	1.1
+++ sources	8 Feb 2006 07:23:09 -0000	1.2
@@ -0,0 +1 @@
+5a85bd78c74ef52aeff6c70836f9d3bf  Tie-EncryptedHash-1.21.tar.gz




More information about the scm-commits mailing list