Subject: [alpine-aports] [PATCH] community/dcron: fix source and url

From: Milan P. Stanić <[email-masked]>
Date: Mon, 31 Dec 2018 15:11:51 +0100

use source and url from github.com
---
 upstream site looks dead (unreachable) but it is still reachable
 on github.com

 community/dcron/APKBUILD | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/community/dcron/APKBUILD b/community/dcron/APKBUILD
index 9ff0d964b3..a25986ba8b 100644
--- a/community/dcron/APKBUILD
+++ b/community/dcron/APKBUILD
@@ -2,9 +2,9 @@
 # Maintainer: Sören Tempel <[email-masked]>
 pkgname=dcron
 pkgver=4.5
-pkgrel=3
+pkgrel=4
 pkgdesc="dillon's lightweight cron daemon"
-url="http://www.jimpryor.net/linux/dcron.html"
+url="https://github.com/dubiousjim/dcron"
 arch="all"
 license="GPL"
 depends=""
@@ -12,7 +12,7 @@ depends_dev=""
 makedepends=""
 install=""
 subpackages="$pkgname-doc"
-source="http://www.jimpryor.net/linux/releases/${pkgname}-${pkgver}.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/dubiousjim/$pkgname/archive/v$pkgver.tar.gz
 	$pkgname.initd
 	pidfile.patch
 	ldflags.patch"
@@ -38,15 +38,7 @@ package() {
 		"$pkgdir"/usr/share/doc/$pkgname/ || return 1
 }
 
-md5sums="078833f3281f96944fc30392b1888326  dcron-4.5.tar.gz
-36fb725b46f815dc6692a269ef22dc47  dcron.initd
-c6761a07945edbeecc5726bb0ba92d40  pidfile.patch
-646b16f31abbea4c215512f58f421abc  ldflags.patch"
-sha256sums="9e50edb6f5bd8153b16bad05087d985e5153ce45cc01ae77e7f842213fb4a824  dcron-4.5.tar.gz
-dd36b83cd4fa2694119fe046a2432b702ce42c8dc0e87a252cae25a904560acf  dcron.initd
-f6c5adf109350eee543549ea63e03d1ac4ca8131d8c8ac1ac7074b222883cfa0  pidfile.patch
-69b907a89d22bcff5ded7ebd749c4e8df87106e290c75110630031e75631ee3a  ldflags.patch"
-sha512sums="08521391d16ba5adf80278ec2a734319c26c48841fd94b119c0b27d744c2cfb3562b1a3630135a03d1c43b1668d49262713abb20ff5f7ecd397a2a19a2f6105a  dcron-4.5.tar.gz
+sha512sums="72b72c624f72861a6fc10f030ca2b764c5f3be9a0d8341663c5a0acc2fda7fef70770d200975805f184d2fb668ee4811693989a54b12dc5ef501877f6c4aca0e  dcron-4.5.tar.gz
 0513fc6795988c68f2d552c7754383c6db1f51507686c25cf5205a8491679626118a4bab22c8d5e58017f58cc01ab21af8931fdef806a80f3d27cba2f53831cd  dcron.initd
 04fdd3059d6b1df8132944e2eefa932e640db8b4a5ac85dd1ca833adf1d0013ad33f40021624e12a4203b08003d6c79f0a5da4e29b057004fb849f388c7178f2  pidfile.patch
 8a07ccfae80468a555e8f5ea60f88dd444a3aacb6baa6f747a6a02bcdce78baaa8aaf799ae9d2684a518bfff537dc0cdcf0b53bb6fc0017fa52228f1f0a16e49  ldflags.patch"
-- 
2.18.1

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