aboutsummaryrefslogtreecommitdiffstats
path: root/community/openvas-scanner/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-03-08 07:19:56 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-03-08 07:41:45 +0000
commit5b0c8cb711fd3a560b687974d9b84e0c8cfa8a69 (patch)
treece6a9ccda4f61db35d7413b64aa2ef0813a849e2 /community/openvas-scanner/APKBUILD
parent0655424ae85a303a26105f04641cd08cc1b27b28 (diff)
downloadaports-5b0c8cb711fd3a560b687974d9b84e0c8cfa8a69.tar.bz2
aports-5b0c8cb711fd3a560b687974d9b84e0c8cfa8a69.tar.xz
community/openvas-scanner: upgrade to 5.1.1
Diffstat (limited to 'community/openvas-scanner/APKBUILD')
-rw-r--r--community/openvas-scanner/APKBUILD42
1 files changed, 7 insertions, 35 deletions
diff --git a/community/openvas-scanner/APKBUILD b/community/openvas-scanner/APKBUILD
index 669d71150f..01481cc29f 100644
--- a/community/openvas-scanner/APKBUILD
+++ b/community/openvas-scanner/APKBUILD
@@ -2,14 +2,14 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=openvas-scanner
_pkgname=openvassd
-pkgver=5.0.7
-_pkgid=2367
+pkgver=5.1.1
+_pkgid=2423
pkgrel=0
pkgdesc="The OpenVAS scanning Daemon"
url="http://www.openvas.org/"
arch="all"
license="GPL"
-depends="redis nmap coreutils openssl"
+depends="redis nmap coreutils libressl"
depends_dev=""
makedepends="$depends_dev cmake openvas-libraries-dev glib-dev
doxygen xmltoman"
@@ -21,22 +21,12 @@ source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar
$_pkgname.conf
$_pkgname.logrotate
openvas-nvt-sync.cron
- 001-cmakelist-fortify.patch
002-execinfo-musl-fix.patch"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
cmake -DCMAKE_BUILD_TYPE=Release \
-DSBINDIR=/usr/bin \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -46,7 +36,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir/" install
install -Dm644 "$srcdir/$_pkgname.logrotate" "$pkgdir/etc/logrotate.d/$_pkgname"
install -m755 -D "$srcdir"/$_pkgname.initd "$pkgdir"/etc/init.d/$_pkgname
@@ -73,28 +63,10 @@ package() {
EOF
}
-
-md5sums="cb0a7b24e469e484d57941d1895586ac openvas-scanner-5.0.7.tar.gz
-2343f34f83401016cb01f564e9c6c222 openvassd.initd
-2fe5c960c0e5e8db0e438de417a70e7a openvassd.confd
-9fbfafb3f5001240d2d869ac3d365adf openvassd.conf
-a9e8ef884da6a0b33d3b29867d2ffcea openvassd.logrotate
-99ec960c1646038b41dbac7a8073500c openvas-nvt-sync.cron
-4ccb1c805294a2ceff8c73bceaa8c064 001-cmakelist-fortify.patch
-480472ca0b08e104742930f5a93da235 002-execinfo-musl-fix.patch"
-sha256sums="70a3d9dd025fc7a3c275d58e0f0de3eb7c095ee5ba1bd9148d2e113a7e3a4f28 openvas-scanner-5.0.7.tar.gz
-a842a6d29c5bf82296d771cfd44e152616277ed412b66f8a4ade81ac593d5615 openvassd.initd
-3664ee9dad3627259dafb9494d4a794ccd184a1aeaba06b3b283a7eccd1ee0b8 openvassd.confd
-c01dc363c4423dfa791690b6cef50df8ff46af02bbf008ac07575351ab94e0b3 openvassd.conf
-c4623fe22f777e722915b6a4cf19030fa54a1fb18fe2ee074e3fb2a2fe6b81ed openvassd.logrotate
-d3666d4cb7b639530a312b1dc49867b3b0de41209ea659924428df2d486cea40 openvas-nvt-sync.cron
-11bf3922c6ae25a5ed9fbc0b5c567c8106058ed424ba2c4c50959c44fee8dfd9 001-cmakelist-fortify.patch
-22f5779baba6b380e90138a89b5440f6ebbbbcd1c1ae284cf58ba136f9013e50 002-execinfo-musl-fix.patch"
-sha512sums="302adb2933dc7467dd189da632631f67c763e0b163b10502807922a6734fa693c8bf3f591d0ddba67cd335c57e60148c308c01cec64cac28cb9dca0345ffbb33 openvas-scanner-5.0.7.tar.gz
+sha512sums="8ca23fe9581c98381c030ee8e30a09876d538133980a589eff357321d2ceea0b24dbf8965ef7417e12abb9af240c6a26413b3041b219d28017c7f9ea04779fe1 openvas-scanner-5.1.1.tar.gz
528fc356c485daf3456e0e8f20ecd7bc93c772dd7afc8ec9d7a485cf89156f433fb4ae29a8b3cac7f126c8fa1ac4ca7f1cc4a10bd2388358fdd2e06a04a3c2e4 openvassd.initd
a47cf3add7a0e14175ccbae1c24c0e63ea7daf92ffa3e4d1bb988a2342e9b1ebfb597f0d20075ad22219dc2970d69e92bf8a3608cc156d4b5ca84723879bac71 openvassd.confd
0d203cd2dfcf0b77ce8d2546235de16f23ea71c7e601db557fcd67e9c8dc460029494f1a146daadb44101ae194d7fa4d511a488bb69094e5470de9e10acf008b openvassd.conf
5934a31ef4b7267fd741c41bb97fe2e1e42735d2324cce07145de1942efae3f5e42e8652ec0c3482dd53477be420a58124eae943f254105547abf065febb9046 openvassd.logrotate
92f1700ba15e04f0d830ac04db8c61bffb06104692fd91386a7f67ad8cc4bd1ea92651207a615c4bc56abc3a6c4f2fcf54fad52779fe5c6169d38f98b83513ea openvas-nvt-sync.cron
-0e0087477ec313709c1d84480e9f2896628807010d039eb066627229e7f694434b66ae7f7cd44d379e714bd7ff23458bc46f721e953c2603d568fc350d2f0572 001-cmakelist-fortify.patch
e7930a80b47213dbe3f4d4266ab9ad778f67c3b33a1e94578527d78335b2db05ced1ede893f656e6da98278c7c060a2ced8156a61dfbf15a74d7987ae1cdb745 002-execinfo-musl-fix.patch"