Commit 7def72e8 authored by Leonardo Arena's avatar Leonardo Arena

main/perl-email-address: security upgrade to 1.912 (CVE-2018-12558)

Fixes #10433
parent 980e2263
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-email-address
pkgver=1.909
pkgver=1.912
pkgrel=0
pkgdesc="RFC 2822 Address Parsing and Creation"
url="http://search.cpan.org/dist/Email-Address"
arch="noarch"
license="GPL-1.0-or-later Artistic-1.0-Perl"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-capture-tiny"
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Email-Address-$pkgver.tar.gz"
builddir="$srcdir/Email-Address-$pkgver"
# secfixes:
# 1.912-r0:
# - CVE-2018-12558
build() {
cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
......@@ -21,6 +24,7 @@ build() {
}
check() {
cd "$builddir"
make -C "$builddir" test
}
......@@ -30,4 +34,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="d692c00402c329cbff0bd8ddfb8b406e2b8857586f6a5e6fb4092c4f92a7ef70c6d766b83818e73b8278cf84f6c16a75508b01ffd7f101bc11809845e778e5e5 Email-Address-1.909.tar.gz"
sha512sums="fd8a8c09829f725609aa84c79ad89d1e44cbfb70cc44cae6a9f31174589404f56cf60ab3a4186137f7ff9838a3fe34a95a7c584e0eec2e5d1d79c919610f6e1a Email-Address-1.912.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment