From 5332df6f50f08843183e23302620100a6e7be815 Mon Sep 17 00:00:00 2001 From: Tharre Date: Thu, 9 Aug 2018 20:43:26 +0200 Subject: Use sources from kernel.org and verify keys The kernel.org repo is considered official, see [0]. [0] https://github.com/mricon/grokmirror/issues/25 --- .SRCINFO | 9 ++++++--- PKGBUILD | 8 +++++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 2686320..359e951 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -2,12 +2,15 @@ pkgbase = grokmirror pkgdesc = Framework to smartly mirror git repositories pkgver = 1.1.0 pkgrel = 2 - url = https://github.com/mricon/grokmirror + url = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git arch = any license = GPL3 depends = python-setuptools - source = grokmirror-1.1.0::https://github.com/mricon/grokmirror/archive/v1.1.0.tar.gz - sha256sums = c838df4e9f055b269dd9664c554586d05cc91db337f559b3c2318aba24c89354 + source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.1.0.tar.gz + source = https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-1.1.0.tar.asc + validpgpkeys = DE0E66E32F1FDD0902666B96E63EDCA9329DD07E + sha256sums = SKIP + sha256sums = SKIP pkgname = grokmirror diff --git a/PKGBUILD b/PKGBUILD index a09ec0b..250ea86 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,12 +4,14 @@ pkgname=grokmirror pkgver=1.1.0 pkgrel=2 pkgdesc='Framework to smartly mirror git repositories' -url='https://github.com/mricon/grokmirror' +url='https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git' arch=('any') license=('GPL3') depends=('python-setuptools') -source=("${pkgname}-${pkgver}::https://github.com/mricon/grokmirror/archive/v${pkgver}.tar.gz") -sha256sums=('c838df4e9f055b269dd9664c554586d05cc91db337f559b3c2318aba24c89354') +source=(https://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git/snapshot/grokmirror-${pkgver}.tar.{gz,asc}) +validpgpkeys=('DE0E66E32F1FDD0902666B96E63EDCA9329DD07E') # Konstantin Ryabitsev +sha256sums=('SKIP' + 'SKIP') build() { cd "${pkgname}-${pkgver}" -- cgit v1.2.3-70-g09d2