mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 14:03:33 -04:00
app-crypt/tang: Removed systemd USE flag
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/latchset/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|||||||
LICENSE="GPL-3"
|
LICENSE="GPL-3"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
IUSE="systemd"
|
IUSE=""
|
||||||
|
|
||||||
DEPEND="acct-user/tang
|
DEPEND="acct-user/tang
|
||||||
app-text/asciidoc
|
app-text/asciidoc
|
||||||
@@ -31,22 +31,15 @@ src_install(){
|
|||||||
fowners tang:tang /var/db/tang
|
fowners tang:tang /var/db/tang
|
||||||
fperms 770 /var/db/tang
|
fperms 770 /var/db/tang
|
||||||
|
|
||||||
if use systemd; then
|
insinto /usr/lib/systemd/system
|
||||||
insinto /usr/lib/systemd/system
|
doins ${FILESDIR}/tangd.service
|
||||||
doins ${FILESDIR}/tangd.service
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst(){
|
pkg_postinst(){
|
||||||
einfo "By default, tang runs on port 8888 and listens on address 0.0.0.0"
|
einfo "By default, tang runs on port 8888 and listens on address 0.0.0.0"
|
||||||
einfo "It also stores JWKs in /var/db/tang."
|
einfo "It also stores JWKs in /var/db/tang."
|
||||||
if use systemd; then
|
einfo "If you want to change this, modify /etc/init.d/tangd or"
|
||||||
einfo "If you want to change this, modify /usr/lib/systemd/system/tangd.service directly."
|
einfo "/usr/lib/systemd/system/tangd.service directly."
|
||||||
else
|
|
||||||
einfo "If you want to change this, modify /etc/init.d/tangd directly."
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use systemd; then
|
systemctl daemon-reload || die
|
||||||
systemctl daemon-reload
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user