aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Morgan <jumanjiman@gmail.com>2018-01-01 03:53:05 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-01-09 10:16:42 +0000
commit89744dd17e0fe8773f088e2a1a52d7f83ed4e30e (patch)
tree817527a6fb090a09863c9f561a800f0312137a66
parent52af88284d01f1fa59eb46da86f31b1f9f735ffc (diff)
downloadaports-89744dd17e0fe8773f088e2a1a52d7f83ed4e30e.tar.bz2
aports-89744dd17e0fe8773f088e2a1a52d7f83ed4e30e.tar.xz
community/duo_unix: update source URL to use github
What's different about the source at the URLs? * New URL: Github is the raw, authoritative source URL. * Old URL: The vendor takes the Github source, runs './bootstrap', and posts it to their download site. This commit makes the build process more transparent. Why change the URL now? The vendor has tagged a new version of duo_unix on github but has not yet made the new version available at their official download site.
-rw-r--r--community/duo_unix/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/community/duo_unix/APKBUILD b/community/duo_unix/APKBUILD
index 8ea50ffb48..5a6ed67af5 100644
--- a/community/duo_unix/APKBUILD
+++ b/community/duo_unix/APKBUILD
@@ -2,19 +2,23 @@
# Maintainer: Paul Morgan <jumanjiman@gmail.com>
pkgname=duo_unix
pkgver=1.10.1
-pkgrel=1
+pkgrel=2
pkgdesc="duosecurity.com two-factor authentication"
url="https://duo.com/support/documentation/duounix"
arch="all"
license="GPL-2.0"
depends=""
depends_dev="libressl-dev zlib-dev"
-makedepends="$depends_dev"
+makedepends="$depends_dev automake autoconf libtool"
options="suid"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://dl.duosecurity.com/$pkgname-$pkgver.tar.gz"
+source="https://github.com/duosecurity/duo_unix/archive/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$pkgname-$pkgname-$pkgver
-builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ default_prepare
+ ./bootstrap
+}
build() {
cd "$builddir"
./configure \
@@ -32,4 +36,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="45e246e7665e8d9c70ce43eed632371b079e9aec20f6c5d771a7d1de80a0f75d987fb88002de719358511d92d05b27824e539af53836af75a0939e59aae37359 duo_unix-1.10.1.tar.gz"
+sha512sums="2d87846273740036dcb5d61db28c9262b1869eedfad3d4ffc0f1bb1942f91acadf847e7714d961de5c5d23680ae9471ab94a4c1d3b09d0a9334a76cbcf481e39 duo_unix-1.10.1.tar.gz"