public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/features/musl/, dev-db/pg-gvm/, dev-db/pg-gvm/files/
@ 2023-07-03  8:15 Florian Schmaus
  0 siblings, 0 replies; only message in thread
From: Florian Schmaus @ 2023-07-03  8:15 UTC (permalink / raw
  To: gentoo-commits

commit:     ef7938851459eb69c45659805cbb00f4e3677a12
Author:     Giuseppe Foti <foti.giuseppe <AT> gmail <DOT> com>
AuthorDate: Sat May 20 17:09:48 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jul  3 08:15:22 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef793885

dev-db/pg-gvm: new package, add 22.5.1

Signed-off-by: Giuseppe Foti <foti.giuseppe <AT> gmail.com>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 dev-db/pg-gvm/Manifest              |  1 +
 dev-db/pg-gvm/files/README.gentoo   | 10 ++++++++++
 dev-db/pg-gvm/metadata.xml          | 21 ++++++++++++++++++++
 dev-db/pg-gvm/pg-gvm-22.5.1.ebuild  | 38 +++++++++++++++++++++++++++++++++++++
 profiles/features/musl/package.mask |  4 ++++
 5 files changed, 74 insertions(+)

diff --git a/dev-db/pg-gvm/Manifest b/dev-db/pg-gvm/Manifest
new file mode 100644
index 000000000000..c31563a623c8
--- /dev/null
+++ b/dev-db/pg-gvm/Manifest
@@ -0,0 +1 @@
+DIST pg-gvm-22.5.1.tar.gz 38657 BLAKE2B e4c29e67650c101762157229dce7fa390f456e37d52ebc0f9c05beda8d5da8c11342857c87377b7bedc5e9e2d33c24b7f8a24e75fbce7cc5a28015d9d9235075 SHA512 aff713d9adceb6dedd4857acd70562bac80d024125637d47883d96bcfd47aa5cd0669c65d69dd307805bd3199a67ca76569cc1a65e19ea391b2c61fe8d359a82

diff --git a/dev-db/pg-gvm/files/README.gentoo b/dev-db/pg-gvm/files/README.gentoo
new file mode 100644
index 000000000000..1e751010d077
--- /dev/null
+++ b/dev-db/pg-gvm/files/README.gentoo
@@ -0,0 +1,10 @@
+To use the extension in a database create the extension using
+CREATE EXTENSION "pg-gvm";
+
+You can do this on the gvmd database running:
+
+root ~ # sudo -u postgres psql gvmd
+gvmd=>	CREATE EXTENSION "pg-gvm";
+gvmd=>	\q
+
+Please, read: https://github.com/greenbone/pg-gvm/#use-the-extension

diff --git a/dev-db/pg-gvm/metadata.xml b/dev-db/pg-gvm/metadata.xml
new file mode 100644
index 000000000000..807b4ad17d4f
--- /dev/null
+++ b/dev-db/pg-gvm/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person" proxied="yes">
+		<email>foti.giuseppe@gmail.com</email>
+		<name>Giuseppe Foti</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<longdescription lang="en">
+		Greenbone Library for ical functions. This library contains functionality for ical object manipulation.
+		This is a PostgreSQL server extension that adds several functions used by gvmd, e.g., iCalendar and host
+		range evaluation. In previous versions, of GVM these functions were managed directly by gvmd while
+		pg-gvm uses the extension management built into PostgreSQL.
+	</longdescription>
+	<upstream>
+		<remote-id type="github">greenbone/pg-gvm</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-db/pg-gvm/pg-gvm-22.5.1.ebuild b/dev-db/pg-gvm/pg-gvm-22.5.1.ebuild
new file mode 100644
index 000000000000..2865140dcd0e
--- /dev/null
+++ b/dev-db/pg-gvm/pg-gvm-22.5.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake readme.gentoo-r1
+
+DESCRIPTION="Greenbone Library for helper functions in PostgreSQL"
+HOMEPAGE="https://www.greenbone.net https://github.com/greenbone/pg-gvm"
+SRC_URI="https://github.com/greenbone/pg-gvm/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~x86"
+
+# Tests requires a running database that match up with the current
+# testing slot. Won't run from ${ED}, want's to install too early.
+RESTRICT="test"
+
+DEPEND="
+	>=dev-libs/glib-2.42:2
+	>=dev-libs/libical-1.0.0:=
+	>=net-analyzer/gvm-libs-22.6
+"
+
+RDEPEND="
+	${DEPEND}
+	>=dev-db/postgresql-9.6[uuid]
+"
+
+src_install() {
+	cmake_src_install
+	readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+	readme.gentoo_print_elog
+}

diff --git a/profiles/features/musl/package.mask b/profiles/features/musl/package.mask
index 269245cb9cba..3003915d03db 100644
--- a/profiles/features/musl/package.mask
+++ b/profiles/features/musl/package.mask
@@ -70,6 +70,10 @@ net-print/pnm2ppa
 net-wireless/neard
 sys-apps/noexec
 
+# Giuseppe Foti <foti.giuseppe@gmail.com> (2023-05-19)
+# New packages that require blocked packages in the previous block.
+dev-db/pg-gvm
+
 # Petr Vaněk <arkamar@atlas.cz> (2022-09-23)
 # Musl does not implement rresvport function, bugs #713810 and #713376.
 app-admin/clustershell


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-03  8:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-03  8:15 [gentoo-commits] repo/gentoo:master commit in: profiles/features/musl/, dev-db/pg-gvm/, dev-db/pg-gvm/files/ Florian Schmaus

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