summaryrefslogtreecommitdiff
path: root/www-apps
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/Manifest.gzbin13113 -> 13276 bytes
-rw-r--r--www-apps/jellyfin/Manifest3
-rw-r--r--www-apps/jellyfin/files/jellyfin.confd15
-rw-r--r--www-apps/jellyfin/files/jellyfin.init-r124
-rw-r--r--www-apps/jellyfin/jellyfin-10.8.1-r2.ebuild57
-rw-r--r--www-apps/readarr/Manifest8
-rw-r--r--www-apps/readarr/files/readarr.init7
-rw-r--r--www-apps/readarr/files/readarr.logrotate4
-rw-r--r--www-apps/readarr/files/readarr.service30
-rw-r--r--www-apps/readarr/metadata.xml21
-rw-r--r--www-apps/readarr/readarr-0.1.1.1320.ebuild55
11 files changed, 224 insertions, 0 deletions
diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz
index 0b03c3123a21..076d3926c722 100644
--- a/www-apps/Manifest.gz
+++ b/www-apps/Manifest.gz
Binary files differ
diff --git a/www-apps/jellyfin/Manifest b/www-apps/jellyfin/Manifest
index 7cf91e6da1f5..de28db6b126c 100644
--- a/www-apps/jellyfin/Manifest
+++ b/www-apps/jellyfin/Manifest
@@ -1,6 +1,9 @@
+AUX jellyfin.confd 620 BLAKE2B 6e34eee798741ca3057f1f2163a4281f96cf1c0063ccfddb72d34a1d8f079e6b4a8c20e26d9c281a885a0810cddfef276c60382f3a2095aa27c469a7da321023 SHA512 ac70b53422fda386a3b6a871055b38b98c2c0b17dfd15973d9e0f8822cb3bd843cbc52dc3407c76231f8b58846b0a7618c8ecb427b2dc6dc49264ea99471784d
AUX jellyfin.init 475 BLAKE2B ac786dec5e89f1967b00c9b1283774b8c735821fae1a03fffbfcde5dc829ab764c51266b7d6a22ab65bff86eb6d4d4025903489e8b19350184aa60192c43af4e SHA512 1ce4600adad64e8535a4a0d87b17798e9e273af4c764746285169e4898ed341b275b4822ff90f93e50505223a31bcf0c2bf3566aebda786dbdf0f68099874c45
+AUX jellyfin.init-r1 864 BLAKE2B 6e63339c0018b2db6a9661836c1665ff932738ee3509a0b3f39ebd1f344d3c9c69d3a824832fc21dc7c825c7fd3efc462b6270be27300b843d533dfe6785d982 SHA512 f221aa9806c37d8f3214c7305bc4589487f462c07058a71fbf0129a1e6ea0544956c752108cfc34d8e89494e91e1313fc5a96c75f194575284f65591fe324d00
AUX jellyfin.service 832 BLAKE2B e09a02c41f33aeabf5846946df1738e04516acf414041dc84cb8e107cedd546014ae1700af7994aa9643d26cc1edc99190615814353aad846af99d727702bb59 SHA512 f79b13cc2b0de47a31727affd633e9afde04d215fc28b82a6593e9aeaa8ff9c15796ab9aab4651922d2c14d2761e381c9d30c98ee56eeba57cf708bfde3ee73d
DIST jellyfin_10.8.1_amd64.tar.gz 99055788 BLAKE2B 1e4be154cfa4982e4f2a9f33b17e23dae3ed888b49c993a0f9dded2267904e41195c0dd0d9b2a47ac8bc10d7d4f45a52141d922e8a1b3348e29cba7e60a9d64c SHA512 ac755137c1859b7b322ff2369d92ebe98757a53c58fa49b9fd178a0b703d829d6c254f4e94a27a7b36b44b92e8b003d86a97cf55e620cd58008f89775f7e4cb4
DIST jellyfin_10.8.1_arm64.tar.gz 95977557 BLAKE2B ecaee96df0e8f01cb31b08b7e3c55d4d906e9dbdada28353ea6653d1f365fa41d68ccc87e26b528d6b25c60b9ae3fc1a31823f7b6f661d12609c7e01bac8eff7 SHA512 4ed2748d5efd9fc18a2a4a0c4da24c24e33eb7962441c2864117d31ac1a952639dcc7968f3ff492015f7f1d9d054e93716f745527ca48778f6fdf91cef79e95f
EBUILD jellyfin-10.8.1-r1.ebuild 1503 BLAKE2B 43a6513f4f93fd86e6123ea1c1cca356e5be41e57725db1882d7b7c6fdd62b4de46cbd8e4097652c2383f62d89b2abb44f5b4ad3fe3a60e714b92687e9df3efd SHA512 7666ab739d872537d21a99ca2ac29244ab7c765b4d99b1a51388149d3b746bc0018558826409ce166f2e81db89972bef45754a41923ecaaf563724ccc1992e90
+EBUILD jellyfin-10.8.1-r2.ebuild 1550 BLAKE2B 2603d3c8dc067f2885bc195889ece59478fd1da81aa1900b29be0dfc95788f009bbab0d5fe63c1b3ea1abad836572ddf236bc117139fce7fc866a7d40ed60277 SHA512 7a82b9e1cf66189321bb6943e0c220ccb4dddfbe632a373ede469cf2f65f9edd599adeb4548ef871369a6c12ebab358da7f31ba2722d6b1c159b5f166a85023b
MISC metadata.xml 648 BLAKE2B a5c4c046a0cf41fdb5b432841f217621a55d44e990616f34116390ee46585a6cb0253a4022d8933ed1c36397bc411756abb225c3aedbc11a0bb9ae341a22c7b9 SHA512 21f9706c18ba6cda69d247a8d1afc8ca138882595ab8692396a3c606bbaf1a40c4d57e38fc915592710d0aa6a054f5e59210bc962967be2e8579df5d74d8ae63
diff --git a/www-apps/jellyfin/files/jellyfin.confd b/www-apps/jellyfin/files/jellyfin.confd
new file mode 100644
index 000000000000..310bef364b90
--- /dev/null
+++ b/www-apps/jellyfin/files/jellyfin.confd
@@ -0,0 +1,15 @@
+# This is the directory that will hold all Jellyfin data, and is also used as a default base directory for some other paths below.
+#JELLYFIN_DATA_DIR=/var/lib/jellyfin
+
+# This is the directory where the Jellyfin logs will be stored.
+#JELLYFIN_LOG_DIR=/var/log/jellyfin
+
+# This is the directory containing the server cache.
+#JELLYFIN_CACHE_DIR=/var/cache/jellyfin
+
+# This is the directory containing the server configuration files.
+#JELLYFIN_CONFIG_DIR=/etc/jellyfin
+
+# To configure Jellyfin to use a proxy, set http_proxy and/or https_proxy
+# export http_proxy=192.168.33.10:3128
+# export https_proxy=192.168.33.10:3129
diff --git a/www-apps/jellyfin/files/jellyfin.init-r1 b/www-apps/jellyfin/files/jellyfin.init-r1
new file mode 100644
index 000000000000..c45a532d5c0c
--- /dev/null
+++ b/www-apps/jellyfin/files/jellyfin.init-r1
@@ -0,0 +1,24 @@
+#!/sbin/openrc-run
+
+: ${JELLYFIN_CACHE_DIR:=/var/cache/jellyfin}
+: ${JELLYFIN_LOG_DIR:=/var/log/jellyfin}
+: ${JELLYFIN_DATA_DIR:=/var/lib/jellyfin}
+: ${JELLYFIN_CONFIG_DIR:=/etc/jellyfin}
+
+pidfile="/run/${RC_SVCNAME}.pid"
+command="/opt/jellyfin/jellyfin"
+command_args="--logdir ${JELLYFIN_LOG_DIR} --cachedir ${JELLYFIN_CACHE_DIR} --configdir ${JELLYFIN_CONFIG_DIR} --datadir ${JELLYFIN_DATA_DIR}"
+command_user="${RC_SVCNAME}:${RC_SVCNAME}"
+command_background=true
+
+start_pre() {
+ # Ensure that our dirs are correct
+ checkpath --directory --owner jellyfin:jellyfin --mode 0775 \
+ ${JELLYFIN_LOG_DIR}
+ checkpath --directory --owner jellyfin:jellyfin --mode 0775 \
+ ${JELLYFIN_CACHE_DIR}
+ checkpath --directory --owner jellyfin:jellyfin --mode 0775 \
+ ${JELLYFIN_CONFIG_DIR}
+ checkpath --directory --owner jellyfin:jellyfin --mode 0775 \
+ ${JELLYFIN_DATA_DIR}
+}
diff --git a/www-apps/jellyfin/jellyfin-10.8.1-r2.ebuild b/www-apps/jellyfin/jellyfin-10.8.1-r2.ebuild
new file mode 100644
index 000000000000..76685995e7ca
--- /dev/null
+++ b/www-apps/jellyfin/jellyfin-10.8.1-r2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+DESCRIPTION="Jellyfin puts you in control of managing and streaming your media"
+HOMEPAGE="https://jellyfin.readthedocs.io/en/latest/"
+
+SRC_URI="
+ arm64? (
+ https://repo.jellyfin.org/releases/server/linux/stable/combined/${PN}_${PV}_arm64.tar.gz
+ https://repo.jellyfin.org/archive/linux/stable/${PV}/combined/${PN}_${PV}_arm64.tar.gz
+ )
+ amd64? (
+ https://repo.jellyfin.org/releases/server/linux/stable/combined/${PN}_${PV}_amd64.tar.gz
+ https://repo.jellyfin.org/archive/linux/stable/${PV}/combined/${PN}_${PV}_amd64.tar.gz
+ )"
+
+RESTRICT="mirror test"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+DEPEND="acct-user/jellyfin"
+RDEPEND="${DEPEND}
+ media-video/ffmpeg[vpx,x264]"
+BDEPEND="acct-user/jellyfin"
+INST_DIR="/opt/${PN}"
+QA_PREBUILT="${INST_DIR#/}/*.so ${INST_DIR#/}/jellyfin ${INST_DIR#/}/createdump"
+
+src_unpack() {
+ unpack ${A}
+ mv ${PN}_${PV} ${P} || die
+}
+
+src_prepare() {
+ default
+
+ # https://github.com/jellyfin/jellyfin/issues/7471
+ # https://github.com/dotnet/runtime/issues/57784
+ rm libcoreclrtraceptprovider.so || die
+}
+
+src_install() {
+ keepdir /var/log/jellyfin
+ fowners jellyfin:jellyfin /var/log/jellyfin
+ keepdir /etc/jellyfin
+ fowners jellyfin:jellyfin /etc/jellyfin
+ insinto ${INST_DIR}
+ dodir ${INST_DIR}
+ doins -r "${S}"/*
+ chmod 755 "${D}${INST_DIR}/jellyfin"
+ newinitd "${FILESDIR}/${PN}.init-r1" "${PN}"
+ newconfd "${FILESDIR}"/${PN}.confd "${PN}"
+ systemd_dounit "${FILESDIR}/${PN}.service"
+}
diff --git a/www-apps/readarr/Manifest b/www-apps/readarr/Manifest
new file mode 100644
index 000000000000..69e70a433014
--- /dev/null
+++ b/www-apps/readarr/Manifest
@@ -0,0 +1,8 @@
+AUX readarr.init 133 BLAKE2B a8472b77fcd44ea5e7784682a99075176fe8f7841e84c5148deb252452fbf5e3f145ece1f5a59288027632b81a87ca5449d5aec3f3b2af41454da32d2df0292e SHA512 5dc8d03bc84881e9e5180dffbe27af551fd02e7006ca9da7ac0da366b254b9e6a547d61da945dbef41afb4f8fec626f32bc535bbf284cd370e54341cda6da561
+AUX readarr.logrotate 84 BLAKE2B 953c9002fca32a5622ef5e3d9ea72a8c54e5ff0a46d4e6808324e80965f90ac759fc476444db6eecc9da8d8f4226ef64d9d81416d9ac2346988d3f1c8fb3e375 SHA512 c670db54f8b6e22339f29f10bb60ce9dfdb6f3f8b6605d6cbff33c2e7e2aec219d4c4bdfb862310e877cb34f88d1f362c0710fc8d559bbffde3db60dcb460098
+AUX readarr.service 562 BLAKE2B 1e19fb54d0557d166088b4df9e5a6fc4940db68121cc62a31d00678961c7490e597d6981fc89350bc3d8ad5bf179f7b95ccf1791697f3cfc653216a7234f7598 SHA512 251336794f4c14f3cfe761584964896a9bd6ebe07868356e5ebfdc1ae6f6e8bf661d7c2f04ea7950f03c3d355da67e365bfbb7ad463d8a07eb709e4076ea6878
+DIST Readarr.develop.0.1.1.1320.linux-core-arm.tar.gz 84120232 BLAKE2B 5a1e89011594d9e4bfe93eb9b9a78f90e5c1d6ebde7fa3c47f7e2e5fb500af2e691c38ab6ae86faa05983c76d57d2c0e4990b3749cd9912261ff58a652809bfb SHA512 6d132d054483a5f084ff3e99e9d10772faaf28aee277ff182289a0c49459d702349885171b5147f1c23af3c5dafde92d00acb1789926918e138baeb47026fb9e
+DIST Readarr.develop.0.1.1.1320.linux-core-arm64.tar.gz 83430995 BLAKE2B d4879cb9430f9555eed1a319a0509ea50b0f51396fa0cb808e763a032af5e5c6153daf6df94edf2a2b9d2c639356d6ffe5bcc6a022e770c9dda014c4601d3628 SHA512 e32c15a2b8f2e35f41fb91a4bf427bb65712001d9287862d171ba9c20057b112d4437ef5e4c327d961ecc93d6003acd0c5ff6c7e15b59e84cf66167d667b513b
+DIST Readarr.develop.0.1.1.1320.linux-core-x64.tar.gz 88446682 BLAKE2B e63eb2ebd873f2f07589496957cead36eaf4505c090f65e926813bedc03d013a72423c5d5019a4db24e83975ff906c57a787a5bf50354ad0a66825c9f9cfda74 SHA512 a0f3f0513a66a824ce4efa8284c185b37200325d2d2a43203a9ec6b04b579fea9a67817921800c2c20fa9b6cb30ce5dbaef428b9c04f62db288d7be61a7cb1bc
+EBUILD readarr-0.1.1.1320.ebuild 1411 BLAKE2B 6705b84e9112c4e11dc64678e8bfb49b7856c2d4bcf3bf1114d80e1175e805c32bf69a8976cef618670c6d615cf0b77d837e620cbdebfa04d53fa2246a6a9675 SHA512 3cb8223903441ed25dc4c4a08b8d0034021e7c2710d0902efe60817cd4c8745ace5a458f74895be850cfac9e1ebf409a5adf4a119e499475de606e0c315b82c5
+MISC metadata.xml 687 BLAKE2B 138345fa29c3630e2f8cb63a36ed6a88b17953aeb15889459e661f4c5f217bc7e847ea8a0aa1f5aed2f1da3c76afad97c594e6d2a8b50599d972c6e0504e81e3 SHA512 ec2330fc37df1aaaf1ffe87598f883080d1480fb848d8e7a711c7caae5faf4924e5b09916755045e86a5ea4a0483e28b54c5a7ca7a536d6de8cd1ccd4a4e1e8d
diff --git a/www-apps/readarr/files/readarr.init b/www-apps/readarr/files/readarr.init
new file mode 100644
index 000000000000..5795edbcceb3
--- /dev/null
+++ b/www-apps/readarr/files/readarr.init
@@ -0,0 +1,7 @@
+#!/sbin/openrc-run
+
+pidfile="/run/readarr.pid"
+command="/opt/readarr/Radarr"
+command_user="readarr:readarr"
+command_background=true
+
diff --git a/www-apps/readarr/files/readarr.logrotate b/www-apps/readarr/files/readarr.logrotate
new file mode 100644
index 000000000000..2dc56f43cceb
--- /dev/null
+++ b/www-apps/readarr/files/readarr.logrotate
@@ -0,0 +1,4 @@
+/var/lib/readarr/.config/readarr/logs/*.log{
+ missingok
+ su readarr readarr
+}
diff --git a/www-apps/readarr/files/readarr.service b/www-apps/readarr/files/readarr.service
new file mode 100644
index 000000000000..c96ba634b514
--- /dev/null
+++ b/www-apps/readarr/files/readarr.service
@@ -0,0 +1,30 @@
+[Unit]
+Description=An ebook and audiobook collection manager for Usenet and BitTorrent users
+After=syslog.target network.target
+
+[Service]
+User=readarr
+Group=readarr
+
+Type=simple
+ExecStart=/opt/readarr/Readarr
+TimeoutStopSec=20
+KillMode=process
+Restart=always
+
+PrivateTmp=yes
+PrivateDevices=yes
+PrivateMounts=yes
+ProtectHome=yes
+ProtectSystem=full
+NoNewPrivileges=yes
+ProtectHostname=yes
+ProtectClock=yes
+ProtectKernelTunables=yes
+ProtectKernelModules=yes
+ProtectKernelLogs=yes
+ProtectControlGroups=yes
+RestrictRealtime=yes
+
+[Install]
+WantedBy=multi-user.target
diff --git a/www-apps/readarr/metadata.xml b/www-apps/readarr/metadata.xml
new file mode 100644
index 000000000000..b097043a5b49
--- /dev/null
+++ b/www-apps/readarr/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mcrawford@eliteitminds.com</email>
+ <name>Michael Crawford</name>
+ <description>Primary maintainer</description>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>candrews@gentoo.org</email>
+ <name>Craig Andrews</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Radarr/Radarr</remote-id>
+ <bugs-to>https://github.com/Radarr/Radarr/issues</bugs-to>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/readarr/readarr-0.1.1.1320.ebuild b/www-apps/readarr/readarr-0.1.1.1320.ebuild
new file mode 100644
index 000000000000..23747b5fc1ac
--- /dev/null
+++ b/www-apps/readarr/readarr-0.1.1.1320.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+SRC_URI="
+ amd64? ( https://github.com/Readarr/Readarr/releases/download/v${PV}/Readarr.develop.${PV}.linux-core-x64.tar.gz )
+ arm? ( https://github.com/Readarr/Readarr/releases/download/v${PV}/Readarr.develop.${PV}.linux-core-arm.tar.gz )
+ arm64? ( https://github.com/Readarr/Readarr/releases/download/v${PV}/Readarr.develop.${PV}.linux-core-arm64.tar.gz )
+"
+
+DESCRIPTION="An ebook and audiobook collection manager for Usenet and BitTorrent users"
+HOMEPAGE="https://readarr.com/"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="bindist strip test"
+
+RDEPEND="
+ acct-group/readarr
+ acct-user/readarr
+ dev-libs/icu
+ dev-util/lttng-ust:0
+ dev-db/sqlite"
+
+QA_PREBUILT="*"
+
+S="${WORKDIR}/Readarr"
+
+src_prepare() {
+ default
+
+ # https://github.com/dotnet/runtime/issues/57784
+ rm libcoreclrtraceptprovider.so Readarr.Update/libcoreclrtraceptprovider.so || die
+}
+
+src_install() {
+ newinitd "${FILESDIR}/${PN}.init" ${PN}
+
+ keepdir /var/lib/${PN}
+ fowners -R ${PN}:${PN} /var/lib/${PN}
+
+ insinto /etc/logrotate.d
+ insopts -m0644 -o root -g root
+ newins "${FILESDIR}/${PN}.logrotate" ${PN}
+
+ dodir "/opt/${PN}"
+ cp -R "${S}/." "${D}/opt/readarr" || die "Install failed!"
+
+ systemd_dounit "${FILESDIR}/readarr.service"
+ systemd_newunit "${FILESDIR}/readarr.service" "${PN}@.service"
+}