public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvm-libs/files/, net-analyzer/gvm-libs/
@ 2019-10-28  4:05 Joonas Niilola
  0 siblings, 0 replies; 5+ messages in thread
From: Joonas Niilola @ 2019-10-28  4:05 UTC (permalink / raw
  To: gentoo-commits

commit:     9f60645625d8b57750165eb8e60bc2b24136540d
Author:     Hasan ÇALIŞIR <hasan.calisir <AT> psauxit <DOT> com>
AuthorDate: Mon Aug 12 14:37:30 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Mon Oct 28 04:01:05 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f606456

net-analyzer/gvm-libs: new package.

openvas-libraries with version 10 has been renamed in
Greenbone vulnerability management libraries (gvm-libs).
Version bump to 10.0.1.

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hasan ÇALIŞIR <hasan.calisir <AT> psauxit.com>
Closes: https://bugs.gentoo.org/692004
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-analyzer/gvm-libs/Manifest                     |   1 +
 .../gvm-libs/files/gvm-libs-10.0.1-pid.patch       |  11 +++
 net-analyzer/gvm-libs/gvm-libs-10.0.1.ebuild       | 102 +++++++++++++++++++++
 net-analyzer/gvm-libs/metadata.xml                 |  23 +++++
 4 files changed, 137 insertions(+)

diff --git a/net-analyzer/gvm-libs/Manifest b/net-analyzer/gvm-libs/Manifest
new file mode 100644
index 00000000000..02d15c5c6a5
--- /dev/null
+++ b/net-analyzer/gvm-libs/Manifest
@@ -0,0 +1 @@
+DIST gvm-libs-10.0.1.tar.gz 198483 BLAKE2B 4f4ddc7a3a1b4d45a51868cf03844365a9c4dd07f17ab53957ac4a1452ecba595885abdf01402a78aa784163aaba60b5c452fb9c2b5a11d38c40706e820c22c2 SHA512 961570e8fa8f89f0b462991bff1bf4e512ed6419cff6871c7432899847fb9edcc9f0adb7c280d12ee69fbb5c8e306c9e4366e2cbbb05fc3bae06795dcfb42206

diff --git a/net-analyzer/gvm-libs/files/gvm-libs-10.0.1-pid.patch b/net-analyzer/gvm-libs/files/gvm-libs-10.0.1-pid.patch
new file mode 100644
index 00000000000..29c2a4cd83a
--- /dev/null
+++ b/net-analyzer/gvm-libs/files/gvm-libs-10.0.1-pid.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt	2019-04-05 11:27:07.000000000 +0300
++++ b/CMakeLists.txt	2019-07-14 23:42:42.723081614 +0300
+@@ -172,7 +172,7 @@
+ endif (NOT DATADIR)
+ 
+ if (NOT GVM_PID_DIR)
+-  set (GVM_PID_DIR "${LOCALSTATEDIR}/run")
++  set (GVM_PID_DIR "/var/lib/gvm")
+ endif (NOT GVM_PID_DIR)
+ 
+ if (NOT GVM_SYSCONF_DIR)

diff --git a/net-analyzer/gvm-libs/gvm-libs-10.0.1.ebuild b/net-analyzer/gvm-libs/gvm-libs-10.0.1.ebuild
new file mode 100644
index 00000000000..e62251e4c86
--- /dev/null
+++ b/net-analyzer/gvm-libs/gvm-libs-10.0.1.ebuild
@@ -0,0 +1,102 @@
+# 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 flag-o-matic toolchain-funcs user
+
+DESCRIPTION="Greenbone vulnerability management libraries, previously named openvas-libraries"
+HOMEPAGE="https://www.greenbone.net/en/"
+SRC_URI="https://github.com/greenbone/gvm-libs/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:=
+	dev-perl/UUID
+	net-libs/gnutls:=
+	net-libs/libssh:=
+	sys-libs/zlib
+	ldap? ( net-nds/openldap )
+	radius? ( net-dialup/freeradius-client )"
+
+RDEPEND="
+	${DEPEND}
+	!net-analyzer/openvas-libraries"
+
+BDEPEND="
+	sys-devel/bison
+	sys-devel/flex
+	virtual/pkgconfig
+	extras? ( app-doc/doxygen[dot]
+		  app-doc/xmltoman
+		  app-text/htmldoc
+		  dev-perl/CGI
+		  dev-perl/SQL-Translator
+	)"
+
+PATCHES=(
+	# Creating pid on build time instead of relying daemon!
+	# QA fix for 10.0.1.
+	"${FILESDIR}/${P}-pid.patch"
+)
+
+pkg_setup() {
+	enewgroup gvm 495
+	enewuser gvm 495 -1 /var/lib/gvm gvm
+}
+
+src_prepare() {
+	cmake-utils_src_prepare
+	# QA-Fix | Remove doxygen warnings for !CLANG
+	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=(
+		"-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)
+	)
+	# Add release hardening flags for 10.0.1
+	append-cflags -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fstack-protector
+	append-ldflags -Wl,-z,relro -Wl,-z,now
+	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
+	cmake-utils_src_make rebuild_cache
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	# Set proper permissions on required files/directories
+	keepdir /var/lib/gvm
+	fowners -R gvm:gvm /var/lib/gvm
+}

diff --git a/net-analyzer/gvm-libs/metadata.xml b/net-analyzer/gvm-libs/metadata.xml
new file mode 100644
index 00000000000..dbbfe2e9f17
--- /dev/null
+++ b/net-analyzer/gvm-libs/metadata.xml
@@ -0,0 +1,23 @@
+<?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>
+	</use>
+	<longdescription lang="en">
+	This is the libraries module for the Greenbone Vulnerability Management Solution.
+	It is used for the Greenbone Security Manager appliances and provides various 
+	functionalities to support the integrated service daemons.
+	</longdescription>
+	<upstream>
+		<remote-id type="github">greenbone/gvm-libs</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvm-libs/files/, net-analyzer/gvm-libs/
@ 2020-03-26 14:01 Joonas Niilola
  0 siblings, 0 replies; 5+ messages in thread
From: Joonas Niilola @ 2020-03-26 14:01 UTC (permalink / raw
  To: gentoo-commits

commit:     55e1d232c375daf204b8b5846042c1756095acd2
Author:     Jonas Licht <jonas.licht <AT> fem <DOT> tu-ilmenau <DOT> de>
AuthorDate: Wed Mar 25 21:07:24 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Mar 26 14:00:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55e1d232

net-analyzer/gvm-libs: add patch for gnutls linking in 11.0.0

Closes: https://bugs.gentoo.org/714740
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Jonas Licht <jonas.licht <AT> fem.tu-ilmenau.de>
Closes: https://github.com/gentoo/gentoo/pull/15117
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../gvm-libs/files/gvm-libs-11.0.0-gnutls.patch    | 22 ++++++++++++++++++++++
 ...ibs-11.0.0.ebuild => gvm-libs-11.0.0-r1.ebuild} |  5 +++++
 2 files changed, 27 insertions(+)

diff --git a/net-analyzer/gvm-libs/files/gvm-libs-11.0.0-gnutls.patch b/net-analyzer/gvm-libs/files/gvm-libs-11.0.0-gnutls.patch
new file mode 100644
index 00000000000..427647ddcd9
--- /dev/null
+++ b/net-analyzer/gvm-libs/files/gvm-libs-11.0.0-gnutls.patch
@@ -0,0 +1,22 @@
+From 61205ecc6e28f6a1af799ec40074a61037d9bf31 Mon Sep 17 00:00:00 2001
+From: Juan Jose Nicola <juan.nicola@greenbone.net>
+Date: Mon, 28 Oct 2019 14:04:52 +0100
+Subject: [PATCH] Fix missing linking to libgnutls in util/CMakeLists.txt
+
+---
+ util/CMakeLists.txt | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletion(-)
+
+diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt
+index 2b7f441d..af5e363e 100644
+--- a/util/CMakeLists.txt
++++ b/util/CMakeLists.txt
+@@ -158,7 +158,7 @@ if (BUILD_SHARED)
+ 
+   target_link_libraries (gvm_util_shared LINK_PRIVATE ${GLIB_LDFLAGS}
+                          ${GIO_LDFLAGS} ${GPGME_LDFLAGS} ${ZLIB_LDFLAGS}
+-                         ${RADIUS_LDFLAGS} ${LIBSSH_LDFLAGS}
++                         ${RADIUS_LDFLAGS} ${LIBSSH_LDFLAGS} ${GNUTLS_LDFLAGS}
+                          ${GCRYPT_LDFLAGS} ${LDAP_LDFLAGS} ${REDIS_LDFLAGS}
+                          ${UUID_LDFLAGS} ${LINKER_HARDENING_FLAGS})
+ endif (BUILD_SHARED)

diff --git a/net-analyzer/gvm-libs/gvm-libs-11.0.0.ebuild b/net-analyzer/gvm-libs/gvm-libs-11.0.0-r1.ebuild
similarity index 93%
rename from net-analyzer/gvm-libs/gvm-libs-11.0.0.ebuild
rename to net-analyzer/gvm-libs/gvm-libs-11.0.0-r1.ebuild
index 9aa857c40e7..00bd14e824a 100644
--- a/net-analyzer/gvm-libs/gvm-libs-11.0.0.ebuild
+++ b/net-analyzer/gvm-libs/gvm-libs-11.0.0-r1.ebuild
@@ -44,6 +44,11 @@ BDEPEND="
 		dev-perl/SQL-Translator
 	)"
 
+PATCHES=(
+	# patch for missing gnutls linking https://github.com/greenbone/gvm-libs/issues/277
+	"${FILESDIR}/${P}-gnutls.patch"
+)
+
 src_prepare() {
 	cmake_src_prepare
 	# QA-Fix | Remove doxygen warnings for !CLANG


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvm-libs/files/, net-analyzer/gvm-libs/
@ 2020-07-14 12:57 Joonas Niilola
  0 siblings, 0 replies; 5+ messages in thread
From: Joonas Niilola @ 2020-07-14 12:57 UTC (permalink / raw
  To: gentoo-commits

commit:     d2f4988c9860e6c4b1dcf17b64f8f18d86009985
Author:     Jonas Licht <jonas.licht <AT> fem <DOT> tu-ilmenau <DOT> de>
AuthorDate: Mon Jun 29 15:39:14 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Jul 14 12:57:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2f4988c

net-analyzer/gvm-libs: drop old

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jonas Licht <jonas.licht <AT> fem.tu-ilmenau.de>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-analyzer/gvm-libs/Manifest                     |  1 -
 .../gvm-libs/files/gvm-libs-11.0.0-gnutls.patch    | 22 -----
 net-analyzer/gvm-libs/gvm-libs-11.0.0-r1.ebuild    | 96 ----------------------
 3 files changed, 119 deletions(-)

diff --git a/net-analyzer/gvm-libs/Manifest b/net-analyzer/gvm-libs/Manifest
index 9c1c5a3c407..fe81d4ac9b4 100644
--- a/net-analyzer/gvm-libs/Manifest
+++ b/net-analyzer/gvm-libs/Manifest
@@ -1,3 +1,2 @@
 DIST gvm-libs-10.0.1.tar.gz 198483 BLAKE2B 4f4ddc7a3a1b4d45a51868cf03844365a9c4dd07f17ab53957ac4a1452ecba595885abdf01402a78aa784163aaba60b5c452fb9c2b5a11d38c40706e820c22c2 SHA512 961570e8fa8f89f0b462991bff1bf4e512ed6419cff6871c7432899847fb9edcc9f0adb7c280d12ee69fbb5c8e306c9e4366e2cbbb05fc3bae06795dcfb42206
-DIST gvm-libs-11.0.0.tar.gz 207205 BLAKE2B 026b999a48ad524df9305d219dd29f5deb71affb3f5d338ad1178924aa701f2fe698ee4009f4b5a6973de6e590a870871b3b708a2531aaba6e05755cd7f00f97 SHA512 ff981b4ca37b425a8d1f491e90bd1cef4701033886f9fd47dad34540b36fa275d4af8b176e63a07405cc1f29137851b96a6ce80c46ed92f809b089fb0cd928af
 DIST gvm-libs-11.0.1.tar.gz 213553 BLAKE2B b7c8ffeca8682fcfe68afe0992632fac18a01fc9b0016fcbaf27c0340b5150337784caac2368a22789073714808ce2c0471efde668e6911dcd0cfceaf862b671 SHA512 159acbe8e24f172398a6396988b87676a214fa15c2985e67845dcad1ebcb92ba5e2a19cee2994dc7cd0cac706992e81e8c6a793e99216aaac87a91c1c72c9a46

diff --git a/net-analyzer/gvm-libs/files/gvm-libs-11.0.0-gnutls.patch b/net-analyzer/gvm-libs/files/gvm-libs-11.0.0-gnutls.patch
deleted file mode 100644
index 427647ddcd9..00000000000
--- a/net-analyzer/gvm-libs/files/gvm-libs-11.0.0-gnutls.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 61205ecc6e28f6a1af799ec40074a61037d9bf31 Mon Sep 17 00:00:00 2001
-From: Juan Jose Nicola <juan.nicola@greenbone.net>
-Date: Mon, 28 Oct 2019 14:04:52 +0100
-Subject: [PATCH] Fix missing linking to libgnutls in util/CMakeLists.txt
-
----
- util/CMakeLists.txt | 2 +-
- 1 files changed, 1 insertions(+), 1 deletion(-)
-
-diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt
-index 2b7f441d..af5e363e 100644
---- a/util/CMakeLists.txt
-+++ b/util/CMakeLists.txt
-@@ -158,7 +158,7 @@ if (BUILD_SHARED)
- 
-   target_link_libraries (gvm_util_shared LINK_PRIVATE ${GLIB_LDFLAGS}
-                          ${GIO_LDFLAGS} ${GPGME_LDFLAGS} ${ZLIB_LDFLAGS}
--                         ${RADIUS_LDFLAGS} ${LIBSSH_LDFLAGS}
-+                         ${RADIUS_LDFLAGS} ${LIBSSH_LDFLAGS} ${GNUTLS_LDFLAGS}
-                          ${GCRYPT_LDFLAGS} ${LDAP_LDFLAGS} ${REDIS_LDFLAGS}
-                          ${UUID_LDFLAGS} ${LINKER_HARDENING_FLAGS})
- endif (BUILD_SHARED)

diff --git a/net-analyzer/gvm-libs/gvm-libs-11.0.0-r1.ebuild b/net-analyzer/gvm-libs/gvm-libs-11.0.0-r1.ebuild
deleted file mode 100644
index 00bd14e824a..00000000000
--- a/net-analyzer/gvm-libs/gvm-libs-11.0.0-r1.ebuild
+++ /dev/null
@@ -1,96 +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 toolchain-funcs
-
-DESCRIPTION="Greenbone vulnerability management libraries, previously named openvas-libraries"
-HOMEPAGE="https://www.greenbone.net/en/"
-SRC_URI="https://github.com/greenbone/gvm-libs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2+"
-KEYWORDS="~amd64 ~x86"
-IUSE="extras ldap radius"
-
-DEPEND="
-	acct-user/gvm
-	app-crypt/gpgme:=
-	dev-libs/glib
-	dev-libs/hiredis
-	dev-libs/libgcrypt:=
-	dev-perl/UUID
-	net-libs/gnutls:=
-	net-libs/libssh:=
-	sys-libs/zlib
-	ldap? ( net-nds/openldap )
-	radius? ( net-dialup/freeradius-client )"
-
-RDEPEND="
-	${DEPEND}"
-
-BDEPEND="
-	dev-vcs/git
-	sys-devel/bison
-	sys-devel/flex
-	virtual/pkgconfig
-	extras? (
-		app-doc/doxygen[dot]
-		app-doc/xmltoman
-		app-text/htmldoc
-		dev-perl/CGI
-		dev-perl/SQL-Translator
-	)"
-
-PATCHES=(
-	# patch for missing gnutls linking https://github.com/greenbone/gvm-libs/issues/277
-	"${FILESDIR}/${P}-gnutls.patch"
-)
-
-src_prepare() {
-	cmake_src_prepare
-	# QA-Fix | Remove doxygen warnings for !CLANG
-	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"
-		"-DGVM_PID_DIR=${EPREFIX}/var/lib/gvm"
-	)
-	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
-	fi
-	cmake_build rebuild_cache
-}
-
-src_install() {
-	if use extras; then
-		local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
-	fi
-	cmake_src_install
-
-	# Set proper permissions on required files/directories
-	keepdir /var/lib/gvm
-	fowners -R gvm:gvm /var/lib/gvm
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvm-libs/files/, net-analyzer/gvm-libs/
@ 2022-03-15 15:44 Conrad Kostecki
  0 siblings, 0 replies; 5+ messages in thread
From: Conrad Kostecki @ 2022-03-15 15:44 UTC (permalink / raw
  To: gentoo-commits

commit:     6f24656558bca3aae1b219f523ea61823a413bed
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 15 15:29:34 2022 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Mar 15 15:43:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f246565

net-analyzer/gvm-libs: drop 10.0.1, 11.0.1

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-analyzer/gvm-libs/Manifest                     |   2 -
 .../gvm-libs/files/gvm-libs-10.0.1-pid.patch       |  11 ---
 net-analyzer/gvm-libs/gvm-libs-10.0.1.ebuild       | 100 ---------------------
 net-analyzer/gvm-libs/gvm-libs-11.0.1.ebuild       |  97 --------------------
 4 files changed, 210 deletions(-)

diff --git a/net-analyzer/gvm-libs/Manifest b/net-analyzer/gvm-libs/Manifest
index 46134020f4e4..83852f5b7362 100644
--- a/net-analyzer/gvm-libs/Manifest
+++ b/net-analyzer/gvm-libs/Manifest
@@ -1,3 +1 @@
-DIST gvm-libs-10.0.1.tar.gz 198483 BLAKE2B 4f4ddc7a3a1b4d45a51868cf03844365a9c4dd07f17ab53957ac4a1452ecba595885abdf01402a78aa784163aaba60b5c452fb9c2b5a11d38c40706e820c22c2 SHA512 961570e8fa8f89f0b462991bff1bf4e512ed6419cff6871c7432899847fb9edcc9f0adb7c280d12ee69fbb5c8e306c9e4366e2cbbb05fc3bae06795dcfb42206
-DIST gvm-libs-11.0.1.tar.gz 213553 BLAKE2B b7c8ffeca8682fcfe68afe0992632fac18a01fc9b0016fcbaf27c0340b5150337784caac2368a22789073714808ce2c0471efde668e6911dcd0cfceaf862b671 SHA512 159acbe8e24f172398a6396988b87676a214fa15c2985e67845dcad1ebcb92ba5e2a19cee2994dc7cd0cac706992e81e8c6a793e99216aaac87a91c1c72c9a46
 DIST gvm-libs-20.8.1.tar.gz 267872 BLAKE2B ec0979bba5e88692375fcdcdbd1c1b47c2d93e1d1c911884b77e0d81028bd6b587dac5f8aaae7439cbd1f594ec3c5708510bc2e356cadaefee221a11a1982efa SHA512 846b062b849688019715cbff1d6c4f6a1b4dd8c58cfdef78ea08df3cd104810e9091385cca3c49618538a28c42c0fe78a38fb934fbde604aef86e84c4f2dda94

diff --git a/net-analyzer/gvm-libs/files/gvm-libs-10.0.1-pid.patch b/net-analyzer/gvm-libs/files/gvm-libs-10.0.1-pid.patch
deleted file mode 100644
index 29c2a4cd83a6..000000000000
--- a/net-analyzer/gvm-libs/files/gvm-libs-10.0.1-pid.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt	2019-04-05 11:27:07.000000000 +0300
-+++ b/CMakeLists.txt	2019-07-14 23:42:42.723081614 +0300
-@@ -172,7 +172,7 @@
- endif (NOT DATADIR)
- 
- if (NOT GVM_PID_DIR)
--  set (GVM_PID_DIR "${LOCALSTATEDIR}/run")
-+  set (GVM_PID_DIR "/var/lib/gvm")
- endif (NOT GVM_PID_DIR)
- 
- if (NOT GVM_SYSCONF_DIR)

diff --git a/net-analyzer/gvm-libs/gvm-libs-10.0.1.ebuild b/net-analyzer/gvm-libs/gvm-libs-10.0.1.ebuild
deleted file mode 100644
index ebcbd5996319..000000000000
--- a/net-analyzer/gvm-libs/gvm-libs-10.0.1.ebuild
+++ /dev/null
@@ -1,100 +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 toolchain-funcs user
-
-DESCRIPTION="Greenbone vulnerability management libraries, previously named openvas-libraries"
-HOMEPAGE="https://www.greenbone.net/en/"
-SRC_URI="https://github.com/greenbone/gvm-libs/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:=
-	dev-perl/UUID
-	net-libs/gnutls:=
-	net-libs/libssh:=
-	sys-libs/zlib
-	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/CGI
-		  dev-perl/SQL-Translator
-	)"
-
-PATCHES=(
-	# Creating pid on build time instead of relying daemon!
-	# QA fix for 10.0.1.
-	"${FILESDIR}/${P}-pid.patch"
-)
-
-pkg_setup() {
-	enewgroup gvm 495
-	enewuser gvm 495 -1 /var/lib/gvm gvm
-}
-
-src_prepare() {
-	cmake_src_prepare
-	# QA-Fix | Remove doxygen warnings for !CLANG
-	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"
-		$(usex ldap -DBUILD_WITHOUT_LDAP=0 -DBUILD_WITHOUT_LDAP=1)
-		$(usex radius -DBUILD_WITHOUT_RADIUS=0 -DBUILD_WITHOUT_RADIUS=1)
-	)
-	# Add release hardening flags for 10.0.1
-	append-cflags -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
-
-	# Set proper permissions on required files/directories
-	keepdir /var/lib/gvm
-	fowners -R gvm:gvm /var/lib/gvm
-}

diff --git a/net-analyzer/gvm-libs/gvm-libs-11.0.1.ebuild b/net-analyzer/gvm-libs/gvm-libs-11.0.1.ebuild
deleted file mode 100644
index 07801678f816..000000000000
--- a/net-analyzer/gvm-libs/gvm-libs-11.0.1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CMAKE_MAKEFILE_GENERATOR="emake"
-inherit cmake toolchain-funcs
-
-DESCRIPTION="Greenbone vulnerability management libraries, previously named openvas-libraries"
-HOMEPAGE="https://www.greenbone.net/en/"
-SRC_URI="https://github.com/greenbone/gvm-libs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2+"
-KEYWORDS="~amd64 ~x86"
-IUSE="extras ldap test radius"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-	acct-user/gvm
-	app-crypt/gpgme:=
-	dev-libs/glib
-	dev-libs/hiredis
-	dev-libs/libgcrypt:=
-	dev-perl/UUID
-	net-libs/gnutls:=
-	net-libs/libssh:=
-	sys-libs/zlib
-	ldap? ( net-nds/openldap )
-	radius? ( net-dialup/freeradius-client )"
-
-RDEPEND="
-	${DEPEND}"
-
-BDEPEND="
-	dev-vcs/git
-	sys-devel/bison
-	sys-devel/flex
-	virtual/pkgconfig
-	extras? (
-		app-doc/doxygen[dot]
-		app-doc/xmltoman
-		app-text/htmldoc
-		dev-perl/CGI
-		dev-perl/SQL-Translator
-	)
-	test? ( dev-libs/cgreen )"
-
-src_prepare() {
-	cmake_src_prepare
-	# QA-Fix | Remove doxygen warnings for !CLANG
-	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"
-		"-DGVM_PID_DIR=${EPREFIX}/var/lib/gvm"
-		"-DBUILD_TESTS=$(usex test)"
-	)
-	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
-	fi
-	cmake_build rebuild_cache
-	if use test; then
-		cmake_build tests
-	fi
-}
-
-src_install() {
-	if use extras; then
-		local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
-	fi
-	cmake_src_install
-
-	# Set proper permissions on required files/directories
-	keepdir /var/lib/gvm
-	fowners -R gvm:gvm /var/lib/gvm
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvm-libs/files/, net-analyzer/gvm-libs/
@ 2023-11-14  7:53 Florian Schmaus
  0 siblings, 0 replies; 5+ messages in thread
From: Florian Schmaus @ 2023-11-14  7:53 UTC (permalink / raw
  To: gentoo-commits

commit:     4dab9f93180fa7c7546e70313dac046e0eb4cd5b
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Mon Nov 13 20:02:15 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Nov 14 07:52:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dab9f93

net-analyzer/gvm-libs: drop 21.4.4-r3

Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33806
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-analyzer/gvm-libs/Manifest                     |   1 -
 .../gvm-libs-20.8.1-disable-automagic-dep.patch    |  22 ----
 .../gvm-libs-21.4.4-pcap-config-whitespace.patch   |  34 ------
 net-analyzer/gvm-libs/gvm-libs-21.4.4-r3.ebuild    | 116 ---------------------
 4 files changed, 173 deletions(-)

diff --git a/net-analyzer/gvm-libs/Manifest b/net-analyzer/gvm-libs/Manifest
index a6d6379e98c2..c49ef50ac2bd 100644
--- a/net-analyzer/gvm-libs/Manifest
+++ b/net-analyzer/gvm-libs/Manifest
@@ -1,2 +1 @@
-DIST gvm-libs-21.4.4.tar.gz 298551 BLAKE2B 271716d8be2376e2b54218b95069e19d10939c5feda9894220418bf184c4098eeacf61d1faedd49fe3215aa0fbf4a4afcfe2a929ac88450502737eb8af8f8e35 SHA512 6c80820c830cbc2e62865a0823740d857db075f2faa1a1e58af7a8f07e0179e7a78934d7613ec57f144900a5530206d4c07c912a6bbe40ad9d0549f9443bfb12
 DIST gvm-libs-22.7.2.tar.gz 309449 BLAKE2B 57ed0af4ac550da9f8e0018b1da816af81bc501c9773d6f584323a872e0cb21a121567bec2480496cbf634725bc563a4eb51f272494609f6bbb130026f120f91 SHA512 dd7c703ab17f33488e3eec3ff31286b6dc6eea8594aa52e634da95e8bc387200508b3ff70ffbfedb56387435753397a7ba0dd91c221e6e9f671d884e6766a354

diff --git a/net-analyzer/gvm-libs/files/gvm-libs-20.8.1-disable-automagic-dep.patch b/net-analyzer/gvm-libs/files/gvm-libs-20.8.1-disable-automagic-dep.patch
deleted file mode 100644
index 3cd4a42272a5..000000000000
--- a/net-analyzer/gvm-libs/files/gvm-libs-20.8.1-disable-automagic-dep.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/util/CMakeLists.txt b/util/CMakeLists.txt
-index 3f10a4b8..223752e0 100644
---- a/util/CMakeLists.txt
-+++ b/util/CMakeLists.txt
-@@ -102,7 +102,7 @@ if (BUILD_WITH_RADIUS)
-     find_library (LIBRADCLI radcli)
-   endif (NOT LIBFREERADIUS)
-   if (NOT LIBFREERADIUS AND NOT LIBRADCLI)
--    message (STATUS "  No suitable radius library found - radius support disabled")
-+    message (SEND_ERROR "  No suitable radius library found")
-   elseif (LIBFREERADIUS)
-     message (STATUS "  Found ${LIBFREERADIUS} - radius support enabled")
-     set (RADIUS_LDFLAGS "-lfreeradius-client")
-@@ -122,7 +122,7 @@ if (BUILD_WITH_LDAP)
-     find_library (LIBLDAP ldap)
-   endif (NOT LIBLDAP)
-   if (NOT LIBLDAP)
--    message (STATUS "  No ldap library found - ldap support disabled")
-+    message (SEND_ERROR "  No ldap library found")
-   else (NOT LIBLDAP)
-     message (STATUS "  Found ${LIBLDAP} - ldap support enabled")
-     add_definitions (-DENABLE_LDAP_AUTH=1)

diff --git a/net-analyzer/gvm-libs/files/gvm-libs-21.4.4-pcap-config-whitespace.patch b/net-analyzer/gvm-libs/files/gvm-libs-21.4.4-pcap-config-whitespace.patch
deleted file mode 100644
index 5569c713727b..000000000000
--- a/net-analyzer/gvm-libs/files/gvm-libs-21.4.4-pcap-config-whitespace.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-https://bugs.gentoo.org/829183
-https://github.com/greenbone/gvm-libs/commit/de63a18fd2263b89bed70c00f7232939b0744002
-
-From de63a18fd2263b89bed70c00f7232939b0744002 Mon Sep 17 00:00:00 2001
-From: hubblexplorer <81538364+hubblexplorer@users.noreply.github.com>
-Date: Mon, 20 Feb 2023 06:11:00 +0000
-Subject: [PATCH] Fix: Resolve error on compile (#741)
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-* Resolve error on compile
-
-Fix for error " `pcap-config --libs` contains leading whitespace. "
-
-* Approved changes
-
-Co-authored-by: Juan José Nicola <jjnicola@gmail.com>
-
----------
-
-Co-authored-by: Juan José Nicola <jjnicola@gmail.com>
-Co-authored-by: Juan José Nicola <juan.nicola@greenbone.net>
---- a/boreas/CMakeLists.txt
-+++ b/boreas/CMakeLists.txt
-@@ -62,6 +62,7 @@ if (PCAP_CONFIG)
-   execute_process (COMMAND pcap-config --libs
-     OUTPUT_VARIABLE PCAP_LDFLAGS
-     OUTPUT_STRIP_TRAILING_WHITESPACE)
-+  string(STRIP "${PCAP_LDFLAGS}" PCAP_LDFLAGS)
-   execute_process (COMMAND pcap-config --cflags
-     OUTPUT_VARIABLE PCAP_CFLAGS
-     OUTPUT_STRIP_TRAILING_WHITESPACE)
-

diff --git a/net-analyzer/gvm-libs/gvm-libs-21.4.4-r3.ebuild b/net-analyzer/gvm-libs/gvm-libs-21.4.4-r3.ebuild
deleted file mode 100644
index 9c945a9f6ea6..000000000000
--- a/net-analyzer/gvm-libs/gvm-libs-21.4.4-r3.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake toolchain-funcs
-
-DESCRIPTION="Greenbone Vulnerability Management (GVM) libraries"
-HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/gvm-libs/"
-SRC_URI="https://github.com/greenbone/gvm-libs/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc ldap test radius"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-	acct-user/gvm
-	app-crypt/gpgme:=
-	dev-libs/glib:2
-	dev-libs/hiredis:=
-	dev-libs/libgcrypt:=
-	dev-libs/libgpg-error
-	dev-libs/libxml2:=
-	dev-perl/UUID
-	net-libs/gnutls:=
-	net-libs/libnet:1.1
-	net-libs/libpcap
-	net-libs/libssh:=
-	sys-apps/util-linux
-	sys-libs/libxcrypt:=
-	sys-libs/zlib
-	ldap? ( net-nds/openldap:= )
-	radius? ( net-dialup/freeradius-client )
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-	dev-vcs/git
-	sys-devel/bison
-	sys-devel/flex
-	virtual/pkgconfig
-	doc? (
-		app-doc/doxygen[dot]
-		app-doc/xmltoman
-		app-text/htmldoc
-		dev-perl/CGI
-		dev-perl/SQL-Translator
-	)
-	test? ( dev-libs/cgreen )
-"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-20.8.1-disable-automagic-dep.patch
-	"${FILESDIR}"/${PN}-21.4.4-pcap-config-whitespace.patch
-)
-
-src_prepare() {
-	cmake_src_prepare
-	# QA-Fix | Remove doxygen warnings for !CLANG
-	if use doc; 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
-
-	#Remove tests that doesn't work in the network sandbox
-	if use test; then
-		sed -i 's/add_test (networking-test networking-test)/ /g' base/CMakeLists.txt || die
-		sed -i 's/add_test (util-test util-test)/ /g' boreas/CMakeLists.txt || die
-	fi
-}
-
-src_configure() {
-	local mycmakeargs=(
-		"-DLOCALSTATEDIR=${EPREFIX}/var"
-		"-DSYSCONFDIR=${EPREFIX}/etc"
-		"-DGVM_RUN_DIR=${EPREFIX}/var/lib/gvm"
-		"-DBUILD_TESTS=$(usex test)"
-		"-DBUILD_WITH_RADIUS=$(usex radius)"
-		"-DBUILD_WITH_LDAP=$(usex ldap)"
-	)
-	cmake_src_configure
-}
-
-src_compile() {
-	cmake_src_compile
-	if use doc; then
-		cmake_build -C "${BUILD_DIR}" doc
-		cmake_build doc-full -C "${BUILD_DIR}" doc
-	fi
-	cmake_build rebuild_cache
-	if use test; then
-		cmake_build tests
-	fi
-}
-
-src_install() {
-	if use doc; then
-		local HTML_DOCS=( "${BUILD_DIR}"/doc/generated/html/. )
-	fi
-	cmake_src_install
-
-	# Set proper permissions on required files/directories
-	keepdir /var/lib/gvm
-	if ! use prefix; then
-		fowners -R gvm:gvm /var/lib/gvm
-	fi
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-11-14  7:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-15 15:44 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/gvm-libs/files/, net-analyzer/gvm-libs/ Conrad Kostecki
  -- strict thread matches above, loose matches on Subject: below --
2023-11-14  7:53 Florian Schmaus
2020-07-14 12:57 Joonas Niilola
2020-03-26 14:01 Joonas Niilola
2019-10-28  4:05 Joonas Niilola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox