Commit c3bac183 authored by Bart Ribbers's avatar Bart Ribbers
Browse files

testing/nomp: drop, upstream has removed the source and is unsupported

parent e4fba93f
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=nomp
pkgver=0.1
pkgrel=6
pkgdesc="Ncurses OpenVAS Manager Protocol"
url="https://gitlab.com/git-rep/nomp"
arch="all"
license="GPL-2.0"
#no check provided by upstream
options="!check"
makedepends="openssl-dev libxml++-dev ncurses-dev"
source="https://gitlab.com/git-rep/nomp/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz
make-path.patch
fix-include.patch"
builddir="$srcdir/$pkgname-v$pkgver"
build() {
cd "$builddir"
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="e4c53b44f85438775f4046c0e90e05f9d80cb60e999c1cc9f6661a43d6ab9ad5a1cf2322e97386f99a83d62aefdfeb477a065639a823f469a1278628bc19673c nomp-v0.1.tar.gz
9713d125666993e69d7dae5dd253eee884090ce2087c419214beeb4c133e2e3ac219f8bac097e97952ff41066bfb6a6ad731b390c2aadba43ddd72f96f9443f2 make-path.patch
62e777a2fc5adcc2bd15daed66aefa3043ded45b7458f20ebafef7eff5457cd070053a62df9071c3b31c4ae177e2c4b43ee44e0d7c3ea81870e57b63a04f4f8a fix-include.patch"
diff --git a/src/ssl_socket.cc b/src/ssl_socket.cc
index 2e18c99..b1aa611 100644
--- a/src/ssl_socket.cc
+++ b/src/ssl_socket.cc
@@ -1,4 +1,5 @@
#include "ssl_socket.h"
+#include <string.h>
SSL_socket::SSL_socket() :
is_started(false),
diff --git a/Makefile b/Makefile
index c53a4b7..05aa874 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ BUILDDIR = .build
SOURCES = $(wildcard src/*.cc)
OBJECTS = $(patsubst $(SOURCEDIR)/%.cc,$(BUILDDIR)/%.o,$(SOURCES))
DEPS := $(OBJECTS:.o=.d)
-PREFIX = /usr/local
+PREFIX = /usr
TARGET = nomp
.SILENT:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment