8
0
OBS User unknown
2007-01-15 23:30:07 +00:00
committed by Git OBS Bridge
commit 7ee24d0d0f
8 changed files with 365 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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

120
Convert-ASN1-0.20-path.diff Normal file
View File

@@ -0,0 +1,120 @@
--- t/00prim.t
+++ t/00prim.t
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl -w
#
# Test that the primitive operators are working
--- t/01tag.t
+++ t/01tag.t
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl -w
#
# Test that the primitive operators are working
--- t/02seq.t
+++ t/02seq.t
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl -w
#
# Test the use of sequences
--- t/03seqof.t
+++ t/03seqof.t
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl -w
#
# Test that the primitive operators are working
--- t/04opt.t
+++ t/04opt.t
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl -w
#
# Test that the primitive operators are working
--- t/05time.t
+++ t/05time.t
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl -w
#
# Test that the primitive operators are working
--- t/06bigint.t
+++ t/06bigint.t
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl -w
#
# Test bigint INTEGER encoding/decoding
--- t/07io.t
+++ t/07io.t
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl -w
use Convert::ASN1 qw(:io);
use IO::Socket;
--- t/08set.t
+++ t/08set.t
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl -w
#
# Test the use of sets
--- t/09contr.t
+++ t/09contr.t
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl -w
#
# Test the decode on constructed values
--- t/10choice.t
+++ t/10choice.t
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl -w
#
# Test the use of choices
--- t/11indef.t
+++ t/11indef.t
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl -w
#
# Test that indefinite length encodings can be decoded
--- t/12der.t
+++ t/12der.t
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl -w
#
# Test the use of sets
--- t/13utf8.t
+++ t/13utf8.t
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl -w
#
# Test the use of utf8 strings
--- t/14any.t
+++ t/14any.t
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl -w
#
# Check whether the ANY DEFINED BY syntax is working

View File

@@ -0,0 +1,12 @@
--- t/00prim.t
+++ t/00prim.t
@@ -177,7 +177,8 @@
[pack("B*",'011011111101110111'), 7, pack("B*", '01101110')]
);
-while(($result,$val) = each %BSTR) {
+foreach $result (sort(keys %BSTR)) {
+ $val = $BSTR{$result};
print "# BIT STRING ", unpack("B*", ref($val) ? $val->[0] : $val),
" ",(ref($val) ? $val->[1] : $val),"\n";

View File

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

100
perl-Convert-ASN1.changes Normal file
View File

@@ -0,0 +1,100 @@
-------------------------------------------------------------------
Wed Jul 12 11:13:38 CEST 2006 - anicka@suse.cz
- update to 0.20
* Fixed issues with decoding when calling script contains use encoding 'utf8'
* Allow zero-length timestamps to be extracted
* Fix incorrect length encoding for bitstrings
* Support encoding bigint's as BCD
-------------------------------------------------------------------
Wed Jan 25 21:39:33 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Fri Jul 29 19:52:14 CEST 2005 - mjancar@suse.cz
- update to 0.19
-------------------------------------------------------------------
Thu Oct 30 19:13:20 CET 2003 - mjancar@suse.cz
- update to 0.18
- drop obsolete patches
- no root for build
-------------------------------------------------------------------
Tue Sep 9 13:36:29 CEST 2003 - mls@suse.de
- use chr(xx & 0xff) in _encode.pm, otherwise we get unicode
-------------------------------------------------------------------
Fri Aug 22 14:15:27 CEST 2003 - mjancar@suse.cz
- require the perl version we build with
-------------------------------------------------------------------
Thu Aug 07 12:20:56 CEST 2003 - mjancar@suse.cz
- fix tests that depend on certain order of entries
in a hash (it is random in perl 5.8.1)
-------------------------------------------------------------------
Tue Jul 15 12:03:33 CEST 2003 - mjancar@suse.cz
- adapt to perl-5.8.1
- use %perl_process_packlist
-------------------------------------------------------------------
Thu Jun 19 14:40:34 CEST 2003 - mjancar@suse.cz
- update to 0.17
- fix filelist
-------------------------------------------------------------------
Tue May 20 12:39:26 CEST 2003 - mjancar@suse.cz
- remove unpackaged files
-------------------------------------------------------------------
Thu Oct 17 18:38:08 CEST 2002 - prehak@suse.cz
- updated to version 0.16
-------------------------------------------------------------------
Tue Jul 2 17:40:06 MEST 2002 - mls@suse.de
- remove race in .packlist generation
-------------------------------------------------------------------
Tue Jan 22 18:55:21 CET 2002 - rvasice@suse.cz
- update to version 0.15
-------------------------------------------------------------------
Thu Jan 3 11:08:20 CET 2002 - cihlar@suse.cz
- update to version 0.14
-------------------------------------------------------------------
Fri Aug 3 14:43:33 CEST 2001 - rvasice@suse.cz
- update to version 0.12
-------------------------------------------------------------------
Tue Mar 13 14:43:03 CET 2001 - cihlar@suse.cz
- update to version 0.08
- fixed file list
-------------------------------------------------------------------
Fri Nov 10 11:17:47 CET 2000 - cihlar@suse.cz
- renamed p_casn1 -> perl-Convert-ASN1
-------------------------------------------------------------------
Tue Aug 22 11:57:10 CEST 2000 - cihlar@suse.cz
- package created

106
perl-Convert-ASN1.spec Normal file
View File

@@ -0,0 +1,106 @@
#
# spec file for package perl-Convert-ASN1 (Version 0.20)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-Convert-ASN1
Version: 0.20
Release: 1
Provides: p_casn1
Obsoletes: p_casn1
Requires: perl = %{perl_version}
Autoreqprov: on
Group: Development/Libraries/Perl
License: Artistic License
URL: http://cpan.org/modules/by-module/Convert/
Summary: Convert::ASN1
Source: Convert-ASN1-%{version}.tar.bz2
Patch0: Convert-ASN1-%{version}-path.diff
Patch1: Convert-ASN1-%{version}-test.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Convert::ASN1 converts between Perl data structures and ASN.1 encoded
packets.
%prep
%setup -q -n Convert-ASN1-%{version}
%patch0
%patch1
%build
perl Makefile.PL
make
make test
%install
%perl_make_install
%perl_process_packlist
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc ChangeLog OldChanges README
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Convert
%{perl_vendorarch}/auto/Convert
/var/adm/perl-modules/%{name}
%changelog -n perl-Convert-ASN1
* Wed Jul 12 2006 - anicka@suse.cz
- update to 0.20
* Fixed issues with decoding when calling script contains use encoding 'utf8'
* Allow zero-length timestamps to be extracted
* Fix incorrect length encoding for bitstrings
* Support encoding bigint's as BCD
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jul 29 2005 - mjancar@suse.cz
- update to 0.19
* Thu Oct 30 2003 - mjancar@suse.cz
- update to 0.18
- drop obsolete patches
- no root for build
* Tue Sep 09 2003 - mls@suse.de
- use chr(xx & 0xff) in _encode.pm, otherwise we get unicode
* Fri Aug 22 2003 - mjancar@suse.cz
- require the perl version we build with
* Thu Aug 07 2003 - mjancar@suse.cz
- fix tests that depend on certain order of entries
in a hash (it is random in perl 5.8.1)
* Tue Jul 15 2003 - mjancar@suse.cz
- adapt to perl-5.8.1
- use %%perl_process_packlist
* Thu Jun 19 2003 - mjancar@suse.cz
- update to 0.17
- fix filelist
* Tue May 20 2003 - mjancar@suse.cz
- remove unpackaged files
* Thu Oct 17 2002 - prehak@suse.cz
- updated to version 0.16
* Tue Jul 02 2002 - mls@suse.de
- remove race in .packlist generation
* Tue Jan 22 2002 - rvasice@suse.cz
- update to version 0.15
* Thu Jan 03 2002 - cihlar@suse.cz
- update to version 0.14
* Fri Aug 03 2001 - rvasice@suse.cz
- update to version 0.12
* Tue Mar 13 2001 - cihlar@suse.cz
- update to version 0.08
- fixed file list
* Fri Nov 10 2000 - cihlar@suse.cz
- renamed p_casn1 -> perl-Convert-ASN1
* Tue Aug 22 2000 - cihlar@suse.cz
- package created

0
ready Normal file
View File