[perl-Text-CSV_XS/f16] Fix memory leak in xsParse_all
by Petr Pisar
commit f0896ef08a095dd0445fb9687734cb69ef52257e
Author: Petr Písař <ppisar(a)redhat.com>
Date: Tue Dec 4 11:35:55 2012 +0100
Fix memory leak in xsParse_all
...cing-double-references-on-per-line-AVs-in.patch | 46 ++++++++++++++++++++
...3-eliminate-rav_free-it-s-not-longer-used.patch | 30 +++++++++++++
perl-Text-CSV_XS.spec | 7 +++
3 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/Text-CSV_XS-0.93-avoid-producing-double-references-on-per-line-AVs-in.patch b/Text-CSV_XS-0.93-avoid-producing-double-references-on-per-line-AVs-in.patch
new file mode 100644
index 0000000..78d8df3
--- /dev/null
+++ b/Text-CSV_XS-0.93-avoid-producing-double-references-on-per-line-AVs-in.patch
@@ -0,0 +1,46 @@
+From b7623f803c1d78b565d4f7aa9b2850a09b256df5 Mon Sep 17 00:00:00 2001
+From: Tony Cook <tony(a)develop-help.com>
+Date: Mon, 3 Dec 2012 20:36:14 +1100
+Subject: [PATCH 1/2] avoid producing double references on per-line AVs in
+ xsParse_all()
+
+The code used newRV(), which is an alias for newRV_inc(), hence the
+line AVs each had a reference count of 2 when they were returned.
+
+rav_free() handled this by releasing both the RV and the underlying
+AV, but this is unnecessary when the AVs have the correct reference
+count.
+---
+ CSV_XS.xs | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/CSV_XS.xs b/CSV_XS.xs
+index 553f7fc..09fcdef 100644
+--- a/CSV_XS.xs
++++ b/CSV_XS.xs
+@@ -1533,11 +1533,11 @@ static SV *cx_xsParse_all (pTHX_ SV *self, HV *hv, SV *io, SV *off, SV *len)
+ }
+
+ if (n++ >= tail) {
+- rav_free (av_shift (avr));
++ SvREFCNT_dec(av_shift (avr));
+ n--;
+ }
+
+- av_push (avr, newRV ((SV *)row));
++ av_push (avr, newRV_noinc ((SV *)row));
+
+ if (n >= length && skip >= 0)
+ break; /* We have enough */
+@@ -1545,7 +1545,7 @@ static SV *cx_xsParse_all (pTHX_ SV *self, HV *hv, SV *io, SV *off, SV *len)
+ row = newAV ();
+ }
+ while (n > length) {
+- rav_free (av_pop (avr));
++ SvREFCNT_dec(av_pop (avr));
+ n--;
+ }
+
+--
+1.7.10.4
+
diff --git a/Text-CSV_XS-0.93-eliminate-rav_free-it-s-not-longer-used.patch b/Text-CSV_XS-0.93-eliminate-rav_free-it-s-not-longer-used.patch
new file mode 100644
index 0000000..9086fa7
--- /dev/null
+++ b/Text-CSV_XS-0.93-eliminate-rav_free-it-s-not-longer-used.patch
@@ -0,0 +1,30 @@
+From 6fab5ebee68ee16fb5e3ad926fb7cda0180dae0c Mon Sep 17 00:00:00 2001
+From: Tony Cook <tony(a)develop-help.com>
+Date: Mon, 3 Dec 2012 20:40:05 +1100
+Subject: [PATCH 2/2] eliminate rav_free(), it's not longer used
+
+---
+ CSV_XS.xs | 7 -------
+ 1 file changed, 7 deletions(-)
+
+diff --git a/CSV_XS.xs b/CSV_XS.xs
+index 09fcdef..b0fed4a 100644
+--- a/CSV_XS.xs
++++ b/CSV_XS.xs
+@@ -1497,13 +1497,6 @@ static void cx_av_free (pTHX_ AV *av)
+ sv_free ((SV *)av);
+ } /* av_free */
+
+-#define rav_free(rv) cx_rav_free (aTHX_ rv)
+-static void cx_rav_free (pTHX_ SV *rv)
+-{
+- av_free ((AV *)SvRV (rv));
+- sv_free (rv);
+- } /* rav_free */
+-
+ #define xsParse_all(self,hv,io,off,len) cx_xsParse_all (aTHX_ self, hv, io, off, len)
+ static SV *cx_xsParse_all (pTHX_ SV *self, HV *hv, SV *io, SV *off, SV *len)
+ {
+--
+1.7.10.4
+
diff --git a/perl-Text-CSV_XS.spec b/perl-Text-CSV_XS.spec
index 2d83429..68f3f45 100644
--- a/perl-Text-CSV_XS.spec
+++ b/perl-Text-CSV_XS.spec
@@ -8,6 +8,10 @@ URL: http://search.cpan.org/dist/Text-CSV_XS/
Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tgz
# In upstream 0.94, CPAN RT #81469
Patch0: Text-CSV_XS-88-Fix-sv_cache-init-global-buffer-overflow-Reini-Urban.patch
+# In upstream 0.94, CPAN RT #81539
+Patch1: Text-CSV_XS-0.93-avoid-producing-double-references-on-per-line-AVs-in.patch
+# In upstream 0.94, CPAN RT #81539
+Patch2: Text-CSV_XS-0.93-eliminate-rav_free-it-s-not-longer-used.patch
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
@@ -29,6 +33,8 @@ fields into a CSV string and parse a CSV string into fields.
%prep
%setup -q -n Text-CSV_XS-%{version}
%patch0 -p1
+%patch1 -p1
+%patch2 -p1
iconv -f latin1 -t utf8 ChangeLog > ChangeLog.utf8 && mv ChangeLog.utf8 ChangeLog
chmod -c a-x examples/*
# Upstream does this on purpose (2011-03-23):
@@ -67,6 +73,7 @@ make test
%changelog
* Tue Dec 04 2012 Petr Pisar <ppisar(a)redhat.com> - 0.82-3
- Fix sc_cache initialization (CPAN RT #81469)
+- Fix memory leak in xsParse_all (CPAN RT #81539)
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano(a)redhat.com> - 0.82-2
- Perl mass rebuild
11 years, 5 months
[perl-Text-CSV_XS/f16] Fix sc_cache initialization
by Petr Pisar
commit ca0bf529c67563ffb07316aeaba0467f3efb30df
Author: Petr Písař <ppisar(a)redhat.com>
Date: Tue Dec 4 11:30:38 2012 +0100
Fix sc_cache initialization
...e-init-global-buffer-overflow-Reini-Urban.patch | 37 ++++++++++++++++++++
perl-Text-CSV_XS.spec | 8 ++++-
2 files changed, 44 insertions(+), 1 deletions(-)
---
diff --git a/Text-CSV_XS-88-Fix-sv_cache-init-global-buffer-overflow-Reini-Urban.patch b/Text-CSV_XS-88-Fix-sv_cache-init-global-buffer-overflow-Reini-Urban.patch
new file mode 100644
index 0000000..44ee45a
--- /dev/null
+++ b/Text-CSV_XS-88-Fix-sv_cache-init-global-buffer-overflow-Reini-Urban.patch
@@ -0,0 +1,37 @@
+From eabad0bdfbb6e62261279e4a53682b2d28ffd678 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
+Date: Tue, 4 Dec 2012 11:09:45 +0100
+Subject: [PATCH] Fix sv_cache init global-buffer-overflow (Reini Urban -
+ RT#81469)
+
+Ported to 0.88.
+---
+ CSV_XS.xs | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CSV_XS.xs b/CSV_XS.xs
+index 2d119af..89ec61a 100644
+--- a/CSV_XS.xs
++++ b/CSV_XS.xs
+@@ -201,6 +201,7 @@ xs_error_t xs_errors[] = {
+ { 0, "" },
+ };
+
++static char init_cache[CACHE_SIZE];
+ static int io_handle_loaded = 0;
+ static SV *m_getline, *m_print;
+
+@@ -529,9 +530,8 @@ static void cx_SetupCsv (pTHX_ csv_t *csv, HV *self, SV *pself)
+ csv->verbatim = bool_opt ("verbatim");
+ csv->auto_diag = bool_opt ("auto_diag");
+
+- sv_cache = newSVpvn ("", CACHE_SIZE);
++ sv_cache = newSVpvn (init_cache, CACHE_SIZE);
+ csv->cache = (byte *)SvPVX (sv_cache);
+- memset (csv->cache, 0, CACHE_SIZE);
+ SvREADONLY_on (sv_cache);
+
+ csv->cache[CACHE_ID_quote_char] = csv->quote_char;
+--
+1.7.11.7
+
diff --git a/perl-Text-CSV_XS.spec b/perl-Text-CSV_XS.spec
index 49940bf..2d83429 100644
--- a/perl-Text-CSV_XS.spec
+++ b/perl-Text-CSV_XS.spec
@@ -1,11 +1,13 @@
Name: perl-Text-CSV_XS
Version: 0.82
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Comma-separated values manipulation routines
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Text-CSV_XS/
Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tgz
+# In upstream 0.94, CPAN RT #81469
+Patch0: Text-CSV_XS-88-Fix-sv_cache-init-global-buffer-overflow-Reini-Urban.patch
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
@@ -26,6 +28,7 @@ fields into a CSV string and parse a CSV string into fields.
%prep
%setup -q -n Text-CSV_XS-%{version}
+%patch0 -p1
iconv -f latin1 -t utf8 ChangeLog > ChangeLog.utf8 && mv ChangeLog.utf8 ChangeLog
chmod -c a-x examples/*
# Upstream does this on purpose (2011-03-23):
@@ -62,6 +65,9 @@ make test
%changelog
+* Tue Dec 04 2012 Petr Pisar <ppisar(a)redhat.com> - 0.82-3
+- Fix sc_cache initialization (CPAN RT #81469)
+
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano(a)redhat.com> - 0.82-2
- Perl mass rebuild
11 years, 5 months
[perl-Text-CSV_XS/f17] Fix memory leak in xsParse_all
by Petr Pisar
commit 607b0077c434239e9d24cbe5147b1311feb14fe4
Author: Petr Písař <ppisar(a)redhat.com>
Date: Tue Dec 4 11:35:55 2012 +0100
Fix memory leak in xsParse_all
...cing-double-references-on-per-line-AVs-in.patch | 46 ++++++++++++++++++++
...3-eliminate-rav_free-it-s-not-longer-used.patch | 30 +++++++++++++
perl-Text-CSV_XS.spec | 7 +++
3 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/Text-CSV_XS-0.93-avoid-producing-double-references-on-per-line-AVs-in.patch b/Text-CSV_XS-0.93-avoid-producing-double-references-on-per-line-AVs-in.patch
new file mode 100644
index 0000000..78d8df3
--- /dev/null
+++ b/Text-CSV_XS-0.93-avoid-producing-double-references-on-per-line-AVs-in.patch
@@ -0,0 +1,46 @@
+From b7623f803c1d78b565d4f7aa9b2850a09b256df5 Mon Sep 17 00:00:00 2001
+From: Tony Cook <tony(a)develop-help.com>
+Date: Mon, 3 Dec 2012 20:36:14 +1100
+Subject: [PATCH 1/2] avoid producing double references on per-line AVs in
+ xsParse_all()
+
+The code used newRV(), which is an alias for newRV_inc(), hence the
+line AVs each had a reference count of 2 when they were returned.
+
+rav_free() handled this by releasing both the RV and the underlying
+AV, but this is unnecessary when the AVs have the correct reference
+count.
+---
+ CSV_XS.xs | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/CSV_XS.xs b/CSV_XS.xs
+index 553f7fc..09fcdef 100644
+--- a/CSV_XS.xs
++++ b/CSV_XS.xs
+@@ -1533,11 +1533,11 @@ static SV *cx_xsParse_all (pTHX_ SV *self, HV *hv, SV *io, SV *off, SV *len)
+ }
+
+ if (n++ >= tail) {
+- rav_free (av_shift (avr));
++ SvREFCNT_dec(av_shift (avr));
+ n--;
+ }
+
+- av_push (avr, newRV ((SV *)row));
++ av_push (avr, newRV_noinc ((SV *)row));
+
+ if (n >= length && skip >= 0)
+ break; /* We have enough */
+@@ -1545,7 +1545,7 @@ static SV *cx_xsParse_all (pTHX_ SV *self, HV *hv, SV *io, SV *off, SV *len)
+ row = newAV ();
+ }
+ while (n > length) {
+- rav_free (av_pop (avr));
++ SvREFCNT_dec(av_pop (avr));
+ n--;
+ }
+
+--
+1.7.10.4
+
diff --git a/Text-CSV_XS-0.93-eliminate-rav_free-it-s-not-longer-used.patch b/Text-CSV_XS-0.93-eliminate-rav_free-it-s-not-longer-used.patch
new file mode 100644
index 0000000..9086fa7
--- /dev/null
+++ b/Text-CSV_XS-0.93-eliminate-rav_free-it-s-not-longer-used.patch
@@ -0,0 +1,30 @@
+From 6fab5ebee68ee16fb5e3ad926fb7cda0180dae0c Mon Sep 17 00:00:00 2001
+From: Tony Cook <tony(a)develop-help.com>
+Date: Mon, 3 Dec 2012 20:40:05 +1100
+Subject: [PATCH 2/2] eliminate rav_free(), it's not longer used
+
+---
+ CSV_XS.xs | 7 -------
+ 1 file changed, 7 deletions(-)
+
+diff --git a/CSV_XS.xs b/CSV_XS.xs
+index 09fcdef..b0fed4a 100644
+--- a/CSV_XS.xs
++++ b/CSV_XS.xs
+@@ -1497,13 +1497,6 @@ static void cx_av_free (pTHX_ AV *av)
+ sv_free ((SV *)av);
+ } /* av_free */
+
+-#define rav_free(rv) cx_rav_free (aTHX_ rv)
+-static void cx_rav_free (pTHX_ SV *rv)
+-{
+- av_free ((AV *)SvRV (rv));
+- sv_free (rv);
+- } /* rav_free */
+-
+ #define xsParse_all(self,hv,io,off,len) cx_xsParse_all (aTHX_ self, hv, io, off, len)
+ static SV *cx_xsParse_all (pTHX_ SV *self, HV *hv, SV *io, SV *off, SV *len)
+ {
+--
+1.7.10.4
+
diff --git a/perl-Text-CSV_XS.spec b/perl-Text-CSV_XS.spec
index 1d4d8fc..fa8609b 100644
--- a/perl-Text-CSV_XS.spec
+++ b/perl-Text-CSV_XS.spec
@@ -8,6 +8,10 @@ URL: http://search.cpan.org/dist/Text-CSV_XS/
Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tgz
# In upstream 0.94, CPAN RT #81469
Patch0: Text-CSV_XS-88-Fix-sv_cache-init-global-buffer-overflow-Reini-Urban.patch
+# In upstream 0.94, CPAN RT #81539
+Patch1: Text-CSV_XS-0.93-avoid-producing-double-references-on-per-line-AVs-in.patch
+# In upstream 0.94, CPAN RT #81539
+Patch2: Text-CSV_XS-0.93-eliminate-rav_free-it-s-not-longer-used.patch
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -28,6 +32,8 @@ fields into a CSV string and parse a CSV string into fields.
%prep
%setup -q -n Text-CSV_XS-%{version}
%patch0 -p1
+%patch1 -p1
+%patch2 -p1
iconv -f latin1 -t utf8 ChangeLog > ChangeLog.utf8 && mv ChangeLog.utf8 ChangeLog
chmod -c a-x examples/*
# Upstream does this on purpose (2011-03-23):
@@ -66,6 +72,7 @@ make test
%changelog
* Tue Dec 04 2012 Petr Pisar <ppisar(a)redhat.com> - 0.88-2
- Fix sc_cache initialization (CPAN RT #81469)
+- Fix memory leak in xsParse_all (CPAN RT #81539)
* Mon Mar 19 2012 Petr Pisar <ppisar(a)redhat.com> - 0.88-1
- 0.88 bump
11 years, 5 months
[perl-Text-CSV_XS/f17] Fix sc_cache initialization
by Petr Pisar
commit 10598a853bbd26821cd5b5fd527f1b24706a6b6a
Author: Petr Písař <ppisar(a)redhat.com>
Date: Tue Dec 4 11:30:38 2012 +0100
Fix sc_cache initialization
...e-init-global-buffer-overflow-Reini-Urban.patch | 37 ++++++++++++++++++++
perl-Text-CSV_XS.spec | 8 ++++-
2 files changed, 44 insertions(+), 1 deletions(-)
---
diff --git a/Text-CSV_XS-88-Fix-sv_cache-init-global-buffer-overflow-Reini-Urban.patch b/Text-CSV_XS-88-Fix-sv_cache-init-global-buffer-overflow-Reini-Urban.patch
new file mode 100644
index 0000000..44ee45a
--- /dev/null
+++ b/Text-CSV_XS-88-Fix-sv_cache-init-global-buffer-overflow-Reini-Urban.patch
@@ -0,0 +1,37 @@
+From eabad0bdfbb6e62261279e4a53682b2d28ffd678 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
+Date: Tue, 4 Dec 2012 11:09:45 +0100
+Subject: [PATCH] Fix sv_cache init global-buffer-overflow (Reini Urban -
+ RT#81469)
+
+Ported to 0.88.
+---
+ CSV_XS.xs | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CSV_XS.xs b/CSV_XS.xs
+index 2d119af..89ec61a 100644
+--- a/CSV_XS.xs
++++ b/CSV_XS.xs
+@@ -201,6 +201,7 @@ xs_error_t xs_errors[] = {
+ { 0, "" },
+ };
+
++static char init_cache[CACHE_SIZE];
+ static int io_handle_loaded = 0;
+ static SV *m_getline, *m_print;
+
+@@ -529,9 +530,8 @@ static void cx_SetupCsv (pTHX_ csv_t *csv, HV *self, SV *pself)
+ csv->verbatim = bool_opt ("verbatim");
+ csv->auto_diag = bool_opt ("auto_diag");
+
+- sv_cache = newSVpvn ("", CACHE_SIZE);
++ sv_cache = newSVpvn (init_cache, CACHE_SIZE);
+ csv->cache = (byte *)SvPVX (sv_cache);
+- memset (csv->cache, 0, CACHE_SIZE);
+ SvREADONLY_on (sv_cache);
+
+ csv->cache[CACHE_ID_quote_char] = csv->quote_char;
+--
+1.7.11.7
+
diff --git a/perl-Text-CSV_XS.spec b/perl-Text-CSV_XS.spec
index 6f43e75..1d4d8fc 100644
--- a/perl-Text-CSV_XS.spec
+++ b/perl-Text-CSV_XS.spec
@@ -1,11 +1,13 @@
Name: perl-Text-CSV_XS
Version: 0.88
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Comma-separated values manipulation routines
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Text-CSV_XS/
Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tgz
+# In upstream 0.94, CPAN RT #81469
+Patch0: Text-CSV_XS-88-Fix-sv_cache-init-global-buffer-overflow-Reini-Urban.patch
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -25,6 +27,7 @@ fields into a CSV string and parse a CSV string into fields.
%prep
%setup -q -n Text-CSV_XS-%{version}
+%patch0 -p1
iconv -f latin1 -t utf8 ChangeLog > ChangeLog.utf8 && mv ChangeLog.utf8 ChangeLog
chmod -c a-x examples/*
# Upstream does this on purpose (2011-03-23):
@@ -61,6 +64,9 @@ make test
%changelog
+* Tue Dec 04 2012 Petr Pisar <ppisar(a)redhat.com> - 0.88-2
+- Fix sc_cache initialization (CPAN RT #81469)
+
* Mon Mar 19 2012 Petr Pisar <ppisar(a)redhat.com> - 0.88-1
- 0.88 bump
- Fix parsing fields that contain excessive $/
11 years, 5 months
[perl-Text-CSV_XS/f18] 0.94 bump
by Petr Pisar
Summary of changes:
960ac69... 0.94 bump (*)
(*) This commit already existed in another branch; no separate mail sent
11 years, 5 months
[perl-Text-CSV_XS] 0.94 bump
by Petr Pisar
commit 960ac6963cfa635fbd05fbfd7db2c8dac407a31e
Author: Petr Písař <ppisar(a)redhat.com>
Date: Tue Dec 4 09:45:01 2012 +0100
0.94 bump
.gitignore | 1 +
perl-Text-CSV_XS.spec | 5 ++++-
sources | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2b4f14c..d001adb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@ Text-CSV_XS-0.72.tgz
/Text-CSV_XS-0.91.tgz
/Text-CSV_XS-0.92.tgz
/Text-CSV_XS-0.93.tgz
+/Text-CSV_XS-0.94.tgz
diff --git a/perl-Text-CSV_XS.spec b/perl-Text-CSV_XS.spec
index 248b6c7..3ee1850 100644
--- a/perl-Text-CSV_XS.spec
+++ b/perl-Text-CSV_XS.spec
@@ -1,5 +1,5 @@
Name: perl-Text-CSV_XS
-Version: 0.93
+Version: 0.94
Release: 1%{?dist}
Summary: Comma-separated values manipulation routines
Group: Development/Libraries
@@ -62,6 +62,9 @@ make test
%{_mandir}/man3/*.3pm*
%changelog
+* Tue Dec 04 2012 Petr Pisar <ppisar(a)redhat.com> - 0.94-1
+- 0.94 bump
+
* Wed Nov 21 2012 Petr Pisar <ppisar(a)redhat.com> - 0.93-1
- 0.93 bump
diff --git a/sources b/sources
index 94316f8..22943be 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bdf64d6f151741e6f526f92a79b48e06 Text-CSV_XS-0.93.tgz
+f89b1cb368b07e794f96d7a9995c259a Text-CSV_XS-0.94.tgz
11 years, 5 months
[perl-Net-SSH-Perl] Update to 1.35
by Paul Howarth
commit e16a53b483fe2eb363cedfe229c4f3b2a7f8c2cb
Author: Paul Howarth <paul(a)city-fan.org>
Date: Mon Dec 3 22:10:58 2012 +0000
Update to 1.35
- New upstream release 1.35
- Apply patch to t/03-packet.t for 5.15+ (CPAN RT#76482)
- This release by SCHWIGON -> update source URL
- Drop upstreamed patch for CPAN RT#76482
Net-SSH-Perl-1.34--perl5.16.patch | 11 ----------
Net-SSH-Perl-1.34-SIGNATURE.patch | 39 -------------------------------------
Net-SSH-Perl-1.35-SIGNATURE.patch | 22 ++++++++++++++++++++
perl-Net-SSH-Perl.spec | 20 +++++++++---------
sources | 2 +-
5 files changed, 33 insertions(+), 61 deletions(-)
---
diff --git a/Net-SSH-Perl-1.35-SIGNATURE.patch b/Net-SSH-Perl-1.35-SIGNATURE.patch
new file mode 100644
index 0000000..7136187
--- /dev/null
+++ b/Net-SSH-Perl-1.35-SIGNATURE.patch
@@ -0,0 +1,22 @@
+--- SIGNATURE
++++ SIGNATURE
+@@ -88,7 +88,7 @@
+ SHA1 4b6e3d6741b2d5e021149da57478e0998c1ea9ef t/06-circular.t
+ SHA1 8d29c2b28ee840cfa6faf6a69985cb87e9ce6725 t/99-perlcritic.t
+ SHA1 53040aca85aa82e3504d6559cdb0dfee54ea92fc t/99-pod.t
+-SHA1 a65c49dc6e81c8d0b6514bf2d313e0b110aa224f t/99-spellcheck.t
++SHA1 56183699d4fdde6ffbceacbe7d09ef65a42d22db t/99-spellcheck.t
+ SHA1 e78d0a391329bf520fdc748d38002725dca4164c t/99-yaml.t
+ SHA1 9a32e630c87d1cc3ceaf2b5585519b55d12b79d3 t/config
+ SHA1 885358760910acc3898301c9af18cd634ddd81a8 t/psshd
+@@ -96,7 +96,7 @@
+ -----BEGIN PGP SIGNATURE-----
+ Version: GnuPG v1.4.12 (GNU/Linux)
+
+-iEYEARECAAYFAlC8hwMACgkQJszQZs1hPJuePACgtzCf6E6l5IELHYxeT+K2AMgv
+-HqIAnj9XlJ13vm/YkjA8yVWzAyXGdrfy
+-=FOgR
++iD8DBQFQvSIaemWSzxYcBrERAm2xAJ9ybQ83fBWr442ABdwLLyNI67UfIgCg8Md2
++LQlH7KxJlbW9VerQPCt7FD0=
++=ANJS
+ -----END PGP SIGNATURE-----
diff --git a/perl-Net-SSH-Perl.spec b/perl-Net-SSH-Perl.spec
index 1babd70..4e42dee 100644
--- a/perl-Net-SSH-Perl.spec
+++ b/perl-Net-SSH-Perl.spec
@@ -3,17 +3,16 @@
Summary: SSH (Secure Shell) client
Name: perl-Net-SSH-Perl
-Version: 1.34
-Release: 17%{?dist}
+Version: 1.35
+Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Url: http://search.cpan.org/dist/Net-SSH-Perl/
-Source0: http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/Net-SSH-Perl-%{versi...
+Source0: http://search.cpan.org/CPAN/authors/id/S/SC/SCHWIGON/Net-SSH-Perl-%{versi...
Source1: 14964AC8.asc
Source2: 161C06B1.asc
Patch0: Net-SSH-Perl-1.34-stopwords.patch
-Patch1: Net-SSH-Perl-1.34--perl5.16.patch
-Patch10: Net-SSH-Perl-1.34-SIGNATURE.patch
+Patch10: Net-SSH-Perl-1.35-SIGNATURE.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
BuildRequires: perl(Carp)
@@ -73,11 +72,6 @@ cd Net-SSH-Perl-%{version}
%patch0 -p2
cd -
-# Fix breakage with Perl 5.16 (CPAN RT#76482)
-cd Net-SSH-Perl-%{version}
-%patch1
-cd -
-
# Replace SIGNATURE to account for changes from patches
cd Net-SSH-Perl-%{version}
%patch10
@@ -147,6 +141,12 @@ rm -rf %{buildroot}
%{_mandir}/man3/Net::SSH::Perl*.3pm*
%changelog
+* Mon Dec 3 2012 Paul Howarth <paul(a)city-fan.org> 1.35-1
+- Update to 1.35
+ - Apply patch to t/03-packet.t for 5.15+ (CPAN RT#76482)
+- This release by SCHWIGON -> update source URL
+- Drop upstreamed patch for CPAN RT#76482
+
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 1.34-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
diff --git a/sources b/sources
index 8cc16a9..55e8de9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5b6d60e459707058e856c45c30e96e53 Net-SSH-Perl-1.34.tar.gz
+6d199022878582990c7d027123c43312 Net-SSH-Perl-1.35.tar.gz
11 years, 5 months