Compare commits

...

10 Commits

Author SHA256 Message Date
1f1f6cdf04 Accepting request 1245150 from devel:languages:perl:autoupdate
- updated to 1.190.0 (1.19)
   see /usr/share/doc/packages/perl-Crypt-DSA/Changes
  1.19 -- 
      [Changes since 1.17]
      - Release 1.18-TRIAL as a production release
      - New Maintainer
      - This release resolves CVE-2011-3599
      - Added a statement to recommend against using DSA
      - Fixed a few long standing bugs
      - The build process is moved to Dist::Zilla
      - Thanks to all the people who contributed to the tickets that were closed
      [Detailed Change List]
      - 47bda33 Increment Repo Version
      - ffd39e8 (tag: 1.18) Update Changes for a Release
      [Changes since 1.17]
      - New Maintainer
      - This release resolves CVE-2011-3599
      - Added a statement to recommend against using DSA
      - Fixed a few long standing bugs
      - The build process is moved to Dist::Zilla
      - Thanks to all the people who contributed to the tickets that were closed
      [Detailed Change List]
      - 3411005 Add a SECURITY statement about DSA
      - 1f5df72 Fixes RT#71342: Patch to use Digest::SHA
      - 06f420d Fix missed version numbers
      - 1946ead Remove old MANIFEST and META.yml from repo
      - 6c813c7 Fixes #19477: Crypt::DSA::Key -write comment wrong for public key
      - c28a8a3 Fix some of the Dependencies in dist.ini
      - fe15637 Fixed RT#71421: Systems without /dev/random may leak secret key
      - cf81bfc Fixes RT #156495 for Crypt-DSA t/04-pem.t
      - 24ac55b Convert build process to Dist::Zilla
      - b680374 (tag: 1.17) Import Crypt::DSA-1.17 from CPAN release

OBS-URL: https://build.opensuse.org/request/show/1245150
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-DSA?expand=0&rev=12
2025-02-11 18:19:49 +00:00
6e6fddca07 Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-DSA?expand=0&rev=11
2024-07-19 23:21:07 +00:00
Stephan Kulow
6fc2f06451 Accepting request 536215 from home:mlatimer:branches:devel:languages:perl
- patch the Makefile to build with perl 5.26

OBS-URL: https://build.opensuse.org/request/show/536215
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-DSA?expand=0&rev=10
2017-11-08 16:46:47 +00:00
Stephan Kulow
78b367ff0e Accepting request 297401 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/297401
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-DSA?expand=0&rev=9
2015-04-17 05:46:14 +00:00
Stephan Kulow
ef76953f49 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-DSA?expand=0&rev=8 2011-11-11 11:15:07 +00:00
Stephan Kulow
2d6a4d2357 always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-DSA?expand=0&rev=7
2010-12-03 13:59:18 +00:00
Stephan Kulow
d647faac6c switch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-DSA?expand=0&rev=6
2010-12-01 16:13:01 +00:00
Stephan Kulow
e88b1f81aa - remove /var/adm/perl-modules
- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-DSA?expand=0&rev=5
2010-11-29 18:53:30 +00:00
Stephan Kulow
b534f0d66c add changes files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-DSA?expand=0&rev=4
2010-11-29 18:03:56 +00:00
OBS User unknown
979e571c3f OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-DSA?expand=0&rev=3 2006-11-01 02:25:56 +00:00
5 changed files with 170 additions and 51 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6871a225055b1a4fff7d1d81d432825393942ba2d647cb869c2b884fdbd23c53
size 28830

3
Crypt-DSA-1.19.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1d192241b587f0a41b9f1a38bb90c2e10dcf31104eaaaf35d4803b68ff6cda9c
size 30475

20
cpanspec.yml Normal file
View File

@@ -0,0 +1,20 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag

74
perl-Crypt-DSA.changes Normal file
View File

@@ -0,0 +1,74 @@
-------------------------------------------------------------------
Thu Dec 12 16:13:42 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 1.190.0 (1.19)
see /usr/share/doc/packages/perl-Crypt-DSA/Changes
1.19 -- Wed Dec 04 10:49:10 AST 2024
[Changes since 1.17]
- Release 1.18-TRIAL as a production release
- New Maintainer
- This release resolves CVE-2011-3599
- Added a statement to recommend against using DSA
- Fixed a few long standing bugs
- The build process is moved to Dist::Zilla
- Thanks to all the people who contributed to the tickets that were closed
[Detailed Change List]
- 47bda33 Increment Repo Version
- ffd39e8 (tag: 1.18) Update Changes for a Release
[Changes since 1.17]
- New Maintainer
- This release resolves CVE-2011-3599
- Added a statement to recommend against using DSA
- Fixed a few long standing bugs
- The build process is moved to Dist::Zilla
- Thanks to all the people who contributed to the tickets that were closed
[Detailed Change List]
- 3411005 Add a SECURITY statement about DSA
- 1f5df72 Fixes RT#71342: Patch to use Digest::SHA
- 06f420d Fix missed version numbers
- 1946ead Remove old MANIFEST and META.yml from repo
- 6c813c7 Fixes #19477: Crypt::DSA::Key -write comment wrong for public key
- c28a8a3 Fix some of the Dependencies in dist.ini
- fe15637 Fixed RT#71421: Systems without /dev/random may leak secret key
- cf81bfc Fixes RT #156495 for Crypt-DSA t/04-pem.t
- 24ac55b Convert build process to Dist::Zilla
- b680374 (tag: 1.17) Import Crypt::DSA-1.17 from CPAN release
-------------------------------------------------------------------
Mon Oct 23 20:05:23 UTC 2017 - mlatimer@suse.com
- patch the Makefile to build with perl 5.26
-------------------------------------------------------------------
Thu Apr 16 20:35:45 UTC 2015 - coolo@suse.com
- updated to 1.17
see /usr/share/doc/packages/perl-Crypt-DSA/Changes
-------------------------------------------------------------------
Thu Apr 16 20:35:43 UTC 2015 - coolo@suse.com
- updated to 1.17
see /usr/share/doc/packages/perl-Crypt-DSA/Changes
-------------------------------------------------------------------
Wed Dec 1 16:12:58 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 29 18:29:34 UTC 2010 - coolo@novell.com
- remove /var/adm/perl-modules
-------------------------------------------------------------------
Mon Nov 29 18:00:07 UTC 2010 - coolo@novell.com
- called spec2changelog
-------------------------------------------------------------------
Tue Sep 12 00:00:00 UTC 2006 - jfunk@funktronics.ca
- Initial release

View File

@@ -1,63 +1,88 @@
%define modname Crypt-DSA
Name: perl-%{modname}
Version: 0.14
Release: 1
#
# spec file for package perl-Crypt-DSA
#
# Copyright (c) 2025 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define cpan_name Crypt-DSA
Name: perl-Crypt-DSA
Version: 1.190.0
Release: 0
# 1.19 -> normalize -> 1.190.0
%define cpan_version 1.19
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: DSA Signatures and Key Generation
Requires: perl = %{perl_version} perl-Convert-PEM perl-Data-Buffer perl-Math-Pari
BuildRequires: perl perl-Convert-PEM perl-Data-Buffer perl-Math-Pari
License: GPL/Artistic
Group: Development/Libraries/Perl
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-root
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Convert::ASN1)
BuildRequires: perl(Convert::PEM) >= 0.130
BuildRequires: perl(Crypt::DES_EDE3)
BuildRequires: perl(Crypt::URandom)
BuildRequires: perl(Data::Buffer) >= 0.10.0
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(File::Which) >= 0.50.0
BuildRequires: perl(Math::BigInt) >= 1.78
Requires: perl(Convert::ASN1)
Requires: perl(Convert::PEM) >= 0.130
Requires: perl(Crypt::URandom)
Requires: perl(Data::Buffer) >= 0.10.0
Requires: perl(Digest::SHA)
Requires: perl(File::Which) >= 0.50.0
Requires: perl(Math::BigInt) >= 1.78
Provides: perl(BufferWithInt)
Provides: perl(Crypt::DSA) = %{version}
Provides: perl(Crypt::DSA::Key) = %{version}
Provides: perl(Crypt::DSA::Key::PEM) = %{version}
Provides: perl(Crypt::DSA::Key::SSH2) = %{version}
Provides: perl(Crypt::DSA::KeyChain) = %{version}
Provides: perl(Crypt::DSA::Signature) = %{version}
Provides: perl(Crypt::DSA::Util) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
Crypt::DSA is an implementation of the DSA (Digital Signature Algorithm)
signature verification system. The implementation itself is pure Perl, although
the heavy-duty mathematics underneath are provided by the Math::Pari library.
_Crypt::DSA_ is an implementation of the DSA (Digital Signature Algorithm)
signature verification system. The implementation itself is pure Perl,
although the heavy-duty mathematics underneath are provided by the
_Math::Pari_ library.
This package provides DSA signing, signature verification, and key generation.
Authors:
--------
Benjamin Trott <ben@sixapart.com>
This package provides DSA signing, signature verification, and key
generation.
%prep
%setup -q -n %{modname}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
set -x
echo Hello Jim
echo this does currently cause an endless loop asking for CPAN when running inside the BS
echo Not all of our build hosts have an overload protection yet, so that kills these hosts
echo I let this one failing for now
echo
echo Admin user / adrian@suse.de
perl Makefile.PL INSTALLDIRS=vendor
%make_build
exit -1
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
# Hangs
#make test
%check
make test
%install
rm -rf %{buildroot}
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc README
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Crypt/DSA
%{perl_vendorlib}/Crypt/DSA.pm
%{perl_vendorarch}/auto/Crypt/DSA
/var/adm/perl-modules/%{name}
%files -f %{name}.files
%doc Changes README
%license LICENSE
%changelog
* Tue Sep 12 2006 - James Oakley <jfunk@funktronics.ca> - 0.14-1
- Initial release