From 21a0a9b3d74d101f0ea52241f77107815f286da3bfd14f7ef359b2b717a59914 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Sun, 27 Oct 2019 14:22:08 +0000 Subject: [PATCH 1/2] Accepting request 742852 from devel:languages:perl:autoupdate - Regenerate spec with newest cpanspec * Add manual dependencies to cpanspec.yml - updated to 1.6 see /usr/share/doc/packages/perl-Convert-UUlib/Changes 1.6 - fix heap overflow (testcase by Noel Duffy, reported by Robert Scheck). The defense-in-depth mechanism based on mmap should make this unexploitable for other than denial of service, on systems supporting mmap/mprotect. OBS-URL: https://build.opensuse.org/request/show/742852 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Convert-UUlib?expand=0&rev=29 --- Convert-UUlib-1.5.tar.gz | 3 --- Convert-UUlib-1.6.tar.gz | 3 +++ cpanspec.yml | 29 ++++++++++++++++++++++++ perl-Convert-UUlib.changes | 18 +++++++++++++++ perl-Convert-UUlib.spec | 46 ++++++++++++++++++++------------------ 5 files changed, 74 insertions(+), 25 deletions(-) delete mode 100644 Convert-UUlib-1.5.tar.gz create mode 100644 Convert-UUlib-1.6.tar.gz create mode 100644 cpanspec.yml diff --git a/Convert-UUlib-1.5.tar.gz b/Convert-UUlib-1.5.tar.gz deleted file mode 100644 index 9bb8df8..0000000 --- a/Convert-UUlib-1.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0cd81bc21377fad191f89aa427733efe5b7e75ca1889e9317945ad448c6388ea -size 236213 diff --git a/Convert-UUlib-1.6.tar.gz b/Convert-UUlib-1.6.tar.gz new file mode 100644 index 0000000..35dfc90 --- /dev/null +++ b/Convert-UUlib-1.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5a24bba864708329b5112d538b5f5da10bc140b1642977914da0bb911a658b3 +size 237454 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76d388d --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,29 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +preamble: |- + Provides: p_conulb + Obsoletes: p_conulb +#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_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-Convert-UUlib.changes b/perl-Convert-UUlib.changes index b91b6db..17d2f71 100644 --- a/perl-Convert-UUlib.changes +++ b/perl-Convert-UUlib.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Fri Oct 25 10:46:24 UTC 2019 - Tina Mueller + +- Regenerate spec with newest cpanspec + * Add manual dependencies to cpanspec.yml + +------------------------------------------------------------------- +Fri Oct 25 09:39:40 UTC 2019 - + +- updated to 1.6 + see /usr/share/doc/packages/perl-Convert-UUlib/Changes + + 1.6 Thu Oct 24 17:11:54 CEST 2019 + - fix heap overflow (testcase by Noel Duffy, reported + by Robert Scheck). The defense-in-depth mechanism based + on mmap should make this unexploitable for other than denial + of service, on systems supporting mmap/mprotect. + ------------------------------------------------------------------- Tue Sep 25 15:50:19 UTC 2018 - pmonrealgonzalez@suse.com diff --git a/perl-Convert-UUlib.spec b/perl-Convert-UUlib.spec index ef13f15..511344f 100644 --- a/perl-Convert-UUlib.spec +++ b/perl-Convert-UUlib.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Convert-UUlib # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,52 +12,54 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define cpan_name Convert-UUlib Name: perl-Convert-UUlib -Version: 1.5 +Version: 1.6 Release: 0 -Summary: Perl interface to the uulib library -License: GPL-1.0-or-later OR Artistic-1.0 +%define cpan_name Convert-UUlib +Summary: Perl interface to the uulib library (a.k.a. uudeview/uuenview) +License: CHECK(Artistic-1.0 OR GPL-1.0-or-later) Group: Development/Libraries/Perl -Url: https://metacpan.org/pod/Convert::UUlib -Source: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Canary::Stability) +%{perl_requires} +# MANUAL BEGIN Provides: p_conulb Obsoletes: p_conulb -%{perl_requires} +# MANUAL END %description -A Perl interface to the uulib library +Read the file doc/library.pdf from the distribution for in-depth +information about the C-library used in this interface, and the rest of +this document and especially the non-trivial decoder program at the end. %prep %setup -q -n %{cpan_name}-%{version} -# --------------------------------------------------------------------------- +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" ! -name "configure" -print0 | xargs -0 chmod 644 %build -perl Makefile.PL +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %check -make %{?_smp_mflags} test -# --------------------------------------------------------------------------- +make test %install -make DESTDIR=%{buildroot} install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist -%files -%dir %{perl_vendorarch}/Convert -%{perl_vendorarch}/Convert/UUlib.pm -%dir %{perl_vendorarch}/auto/Convert -%{perl_vendorarch}/auto/Convert/UUlib -%{_mandir}/man3/Convert::UUlib.3pm.gz +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes doc example-decoder README %license COPYING COPYING.Artistic COPYING.GNU -%doc Changes MANIFEST README example-decoder doc %changelog From 564c14f068a8a054a5a765fbbfd7fde8ad6b064716dffc162d0c325f0184f468 Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Mon, 11 Nov 2019 09:05:28 +0000 Subject: [PATCH 2/2] Accepting request 746783 from home:tinita:branches:devel:languages:perl - Add manual license GPL-1.0-or-later to cpanspec.yml (see COPYING file in the source) OBS-URL: https://build.opensuse.org/request/show/746783 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Convert-UUlib?expand=0&rev=30 --- cpanspec.yml | 2 +- perl-Convert-UUlib.changes | 6 ++++++ perl-Convert-UUlib.spec | 5 +++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/cpanspec.yml b/cpanspec.yml index 76d388d..29233d3 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -20,7 +20,7 @@ preamble: |- # rm unused.files #post_install: |- # sed on %{name}.files -#license: SUSE-NonFree +license: GPL-1.0-or-later #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag diff --git a/perl-Convert-UUlib.changes b/perl-Convert-UUlib.changes index 17d2f71..ef41c96 100644 --- a/perl-Convert-UUlib.changes +++ b/perl-Convert-UUlib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Nov 9 10:53:22 UTC 2019 - + +- Add manual license GPL-1.0-or-later to cpanspec.yml (see COPYING file in + the source) + ------------------------------------------------------------------- Fri Oct 25 10:46:24 UTC 2019 - Tina Mueller diff --git a/perl-Convert-UUlib.spec b/perl-Convert-UUlib.spec index 511344f..2286d94 100644 --- a/perl-Convert-UUlib.spec +++ b/perl-Convert-UUlib.spec @@ -19,9 +19,10 @@ Name: perl-Convert-UUlib Version: 1.6 Release: 0 +#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later) %define cpan_name Convert-UUlib Summary: Perl interface to the uulib library (a.k.a. uudeview/uuenview) -License: CHECK(Artistic-1.0 OR GPL-1.0-or-later) +License: GPL-1.0-or-later Group: Development/Libraries/Perl Url: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz @@ -43,7 +44,7 @@ this document and especially the non-trivial decoder program at the end. %prep %setup -q -n %{cpan_name}-%{version} -find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" ! -name "configure" -print0 | xargs -0 chmod 644 +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"