diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-31 11:02:24 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-11-07 16:46:12 +0000 |
commit | cd8bd76222254d77f153563388b29415491dad33 (patch) | |
tree | 7dce7f2b90abd458bc474431461b037dc4d0570d /main | |
parent | 2d7281fa464ae128c64a487a0581fc2a539cf17f (diff) | |
download | aports-cd8bd76222254d77f153563388b29415491dad33.tar.bz2 aports-cd8bd76222254d77f153563388b29415491dad33.tar.xz |
main/freeradius-client: build with nettle crypto
Diffstat (limited to 'main')
-rw-r--r-- | main/freeradius-client/APKBUILD | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/main/freeradius-client/APKBUILD b/main/freeradius-client/APKBUILD index c2a9c29482..ac46a45d74 100644 --- a/main/freeradius-client/APKBUILD +++ b/main/freeradius-client/APKBUILD @@ -2,24 +2,21 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=freeradius-client pkgver=1.1.7 -pkgrel=1 +pkgrel=2 pkgdesc="FreeRADIUS Client Software" -url="http://wiki.freeradius.org/Radiusclient" +url="https://freeradius.org/sub_projects/" arch="all" license="BSD" -depends= -makedepends="libressl-dev" -install= +makedepends="nettle-dev automake autoconf libtool" subpackages="$pkgname-dev" -source="ftp://ftp.freeradius.org/pub/radius/freeradius-client-$pkgver.tar.gz" +source="$pkgname-$pkgver-release.tar.gz::https://github.com/FreeRADIUS/freeradius-client/archive/release_${pkgver//./_}.tar.gz" -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" -} +builddir="$srcdir"/$pkgname-$pkgver +builddir="$srcdir"/freeradius-client-release_${pkgver//./_} build() { cd "$_builddir" + autoreconf -vif ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -27,15 +24,13 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - || return 1 - make || return 1 + --with-nettle + make } package() { cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -md5sums="43b4d21715b613dc4fe8ef128467fe78 freeradius-client-1.1.7.tar.gz" -sha256sums="eada2861b8f4928e3ac6b5bbfe11e92cd6cdcacfce40cae1085e77c1b6add0e9 freeradius-client-1.1.7.tar.gz" -sha512sums="20e79ec97da79f46b334e1c2880803a692885a4038196a4d016094d349f675e2d0521d921140c5ab06703008619417f7a20d3e90cdfc7b3578faccbd232be0ce freeradius-client-1.1.7.tar.gz" +sha512sums="c4844f16954d119dfbe1683ca48f4ed5e612fd10f66b885f8338905137b508f609eafbf5ccff1bc04fd19581249bfbf30d179402db042868dfccee72a3105b95 freeradius-client-1.1.7-release.tar.gz" |