Subject: [alpine-aports] [PATCH] main/libeventlog: fix upstream url

From: Christian Kampka <[email-masked]>
Date: Wed, 11 Nov 2015 20:45:29 +0100

---
 main/libeventlog/APKBUILD | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/main/libeventlog/APKBUILD b/main/libeventlog/APKBUILD
index 6484653..d272f2e 100644
--- a/main/libeventlog/APKBUILD
+++ b/main/libeventlog/APKBUILD
@@ -1,8 +1,9 @@
 # Contributor: jv <[email-masked]>
 # Maintainer: jv <[email-masked]>
-pkgname=libeventlog
+_pkgname=eventlog
+pkgname=lib${_pkgname}
 pkgver=0.2.12
-pkgrel=1
+pkgrel=0
 pkgdesc="Syslog event logger library"
 url="http://www.balabit.com"
 arch="all"
@@ -12,7 +13,7 @@ depends_dev=""
 makedepends="$depends_dev"
 install=""
 subpackages="$pkgname-dev"
-source="http://www.balabit.com/downloads/files?path=/syslog-ng/sources/3.3.9/source/eventlog_${pkgver}.tar.gz"
+source="https://my.balabit.com/downloads/${_pkgname}/${pkgver%.*}/${_pkgname}_$pkgver.tar.gz"
 
 _builddir="$srcdir/eventlog-$pkgver"
 
@@ -31,7 +32,6 @@ package() {
     make -j1 DESTDIR="$pkgdir" install || return 1
     return 0
 }
-
-md5sums="7d95392a6618437a0404a3fadb49f53e  eventlog_0.2.12.tar.gz"
-sha256sums="1733e21f5d7d8d09afd8a32934f2c90ea57d5f77b4ec10d9c5bb44e7da09eb05  eventlog_0.2.12.tar.gz"
-sha512sums="e9fc759295e0141a17e6b6fddf412711b4eaa2c565edaf459506e324849ceb41a7bf31a32c64fb9096e5181b6b14dcddd2755d46bd6238fc28a747c229780fd8  eventlog_0.2.12.tar.gz"
+md5sums="3d6ebda8a161d36cb40d09328f78786b  eventlog_0.2.12.tar.gz"
+sha256sums="494dac8e01dc5ce323df2ad554d94874938dab51aa025987677b2bc6906a9c66  eventlog_0.2.12.tar.gz"
+sha512sums="a681ab2961f5bf38e106a5b0b4492e74098808e2bf1a100f545736902649c705db124c0847796a47485faa8b0befe691a789d752f313c5b65ad50ed2763d2cce  eventlog_0.2.12.tar.gz"
-- 
2.6.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---