aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-dbi
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-09-18 16:40:11 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-09-18 16:40:30 -0300
commitafeae22eea3eb579929c58402b96dfa1f4c1b671 (patch)
tree3d9232dc1541cd851860459a9780fbfa978e1446 /main/perl-dbi
parent498293a75473470a7daf3f52b4dde6f64012f94f (diff)
downloadaports-afeae22eea3eb579929c58402b96dfa1f4c1b671.tar.gz
aports-afeae22eea3eb579929c58402b96dfa1f4c1b671.tar.bz2
aports-afeae22eea3eb579929c58402b96dfa1f4c1b671.tar.xz
main/perl-dbi: security upgrade to 1.643
See: #11954
Diffstat (limited to 'main/perl-dbi')
-rw-r--r--main/perl-dbi/APKBUILD27
1 files changed, 12 insertions, 15 deletions
diff --git a/main/perl-dbi/APKBUILD b/main/perl-dbi/APKBUILD
index 9a63833cf6..6cd331207c 100644
--- a/main/perl-dbi/APKBUILD
+++ b/main/perl-dbi/APKBUILD
@@ -2,34 +2,31 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-dbi
_realpkgname=DBI
-pkgver=1.642
-pkgrel=2
+pkgver=1.643
+pkgrel=0
pkgdesc="Database independent interface for Perl"
-url="http://search.cpan.org/dist/${_realpkgname}"
+url="http://search.cpan.org/dist/$_realpkgname"
arch="all"
-license="GPL PerlArtistic"
-depends=
-makedepends="perl perl-dev"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="http://www.cpan.org/authors/id/T/TI/TIMB/${_realpkgname}-$pkgver.tar.gz"
-builddir="$srcdir"/${_realpkgname}-$pkgver
+source="http://www.cpan.org/authors/id/T/TI/TIMB/$_realpkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$_realpkgname-$pkgver
build() {
- cd "$builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
-check () {
- cd "$builddir"
+check() {
make test
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
- # creates file collision among perl modules
- find "$pkgdir" -name perllocal.pod -delete
+ # creates file collision among perl modules
+ find "$pkgdir" -name perllocal.pod -delete
}
-sha512sums="088161a004893a495b740c323acdfe096936812f8f1b12c0ae4b5b23a6dced01761be5589be5e2e66661bdeffd043504097213e713c0258fe1db2a60156ea079 DBI-1.642.tar.gz"
+sha512sums="03812f3eb1e43c8290dadb8cb14bbced9ec6e237228ea2a2ba91f22e52143906a91a7e82945dab30b1d1b9fc925073721111adafd9a09fac070808ab88f908b8 DBI-1.643.tar.gz"