Mail archive
alpine-aports

[alpine-aports] [PATCH 1/3] community/duo_unix: update source URL to use github

From: Paul Morgan <jumanjiman_at_gmail.com>
Date: Mon, 1 Jan 2018 03:53:05 +0000

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.
---
 community/duo_unix/APKBUILD | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/community/duo_unix/APKBUILD b/community/duo_unix/APKBUILD
index 8ea50ffb48..4d50cfb541 100644
--- a/community/duo_unix/APKBUILD
+++ b/community/duo_unix/APKBUILD
_at_@ -2,21 +2,22 @@
 # Maintainer: Paul Morgan <jumanjiman_at_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-$pkgver
+builddir="$srcdir"/$pkgname-$pkgname-$pkgver
 build() {
 	cd "$builddir"
+	./bootstrap
 	./configure \
 		--build=$CBUILD \
 		--host=$CHOST \
_at_@ -32,4 +33,4 @@ package() {
 	make DESTDIR="$pkgdir" install
 }
 
-sha512sums="45e246e7665e8d9c70ce43eed632371b079e9aec20f6c5d771a7d1de80a0f75d987fb88002de719358511d92d05b27824e539af53836af75a0939e59aae37359  duo_unix-1.10.1.tar.gz"
+sha512sums="2d87846273740036dcb5d61db28c9262b1869eedfad3d4ffc0f1bb1942f91acadf847e7714d961de5c5d23680ae9471ab94a4c1d3b09d0a9334a76cbcf481e39  duo_unix-1.10.1.tar.gz"
-- 
2.15.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Mon Jan 01 2018 - 03:53:05 GMT