Skip to content

Commit

Permalink
dev-db/pg-gvm: new package, add 22.5.1
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Foti <[email protected]>
Signed-off-by: Florian Schmaus <[email protected]>
  • Loading branch information
MocioF authored and Flowdalic committed Jul 3, 2023
1 parent 2b2fcc0 commit ef79388
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-db/pg-gvm/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST pg-gvm-22.5.1.tar.gz 38657 BLAKE2B e4c29e67650c101762157229dce7fa390f456e37d52ebc0f9c05beda8d5da8c11342857c87377b7bedc5e9e2d33c24b7f8a24e75fbce7cc5a28015d9d9235075 SHA512 aff713d9adceb6dedd4857acd70562bac80d024125637d47883d96bcfd47aa5cd0669c65d69dd307805bd3199a67ca76569cc1a65e19ea391b2c61fe8d359a82
10 changes: 10 additions & 0 deletions dev-db/pg-gvm/files/README.gentoo
Original file line number Diff line number Diff line change
@@ -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
21 changes: 21 additions & 0 deletions dev-db/pg-gvm/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Giuseppe Foti</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>[email protected]</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>
38 changes: 38 additions & 0 deletions dev-db/pg-gvm/pg-gvm-22.5.1.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
4 changes: 4 additions & 0 deletions profiles/features/musl/package.mask
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ net-print/pnm2ppa
net-wireless/neard
sys-apps/noexec

# Giuseppe Foti <[email protected]> (2023-05-19)
# New packages that require blocked packages in the previous block.
dev-db/pg-gvm

# Petr Vaněk <[email protected]> (2022-09-23)
# Musl does not implement rresvport function, bugs #713810 and #713376.
app-admin/clustershell
Expand Down

0 comments on commit ef79388

Please sign in to comment.