Sync from SUSE:SLFO:Main perl-X500-DN revision 963d0c44dc0e47b00edbf855839fb388

This commit is contained in:
Adrian Schröter 2024-05-03 19:07:19 +02:00
commit 3f182c4be2
7 changed files with 240 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

BIN
X500-DN-0.29.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,13 @@
Index: X500-DN-0.29/DN.pm
===================================================================
--- X500-DN-0.29.orig/DN.pm 2013-06-19 15:59:14.041089488 +0200
+++ X500-DN-0.29/DN.pm 2013-06-19 15:59:26.211457683 +0200
@@ -43,7 +43,7 @@ Digit: /[0-9]/
#$::RD_HINT = 1;
local $::RD_AUTOACTION = q{ $item[1] };
-local $Parse::RecDescent::skip = undef;
+local $Parse::RecDescent::skip = '';
my $parser = new Parse::RecDescent ($rfc2253_grammar) or die "Bad RFC 2253 grammar!\n";
sub new

100
perl-X500-DN.changes Normal file
View File

@ -0,0 +1,100 @@
-------------------------------------------------------------------
Mon Dec 2 14:25:49 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- No mix between numbered and unnumbered patches: RPM 4.15 finally
no longer supports that.
-------------------------------------------------------------------
Wed Jun 19 13:27:34 UTC 2013 - vcizek@suse.com
- don't set $Parse::RecDescent::skip to 'undef' (bnc#799660)
* X500-DN-dont_set_skip_to_undef.patch
-------------------------------------------------------------------
Tue Mar 19 09:07:28 UTC 2013 - coolo@suse.com
- add a url for the source
-------------------------------------------------------------------
Wed Feb 27 06:19:39 UTC 2013 - coolo@suse.com
- update license to new format
-------------------------------------------------------------------
Wed Dec 1 13:36:07 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 29 18:32:26 UTC 2010 - coolo@novell.com
- remove /var/adm/perl-modules
-------------------------------------------------------------------
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
- enable parallel build
-------------------------------------------------------------------
Tue Jan 20 11:45:28 CET 2009 - ug@suse.de
- Testsuite activated (bnc#465993)
-------------------------------------------------------------------
Wed Oct 8 13:24:37 CEST 2008 - ug@suse.de
- version check for parse-recdescend removed (bnc#433425)
-------------------------------------------------------------------
Mon Feb 25 13:17:36 CET 2008 - ug@suse.de
- suppress a version string warning (#360044)
-------------------------------------------------------------------
Mon Jul 16 12:23:31 CEST 2007 - ug@suse.de
- version 0.29
- added missing PREREQ_PM in Makefile.PL
-------------------------------------------------------------------
Wed Jan 25 21:40:02 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Wed Sep 28 22:17:02 CEST 2005 - dmueller@suse.de
- add norootforbuild
-------------------------------------------------------------------
Fri Aug 22 15:59:33 CEST 2003 - mjancar@suse.cz
- require the perl version we build with
-------------------------------------------------------------------
Mon Jul 28 10:45:02 CEST 2003 - ug@suse.de
- version update from 0.27 to 0.28
- spec file fix for install_vendor
-------------------------------------------------------------------
Tue Jun 17 13:30:53 CEST 2003 - ug@suse.de
- added missing directory to files-section
-------------------------------------------------------------------
Mon May 19 11:39:16 CEST 2003 - ro@suse.de
- fix filelist
- remove perllocal.pod
-------------------------------------------------------------------
Fri Oct 18 14:14:46 CEST 2002 - ro@suse.de
- remove race in specfile
-------------------------------------------------------------------
Fri Oct 18 12:58:46 CEST 2002 - ug@suse.de
- initial release. This package is needed by perl-OpenCA-OpenSSL

79
perl-X500-DN.spec Normal file
View File

@ -0,0 +1,79 @@
#
# spec file for package perl-X500-DN
#
# Copyright (c) 2019 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/
#
Name: perl-X500-DN
BuildRequires: perl-Parse-RecDescent
BuildRequires: perl-macros
Requires: perl-Parse-RecDescent
Summary: Provides an interface for RFC 2253 style DN strings
License: Artistic-1.0 OR GPL-2.0-or-later
Group: Development/Libraries/Perl
Version: 0.29
Release: 0
URL: http://search.cpan.org/dist/X500-DN/
Source0: http://www.cpan.org/authors/id/R/RJ/RJOOP/X500-DN-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch0: version-string-fix.diff
Patch1: version-string-fix2.diff
Patch2: X500-DN-dont_set_skip_to_undef.patch
%{perl_requires}
%description
X500::DN Provides a pure perl parser and formatter for RFC 2253 style
DN strings.
Authors:
--------
Robert Joop <yaph-020416@timesink.de>
%prep
%setup -n X500-DN-%{version}
%patch0
%patch1
%patch2 -p1
# ---------------------------------------------------------------------------
%build
perl Makefile.PL
make %{?_smp_mflags}
# ---------------------------------------------------------------------------
%check
make test
%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
make DESTDIR=$RPM_BUILD_ROOT \
INSTALLMAN3DIR=$RPM_BUILD_ROOT/%{_mandir}/man3 \
install_vendor
%perl_process_packlist
%files
%defattr(-,root,root)
%{perl_vendorarch}/auto/X500
%dir %{perl_vendorlib}/X500
%{perl_vendorlib}/X500/RDN.pod
%{perl_vendorlib}/X500/RDN.pm
%{perl_vendorlib}/X500/DN.pod
%{perl_vendorlib}/X500/DN.pm
%doc Changes MANIFEST README
%doc %{_mandir}/man3/*
%changelog

11
version-string-fix.diff Normal file
View File

@ -0,0 +1,11 @@
--- DN.pm
+++ DN.pm 2008/02/25 11:27:32
@@ -4,7 +4,7 @@
package X500::DN;
-use 5.6.1; # the "our" keyword below needs it
+use 5.006_001; # the "our" keyword below needs it
use strict;
use Carp;
use Parse::RecDescent 1.80;

11
version-string-fix2.diff Normal file
View File

@ -0,0 +1,11 @@
--- DN.pm
+++ DN.pm 2008/10/08 11:23:14
@@ -7,7 +7,7 @@
use 5.006_001; # the "our" keyword below needs it
use strict;
use Carp;
-use Parse::RecDescent 1.80;
+use Parse::RecDescent;
use X500::RDN;
our $VERSION = '0.29';