Date: Friday, April 6, 2018 @ 21:40:07
  Author: shibumi
Revision: 314605

upgpkg: greenbone-security-assistant 7.0.3-1

new version + new URL for sources.
We use github instead of the old URL now for HTTPS

Modified:
  greenbone-security-assistant/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-06 21:29:56 UTC (rev 314604)
+++ PKGBUILD    2018-04-06 21:40:07 UTC (rev 314605)
@@ -2,12 +2,13 @@
 # Maintainer  : Christian Rebischke <chris.rebisc...@archlinux.org>
 # Maintainer  : Levente Polyak <anthraxx[at]archlinux[dot]org>
 # Contributor : Daniel Micay <danielmi...@gmail.com>
-pkgname=greenbone-security-assistant
+_pkgname='gsa'
+pkgname='greenbone-security-assistant'
 conflicts=('gsa')
 provides=('gsa')
 replaces=('gsa')
-pkgver=7.0.2
-pkgrel=2
+pkgver=7.0.3
+pkgrel=1
 pkgdesc='Greenbone Security Assistant (gsa) - OpenVAS web frontend'
 url='http://www.openvas.org/'
 license=('GPL')
@@ -16,11 +17,9 @@
 makedepends=('cmake' 'doxygen' 'xmltoman')
 groups=('openvas')
 backup=('etc/openvas/gsad_log.conf')
-# These URLs need to be manually updated on every pkgver upgrade.
-# http://wald.intevation.org/frs/?group_id=29
-source=("http://wald.intevation.org/frs/download.php/2429/greenbone-security-assistant-7.0.2.tar.gz";
-        
"http://wald.intevation.org/frs/download.php/2430/greenbone-security-assistant-7.0.2.tar.gz.sig";)
-sha512sums=('e3ccc8704845d8271a8628a19f7a79aea6c19f2cd52f4c69ee698b314c3b8de1099831394c8b474fa79fb1bba4dc5c42e88351edeca82e1c1b4f46f625f746ae'
+source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/greenbone/gsa/archive/v${pkgver}.tar.gz";
+        
"https://github.com/greenbone/gsa/releases/download/v${pkgver}/gsa-${pkgver}.tar.gz.sig";)
+sha512sums=('7e1c1ef939ba08dab3b78baf1aa9c110be2febfbed5d67eefe8110c60f5089a1af44bc26693657226f417c6bd516a4a656eb159dae2a78f878e1a1b6c222b117'
             'SKIP')
 validpgpkeys=(
               'C3B468D2288C68B9D526452248479FF648DB4530' # OpenVAS Transfer 
Integrity
@@ -27,7 +26,7 @@
 )
 
 build() {
-  cd "${pkgname}-${pkgver}"
+  cd "${_pkgname}-${pkgver}"
   cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
     -DSYSCONFDIR=/etc -DLOCALSTATEDIR=/var . -DSBINDIR=/usr/bin
   make
@@ -34,6 +33,6 @@
 }
 
 package() {
-  cd "${pkgname}-${pkgver}"
+  cd "${_pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
 }

Reply via email to