blob: baf8ae76414c7f3c98352f987277ce2b1dc69da0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 2021 BaldEagleOS Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
POSTGRES_COMPAT=( 13 14 )
inherit postgres
MY_PV=$(ver_rs 1- _)
DESCRIPTION="PostgreSQL extension allowing privilege escalation"
HOMEPAGE="https://github.com/pgaudit/set_user"
SRC_URI="${HOMEPAGE}/archive/refs/tags/REL${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="PostgreSQL"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
>=dev-db/postgresql-9.4
"
RDEPEND="${DEPEND}"
DOCS=( CHANGELOG.md README.md RELEASENOTES.md )
S="${WORKDIR}/${PN}-REL${MY_PV}"
src_compile() {
emake USE_PGXS=1 PG_CONFIG=/usr/bin/pg_config
}
src_install() {
emake DESTDIR="${D}" install USE_PGXS=1 PG_CONFIG=/usr/bin/pg_config
}
|