forked from pool/perl-Crypt-OpenSSL-RSA
Accepting request 36928 from devel:languages:perl
Copy from devel:languages:perl/perl-Crypt-OpenSSL-RSA based on submit request 36928 from user computersalat OBS-URL: https://build.opensuse.org/request/show/36928 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Crypt-OpenSSL-RSA?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
85153cd7d2
commit
39520a916a
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7977343b5d5bb305c4cd71d3f343aa12f73e78e3185e9923579b1bd5cd45b601
|
||||
size 19133
|
||||
3
Crypt-OpenSSL-RSA-0.26.tar.gz
Normal file
3
Crypt-OpenSSL-RSA-0.26.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f42f276ffe5ae1775c4bd76f3026483f0d39975f7cdd07bf48eccfb8c45286bb
|
||||
size 19364
|
||||
@@ -1,10 +1,10 @@
|
||||
--- RSA.xs
|
||||
+++ RSA.xs
|
||||
--- RSA.xs.orig 2009-11-22 18:38:26.000000000 +0000
|
||||
+++ RSA.xs 2010-04-04 20:38:46.685992188 +0000
|
||||
@@ -40,7 +40,7 @@
|
||||
|
||||
#define CHECK_OPEN_SSL(p_result) if (!(p_result)) croakSsl(__FILE__, __LINE__);
|
||||
|
||||
-#define PACKAGE_CROAK(p_message) croak("%s:%d: %s", (p_message))
|
||||
-#define PACKAGE_CROAK(p_message) croak("%s", (p_message))
|
||||
+#define PACKAGE_CROAK(p_message) croak("%s:%d: %s", __FILE__, __LINE__, (p_message))
|
||||
#define CHECK_NEW(p_var, p_size, p_type) \
|
||||
if (New(0, p_var, p_size, p_type) == NULL) \
|
||||
|
||||
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 4 20:45:03 UTC 2010 - chris@computersalat.de
|
||||
|
||||
- update to 0.26
|
||||
- Change subclassing test to generate a 512 bit key in order to work
|
||||
around an odd issue seen on some 64-bit redhat systems.
|
||||
(CPAN bug 45498)
|
||||
- cleanup spec
|
||||
o sort TAGS
|
||||
o update Url
|
||||
o fixed deps
|
||||
added Crypt::OpenSSL::Random
|
||||
o updated description
|
||||
o added missing clean section
|
||||
o added missing doc
|
||||
- added perl-macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package perl-Crypt-OpenSSL-RSA (Version 0.25)
|
||||
# spec file for package perl-Crypt-OpenSSL-RSA (Version 0.26)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -17,26 +17,32 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Url: http://search.cpan.org/~iroberts/Crypt-OpenSSL-RSA-0.25/
|
||||
|
||||
Name: perl-Crypt-OpenSSL-RSA
|
||||
BuildRequires: openssl-devel
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
Summary: RSA encoding and decoding, using the openSSL libraries
|
||||
Version: 0.26
|
||||
Release: 1
|
||||
License: GPLv2
|
||||
Group: Development/Libraries/Perl
|
||||
Requires: perl = %{perl_version}
|
||||
AutoReqProv: on
|
||||
Summary: RSA encoding and decoding, using the openSSL libraries
|
||||
Version: 0.25
|
||||
Release: 4
|
||||
Source: Crypt-OpenSSL-RSA-%{version}.tar.gz
|
||||
Patch: Crypt-OpenSSL-RSA.patch
|
||||
Url: http://search.cpan.org/dist/Crypt-OpenSSL-RSA
|
||||
Source: http://search.cpan.org/CPAN/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-RSA-0.26.tar.gz
|
||||
Patch: %{cpan_name}.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Crypt::OpenSSL::Random)
|
||||
Requires: perl = %{perl_version}
|
||||
Requires: perl(Crypt::OpenSSL::Random)
|
||||
|
||||
%description
|
||||
Crypt::OpenSSL::RSA provides the ability to RSA encrypt strings which
|
||||
are somewhat shorter than the block size of a key. It also allows for
|
||||
decryption, signatures and signature verification.
|
||||
|
||||
Crypt::OpenSSL::RSA is an XS perl module designed to provide basic RSA
|
||||
functionality. It does this by providing a glue to the RSA functions
|
||||
in the OpenSSL library.
|
||||
|
||||
|
||||
Authors:
|
||||
@@ -44,34 +50,26 @@ Authors:
|
||||
Ian Robertson, <iroberts@cpan.org>
|
||||
|
||||
%prep
|
||||
%setup -n Crypt-OpenSSL-RSA-%{version}
|
||||
%setup -n %{cpan_name}-%{version}
|
||||
%patch
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make %{?_smp_mflags}
|
||||
%{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-, root, root)
|
||||
%dir %{perl_vendorarch}/Crypt
|
||||
%dir %{perl_vendorarch}/Crypt/OpenSSL
|
||||
%{perl_vendorarch}/Crypt/OpenSSL/RSA.pm
|
||||
%dir %{perl_vendorarch}/auto/Crypt
|
||||
%dir %{perl_vendorarch}/auto/Crypt/OpenSSL
|
||||
%dir %{perl_vendorarch}/auto/Crypt/OpenSSL/RSA
|
||||
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/RSA.bs
|
||||
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/RSA.so
|
||||
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/autosplit.ix
|
||||
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/get_key_parameters.al
|
||||
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/import_random_seed.al
|
||||
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/new_key_from_parameters.al
|
||||
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/new_public_key.al
|
||||
%{perl_vendorarch}/auto/Crypt/OpenSSL/RSA/.packlist
|
||||
%doc %{_mandir}/man3/Crypt::OpenSSL::RSA.3pm.gz
|
||||
/var/adm/perl-modules/perl-Crypt-OpenSSL-RSA
|
||||
%doc Changes LICENSE README
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user