summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-03 10:05:34 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-03 10:05:34 +0100
commit0eb9883b5a8a53c253c98d1c77438c39c27c8c97 (patch)
tree47a89f252688f21fcacd066ac01ed1992a453d42 /dev-db
parentc6872c361190d4f1a559d23458f6cdffb154b0b0 (diff)
gentoo auto-resync : 03:07:2023 - 10:05:34
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/Manifest.gzbin15409 -> 15580 bytes
-rw-r--r--dev-db/pg-gvm/Manifest4
-rw-r--r--dev-db/pg-gvm/files/README.gentoo10
-rw-r--r--dev-db/pg-gvm/metadata.xml21
-rw-r--r--dev-db/pg-gvm/pg-gvm-22.5.1.ebuild38
5 files changed, 73 insertions, 0 deletions
diff --git a/dev-db/Manifest.gz b/dev-db/Manifest.gz
index c78c969683c2..4f257cc7d8a5 100644
--- a/dev-db/Manifest.gz
+++ b/dev-db/Manifest.gz
Binary files differ
diff --git a/dev-db/pg-gvm/Manifest b/dev-db/pg-gvm/Manifest
new file mode 100644
index 000000000000..fd35a3660348
--- /dev/null
+++ b/dev-db/pg-gvm/Manifest
@@ -0,0 +1,4 @@
+AUX README.gentoo 287 BLAKE2B a52c1897c2336512137090284a65c1d614deec67ac7c3b3b2432bb7fd40a61bd2edbde6b60a648129ca7440cc2d2a0bce89ece5fea1dceed4649b5deb204c8ba SHA512 518518b134c306f07f74e01d72cfed2571e9a34f4b88e2d71758884cd8b1d6af38c50e40b7d4fa4d8d732d9f9f294eab590800ccd75792456fb42078aa3fdebe
+DIST pg-gvm-22.5.1.tar.gz 38657 BLAKE2B e4c29e67650c101762157229dce7fa390f456e37d52ebc0f9c05beda8d5da8c11342857c87377b7bedc5e9e2d33c24b7f8a24e75fbce7cc5a28015d9d9235075 SHA512 aff713d9adceb6dedd4857acd70562bac80d024125637d47883d96bcfd47aa5cd0669c65d69dd307805bd3199a67ca76569cc1a65e19ea391b2c61fe8d359a82
+EBUILD pg-gvm-22.5.1.ebuild 837 BLAKE2B a2edd431f6de3f7d2b89a143dca210b0489badeb6e3bd732ecaff75fbbf782bf3cf7394ecbf4109008e5e88f584e988c2bfdb297c8e3a110379db9aa2b97e07e SHA512 aee59a58328c8d9e9e452afeda60e4cb50d6ace8cc2eb230264699b364df63100e2d349150f195b20c03b11ef1ef9ed8647e861281e7168e49ecb4a24f3e6d91
+MISC metadata.xml 906 BLAKE2B 21ca8bb4fa7c5fbdbec09365ce6c0480ae2eb889a14b0a3e4902a2dc50271e6d82d23c31b1e2bbbf583fc3d6f95a8f588bb529db25910caec81094aca6679e10 SHA512 2a13a44b1d86f38789a57a6daed0ec5f12c3365b0d31865628cb5d05095c7cb9eae451b3b48a6067edfb5b8ea18094be075afd00ec0dd483e26f0d99dfaf2c46
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
+}