Add www-apps/marisa
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
2
www-apps/marisa/Manifest
Normal file
2
www-apps/marisa/Manifest
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
DIST marisa-71.tar.gz 61222 BLAKE2B fffd3242d92df6c1f31f7d50e5afda2dbe764bb3ca18a674cc629f3aece3c005043ecb4d692e0c4c609fe9aad90b44b1105925281e72ff9455163fadeeabaaea SHA512 4fcf640fb61f9c7c85a256960a47a3c1b7517d413bd80319fa9416adb08a3691c8470f9f8a2b8fbfc43b948cb7c6fc5f9e304dc54466ee93dc5e9ff2e1d1b396
|
||||||
|
DIST marisa-deps.tar.gz 34551 BLAKE2B c042d46f0b68d4241b19e0536ace0f12410b245672b8d28c5ba6b325a22c3b2a6b6bd9e49a3520978bbb52a0c7fe0e030db44ed2f812604caa1fd39ed3056ba6 SHA512 4df819d9e7aa728ad122abb87142d85236b7e9e48ef7dc97c6e99f97d7863e787368c8f9231663639781510e7d27298ba36d9e27bcf5a53c053759f2a4cf8046
|
||||||
13
www-apps/marisa/files/marisa.initd-r1
Normal file
13
www-apps/marisa/files/marisa.initd-r1
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
|
||||||
|
supervisor="supervise-daemon"
|
||||||
|
|
||||||
|
command="/usr/bin/${RC_SVCNAME}"
|
||||||
|
command_args="-f /etc/marisa/marisa.conf"
|
||||||
|
command_background="true"
|
||||||
|
pidfile="/run/marisa.pid"
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
need net
|
||||||
|
}
|
||||||
29
www-apps/marisa/marisa-71.ebuild
Normal file
29
www-apps/marisa/marisa-71.ebuild
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
# Copyright 2026 Shin'ya Minazuki
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit go-module
|
||||||
|
|
||||||
|
DESCRIPTION="File upload system over HTTP"
|
||||||
|
HOMEPAGE="https://projects.laidback.moe/marisa"
|
||||||
|
SRC_URI="
|
||||||
|
https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz
|
||||||
|
https://mirror.chaotic.ninja/software/${PN}/${PN}-deps.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="ISC"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 x86"
|
||||||
|
|
||||||
|
IUSE="examples"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export CGO_ENABLED=0
|
||||||
|
export VERSION="2025.12.08-${PV}"
|
||||||
|
emake CGO=${CGO_ENABLED} VERSION=${VERSION} -j1
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
||||||
|
use examples && dodoc example/*
|
||||||
|
newinitd "${FILESDIR}/marisa.initd-r1" "${PN}"
|
||||||
|
}
|
||||||
8
www-apps/marisa/metadata.xml
Normal file
8
www-apps/marisa/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
Reference in New Issue
Block a user