mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user