8
0

Accepting request 638238 from home:pmonrealgonzalez:branches:devel:languages:perl

- update to 1.4
        - fix a heap overflow (testcase by Krzysztof Wojtaś).
        - on systems that support it (posix + mmap + map_anonymous),
          allocate all dynamic areas via mmap and put four guard
          pages around them, to catch similar heap overflows
          safely in the future.
        - find a safer way to pass in CC/CFLAGS to uulib.
        - added stability canary support.

OBS-URL: https://build.opensuse.org/request/show/638238
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Convert-UUlib?expand=0&rev=27
This commit is contained in:
2018-09-26 07:34:38 +00:00
committed by Git OBS Bridge
parent 8a62e130bf
commit df087af51c
4 changed files with 29 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Convert-UUlib
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@@ -16,26 +16,27 @@
#
%define cpan_name Convert-UUlib
Name: perl-Convert-UUlib
Version: 1.4
Version: 1.5
Release: 0
Summary: Perl interface to the uulib library
License: GPL-1.0+ or Artistic-1.0
License: GPL-1.0-or-later OR Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/~mlehmann/Convert-UUlib-1.4/UUlib.pm
Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/Convert-UUlib-%version.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
Url: https://metacpan.org/pod/Convert::UUlib
Source: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Canary::Stability)
Provides: p_conulb
Obsoletes: p_conulb
%{perl_requires}
%description
A Perl interface to the uulib library
%prep
%setup -n Convert-UUlib-%{version} -q
%setup -q -n %{cpan_name}-%{version}
# ---------------------------------------------------------------------------
%build
@@ -43,20 +44,20 @@ perl Makefile.PL
make %{?_smp_mflags}
%check
make test
make %{?_smp_mflags} test
# ---------------------------------------------------------------------------
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
make DESTDIR=%{buildroot} install_vendor
%perl_process_packlist
%files
%defattr(-,root,root)
%dir %{perl_vendorarch}/Convert
%{perl_vendorarch}/Convert/UUlib.pm
%dir %{perl_vendorarch}/auto/Convert
%{perl_vendorarch}/auto/Convert/UUlib
%doc /usr/share/man/man3/Convert::UUlib.3pm.gz
%doc COPYING COPYING.Artistic COPYING.GNU Changes MANIFEST README example-decoder doc
%{_mandir}/man3/Convert::UUlib.3pm.gz
%license COPYING COPYING.Artistic COPYING.GNU
%doc Changes MANIFEST README example-decoder doc
%changelog