aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2019-06-05 09:48:20 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2019-06-05 09:48:52 +0000
commit587d0f6837182b94b1c14fb78949b85ac188c60c (patch)
treedb94b90080c4b50ebb80cabb8a73cd77bf01b4cd
parent15604368388fdc2804ed11c919a38b25b4201ca9 (diff)
downloadaports-587d0f6837182b94b1c14fb78949b85ac188c60c.tar.bz2
aports-587d0f6837182b94b1c14fb78949b85ac188c60c.tar.xz
main/perl-email-address: security upgrade to 1.912 (CVE-2018-12558)
Fixes #10432
-rw-r--r--main/perl-email-address/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/perl-email-address/APKBUILD b/main/perl-email-address/APKBUILD
index 160aeea98a..9d92e1639e 100644
--- a/main/perl-email-address/APKBUILD
+++ b/main/perl-email-address/APKBUILD
@@ -1,19 +1,22 @@
# 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"