www-apps/zitadel-bin: Initial import
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
47
www-apps/zitadel-bin/zitadel-bin-2.35.0.ebuild
Normal file
47
www-apps/zitadel-bin/zitadel-bin-2.35.0.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
|
||||
EAPI=7
|
||||
MY_PV="v${PV}"
|
||||
|
||||
#inherit
|
||||
|
||||
SLOT="0"
|
||||
DESCRIPTION="Identity and access management"
|
||||
HOMEPAGE="https://zitadel.com/"
|
||||
SRC_URI="https://github.com/zitadel/zitadel/releases/download/${MY_PV}/zitadel-linux-amd64.tar.gz -> ${P}-linux-amd64.tar.gz
|
||||
https://github.com/zitadel/zitadel/blob/${MY_PV}/cmd/defaults.yaml -> ${P}-defaults.yaml
|
||||
https://github.com/zitadel/zitadel/blob/${MY_PV}/cmd/setup/steps.yaml -> ${P}-steps.yaml"
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="Apache-2.0"
|
||||
|
||||
DOCS=( "LICENSE" "README.md" )
|
||||
|
||||
QA_PRESTRIPPED="/usr/bin/zitadel"
|
||||
|
||||
S="${WORKDIR}/zitadel-linux-amd64"
|
||||
|
||||
DEPEND="
|
||||
acct-group/zitadel
|
||||
acct-user/zitadel
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
default_src_install
|
||||
dobin zitadel
|
||||
|
||||
keepdir "/var/lib/zitadel"
|
||||
fowners zitadel:zitadel "/var/lib/zitadel"
|
||||
fperms 0700 "/var/lib/zitadel"
|
||||
|
||||
keepdir "/var/log/zitadel"
|
||||
fowners zitadel:zitadel "/var/log/zitadel"
|
||||
fperms 0750 "/var/log/zitadel"
|
||||
|
||||
insinto "/etc/zitadel"
|
||||
newins "${DISTDIR}/${P}-defaults.yaml" "defaults.yaml.dist"
|
||||
newins "${DISTDIR}/${P}-steps.yaml" "steps.yaml.dist"
|
||||
|
||||
fowners zitadel:zitadel "/etc/zitadel"
|
||||
fperms 0700 "/etc/zitadel"
|
||||
}
|
||||
Reference in New Issue
Block a user