aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-radiusperl
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2013-09-02 17:10:56 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2013-09-04 09:04:43 +0000
commitc9e97a839e556bb99f7d31ca929fc240317a4dc0 (patch)
tree6c90ebf90a7529b8c6cbb160877320b593516769 /testing/perl-radiusperl
parentfa7829fb4883c8ebac74d4d9abeb8bee530cc558 (diff)
downloadaports-c9e97a839e556bb99f7d31ca929fc240317a4dc0.tar.bz2
aports-c9e97a839e556bb99f7d31ca929fc240317a4dc0.tar.xz
testing/perl-radiusperl: upgrade to 0.23
Diffstat (limited to 'testing/perl-radiusperl')
-rw-r--r--testing/perl-radiusperl/APKBUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/testing/perl-radiusperl/APKBUILD b/testing/perl-radiusperl/APKBUILD
index f9f11c987c..cde96744b2 100644
--- a/testing/perl-radiusperl/APKBUILD
+++ b/testing/perl-radiusperl/APKBUILD
@@ -2,37 +2,37 @@
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-radiusperl
-_pkgreal=RadiusPerl
-_pkgalt=Authen-Radius
-pkgver=0.20
+_pkgreal=Authen-Radius
+pkgver=0.23
pkgrel=0
pkgdesc="Perl module for RadiusPerl"
url="http://search.cpan.org/dist/RadiusPerl/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
-cpanmakedepends="perl-data-hexdump"
+cpanmakedepends="perl-data-hexdump perl-digest-perl-md5 perl-data-dumper"
depends="$cpandepends"
makedepends="perl-dev freeradius-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MA/MANOWAR/$_pkgreal-$pkgver.tar.gz"
-_builddir="$srcdir/$_pkgalt-$pkgver"
-
-prepare() {
- cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
-}
+_builddir="$srcdir/$_pkgreal-$pkgver"
build() {
cd "$_builddir"
+ mkdir -p ${pkgdir}/etc/raddb
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ sed -i "s:/etc/raddb:$pkgdir/etc/raddb:" install-radius-db.PL
make
}
package() {
cd "$_builddir"
+ mkdir -p ${pkgdir}/etc/raddb
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-md5sums="acd0f83204117e47bacc0105868266b1 RadiusPerl-0.20.tar.gz"
+md5sums="556c5bea85f67ab83ec247a74c65e27e Authen-Radius-0.23.tar.gz"
+sha256sums="43c0f3a5bee279156de78b7fbd99f22401994ae82e1adeda09c88b5c53dd50c3 Authen-Radius-0.23.tar.gz"
+sha512sums="110dde66ebb23cea256c093e139deb51eb755c051deaf1e221be20b9a7d689b234d2033d911c30f4212f47848751793c7c33393841270e230334f8528c68f61a Authen-Radius-0.23.tar.gz"