diff options
Diffstat (limited to 'www-apps/jackett-bin')
-rw-r--r-- | www-apps/jackett-bin/Manifest | 11 | ||||
-rw-r--r-- | www-apps/jackett-bin/files/jackett.init | 6 | ||||
-rw-r--r-- | www-apps/jackett-bin/files/jackett.logrotate | 4 | ||||
-rw-r--r-- | www-apps/jackett-bin/files/jackett.service | 30 | ||||
-rw-r--r-- | www-apps/jackett-bin/jackett-bin-0.21.1546.ebuild | 83 | ||||
-rw-r--r-- | www-apps/jackett-bin/metadata.xml | 20 |
6 files changed, 154 insertions, 0 deletions
diff --git a/www-apps/jackett-bin/Manifest b/www-apps/jackett-bin/Manifest new file mode 100644 index 000000000000..c6517de8982d --- /dev/null +++ b/www-apps/jackett-bin/Manifest @@ -0,0 +1,11 @@ +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-0.21.1546-arm.tar.gz 44158001 BLAKE2B 2e1fe909cefc3bb1583daa34b80bc135540f3641e2e27a02f629dc41c2951d2b5f45c5d377c36dcfd703e932c5f00c904b931a6ff70871fda24fe8d46a1cc0e2 SHA512 cbc38379af634f32f36d1598c058548adca0d152a604ef08870a352042395682261de35dab951be3714f07373ea71a26be8d28a72ca59d09920adf485ac420f4 +DIST jackett-0.21.1546-arm64.tar.gz 43654927 BLAKE2B ab8d83b25f646f466e2e3d2996fa64fcfc881e6770cb1f056866d92f15549b2106b408ffc87afa13cfa2061a31e5ca90bd4dc9027c377d21ff3f52853cd9c8eb SHA512 caba66778ca4f68d83b3b9f8c0e2da87d14cc0d9efa2c1079b7c50492e8fe4ed4863a2737ace4fa1a8ac3be9c6e037b715874066cb95501766544b3d36681344 +DIST jackett-0.21.1546-musl-arm.tar.gz 44187544 BLAKE2B 5589c4c78fe042d08318499cb8260c52e796ee9a4ca71ef40a8c36a9af39673902dceae93354757acb08c206ed222c04504f6fe83788719afc950d8c113fe3ea SHA512 95211c0e9d6cd5059f533e70fb45b0e3bc33932ce40cc911fce944e39c565116961d0d11c172d0a014ce1322f752cd91c865ebedcf41aa7fd468ade3329399ac +DIST jackett-0.21.1546-musl-arm64.tar.gz 43663694 BLAKE2B f47dc7a0ec4fd36884a65ac8dfac82feb526524b0f722e238de615e90af8d1b827f8c2ac14beb97fbfcdde963a71b96a8048795095fb8cd547ad3b1d644e6983 SHA512 5ec2d0a5dc21577b8a3c3c1a9e86388db737fb81b30ffe79c7ae1bfd2bc0765bad403a5ef91baa5d145b22063d42020baf8155ff06356da41ab7e55a1ad6789d +DIST jackett-0.21.1546-musl-x64.tar.gz 45850218 BLAKE2B 254265954afb0bfe0b5d360a2a24d42b0aad720cc6e88cb4f07cc52440c9b1cc560e973412e4e67c00f68b84eb4b2227de190726c2e01a808e9eda974bab1d49 SHA512 8d935ac8268611fa86ae752f189b9d3ff01a51013f5eb37857563bdb9c7668a2718c06b138dee761258101033e37a2d4a7623482d575d6c7c6f91565864a1cc3 +DIST jackett-0.21.1546-x64.tar.gz 46318024 BLAKE2B ae5ecd2456fa00f8202ef139e1781c603be576497861d5cbcdeacb1dac4ec251771ac8044deb191fc99acec0d0295d5b547bd64780df7c49daa726d1332ebcbb SHA512 d10ac381f83e1aca700ebb1148f389d80ddeb33e93c37876df47e04dbb819deeb1ca544a87a7ef42b2364d2bea1fe7a16171c3fa171f71f83138259eac5f9ee0 +EBUILD jackett-bin-0.21.1546.ebuild 2023 BLAKE2B ae69c5259f9c7b7cf5d97789c092ed625996643b3bf353fd1a9c0fc2fa3a7d00a908f7c8ecdeda33583398492043e91d27c1b8018c0a3586a3ff8a87473631b5 SHA512 4c084180dc636bb31943211b27404833e1403ff02c2076c28d194f827ed888bbc52282cf57b657fdbae4312dd6612c4d2c4948b0f2c3d4f0a0257129eb88e31e +MISC metadata.xml 642 BLAKE2B 42f5b5594835f9d0253e4baac0bb4c9c426fb7f5e812227bdbee4d24a3f826a341e3cab5d353e18881f3fe5ff32406283402bea4e36ed70ec77dca511ab68040 SHA512 0acf30d6c7cb994b837a6b90e26acf9a38fd0fa40ffab67c88fa1e4d201ad14f1b35073b5cbb658d2c423dc919ad2f7c863e49f6649b25264f0b5e068b5e26b5 diff --git a/www-apps/jackett-bin/files/jackett.init b/www-apps/jackett-bin/files/jackett.init new file mode 100644 index 000000000000..ffd6abfa31dd --- /dev/null +++ b/www-apps/jackett-bin/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-bin/files/jackett.logrotate b/www-apps/jackett-bin/files/jackett.logrotate new file mode 100644 index 000000000000..859203f00b2c --- /dev/null +++ b/www-apps/jackett-bin/files/jackett.logrotate @@ -0,0 +1,4 @@ +/var/lib/jackett/.config/Jackett/log.txt{ + missingok + su jackett jackett +} diff --git a/www-apps/jackett-bin/files/jackett.service b/www-apps/jackett-bin/files/jackett.service new file mode 100644 index 000000000000..8a2d7775fed5 --- /dev/null +++ b/www-apps/jackett-bin/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-bin/jackett-bin-0.21.1546.ebuild b/www-apps/jackett-bin/jackett-bin-0.21.1546.ebuild new file mode 100644 index 000000000000..796483bb98ec --- /dev/null +++ b/www-apps/jackett-bin/jackett-bin-0.21.1546.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +DESCRIPTION="API Support for your favorite torrent trackers" +HOMEPAGE="https://github.com/Jackett/Jackett/" + +SRC_URI=" + amd64? ( + elibc_glibc? ( + https://github.com/Jackett/Jackett/releases/download/v${PV}/Jackett.Binaries.LinuxAMDx64.tar.gz + -> jackett-${PV}-x64.tar.gz + ) + elibc_musl? ( + https://github.com/Jackett/Jackett/releases/download/v${PV}/Jackett.Binaries.LinuxMuslAMDx64.tar.gz + -> jackett-${PV}-musl-x64.tar.gz + ) + ) + arm? ( + elibc_glibc? ( + https://github.com/Jackett/Jackett/releases/download/v${PV}/Jackett.Binaries.LinuxARM32.tar.gz + -> jackett-${PV}-arm.tar.gz + ) + elibc_musl? ( + https://github.com/Jackett/Jackett/releases/download/v${PV}/Jackett.Binaries.LinuxMuslARM32.tar.gz + -> jackett-${PV}-musl-arm.tar.gz + ) + ) + arm64? ( + elibc_glibc? ( + https://github.com/Jackett/Jackett/releases/download/v${PV}/Jackett.Binaries.LinuxARM64.tar.gz + -> jackett-${PV}-arm64.tar.gz + ) + elibc_musl? ( + https://github.com/Jackett/Jackett/releases/download/v${PV}/Jackett.Binaries.LinuxMuslARM64.tar.gz + -> jackett-${PV}-musl-arm64.tar.gz + ) + ) +" +S="${WORKDIR}/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 +" + +QA_PREBUILT="*" + +src_prepare() { + default + + # https://github.com/dotnet/runtime/issues/57784 + rm libcoreclrtraceptprovider.so || die +} + +src_install() { + newinitd "${FILESDIR}/jackett.init" jackett + + keepdir /var/lib/jackett + fowners -R jackett:jackett /var/lib/jackett + + insinto /etc/logrotate.d + insopts -m0644 -o root -g root + newins "${FILESDIR}/jackett.logrotate" jackett + + dodir "/opt/jackett" + cp -R "${S}/." "${D}/opt/jackett" || die "Install failed!" + + systemd_dounit "${FILESDIR}/jackett.service" + systemd_newunit "${FILESDIR}/jackett.service" "jackett@.service" +} diff --git a/www-apps/jackett-bin/metadata.xml b/www-apps/jackett-bin/metadata.xml new file mode 100644 index 000000000000..7b06c9eb2c55 --- /dev/null +++ b/www-apps/jackett-bin/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>PF4Public@mail.ru</email> + <name>PF4Public</name> + </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">Jackett/Jackett</remote-id> + <bugs-to>https://github.com/Jackett/Jackett/issues</bugs-to> + </upstream> +</pkgmetadata> |