Compare commits
10 Commits
c0d91e1449
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a1cb5e1e2a | ||
|
|
74add68136 | ||
|
|
d9b35ac847 | ||
|
|
02644de032 | ||
|
|
d356a679c7 | ||
|
|
70b06f7dda | ||
|
|
f621451030 | ||
|
|
89270ae67f | ||
|
|
5d3ec9af35 | ||
|
|
c7b0a3e426 |
6
acct-group/dendrite/dendrite-0.ebuild
Normal file
6
acct-group/dendrite/dendrite-0.ebuild
Normal file
@@ -0,0 +1,6 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit acct-group
|
||||
|
||||
ACCT_GROUP_ID=-1
|
||||
11
acct-user/dendrite/dendrite-0-r1.ebuild
Normal file
11
acct-user/dendrite/dendrite-0-r1.ebuild
Normal file
@@ -0,0 +1,11 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="Second-generation Matrix homeserver"
|
||||
ACCT_USER_ID=-1
|
||||
ACCT_USER_GROUPS=( ${PN} )
|
||||
ACCT_USER_HOME="/var/lib/${PN}"
|
||||
|
||||
acct-user_add_deps
|
||||
10
acct-user/dendrite/dendrite-0.ebuild
Normal file
10
acct-user/dendrite/dendrite-0.ebuild
Normal file
@@ -0,0 +1,10 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="Second-generation Matrix homeserver"
|
||||
ACCT_USER_ID=-1
|
||||
ACCT_USER_GROUPS=( dendrite )
|
||||
|
||||
acct-user_add_deps
|
||||
@@ -16,7 +16,7 @@ KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
src_prepare() {
|
||||
src_configure() {
|
||||
elog "Populating ${S}/config.mk with new values..."
|
||||
echo "GO = ${EPREFIX}/usr/bin/go" > config.mk
|
||||
echo "GOOS = linux" >> config.mk
|
||||
|
||||
4
licenses/076-Freedom-License
Normal file
4
licenses/076-Freedom-License
Normal file
@@ -0,0 +1,4 @@
|
||||
Freedom License v1 (2021年08月17日)
|
||||
|
||||
全く無限的自由です。
|
||||
It's infinite freedom.
|
||||
1
mail-client/rin/Manifest
Normal file
1
mail-client/rin/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST rin-10.tar.gz 4282 BLAKE2B 6c8064863c753d536f738c6850a0c3430f7a0c4d954c137490d458c89877c8f9417efed71f0b78c644729a4509da74327c1eb366f73756d1dee5798c6e50360d SHA512 b9d9096dcea4e0a8c595aa63d9415ddd16f629522861059a6f8b44c0641ac1693d82165c3aa309095696c5a9bac72aa851c72699d71b3e67a0b7eb569511f00d
|
||||
8
mail-client/rin/metadata.xml
Normal file
8
mail-client/rin/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>
|
||||
40
mail-client/rin/rin-10.ebuild
Normal file
40
mail-client/rin/rin-10.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit edo
|
||||
|
||||
DESCRIPTION="E-mail assistant"
|
||||
HOMEPAGE=""
|
||||
SRC_URI="https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz"
|
||||
|
||||
# ありがとうございます、諏訪子様!
|
||||
LICENSE="076-Freedom-License"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
mail-client/mblaze
|
||||
net-mail/fdm
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
app-text/mandoc
|
||||
dev-build/bmake
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
elog "Populating config.mk with new values..."
|
||||
echo "PREFIX = ${EPREFIX}/usr" > config.mk
|
||||
echo "EXDIR = \${PREFIX}/share/examples" >> config.mk
|
||||
echo "MANDIR = \${PREFIX}/share/man" >> config.mk
|
||||
elog "Done."
|
||||
}
|
||||
src_compile() {
|
||||
edo sed -e "s|%%PREFIX%%|${EPREFIX}/usr|g" -e "s|%%REV%%|${PV}|g" bin/${PN}.in > bin/${PN}
|
||||
edo chmod 0755 bin/${PN}
|
||||
}
|
||||
src_install() {
|
||||
# Specifically not emake because of the BSD syntax
|
||||
# which will cause GNU make an indigestion
|
||||
bmake DESTDIR="${D}" install
|
||||
}
|
||||
2
net-im/dendrite/Manifest
Normal file
2
net-im/dendrite/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST dendrite-0.15.2-deps.tar.gz 52968232 BLAKE2B 44daa7e12d929a167c954e6f386c4455e26b59727d495be778e06b64ca064cb47c34bab176255211ac07c78ec393a8182c702cb62a828a0dbf2ac8f2120098ed SHA512 8e997ce1dbd325e863b4d804d3e4e40f882a17eed467300a4ea64429795bd40ad99fcf82a4df326f7067d30d3faacfcc39c82f03d7881cb6432a498caed6c749
|
||||
DIST dendrite-0.15.2.tar.gz 1347612 BLAKE2B 5e9c9c5c8adb8797a6f2e72f8eb7d4b1cb96b1e44b212532927e9221a3479963ec2fa6da6ff03ddc0d8e8d23178742b04154f0171767f3d61fe3456b42c48c8c SHA512 30a9327133af76a4ef06d961931698d55acbd3c175209aa100886794bc06309acb5953ed9e43ada676af0717461fd2fd8c821a04e829302fdcf4f3a7bbffa1cd
|
||||
42
net-im/dendrite/dendrite-0.15.2.ebuild
Normal file
42
net-im/dendrite/dendrite-0.15.2.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit go-module optfeature
|
||||
|
||||
DESCRIPTION="Second-generation Matrix homeserver"
|
||||
HOMEPAGE="https://github.com/element-hq/dendrite"
|
||||
SRC_URI="
|
||||
https://mirror.chaotic.ninja/software/${PN}/${P}.tar.gz
|
||||
https://mirror.chaotic.ninja/software/${PN}/${P}-deps.tar.gz
|
||||
"
|
||||
|
||||
# There are several other licenses around for the dependencies
|
||||
# Not mentioning them here, it would get too long
|
||||
LICENSE="AGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT="mirror"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
RDEPEND="
|
||||
acct-user/dendrite
|
||||
acct-group/dendrite
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
ego build -tags goolm -trimpath -v -o bin/ ./cmd/...
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newsbin bin/${PN} "${PN}"
|
||||
newsbin bin/create-account "${PN}-create-account"
|
||||
newsbin bin/generate-config "${PN}-generate-config"
|
||||
newsbin bin/generate-keys "${PN}-generate-keys"
|
||||
newsbin bin/resolve-state "${PN}-resolve-state"
|
||||
newinitd "${FILESDIR}/${PN}.initd-r0" "${PN}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "running a server in production environments" dev-db/postgresql
|
||||
}
|
||||
26
net-im/dendrite/files/dendrite.initd-r0
Normal file
26
net-im/dendrite/files/dendrite.initd-r0
Normal file
@@ -0,0 +1,26 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
|
||||
supervisor="supervise-daemon"
|
||||
|
||||
command="/usr/sbin/${RC_SVCNAME}"
|
||||
command_args="--config /etc/${RC_SVCNAME}.yaml"
|
||||
command_user="${RC_SVCNAME}"
|
||||
command_background="true"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
depend() {
|
||||
# PostgreSQL is not listed here due to the SLOT mechanism
|
||||
# used by the package manager.
|
||||
# Latest stable version to date is postgresql-18
|
||||
want caddy nginx
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
ebegin "Checking for the existence of /etc/${RC_SVCNAME}.yaml"
|
||||
if ! checkpath --file /etc/${RC_SVCNAME}.yaml; then
|
||||
eerror "You need a configuration file to proceed"
|
||||
eerror "See /usr/sbin/dendrite-generate-config"
|
||||
fi
|
||||
eend $?
|
||||
}
|
||||
11
net-im/dendrite/metadata.xml
Normal file
11
net-im/dendrite/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?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>
|
||||
<upstream>
|
||||
<remote-id type="github">element-hq/dendrite</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -23,7 +23,7 @@ DEPEND="
|
||||
sys-libs/ncurses:=[unicode(+)]
|
||||
sys-libs/readline:=
|
||||
gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
|
||||
gtk? ( x11-libs/gtk+3 )
|
||||
gtk? ( x11-libs/gtk+:3 )
|
||||
omemo? (
|
||||
dev-libs/libgcrypt
|
||||
net-libs/libsignal-protocol-c
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
inherit edo toolchain-funcs
|
||||
|
||||
DESCRIPTION="Keep IRC simple, stupid!"
|
||||
HOMEPAGE="https://kirc.dev"
|
||||
@@ -11,12 +11,14 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
echo "PREFIX = ${EPREFIX}/usr" > config.mk
|
||||
echo "CC = $(tc-getCC)" >> config.mk
|
||||
src_configure() {
|
||||
elog "Populating config.mk with new values..."
|
||||
echo "CC = $(tc-getCC)" > config.mk
|
||||
echo "PREFIX = ${EPREFIX}/usr" >> config.mk
|
||||
echo "BINDIR = \${PREFIX}/bin" >> config.mk
|
||||
echo "MANDIR = \${PREFIX}/share/man" >> config.mk
|
||||
elog "Done."
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
@@ -11,10 +11,13 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
echo "PREFIX = ${EPREFIX}/usr" > config.mk
|
||||
echo "CC = $(tc-getCC)" >> config.mk
|
||||
src_configure() {
|
||||
elog "Populating config.mk with new values..."
|
||||
echo "CC = $(tc-getCC)" > config.mk
|
||||
echo "PREFIX = ${EPREFIX}/usr" >> config.mk
|
||||
echo "BINDIR = \${PREFIX}/bin" >> config.mk
|
||||
echo "MANDIR = \${PREFIX}/share/man" >> config.mk
|
||||
elog "Done."
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
||||
1
sys-process/dinit/Manifest
Normal file
1
sys-process/dinit/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST dinit-0.21.0.tar.gz 415328 BLAKE2B f1634ce5545918576bf2b2d5a689e9468a480667b28d2525ae1579c67e666aae026ebba99b8b9e67036799dbe0fb42273d23c836e31cce70797d7a0b83a2509f SHA512 9362ddc400570bed7c0d67eeeafef2e339834c8a71948542562e1c5467da7a6f0fad74599118138c02f2d08116a9a8bfe3d9d1a5d02ea0ccf5e97192ea5deea7
|
||||
53
sys-process/dinit/dinit-0.21.0.ebuild
Normal file
53
sys-process/dinit/dinit-0.21.0.ebuild
Normal file
@@ -0,0 +1,53 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Service monitoring and init system"
|
||||
HOMEPAGE="https://davmac.org/projects/dinit/"
|
||||
SRC_URI="https://github.com/davmac314/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="capabilities? ( sys-libs/libcap )"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
IUSE="+capabilities +cgroups initgroups ioprio oom-adj +openrc shutdown utmpx"
|
||||
RESTRICT="mirror"
|
||||
|
||||
src_configure() {
|
||||
export CXX="$(tc-getCXX)"
|
||||
export EXTRA_CXXFLAGS="${CFLAGS}"
|
||||
|
||||
./configure --prefix="${EPREFIX}/usr" \
|
||||
--shutdown-prefix="${PN}" \
|
||||
$(use_enable shutdown) \
|
||||
$(use_enable capabilities) \
|
||||
$(use_enable oom-adj) \
|
||||
$(use_enable utmpx) \
|
||||
$(use_enable initgroups) \
|
||||
$(use_enable ioprio)
|
||||
|
||||
# Let the user put their own optimization settings
|
||||
elog "Filtering out upstream's optimization settings..."
|
||||
sed -i -e 's/-Os//' mconfig
|
||||
sed -i -e 's/-flto//' mconfig
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
use openrc && newinitd "${FILESDIR}/${PN}.initd-r0" "${PN}"
|
||||
use systemd && systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "This package will not override your init system by default,"
|
||||
einfo "and if you want to use it as such, you will have to port the init scripts yourself"
|
||||
}
|
||||
50
sys-process/dinit/dinit-9999.ebuild
Normal file
50
sys-process/dinit/dinit-9999.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
EAPI=8
|
||||
|
||||
inherit git-r3 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Service monitoring and init system"
|
||||
HOMEPAGE="https://davmac.org/projects/dinit/"
|
||||
EGIT_REPO_URI="https://github.com/davmac314/dinit"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="capabilities? ( sys-libs/libcap )"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
IUSE="capabilities cgroups initgroups ioprio oom-adj shutdown utmpx"
|
||||
|
||||
src_configure() {
|
||||
export CXX="$(tc-getCXX)"
|
||||
export EXTRA_CXXFLAGS="${CFLAGS}"
|
||||
|
||||
./configure --prefix="${EPREFIX}/usr" \
|
||||
--shutdown-prefix="${PN}" \
|
||||
$(use_enable shutdown) \
|
||||
$(use_enable capabilities) \
|
||||
$(use_enable oom-adj) \
|
||||
$(use_enable utmpx) \
|
||||
$(use_enable initgroups) \
|
||||
$(use_enable ioprio)
|
||||
|
||||
# Let the user put their own optimization settings
|
||||
elog "Filtering out upstream's optimization settings..."
|
||||
sed -i -e 's/-Os//' mconfig
|
||||
sed -i -e 's/-flto//' mconfig
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "This package will not override your init system by default,"
|
||||
einfo "and if you want to use it as such, you will have to port the init scripts yourself"
|
||||
}
|
||||
9
sys-process/dinit/files/dinit.initd-r0
Normal file
9
sys-process/dinit/files/dinit.initd-r0
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/sbin/openrc-run
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
|
||||
supervisor="supervise-daemon"
|
||||
|
||||
command="/usr/sbin/${RC_SVCNAME}"
|
||||
command_args="-s -d /etc/dinit.d -q"
|
||||
command_background="true"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
16
sys-process/dinit/metadata.xml
Normal file
16
sys-process/dinit/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?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>
|
||||
<use>
|
||||
<flag name="capabilities">Enable support for capabilities (using sys-libs/libcap)</flag>
|
||||
<flag name="initgroups">Enable initialization of supplementary groups for run-as</flag>
|
||||
<flag name="ioprio">Enable support for I/O priority setting</flag>
|
||||
<flag name="oom-adj">Enable support for out of memory score adjustment</flag>
|
||||
<flag name="shutdown">Build the shutdown commands</flag>
|
||||
<flag name="utmpx">Enable manipulation of the utmp/utmpx database</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -9,7 +9,7 @@ EGIT_REPO_URI="https://github.com/PCMan/gtk3-nocsd"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
|
||||
Reference in New Issue
Block a user