diff options
author | Aaron Bauman <bman@gentoo.org> | 2019-11-29 17:33:13 -0500 |
---|---|---|
committer | Aaron Bauman <bman@gentoo.org> | 2019-11-29 17:33:43 -0500 |
commit | 78d4c66d2bd5af45bea655c85d43ec21c09244c8 (patch) | |
tree | 248487b551f35b2b163a2e8c0b47d98cd26d4dd5 /net-analyzer | |
parent | media-fonts/vc-fonts: drop last-rited pkg (diff) | |
download | gentoo-78d4c66d2bd5af45bea655c85d43ec21c09244c8.tar.gz gentoo-78d4c66d2bd5af45bea655c85d43ec21c09244c8.tar.bz2 gentoo-78d4c66d2bd5af45bea655c85d43ec21c09244c8.zip |
net-analyzer/*: drop last-rited pkgs
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'net-analyzer')
18 files changed, 0 insertions, 553 deletions
diff --git a/net-analyzer/openvas-cli/Manifest b/net-analyzer/openvas-cli/Manifest deleted file mode 100644 index ec9e62719bb1..000000000000 --- a/net-analyzer/openvas-cli/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST openvas-cli-1.4.3.tar.gz 108228 BLAKE2B d8f657fde8d1cac257dac8e87fdea23401ce1f89ccb08a63c8c63f5aae9c83ff663193425eabb86481ee697ecf6bf1f893325ba472a794c83586464d24e7ecbc SHA512 a85c754612b8f8102aa1ccf0af72f3266758c4873f7c346004b4f6794bfa8e562dbe14009ae04a2792978354454fa75f8a912bc13a83bce3604ff00019c363e3 diff --git a/net-analyzer/openvas-cli/metadata.xml b/net-analyzer/openvas-cli/metadata.xml deleted file mode 100644 index 6f49eba8f496..000000000000 --- a/net-analyzer/openvas-cli/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> -</pkgmetadata> diff --git a/net-analyzer/openvas-cli/openvas-cli-1.4.3.ebuild b/net-analyzer/openvas-cli/openvas-cli-1.4.3.ebuild deleted file mode 100644 index 8a46aad30c25..000000000000 --- a/net-analyzer/openvas-cli/openvas-cli-1.4.3.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DL_ID=2209 -inherit cmake-utils - -DESCRIPTION="A remote security scanner for Linux (OpenVAS-cli)" -HOMEPAGE="http://www.openvas.org/" -SRC_URI="http://wald.intevation.org/frs/download.php/${DL_ID}/${P/_beta/+beta}.tar.gz" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=" - >=net-analyzer/openvas-libraries-8.0.4 -" -RDEPEND="${DEPEND} - !net-analyzer/openvas-client -" -BDEPEND="virtual/pkgconfig" - -S="${WORKDIR}"/${P/_beta/+beta} - -src_configure() { - local mycmakeargs=( - -DLOCALSTATEDIR="${EPREFIX}"/var - -DSYSCONFDIR="${EPREFIX}"/etc - ) - cmake-utils_src_configure -} diff --git a/net-analyzer/openvas-libraries/Manifest b/net-analyzer/openvas-libraries/Manifest deleted file mode 100644 index 042bb42a2705..000000000000 --- a/net-analyzer/openvas-libraries/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST openvas-libraries-9.0.3.tar.gz 643948 BLAKE2B c05fbcd2a1b9c2292ac2d7ea3c7f4fe2ff4c5a41b0dd5610283712ce136fe4184d46b9fdcfb74bf2a4a6d7c016497df31caff121d9c7b013280164b49f874f4f SHA512 bca213309e06a39d2dcd790cacb01f2a71471622887424e41cc025a2bc25feb6a9b2c1d904f739df6fd87d8ec7af5171b31d1f5d08411c5143e4be1e6723397a diff --git a/net-analyzer/openvas-libraries/files/OPENVAS.gentoo b/net-analyzer/openvas-libraries/files/OPENVAS.gentoo deleted file mode 100644 index ab3f4c8918c7..000000000000 --- a/net-analyzer/openvas-libraries/files/OPENVAS.gentoo +++ /dev/null @@ -1,106 +0,0 @@ ------------------------------------------------------------------ ---------------------------IMPORTANT------------------------------ ------------------------------------------------------------------ -You will need to set up your /etc/redis.conf file properly before -running openvas-scanner for the first time. -For details, please see the example config file installed to: ---> /etc/openvas/redis.conf.example -Please configure /etc/openvas/openvassd.conf properly -according to redis listening unix socket. -e.g. /etc/openvas/openvassd.conf --> kb_location = /tmp/redis.sock -If you use first-start script it will check various issues and -automatically setup OpenVAS for first time use. -GSA(Greenbone Security Agent) WebUI listens port -9392(local) default. If you want to use nginx reverse proxy -to reach WebUI please see the example config file ---> /etc/openvas/gsa.nginx.reverse.proxy.example -otherwise you can change port to 443 or 80. - ------------------------------------------------------------------ ----------------------------SCRIPTS------------------------------- ------------------------------------------------------------------ -'first-start' ---> Automatically setup OpenVAS for first time use ---> Installed in /etc/openvas/scripts - -'openvas-feed-sync' ---> Updates Feeds | You can add this to cron ---> Installed in /etc/openvas/scripts - ------------------------------------------------------------------ -----------ENVIRONMENT SETTINGS FOR SYSTEMD & OPEN-RC------------- ------------------------------------------------------------------ -'openvas-scanner-daemon.conf' ---> OpenVAS Scanner systemd daemon settings ---> Installed in /etc/openvas/sysconfig - -'gvmd-daemon.conf' ---> OpenVAS Manager systemd daemon settings ---> Installed in /etc/openvas/sysconfig - -'gsa-daemon.conf ---> Greenbone Security Agent systemd daemon settings ---> Installed in /etc/openvas/sysconfig - -'openvas-scanner' ---> OpenVAS Scanner open-rc daemon settings ---> Installed in /etc/config.d - -'gvmd' ---> OpenVAS Manager open-rc daemon settings ---> Installed in /etc/config.d - -'gsa' ---> Greenbone Security Agent systemd daemon settings ---> Installed in /etc/config.d - ------------------------------------------------------------------ ---------QUICK START COMMANDS (IF YOU DON'T USE SCRIPTS)---------- ------------------------------------------------------------------ -'env-update && source /etc/profile' ---> Update PATHS - -'openvas-manage-certs -a' ---> Create certificates automatically first time - -'greenbone-nvt-sync' ---> Update NVT Feed - -'greenbone-scapdata-sync' ---> Update scapdata Feed - -'greenbone-certdata-sync' ---> Update certdata Feed - -'openvassd --foreground --only-cache' ---> Generate initial NVT cache and quit - -'rc-service openvas-scanner start or systemctl start openvas-scanner' ---> Start OpenVAS-Scanner - -'openvasmd --rebuild --progress' ---> Initialize the Database - -'openvasmd --create-user=admin --role=Admin' ---> Create User for WEBUI.Save your password - -'rc-service gvmd start or systemctl start gvmd' ---> Start OpenVAS-Manager - -'rc-service gsa start or systemctl start gsa' ---> Start the Greenbone Security Assistant - ------------------------------------------------------------------ ----------------------PLUGIN KEY AND SIGNING---------------------- ------------------------------------------------------------------ -'gpg --homedir=/etc/openvas/gnupg --gen-key' ---> Generate Key - -'wget https://www.greenbone.net/GBCommunitySigningKey.asc' ---> Official OpenVAS Transfer Key - -'gpg --homedir=/etc/openvas/gnupg --import GBCommunitySigningKey.asc' ---> Import OpenVAS Transfer Key - -'gpg --homedir=/etc/openvas/gnupg --lsign-key 0ED1E580' ---> Sign diff --git a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-cachedir.patch b/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-cachedir.patch deleted file mode 100644 index 34fc9f68f437..000000000000 --- a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-cachedir.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 01:40:41.981031382 +0300 -+++ gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 01:44:08.867074208 +0300 -@@ -173,7 +173,6 @@ - set (OPENVAS_DATA_DIR "${DATADIR}/openvas") - set (OPENVAS_STATE_DIR "${LOCALSTATEDIR}/lib/openvas") - set (OPENVAS_LOG_DIR "${LOCALSTATEDIR}/log/openvas") --set (OPENVAS_CACHE_DIR "${LOCALSTATEDIR}/cache/openvas") - set (OPENVAS_SYSCONF_DIR "${SYSCONFDIR}/openvas") - - set (OPENVAS_LIB_INSTALL_DIR "${LIBDIR}") -@@ -330,7 +329,6 @@ - - install (DIRECTORY DESTINATION ${OPENVAS_LOG_DIR}) - install (DIRECTORY DESTINATION ${OPENVAS_DATA_DIR}) --install (DIRECTORY DESTINATION ${OPENVAS_CACHE_DIR}) - install (DIRECTORY DESTINATION ${OPENVAS_PID_DIR}) - install (DIRECTORY DESTINATION ${OPENVAS_SYSCONF_DIR}) - install (DIRECTORY diff --git a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-gcc8.patch b/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-gcc8.patch deleted file mode 100644 index a2809087f820..000000000000 --- a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-gcc8.patch +++ /dev/null @@ -1,73 +0,0 @@ ---- gvm-libs-9.0.3/nasl/nasl_isotime.c 2018-08-29 19:01:12.000000000 +0300 -+++ gvm-libs-9.0.3/nasl/nasl_isotime.c 2019-02-01 21:11:40.460358131 +0300 -@@ -102,9 +102,13 @@ - struct tm *tp; - - tp = gmtime (&atime); -- snprintf (timebuf, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d", -+ if (snprintf (timebuf, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d", - 1900 + tp->tm_year, tp->tm_mon+1, tp->tm_mday, -- tp->tm_hour, tp->tm_min, tp->tm_sec); -+ tp->tm_hour, tp->tm_min, tp->tm_sec) < 0) -+ { -+ *timebuf = '\0'; -+ return; -+ } - } - } - -@@ -480,8 +484,9 @@ - || year < 0 || month < 1 || day < 1) - return 1; - -- snprintf (atime, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d", -- year, month, day, hour, minute, sec); -+ if (snprintf (atime, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d", -+ year, month, day, hour, minute, sec) < 0) -+ return 1; - return 0; - } - -@@ -519,8 +524,9 @@ - || year < 0 || month < 1 || day < 1) - return 1; - -- snprintf (atime, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d", -- year, month, day, hour, minute, sec); -+ if (snprintf (atime, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d", -+ year, month, day, hour, minute, sec) < 0) -+ return 1; - return 0; - } - -@@ -558,13 +564,14 @@ - || year < 0 || month < 1 || day < 1) - return 1; - -- snprintf (atime, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d", -- year, month, day, hour, minute, sec); -+ if (snprintf (atime, ISOTIME_SIZE, "%04d%02d%02dT%02d%02d%02d", -+ year, month, day, hour, minute, sec) < 0) -+ return 1; - return 0; - } - - -- -+ - /** - * @brief Return the current time in ISO format - * @naslfn{isotime_now} -@@ -784,9 +791,9 @@ - memcpy (timebuf, string, ISOTIME_SIZE -1); - timebuf[ISOTIME_SIZE - 1] = 0; - -- nyears = get_int_local_var_by_name (lexic, "years", 0); -- ndays = get_int_local_var_by_name (lexic, "days", 0); -- nseconds = get_int_local_var_by_name (lexic, "seconds", 0); -+ nyears = get_int_var_by_name (lexic, "years", 0); -+ ndays = get_int_var_by_name (lexic, "days", 0); -+ nseconds = get_int_var_by_name (lexic, "seconds", 0); - - if (nyears && add_years_to_isotime (timebuf, nyears)) - return NULL; diff --git a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-netsnmp.patch b/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-netsnmp.patch deleted file mode 100644 index 69305576d0d7..000000000000 --- a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-netsnmp.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- gvm-libs-9.0.3/CMakeLists.txt 2018-08-29 19:01:12.000000000 +0300 -+++ gvm-libs-9.0.3/CMakeLists.txt 2019-02-01 20:58:45.946113012 +0300 -@@ -238,7 +238,7 @@ - OUTPUT_STRIP_TRAILING_WHITESPACE) - - message (STATUS "Looking for netsnmp...") -- find_library (SNMP snmp) -+ find_library (SNMP netsnmp) - message (STATUS "Looking for netsnmp... ${SNMP}") - if (SNMP) - execute_process (COMMAND net-snmp-config --libs diff --git a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-rpath.patch b/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-rpath.patch deleted file mode 100644 index e14e2965e9fe..000000000000 --- a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-rpath.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 21:42:27.367627369 +0300 -+++ gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 21:45:48.961135211 +0300 -@@ -80,7 +80,7 @@ - # TODO: Check pkg-config (maybe with code like in gsa/CMakeLists.txt). - - ## CPack configuration -- -+set (CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) - set (CPACK_CMAKE_GENERATOR "Unix Makefiles") - set (CPACK_GENERATOR "TGZ") - set (CPACK_INSTALL_CMAKE_PROJECTS ".;openvas-libraries;ALL;/") diff --git a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-rundir.patch b/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-rundir.patch deleted file mode 100644 index 6ecdc8a64219..000000000000 --- a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-rundir.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 14:50:41.230530261 +0300 -+++ gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 14:55:08.649433070 +0300 -@@ -162,9 +162,9 @@ - set (DATADIR "${CMAKE_INSTALL_PREFIX}/share") - endif (NOT DATADIR) - --if (NOT OPENVAS_PID_DIR) -- set (OPENVAS_PID_DIR "${LOCALSTATEDIR}/run") --endif (NOT OPENVAS_PID_DIR) -+#if (NOT OPENVAS_PID_DIR) -+# set (OPENVAS_PID_DIR "${LOCALSTATEDIR}/run") -+#endif (NOT OPENVAS_PID_DIR) - - #if (NOT SYSCONFDIR) - # set (SYSCONFDIR "${CMAKE_INSTALL_PREFIX}/etc") ---- gvm-libs-9.0.3/base/pidfile.c 2018-08-29 19:01:12.000000000 +0300 -+++ gvm-libs-9.0.3/base/pidfile.c 2019-02-04 15:08:04.600958560 +0300 -@@ -59,7 +59,7 @@ - pidfile_create (gchar * daemon_name) - { - gchar *name_pid = g_strconcat (daemon_name, ".pid", NULL); -- gchar *pidfile_name = g_build_filename (OPENVAS_PID_DIR, name_pid, NULL); -+ gchar *pidfile_name = g_build_filename (name_pid, NULL); - FILE *pidfile = g_fopen (pidfile_name, "w"); - - g_free (name_pid); -@@ -88,7 +88,7 @@ - pidfile_remove (gchar * daemon_name) - { - gchar *name_pid = g_strconcat (daemon_name, ".pid", NULL); -- gchar *pidfile_name = g_build_filename (OPENVAS_PID_DIR, name_pid, NULL); -+ gchar *pidfile_name = g_build_filename (name_pid, NULL); - gchar *pidfile_contents; - - g_free (name_pid); ---- gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 17:39:39.776282496 +0300 -+++ gvm-libs-9.0.3/CMakeLists.txt 2019-02-04 17:39:23.160269081 +0300 -@@ -329,7 +329,6 @@ - - install (DIRECTORY DESTINATION ${OPENVAS_LOG_DIR}) - install (DIRECTORY DESTINATION ${OPENVAS_DATA_DIR}) --install (DIRECTORY DESTINATION ${OPENVAS_PID_DIR}) - install (DIRECTORY DESTINATION ${OPENVAS_SYSCONF_DIR}) - install (DIRECTORY - DESTINATION ${OPENVAS_SYSCONF_DIR}/gnupg diff --git a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-underlinking.patch b/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-underlinking.patch deleted file mode 100644 index e3c25f9b9c41..000000000000 --- a/net-analyzer/openvas-libraries/files/openvas-libraries-9.0.3-underlinking.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- gvm-libs-9.0.3/base/CMakeLists.txt 2019-02-04 15:11:20.848707365 +0300 -+++ gvm-libs-9.0.3/base/CMakeLists.txt 2019-02-04 15:40:27.745955904 +0300 -@@ -88,7 +88,7 @@ - assuan libgpg-error ole32 ws2_32 ffi z shlwapi dnsapi winmm) - target_link_libraries (openvas_base_shared ${W32LIBS}) - else (MINGW) -- target_link_libraries (openvas_base_shared LINK_PRIVATE ${GLIB_LDFLAGS} ${GIO_LDFLAGS} ${ZLIB_LDFLAGS} ${GPGME_LDFLAGS} ${REDIS_LDFLAGS} ${LINKER_HARDENING_FLAGS}) -+ target_link_libraries (openvas_base_shared LINK_PRIVATE ${LIBSSH_LDFLAGS} ${GLIB_LDFLAGS} ${GIO_LDFLAGS} ${ZLIB_LDFLAGS} ${GPGME_LDFLAGS} ${REDIS_LDFLAGS} ${LINKER_HARDENING_FLAGS}) - endif (MINGW) - endif (BUILD_SHARED) - -@@ -102,10 +102,10 @@ - - # Link the test-hosts executable - # TODO: This is currently only built for BUILD_SHARED --if (BUILD_SHARED) -- add_executable (test-hosts test-hosts.c) -- target_link_libraries (test-hosts openvas_base_shared ${GLIB_LDFLAGS} ${REDIS_LDFLAGS}) --endif (BUILD_SHARED) -+#if (BUILD_SHARED) -+# add_executable (test-hosts test-hosts.c) -+# target_link_libraries (test-hosts openvas_base_shared ${GLIB_LDFLAGS} ${REDIS_LDFLAGS}) -+#endif (BUILD_SHARED) - - ## Install - if (BUILD_STATIC) -@@ -123,3 +123,4 @@ - endif (BUILD_SHARED) - - ## End -+ ---- gvm-libs-9.0.3/misc/CMakeLists.txt 2019-02-04 15:11:20.847707368 +0300 -+++ gvm-libs-9.0.3/misc/CMakeLists.txt 2019-02-04 15:49:34.035071570 +0300 -@@ -146,7 +146,7 @@ - else (MINGW) - target_link_libraries (openvas_misc_shared LINK_PRIVATE ${GNUTLS_LDFLAGS} openvas_base_shared ${UUID_LDFLAGS} - ${GLIB_LDFLAGS} ${PCAP_LDFLAGS} ${LIBSSH_LDFLAGS} ${LDAP_LDFLAGS} -- ${GCRYPT_LDFLAGS} ${RADIUS_LDFLAGS} -+ ${REDIS_LDFLAGS} ${GCRYPT_LDFLAGS} ${RADIUS_LDFLAGS} - ${LINKER_HARDENING_FLAGS}) - endif (MINGW) - endif (BUILD_SHARED) -@@ -198,3 +198,4 @@ - ARCHIVE DESTINATION ${LIBDIR} - PUBLIC_HEADER DESTINATION "${INCLUDEDIR}/openvas/misc") - endif (BUILD_SHARED) -+ diff --git a/net-analyzer/openvas-libraries/metadata.xml b/net-analyzer/openvas-libraries/metadata.xml deleted file mode 100644 index c71bb473eca2..000000000000 --- a/net-analyzer/openvas-libraries/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>hasan.calisir@psauxit.com</email> - <name>Hasan ÇALIŞIR</name> - </maintainer> - <maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <use> - <flag name="extras">Html docs support</flag> - <flag name="ldap">Enable support for ldap</flag> - <flag name="radius">Enable support for radius</flag> - </use> -</pkgmetadata> diff --git a/net-analyzer/openvas-libraries/openvas-libraries-9.0.3-r1.ebuild b/net-analyzer/openvas-libraries/openvas-libraries-9.0.3-r1.ebuild deleted file mode 100644 index 8f1d7043fc10..000000000000 --- a/net-analyzer/openvas-libraries/openvas-libraries-9.0.3-r1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CMAKE_MAKEFILE_GENERATOR="emake" -inherit cmake-utils -MY_PN="gvm-libs" - -DESCRIPTION="A remote security scanner for Linux (openvas-libraries)" -HOMEPAGE="http://www.openvas.org/" -SRC_URI="https://github.com/greenbone/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="extras ldap radius" - -DEPEND=" - app-crypt/gpgme:= - dev-libs/hiredis - dev-libs/libgcrypt:0= - dev-libs/libksba - dev-perl/UUID - net-analyzer/net-snmp - net-libs/gnutls:=[tools] - net-libs/libpcap - net-libs/libssh:= - sys-libs/zlib - extras? ( dev-perl/CGI ) - ldap? ( net-nds/openldap ) - radius? ( net-dialup/freeradius-client )" - -RDEPEND=" - ${DEPEND}" - -BDEPEND=" - sys-devel/bison - sys-devel/flex - virtual/pkgconfig - extras? ( app-doc/doxygen[dot] - app-doc/xmltoman - app-text/htmldoc - dev-perl/SQL-Translator - )" - -PATCHES=( - "${FILESDIR}/${P}-gcc8.patch" - "${FILESDIR}/${P}-netsnmp.patch" - "${FILESDIR}/${P}-cachedir.patch" - "${FILESDIR}/${P}-rundir.patch" - "${FILESDIR}/${P}-underlinking.patch" - "${FILESDIR}/${P}-rpath.patch" -) - -BUILD_DIR="${WORKDIR}/${MY_PN}-${PV}_build" -S="${WORKDIR}/${MY_PN}-${PV}" - -src_prepare() { - cmake-utils_src_prepare - if use extras; then - doxygen -u "$S"/doc/Doxyfile_full.in || die - fi -} - -src_configure() { - local mycmakeargs=( - "-DCMAKE_INSTALL_PREFIX=${EPREFIX}/usr" - "-DLOCALSTATEDIR=${EPREFIX}/var" - "-DSYSCONFDIR=${EPREFIX}/etc" - $(usex ldap -DBUILD_WITHOUT_LDAP=0 -DBUILD_WITHOUT_LDAP=1) - $(usex radius -DBUILD_WITHOUT_RADIUS=0 -DBUILD_WITHOUT_RADIUS=1) - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile - if use extras; then - cmake-utils_src_make -C "${BUILD_DIR}" doc - cmake-utils_src_make doc-full -C "${BUILD_DIR}" doc - HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. ) - fi -} - -src_install() { - cmake-utils_src_install - - insinto /usr/share/openvas - doins "${FILESDIR}"/OPENVAS.gentoo - - keepdir /var/lib/openvas/gnupg - keepdir /var/log/openvas -} diff --git a/net-analyzer/openvas-tools/Manifest b/net-analyzer/openvas-tools/Manifest deleted file mode 100644 index dcafeba511ef..000000000000 --- a/net-analyzer/openvas-tools/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST openvas-tools-0_pre20512.tar.xz 46100 BLAKE2B 4d497ef59620818c872756b9b251fa813b255d172e0e9968a130700f7851342b7a238790637e3fe93d93b664e2cc01af28d55c006ae38a64480be26fd4f824eb SHA512 ab524c18a9c9cbfbc742d19c55c7eacc99c39d9209d3f915a6e0070c662f9761cc55b1166dfb48cdaab2607a07ea0640ff9f0a3d48a364409e516a3142f96cbb diff --git a/net-analyzer/openvas-tools/metadata.xml b/net-analyzer/openvas-tools/metadata.xml deleted file mode 100644 index 6f49eba8f496..000000000000 --- a/net-analyzer/openvas-tools/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<!-- maintainer-needed --> -</pkgmetadata> diff --git a/net-analyzer/openvas-tools/openvas-tools-0_pre20512.ebuild b/net-analyzer/openvas-tools/openvas-tools-0_pre20512.ebuild deleted file mode 100644 index 48c6d833eacf..000000000000 --- a/net-analyzer/openvas-tools/openvas-tools-0_pre20512.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit multilib - -DESCRIPTION="A remote security scanner for Linux (extra tools)" -HOMEPAGE="http://www.openvas.org/" -SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -S="${WORKDIR}"/tools - -src_install() { - insinto /usr/$(get_libdir)/nagios/plugins/ - doins nagios/* - - dosbin openvas-check-setup - - insinto /usr/share/vim/vimfiles/syntax - doins nasl.vim -} diff --git a/net-analyzer/openvas/metadata.xml b/net-analyzer/openvas/metadata.xml deleted file mode 100644 index a2806dd34dca..000000000000 --- a/net-analyzer/openvas/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>hasan.calisir@psauxit.com</email> - <name>Hasan ÇALIŞIR</name> - </maintainer> - <maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <use> - <flag name="extras">Extra fonts, pdf results and html docs support</flag> - <flag name="cli">Command Line Interface for OpenVAS Scanner throught <pkg>net-analyzer/gvm-tools</pkg></flag> - <flag name="gsa">Greenbone Security Assistant (WebUI) through <pkg>net-analyzer/greenbone-security-assistant</pkg></flag> - <flag name="ospd">Enable support for scanner wrappers through <pkg>net-analyzer/ospd</pkg></flag> - <flag name="ldap">Enable support for ldap through <pkg>net-nds/openldap</pkg></flag> - <flag name="radius">Enable support for radius through <pkg>net-dialup/freeradius-client</pkg></flag> - </use> -</pkgmetadata> diff --git a/net-analyzer/openvas/openvas-9.0.0.ebuild b/net-analyzer/openvas/openvas-9.0.0.ebuild deleted file mode 100644 index b9d86a8e6da4..000000000000 --- a/net-analyzer/openvas/openvas-9.0.0.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit eutils - -DESCRIPTION="A remote security scanner" -HOMEPAGE="http://www.openvas.org/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -IUSE="+cli +extras +gsa ldap +ospd radius" - -RDEPEND=" - >=net-analyzer/openvas-libraries-9.0.3[extras?] - >=net-analyzer/openvas-manager-7.0.3[extras?] - ~net-analyzer/openvas-scanner-5.1.3[extras?] - cli? ( >=net-analyzer/gvm-tools-1.4.1 ) - gsa? ( ~net-analyzer/greenbone-security-assistant-7.0.3[extras?] ) - ldap? ( >=net-analyzer/openvas-libraries-9.0.3[ldap] ) - ospd? ( >=net-analyzer/ospd-1.3.2[extras?] ) - radius? ( >=net-analyzer/openvas-libraries-9.0.3[radius] )" - -pkg_postinst() { - elog "----------------------------IMPORTANT----------------------------" - elog " Please read important notes > /usr/share/openvas/OPENVAS.gentoo " - elog "-----------------------------------------------------------------" - elog "Additional support for extra checks can be get from" - optfeature "Web server scanning and testing tool" net-analyzer/nikto - optfeature "Portscanner" net-analyzer/nmap - optfeature "IPsec VPN scanning, fingerprinting and testing tool" net-analyzer/ike-scan - optfeature "Application protocol detection tool" net-analyzer/amap - optfeature "ovaldi (OVAL) — an OVAL Interpreter" app-forensics/ovaldi - optfeature "Linux-kernel-based portscanner" net-analyzer/portbunny - optfeature "Web application attack and audit framework" net-analyzer/w3af -} |