From 9202e34e0416413a4cdafade4180627814fc24f4c94bcd2cfb6bb13f59f9a499 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 5 Nov 2008 03:44:12 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Crypt-OpenSSL-RSA?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + Crypt-OpenSSL-RSA-0.25.tar.gz | 3 ++ Crypt-OpenSSL-RSA.patch | 11 +++++ perl-Crypt-OpenSSL-RSA.changes | 10 +++++ perl-Crypt-OpenSSL-RSA.spec | 81 ++++++++++++++++++++++++++++++++++ ready | 0 7 files changed, 129 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Crypt-OpenSSL-RSA-0.25.tar.gz create mode 100644 Crypt-OpenSSL-RSA.patch create mode 100644 perl-Crypt-OpenSSL-RSA.changes create mode 100644 perl-Crypt-OpenSSL-RSA.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Crypt-OpenSSL-RSA-0.25.tar.gz b/Crypt-OpenSSL-RSA-0.25.tar.gz new file mode 100644 index 0000000..5a25e87 --- /dev/null +++ b/Crypt-OpenSSL-RSA-0.25.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7977343b5d5bb305c4cd71d3f343aa12f73e78e3185e9923579b1bd5cd45b601 +size 19133 diff --git a/Crypt-OpenSSL-RSA.patch b/Crypt-OpenSSL-RSA.patch new file mode 100644 index 0000000..77e39b6 --- /dev/null +++ b/Crypt-OpenSSL-RSA.patch @@ -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"); } diff --git a/perl-Crypt-OpenSSL-RSA.changes b/perl-Crypt-OpenSSL-RSA.changes new file mode 100644 index 0000000..c46a11d --- /dev/null +++ b/perl-Crypt-OpenSSL-RSA.changes @@ -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 + diff --git a/perl-Crypt-OpenSSL-RSA.spec b/perl-Crypt-OpenSSL-RSA.spec new file mode 100644 index 0000000..a7c0044 --- /dev/null +++ b/perl-Crypt-OpenSSL-RSA.spec @@ -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, + +%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 diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4