diff options
author | Jonas Licht <jonas.licht@fem.tu-ilmenau.de> | 2021-01-07 18:17:02 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-01-21 09:08:35 +0200 |
commit | e70b76941e263812ae9405634e482eddf06bc14b (patch) | |
tree | 345ad16491228c7f0ca098a274f55466b7a98cd3 /net-analyzer | |
parent | net-analyzer/greenbone-security-assistant: drop old broken version 8.0.1 (diff) | |
download | gentoo-e70b76941e263812ae9405634e482eddf06bc14b.tar.gz gentoo-e70b76941e263812ae9405634e482eddf06bc14b.tar.bz2 gentoo-e70b76941e263812ae9405634e482eddf06bc14b.zip |
net-analyzer/gvmd: drop old broken version 8.0.1
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Jonas Licht <jonas.licht@fem.tu-ilmenau.de>
Closes: https://github.com/gentoo/gentoo/pull/18984
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/gvmd/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/gvmd/files/gvmd-8.0.1-sbin.patch | 56 | ||||
-rw-r--r-- | net-analyzer/gvmd/files/gvmd-8.0.1-tmplock.patch | 34 | ||||
-rw-r--r-- | net-analyzer/gvmd/gvmd-8.0.1.ebuild | 118 |
4 files changed, 0 insertions, 209 deletions
diff --git a/net-analyzer/gvmd/Manifest b/net-analyzer/gvmd/Manifest index 04581ca8a8ba..de6f6ae1f9ba 100644 --- a/net-analyzer/gvmd/Manifest +++ b/net-analyzer/gvmd/Manifest @@ -1,2 +1 @@ -DIST gvmd-8.0.1.tar.gz 1495311 BLAKE2B 17419f5fecf7cce07536a5e12f17a61a31d45add185e0e1635515834eca6abd8a6babeb89b8f879ff8cb90b60f3682a19a62403142f4901be3f932b8a44cac68 SHA512 5490b902ad42499657eca9031b396c70a82d3c523985601067e697758f2472d123c4e99b085b963e58888d99224fa2a441a140772c702d7cd60d6424b126bfc8 DIST gvmd-9.0.1.tar.gz 1446748 BLAKE2B 7b7b4e8e4224e7a24964f39157bd0535fb4e6405b2813da7c827f4705c4b5df4d953783a3e21950c9196aa5878a09ce6eec7b4d906cc13730e508b0aa5d4be61 SHA512 4c4f0e1fdd2255be1a96967d61d9066d8860aecc5959f04c559b1a248bcc54d9cb75facd0156e223d674f038718f1e8ba0ee6b36cdc8ed88efe480acd1aa54cf diff --git a/net-analyzer/gvmd/files/gvmd-8.0.1-sbin.patch b/net-analyzer/gvmd/files/gvmd-8.0.1-sbin.patch deleted file mode 100644 index bf21acb7b01f..000000000000 --- a/net-analyzer/gvmd/files/gvmd-8.0.1-sbin.patch +++ /dev/null @@ -1,56 +0,0 @@ ---- a/src/CMakeLists.txt 2019-07-17 17:11:52.000000000 +0300 -+++ b/src/CMakeLists.txt 2019-07-21 22:43:17.299106863 +0300 -@@ -248,12 +248,12 @@ - ## Install - - install (TARGETS ${BINARY_NAME} -- RUNTIME DESTINATION ${SBINDIR} -+ RUNTIME DESTINATION ${BINDIR} - LIBRARY DESTINATION ${LIBDIR} - ARCHIVE DESTINATION ${LIBDIR}/static) - - install (FILES ${CMAKE_CURRENT_BINARY_DIR}/gvmd -- DESTINATION ${SBINDIR}) -+ DESTINATION ${BINDIR}) - - if (BACKEND STREQUAL POSTGRESQL) - install (TARGETS gvm-pg-server ---- a/CMakeLists.txt 2019-07-22 11:31:13.430827400 +0300 -+++ b/CMakeLists.txt 2019-07-22 11:32:29.034765809 +0300 -@@ -571,17 +571,17 @@ - PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ) - - install (FILES ${CMAKE_BINARY_DIR}/tools/gvm-portnames-update -- DESTINATION ${SBINDIR} -+ DESTINATION ${BINDIR} - PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE - GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) - - install (FILES ${CMAKE_BINARY_DIR}/tools/greenbone-scapdata-sync -- DESTINATION ${SBINDIR} -+ DESTINATION ${BINDIR} - PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE - GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) - - install (FILES ${CMAKE_BINARY_DIR}/tools/greenbone-certdata-sync -- DESTINATION ${SBINDIR} -+ DESTINATION ${BINDIR} - PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE - GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) - -@@ -593,13 +593,13 @@ - WORLD_READ WORLD_EXECUTE) - - install (FILES ${CMAKE_BINARY_DIR}/tools/gvm-migrate-to-postgres -- DESTINATION ${SBINDIR} -+ DESTINATION ${BINDIR} - PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE - GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) - - if (BACKEND STREQUAL SQLITE3) - install (FILES ${CMAKE_SOURCE_DIR}/tools/database-statistics-sqlite -- DESTINATION ${SBINDIR} -+ DESTINATION ${BINDIR} - PERMISSIONS OWNER_EXECUTE OWNER_READ OWNER_WRITE - GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) - endif (BACKEND STREQUAL SQLITE3) diff --git a/net-analyzer/gvmd/files/gvmd-8.0.1-tmplock.patch b/net-analyzer/gvmd/files/gvmd-8.0.1-tmplock.patch deleted file mode 100644 index 40b1e0095578..000000000000 --- a/net-analyzer/gvmd/files/gvmd-8.0.1-tmplock.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- a/tools/greenbone-certdata-sync.in 2019-07-17 17:11:52.000000000 +0300 -+++ b/tools/greenbone-certdata-sync.in 2019-07-22 21:11:36.173099530 +0300 -@@ -494,13 +494,11 @@ - fi - ( - flock -n 9 -- date > $LOCK_FILE - if [ $? -eq 1 ] ; then - log_notice "Sync in progress, exiting." - exit 1 - fi - sync_certdata -- echo -n > $LOCK_FILE --) 9>$LOCK_FILE -+) - - exit 0 ---- a/tools/greenbone-scapdata-sync.in 2019-07-17 17:11:52.000000000 +0300 -+++ b/tools/greenbone-scapdata-sync.in 2019-07-22 21:12:49.193161531 +0300 -@@ -517,13 +517,11 @@ - fi - ( - flock -n 9 -- date > $LOCK_FILE - if [ $? -eq 1 ] ; then - log_notice "Sync in progress, exiting." - exit 1 - fi - sync_scapdata -- echo -n > $LOCK_FILE --) 9>$LOCK_FILE -+) - - exit 0 diff --git a/net-analyzer/gvmd/gvmd-8.0.1.ebuild b/net-analyzer/gvmd/gvmd-8.0.1.ebuild deleted file mode 100644 index 7289dcd5f82a..000000000000 --- a/net-analyzer/gvmd/gvmd-8.0.1.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -CMAKE_MAKEFILE_GENERATOR="emake" -inherit cmake flag-o-matic systemd toolchain-funcs - -DESCRIPTION="Greenbone vulnerability manager, previously named openvas-manager" -HOMEPAGE="https://www.greenbone.net/en/" -SRC_URI="https://github.com/greenbone/gvmd/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -SLOT="0" -LICENSE="GPL-2+" -KEYWORDS="~amd64 ~x86" -IUSE="extras postgres sqlite" -REQUIRED_USE="|| ( postgres sqlite )" - -DEPEND=" - dev-libs/libgcrypt:0= - dev-libs/libical - >=net-analyzer/gvm-libs-10.0.1 - net-libs/gnutls:=[tools] - extras? ( app-text/xmlstarlet - dev-texlive/texlive-latexextra ) - postgres? ( dev-db/postgresql:* ) - sqlite? ( dev-db/sqlite:3 )" - -RDEPEND=" - ${DEPEND} - ~net-analyzer/openvas-scanner-6.0.1" - -BDEPEND=" - sys-devel/bison - sys-devel/flex - virtual/pkgconfig - extras? ( app-doc/doxygen[dot] - app-doc/xmltoman - app-text/htmldoc - dev-libs/libxslt - )" - -PATCHES=( - # Install exec. to /usr/bin instead of /usr/sbin - "${FILESDIR}/${P}-sbin.patch" - # Fix permissions for user gvm. - "${FILESDIR}/${P}-tmplock.patch" -) - -src_prepare() { - cmake_src_prepare - # QA-Fix | Use correct FHS/Gentoo policy paths for 8.0.1 - sed -i -e "s*share/doc/gvm/html/*share/doc/gvmd-${PV}/html/*g" "$S"/doc/CMakeLists.txt || die - sed -i -e "s*/doc/gvm/*/doc/gvmd-${PV}/*g" "$S"/CMakeLists.txt || die - # QA-Fix | Remove !CLANG Doxygen warnings for 8.0.1 - if use extras; then - if ! tc-is-clang; then - local f - for f in doc/*.in - do - sed -i \ - -e "s*CLANG_ASSISTED_PARSING = NO*#CLANG_ASSISTED_PARSING = NO*g" \ - -e "s*CLANG_OPTIONS*#CLANG_OPTIONS*g" \ - "${f}" || die "couldn't disable CLANG parsing" - done - fi - fi -} - -src_configure() { - local mycmakeargs=( - "-DLOCALSTATEDIR=${EPREFIX}/var" - "-DSYSCONFDIR=${EPREFIX}/etc" - ) - # Add release hardening flags for 8.0.1 - append-cflags -Wno-nonnull -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fstack-protector - append-ldflags -Wl,-z,relro -Wl,-z,now - cmake_src_configure -} - -src_compile() { - cmake_src_compile - if use extras; then - cmake_build -C "${BUILD_DIR}" doc - cmake_build doc-full -C "${BUILD_DIR}" doc - HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. ) - fi - cmake_build rebuild_cache -} - -src_install() { - cmake_src_install - - dodir /etc/gvm - insinto /etc/gvm - doins -r "${FILESDIR}"/*sync* - - dodir /etc/gvm/sysconfig - insinto /etc/gvm/sysconfig - doins "${FILESDIR}/${PN}-daemon.conf" - - exeinto /etc/gvm - doexe "${FILESDIR}"/gvmd-startpre.sh - - fowners -R gvm:gvm /etc/gvm - - newinitd "${FILESDIR}/${PN}.init" "${PN}" - newconfd "${FILESDIR}/${PN}-daemon.conf" "${PN}" - - insinto /etc/logrotate.d - newins "${FILESDIR}/${PN}.logrotate" "${PN}" - - systemd_dounit "${FILESDIR}/${PN}.service" - - # Set proper permissions on required files/directories - keepdir /var/lib/gvm/gvmd - fowners -R gvm:gvm /var/lib/gvm -} |