www-servers/hinsightd: lua-single, multiple tweaks

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alexandru Campeanu <tiotags1@gmail.com>
This commit is contained in:
tiotags
2021-04-23 10:21:59 +03:00
parent a1a679c029
commit 4d80cc06ee
2 changed files with 5 additions and 5 deletions

View File

@@ -5,11 +5,11 @@ EAPI=7
LUA_COMPAT=( lua5-1 ) LUA_COMPAT=( lua5-1 )
inherit fcaps lua inherit fcaps lua-single
DESCRIPTION="hinsightd a http/1.1 webserver with (hopefully) minimal goals" DESCRIPTION="hinsightd a http/1.1 webserver with (hopefully) minimal goals"
HOMEPAGE="https://gitlab.com/tiotags/hin9" HOMEPAGE="https://gitlab.com/tiotags/hin9"
SRC_URI="https://gitlab.com/tiotags/hin9/-/archive/v0.9.0/hin9-v0.9.0.tar.gz" SRC_URI="https://gitlab.com/tiotags/hin9/-/archive/v${PV}/hin9-v${PV}.tar.gz"
LICENSE="BSD" LICENSE="BSD"
SLOT="0" SLOT="0"
@@ -51,7 +51,7 @@ src_compile() {
src_install() { src_install() {
newbin "${S}/build/hin9" hinsightd newbin "${S}/build/hin9" hinsightd
newinitd "${FILESDIR}/init.d.sh" hinsightd newinitd "${FILESDIR}/init.d.sh" hinsightd
#systemd_dounit "${FILESDIR}/hinsightd.service" # not tested systemd_dounit "${FILESDIR}/hinsightd.service" # not tested
insinto /etc/hinsightd insinto /etc/hinsightd
newins "${S}/workdir/main.lua" hinsightd.lua newins "${S}/workdir/main.lua" hinsightd.lua

View File

@@ -5,7 +5,7 @@ EAPI=7
LUA_COMPAT=( lua5-{1..4} ) LUA_COMPAT=( lua5-{1..4} )
inherit git-r3 fcaps lua inherit git-r3 fcaps lua-single
DESCRIPTION="hinsightd a http/1.1 webserver with (hopefully) minimal goals" DESCRIPTION="hinsightd a http/1.1 webserver with (hopefully) minimal goals"
HOMEPAGE="https://gitlab.com/tiotags/hin9" HOMEPAGE="https://gitlab.com/tiotags/hin9"
@@ -49,7 +49,7 @@ src_compile() {
src_install() { src_install() {
newbin "${S}/build/hin9" hinsightd newbin "${S}/build/hin9" hinsightd
newinitd "${FILESDIR}/init.d.sh" hinsightd newinitd "${FILESDIR}/init.d.sh" hinsightd
#systemd_dounit "${FILESDIR}/hinsightd.service" # not tested systemd_dounit "${FILESDIR}/hinsightd.service" # not tested
insinto /etc/hinsightd insinto /etc/hinsightd
newins "${S}/workdir/main.lua" hinsightd.lua newins "${S}/workdir/main.lua" hinsightd.lua