From 5e0a5ca921524f8859808527a57655eec16efa52 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 18 Jul 2023 00:58:25 +0100 Subject: gentoo auto-resync : 18:07:2023 - 00:58:24 --- www-apps/jackett/Manifest | 8 +++++ www-apps/jackett/files/jackett.init | 6 ++++ www-apps/jackett/files/jackett.logrotate | 4 +++ www-apps/jackett/files/jackett.service | 30 +++++++++++++++++ www-apps/jackett/jackett-0.21.481.ebuild | 58 ++++++++++++++++++++++++++++++++ www-apps/jackett/metadata.xml | 16 +++++++++ 6 files changed, 122 insertions(+) create mode 100644 www-apps/jackett/Manifest create mode 100644 www-apps/jackett/files/jackett.init create mode 100644 www-apps/jackett/files/jackett.logrotate create mode 100644 www-apps/jackett/files/jackett.service create mode 100644 www-apps/jackett/jackett-0.21.481.ebuild create mode 100644 www-apps/jackett/metadata.xml (limited to 'www-apps/jackett') diff --git a/www-apps/jackett/Manifest b/www-apps/jackett/Manifest new file mode 100644 index 000000000000..80d487745932 --- /dev/null +++ b/www-apps/jackett/Manifest @@ -0,0 +1,8 @@ +AUX jackett.init 133 BLAKE2B d2f03dbed251bfe5fd2d7d7751fee9997880a422fbb0f6e32f91939855019ccde23807d8300437643cb0770fc9e00c83f1ddf1ad5f06f5e2cd5c8c01dcc05513 SHA512 ea342cd3af5c85f73ffd732ee27af164f847c721c0b796e85c0af8b37d5215fa089a37d4c3c92226ed8befe9de05199903ce0a8327fd8fafcd3d25e54d0aa770 +AUX jackett.logrotate 81 BLAKE2B 2ce4e141b68c9e7eeac5d141e3e839b6a0615f512d8a1f805e9c4b6c8d42c63348878abff799a809ffc07920e2dc0304de9e82dc20a1e624ef17c41daca1ca9d SHA512 c2ac5827be8b8ef6bb2109ccbd01754b086827311a6f41bb1d09e5c406787060aa236841bb40f83913a04702274454d86c63f1e9a968b11e1ac3181cdc166e93 +AUX jackett.service 535 BLAKE2B 4bb328e433a1b0ecfc3e3d823ac9a27839c49d5a8b3e955f1605c7d38ea9bf1eabe3edde0a4a7a3115fd8b6ad823d6c97911d9299dd384094f5139401187017f SHA512 502c3b6cb4c2f6069762549cc83db29d5a0e0d447070e7a73c92f0ad8e7c73bd4c588df6b00b55b7abfde98f0dcc52169e16b5a9f37bceaf475b4920971dcc87 +DIST Jackett.Binaries.LinuxAMDx64.tar.gz 46081771 BLAKE2B a39e3bd65576ef6e5efbfe817eaff3a448c2ecb9c1f046a941ee51e1824091c6a6c4f4a499204675f1e3f7969ce409e229ce4f1e4ca413334c41b4bc66b12d9b SHA512 ea0d409736581dee77f5910d5aec5832df234481f24a1e33d2691402f1c61c82b3133bd913a41c1b5ee8c557a626309b459a4ecc04cd39640e21f8518e5963db +DIST Jackett.Binaries.LinuxARM32.tar.gz 43901662 BLAKE2B 97dd6cb3928257817ef5b1c037e60d077c8207b1deb817ce85858fe935fa89dc110ee6093b6804687e45ca82777a72e0adc0d8e8d358cd29c053bffc0cde6336 SHA512 266a451653119eac847ec17692d35fceb7f17b99c0280b555aeb7b49a9710e63cc235485a8b773e5b958beb749f2088715abae52893910357b85f3e7f91c8e71 +DIST Jackett.Binaries.LinuxARM64.tar.gz 43405796 BLAKE2B c705ab0b82cbedbaee9667c3b36bf7b2cd3eae92985a4b54bba39710b5c3603373db6389f2d2b5fdb4832e8769f035d24138835965d3b5ad17b7328f103e05a1 SHA512 5b8313d512f0f91da07af8e7c957325f802d5909ce61b91dd58cdcf36db8f67c98527117c2b67cd6d027571544232988437666eca50b98c4a43dcc55f6cc755b +EBUILD jackett-0.21.481.ebuild 1366 BLAKE2B dd597a212a8aff138a96a849de74104efc376884dd1a4439e0f1fcecb6c245083bf3a2356fa29fdacbf3217c450535ed5c8382399b1592780eac9c7c972d1734 SHA512 fe0a5b99abde4b36ac529efa4b62137985da80bee753770e782cfc78981738e3c84fc11bcacf51476770c585396b67cbf18412f854e6b7150c757bd9e3702cd7 +MISC metadata.xml 525 BLAKE2B 46578271464278efb70a8d638996e4a31cf5cafd6620a9dd94f6b30ec2983b7fe6f4b390e156a0b4d56d31c2e6381f8b756197c6965ae19e0c8258b07a76f59e SHA512 defddbe768a09417ab4ee860f0578242916380af3ebc598dc1a6e2952f0227a438112a8e168d0f8c4f3d411eb861f88d723f532784de0dae9a87f780e3f616cd diff --git a/www-apps/jackett/files/jackett.init b/www-apps/jackett/files/jackett.init new file mode 100644 index 000000000000..ffd6abfa31dd --- /dev/null +++ b/www-apps/jackett/files/jackett.init @@ -0,0 +1,6 @@ +#!/sbin/openrc-run + +pidfile="/run/jackett.pid" +command="/opt/jackett/jackett" +command_user="jackett:jackett" +command_background=true diff --git a/www-apps/jackett/files/jackett.logrotate b/www-apps/jackett/files/jackett.logrotate new file mode 100644 index 000000000000..859203f00b2c --- /dev/null +++ b/www-apps/jackett/files/jackett.logrotate @@ -0,0 +1,4 @@ +/var/lib/jackett/.config/Jackett/log.txt{ + missingok + su jackett jackett +} diff --git a/www-apps/jackett/files/jackett.service b/www-apps/jackett/files/jackett.service new file mode 100644 index 000000000000..8a2d7775fed5 --- /dev/null +++ b/www-apps/jackett/files/jackett.service @@ -0,0 +1,30 @@ +[Unit] +Description=API Support for your favorite torrent trackers +After=syslog.target network.target + +[Service] +User=jackett +Group=jackett + +Type=simple +ExecStart=/opt/jackett/jackett +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/jackett/jackett-0.21.481.ebuild b/www-apps/jackett/jackett-0.21.481.ebuild new file mode 100644 index 000000000000..58fc8e479d2e --- /dev/null +++ b/www-apps/jackett/jackett-0.21.481.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +SRC_URI=" + amd64? ( https://github.com/Jackett/Jackett/releases/download/v${PV}/Jackett.Binaries.LinuxAMDx64.tar.gz ) + arm? ( https://github.com/Jackett/Jackett/releases/download/v${PV}/Jackett.Binaries.LinuxARM32.tar.gz ) + arm64? ( https://github.com/Jackett/Jackett/releases/download/v${PV}/Jackett.Binaries.LinuxARM64.tar.gz ) +" + +DESCRIPTION="API Support for your favorite torrent trackers" +HOMEPAGE="https://github.com/Jackett/Jackett" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +RESTRICT="bindist strip test" + +RDEPEND=" + acct-group/jackett + acct-user/jackett + media-video/mediainfo + dev-libs/icu + dev-util/lttng-ust:0 + dev-db/sqlite + sys-libs/glibc +" + +QA_PREBUILT="*" + +S="${WORKDIR}/Jackett" + +src_prepare() { + default + + # https://github.com/dotnet/runtime/issues/57784 + rm 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/jackett" || die "Install failed!" + + systemd_dounit "${FILESDIR}/jackett.service" + systemd_newunit "${FILESDIR}/jackett.service" "${PN}@.service" +} diff --git a/www-apps/jackett/metadata.xml b/www-apps/jackett/metadata.xml new file mode 100644 index 000000000000..fc823d3f2b9a --- /dev/null +++ b/www-apps/jackett/metadata.xml @@ -0,0 +1,16 @@ + + + + + proxy-maint@gentoo.org + Proxy Maintainers + + + candrews@gentoo.org + Craig Andrews + + + Jackett/Jackett + https://github.com/Jackett/Jackett/issues + + -- cgit v1.2.3