[packages/perl-Crypt-OpenSSL-CA] - initial release, version 0.23

adwol adwol at pld-linux.org
Sat Oct 4 20:56:55 CEST 2014


commit f5f98e6aa6121c08ab66aedceea50da590553243
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Sat Oct 4 20:56:28 2014 +0200

    - initial release, version 0.23

 perl-Crypt-OpenSSL-CA.spec | 88 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 88 insertions(+)
---
diff --git a/perl-Crypt-OpenSSL-CA.spec b/perl-Crypt-OpenSSL-CA.spec
new file mode 100644
index 0000000..5d26865
--- /dev/null
+++ b/perl-Crypt-OpenSSL-CA.spec
@@ -0,0 +1,88 @@
+# Conditional build:
+%bcond_with	tests		# do perform "make test"
+
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Crypt
+%define	pnam	OpenSSL-CA
+Summary:	Crypt::OpenSSL::CA - The crypto parts of an X509v3 Certification Authority
+#Summary(pl.UTF-8):	
+Name:		perl-Crypt-OpenSSL-CA
+Version:	0.23
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	ce943b9ffa27f94196d5fe59af84b0f3
+URL:		http://search.cpan.org/dist/Crypt-OpenSSL-CA/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl(Devel::Leak)
+BuildRequires:	perl(Devel::Mallinfo)
+BuildRequires:	perl(File::Slurp)
+BuildRequires:	perl(Inline) >= 0.4
+BuildRequires:	perl(Inline::C)
+BuildRequires:	perl(Module::Build)
+BuildRequires:	perl(Module::Build::Compat)
+BuildRequires:	perl(Parse::RecDescent)
+BuildRequires:	perl(Test::Group)
+BuildRequires:	perl-Convert-ASN1 >= 0.2
+BuildRequires:	perl-IPC-Run
+BuildRequires:	perl-Net-SSLeay >= 1.25
+%endif
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module performs the cryptographic operations necessary to issue
+X509 certificates and certificate revocation lists (CRLs).  It is
+implemented as a Perl wrapper around the popular OpenSSL library.
+
+Crypt::OpenSSL::CA is an essential building block to create an
+X509v3 Certification Authority or CA, a crucial part of an X509
+Public Key Infrastructure (PKI). A CA is defined by RFC4210 and
+friends (see Crypt::OpenSSL::CA::Resources) as a piece of software
+that can (among other things) issue and revoke X509v3 certificates.
+To perform the necessary cryptographic operations, it needs a private
+key that is kept secret (currently only RSA is supported).
+
+Despite the name and unlike the openssl ca command-line tool,
+Crypt::OpenSSL::CA is not designed as a full-fledged X509v3
+Certification Authority (CA) in and of itself: some key features are
+missing, most notably persistence (e.g. to remember issued and revoked
+certificates between two CRL issuances) and security-policy based
+screening of certificate requests.  Crypt::OpenSSL::CA mostly does
+``just the crypto'', and this is deliberate: OpenSSL's features such
+as configuration file parsing, that are best implemented in Perl, have
+been left out for maximum flexibility.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+	destdir=$RPM_BUILD_ROOT \
+	installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorarch}/Crypt/OpenSSL/*.pm
+%{perl_vendorarch}/Crypt/OpenSSL/CA
+%{perl_vendorarch}/auto/Crypt/OpenSSL/CA
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-OpenSSL-CA.git/commitdiff/f5f98e6aa6121c08ab66aedceea50da590553243



More information about the pld-cvs-commit mailing list