forked from pool/perl-Crypt-OpenSSL-RSA
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Crypt-OpenSSL-RSA?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
Crypt-OpenSSL-RSA-0.25.tar.gz
Normal file
3
Crypt-OpenSSL-RSA-0.25.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7977343b5d5bb305c4cd71d3f343aa12f73e78e3185e9923579b1bd5cd45b601
|
||||
size 19133
|
11
Crypt-OpenSSL-RSA.patch
Normal file
11
Crypt-OpenSSL-RSA.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- RSA.xs
|
||||
+++ RSA.xs
|
||||
@@ -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:%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) \
|
||||
{ PACKAGE_CROAK("unable to alloc buffer"); }
|
10
perl-Crypt-OpenSSL-RSA.changes
Normal file
10
perl-Crypt-OpenSSL-RSA.changes
Normal file
@@ -0,0 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 4 10:21:07 CET 2008 - ro@suse.de
|
||||
|
||||
- add openssl-devel to BuildRequires to fi build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 28 14:29:47 CET 2008 - varkoly@suse.de
|
||||
|
||||
- Initial version of perl-Crypt-OpenSSL-RSA
|
||||
|
81
perl-Crypt-OpenSSL-RSA.spec
Normal file
81
perl-Crypt-OpenSSL-RSA.spec
Normal file
@@ -0,0 +1,81 @@
|
||||
#
|
||||
# spec file for package perl-Crypt-OpenSSL-RSA (Version 0.25)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Url: http://search.cpan.org/~iroberts/Crypt-OpenSSL-RSA-0.25/
|
||||
|
||||
Name: perl-Crypt-OpenSSL-RSA
|
||||
BuildRequires: openssl-devel
|
||||
License: GPL v2 only
|
||||
Group: Development/Libraries/Perl
|
||||
Requires: perl = %{perl_version}
|
||||
AutoReqProv: on
|
||||
Summary: RSA encoding and decoding, using the openSSL libraries
|
||||
Version: 0.25
|
||||
Release: 3
|
||||
Source: Crypt-OpenSSL-RSA-%{version}.tar.gz
|
||||
Patch: Crypt-OpenSSL-RSA.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%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.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Ian Robertson, <iroberts@cpan.org>
|
||||
|
||||
%prep
|
||||
%setup -n Crypt-OpenSSL-RSA-%{version}
|
||||
%patch
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_process_packlist
|
||||
|
||||
%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
|
||||
|
||||
%changelog
|
||||
* Tue Nov 04 2008 ro@suse.de
|
||||
- add openssl-devel to BuildRequires to fi build
|
||||
* Tue Oct 28 2008 varkoly@suse.de
|
||||
- Initial version of perl-Crypt-OpenSSL-RSA
|
Reference in New Issue
Block a user