[arch-commits] Commit in openvas-manager/trunk (PKGBUILD)

Daniel Micay thestinger at archlinux.org
Mon Jul 20 23:42:33 UTC 2015


    Date: Tuesday, July 21, 2015 @ 01:42:32
  Author: thestinger
Revision: 137179

upgpkg: openvas-manager 6.0.4-2

Modified:
  openvas-manager/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-20 23:22:38 UTC (rev 137178)
+++ PKGBUILD	2015-07-20 23:42:32 UTC (rev 137179)
@@ -2,13 +2,14 @@
 # Maintainer: Daniel Micay <danielmicay at gmail.com>
 pkgname=openvas-manager
 pkgver=6.0.4
-pkgrel=1
+pkgrel=2
 pkgdesc='A layer between the OpenVAS Scanner and various client applications'
 arch=('i686' 'x86_64')
 url='http://www.openvas.org/'
 license=('GPL')
-depends=('openvas-libraries' 'rsync' 'sqlite3')
+depends=('libxslt' 'openvas-libraries' 'rsync' 'sqlite3')
 makedepends=('cmake' 'doxygen' 'xmltoman')
+optdepends=('python2: SPLIT_PART_SIZE feature via xml_split script')
 groups=(openvas)
 # These URLs need to be manually updated on every pkgver upgrade.
 # http://wald.intevation.org/frs/?group_id=29
@@ -20,6 +21,11 @@
               'C3B468D2288C68B9D526452248479FF648DB4530' # OpenVAS Transfer Integrity
 )
 
+prepare() {
+  cd $pkgname-$pkgver
+  sed -i '1c#!/usr/bin/python2' tools/extra/xml_split
+}
+
 build() {
   cd $pkgname-$pkgver
   cmake -DCMAKE_BUILD_TYPE=Release -DSBINDIR=/usr/bin \



More information about the arch-commits mailing list