From 59664da5a80f8b9224503ca054fe628f41dffd1b Mon Sep 17 00:00:00 2001 From: Shin'ya Minazuki Date: Fri, 17 Apr 2026 17:56:55 -0300 Subject: [PATCH] Add www-apps/marisa Signed-off-by: Shin'ya Minazuki --- www-apps/marisa/Manifest | 2 ++ www-apps/marisa/files/marisa.initd-r1 | 13 ++++++++++++ www-apps/marisa/marisa-71.ebuild | 29 +++++++++++++++++++++++++++ www-apps/marisa/metadata.xml | 8 ++++++++ 4 files changed, 52 insertions(+) create mode 100644 www-apps/marisa/Manifest create mode 100644 www-apps/marisa/files/marisa.initd-r1 create mode 100644 www-apps/marisa/marisa-71.ebuild create mode 100644 www-apps/marisa/metadata.xml diff --git a/www-apps/marisa/Manifest b/www-apps/marisa/Manifest new file mode 100644 index 0000000..9edada9 --- /dev/null +++ b/www-apps/marisa/Manifest @@ -0,0 +1,2 @@ +DIST marisa-71.tar.gz 61222 BLAKE2B fffd3242d92df6c1f31f7d50e5afda2dbe764bb3ca18a674cc629f3aece3c005043ecb4d692e0c4c609fe9aad90b44b1105925281e72ff9455163fadeeabaaea SHA512 4fcf640fb61f9c7c85a256960a47a3c1b7517d413bd80319fa9416adb08a3691c8470f9f8a2b8fbfc43b948cb7c6fc5f9e304dc54466ee93dc5e9ff2e1d1b396 +DIST marisa-deps.tar.gz 34551 BLAKE2B c042d46f0b68d4241b19e0536ace0f12410b245672b8d28c5ba6b325a22c3b2a6b6bd9e49a3520978bbb52a0c7fe0e030db44ed2f812604caa1fd39ed3056ba6 SHA512 4df819d9e7aa728ad122abb87142d85236b7e9e48ef7dc97c6e99f97d7863e787368c8f9231663639781510e7d27298ba36d9e27bcf5a53c053759f2a4cf8046 diff --git a/www-apps/marisa/files/marisa.initd-r1 b/www-apps/marisa/files/marisa.initd-r1 new file mode 100644 index 0000000..ac0b865 --- /dev/null +++ b/www-apps/marisa/files/marisa.initd-r1 @@ -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 +} diff --git a/www-apps/marisa/marisa-71.ebuild b/www-apps/marisa/marisa-71.ebuild new file mode 100644 index 0000000..353db9e --- /dev/null +++ b/www-apps/marisa/marisa-71.ebuild @@ -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}" +} diff --git a/www-apps/marisa/metadata.xml b/www-apps/marisa/metadata.xml new file mode 100644 index 0000000..a9ea785 --- /dev/null +++ b/www-apps/marisa/metadata.xml @@ -0,0 +1,8 @@ + + + + + shinyoukai@laidback.moe + Shin'ya Minazuki + +