Date: Friday, April 6, 2018 @ 21:45:09
  Author: shibumi
Revision: 314607

upgpkg: openvas-manager 7.0.3-1

Use github URL now

Modified:
  openvas-manager/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2018-04-06 21:40:14 UTC (rev 314606)
+++ PKGBUILD    2018-04-06 21:45:09 UTC (rev 314607)
@@ -2,8 +2,9 @@
 # Maintainer  : Christian Rebischke <chris.rebisc...@archlinux.org>
 # Maintainer  : Levente Polyak <anthraxx[at]archlinux[dot]org>
 # Contributor : Daniel Micay <danielmi...@gmail.com>
-pkgname=openvas-manager
-pkgver=7.0.2
+_pkgname='gvm'
+pkgname='openvas-manager'
+pkgver=7.0.3
 pkgrel=1
 pkgdesc='A layer between the OpenVAS Scanner and various client applications'
 arch=('x86_64')
@@ -12,13 +13,11 @@
 depends=('libxslt' 'openvas-libraries' 'rsync' 'sqlite3')
 makedepends=('cmake' 'doxygen' 'xmltoman')
 optdepends=('python2: SPLIT_PART_SIZE feature via xml_split script')
-groups=(openvas)
+groups=('openvas')
 install="${pkgname}.install"
-# 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/2448/openvas-manager-7.0.2.tar.gz";
-        
"http://wald.intevation.org/frs/download.php/2449/openvas-manager-7.0.2.tar.gz.sig";)
-sha512sums=('82b35b8bfcfbc781acabec71133d87352887a1e51e4af5a757c0f0a8b3eb86c37137022fdac693cc8802971c2628b52b900b1ec2af3c6434c3e2401bdbd8bfe2'
+source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/greenbone/gvm/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz";
+        
"https://github.com/greenbone/gvm/releases/download/v${pkgver}/openvas-manager-${pkgver}.tar.gz.sig";)
+sha512sums=('c382b8791a66cc73c1f0da190a11a4addd22afee93abfe96718aba6c5e4488c3ccf33e17cb0aaf8dc376efe2b0264fef4195d5292d97387d2a24d515e3a4d325'
             'SKIP')
 validpgpkeys=(
               'C3B468D2288C68B9D526452248479FF648DB4530' # OpenVAS Transfer 
Integrity
@@ -25,12 +24,12 @@
 )
 
 prepare() {
-  cd "${pkgname}-${pkgver}"
+  cd "${_pkgname}-${pkgver}"
   sed -i '1c#!/usr/bin/python2' tools/extra/xml_split
 }
 
 build() {
-  cd "${pkgname}-${pkgver}"
+  cd "${_pkgname}-${pkgver}"
   cmake -DCMAKE_BUILD_TYPE=Release -DSBINDIR=/usr/bin \
     -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONFDIR=/etc -DLOCALSTATEDIR=/var .
   make
@@ -37,6 +36,6 @@
 }
 
 package() {
-  cd "${pkgname}-${pkgver}"
+  cd "${_pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
 }

Reply via email to