gotosocial-bin: Bump to 0.17.0
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
47
www-apps/gotosocial-bin/gotosocial-bin-0.17.0.ebuild
Normal file
47
www-apps/gotosocial-bin/gotosocial-bin-0.17.0.ebuild
Normal file
@@ -0,0 +1,47 @@
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit systemd
|
||||
|
||||
MY_PN="gotosocial"
|
||||
MY_PV="${PV/_/-}"
|
||||
|
||||
DESCRIPTION="Single Sign-On Multi-Factor portal for web apps"
|
||||
HOMEPAGE="https://github.com/superseriousbusiness/gotosocial"
|
||||
SRC_URI="https://github.com/superseriousbusiness/gotosocial/releases/download/v${MY_PV}/${MY_PN}_${MY_PV}_linux_amd64.tar.gz -> ${P}-linux-amd64.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="AGPL-3"
|
||||
KEYWORDS="amd64"
|
||||
S="${WORKDIR}"
|
||||
|
||||
QA_PRESTRIPPED="usr/bin/gotosocial"
|
||||
|
||||
DEPEND="
|
||||
acct-group/gotosocial
|
||||
acct-user/gotosocial
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dobin gotosocial
|
||||
|
||||
newinitd "${FILESDIR}/${MY_PN}.initd" ${MY_PN}
|
||||
newconfd "${FILESDIR}/${MY_PN}.confd" ${MY_PN}
|
||||
|
||||
systemd_dounit "${FILESDIR}/${MY_PN}.service"
|
||||
|
||||
diropts -m 0750 -o ${MY_PN} -g ${MY_PN}
|
||||
dodir /etc/${MY_PN}
|
||||
dodir /etc/${MY_PN}/keys.d
|
||||
dodir /etc/${MY_PN}/certs.d
|
||||
keepdir /etc/${MY_PN}/keys.d
|
||||
keepdir /etc/${MY_PN}/certs.d
|
||||
keepdir /var/lib/${MY_PN}
|
||||
keepdir /var/log/${MY_PN}
|
||||
|
||||
insinto /etc/${MY_PN}
|
||||
doins example/config.yaml
|
||||
|
||||
insinto /var/lib/${MY_PN}
|
||||
doins -r web
|
||||
}
|
||||
Reference in New Issue
Block a user