From 4d18bed2de6bad9268924080d331e0e35f51f984 Mon Sep 17 00:00:00 2001 From: Michiel van Baak Jansen Date: Sat, 16 Oct 2021 00:50:55 +0200 Subject: [PATCH] net-p2p/prowlarr: Add new port --- GIDs | 2 +- UIDs | 2 +- net-p2p/Makefile | 1 + net-p2p/prowlarr/Makefile | 46 ++ net-p2p/prowlarr/distinfo | 3 + net-p2p/prowlarr/files/pkg-message.in | 33 ++ net-p2p/prowlarr/files/prowlarr.in | 49 ++ net-p2p/prowlarr/pkg-descr | 3 + net-p2p/prowlarr/pkg-plist | 703 ++++++++++++++++++++++++++ 9 files changed, 840 insertions(+), 2 deletions(-) create mode 100644 net-p2p/prowlarr/Makefile create mode 100644 net-p2p/prowlarr/distinfo create mode 100644 net-p2p/prowlarr/files/pkg-message.in create mode 100644 net-p2p/prowlarr/files/prowlarr.in create mode 100644 net-p2p/prowlarr/pkg-descr create mode 100644 net-p2p/prowlarr/pkg-plist diff --git a/GIDs b/GIDs index 3347cc1a52d7..fe7b5a39429a 100644 --- a/GIDs +++ b/GIDs @@ -298,7 +298,7 @@ nzbhydra2:*:355: lidarr:*:356: bazarr:*:357: autoscan:*:358: -# free: 359 +prowlarr:*:359: v2ray:*:360: httptunnel:*:361: # free: 362 diff --git a/UIDs b/UIDs index d71f8e3a35ba..3ab09659272b 100644 --- a/UIDs +++ b/UIDs @@ -303,7 +303,7 @@ nzbhydra2:*:355:355::0:0:NZBHydra 2 Daemon:/nonexistent:/usr/sbin/nologin lidarr:*:356:356::0:0:Lidarr Daemon:/nonexistent:/usr/sbin/nologin bazarr:*:357:357::0:0:Bazarr Daemon:/nonexistent:/usr/sbin/nologin autoscan:*:358:358::0:0:Autoscan Daemon:/nonexistent:/usr/sbin/nologin -# free: 359 +prowlarr:*:359:359::0:0:Prowlarr Daemon:/nonexistent:/usr/sbin/nologin v2ray:*:360:360::0:0:V2Ray Daemon:/nonexistent:/usr/sbin/nologin httptunnel:*:361:361::0:0:httptunnel Daemon:/nonexistent:/usr/sbin/nologin # free: 362 diff --git a/net-p2p/Makefile b/net-p2p/Makefile index 69e329aedb63..a747f3945409 100644 --- a/net-p2p/Makefile +++ b/net-p2p/Makefile @@ -69,6 +69,7 @@ SUBDIR += p5-Net-DirectConnect SUBDIR += p5-WWW-BitTorrent SUBDIR += phex + SUBDIR += prowlarr SUBDIR += py-libtorrent-rasterbar SUBDIR += py-nicotine-plus SUBDIR += py-transmission-rpc diff --git a/net-p2p/prowlarr/Makefile b/net-p2p/prowlarr/Makefile new file mode 100644 index 000000000000..ffbc17958b61 --- /dev/null +++ b/net-p2p/prowlarr/Makefile @@ -0,0 +1,46 @@ +PORTNAME= prowlarr +PORTVERSION= 0.1.1.1030 +CATEGORIES= net-p2p +MASTER_SITES= https://github.com/Prowlarr/Prowlarr/releases/download/v${PORTVERSION}/ +DISTNAME= Prowlarr.develop.${PORTVERSION}.freebsd-core-x64 + +MAINTAINER= michiel@vanbaak.eu +COMMENT= Indexer Manager for Usenet and BitTorrent users + +LICENSE= GPLv3 + +ONLY_FOR_ARCHS= amd64 + +RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss \ + icu>0:devel/icu \ + libiconv>0:converters/libiconv \ + libinotify>0:devel/libinotify \ + libunwind>0:devel/libunwind \ + mediainfo>0:multimedia/mediainfo \ + openssl>0:security/openssl \ + sqlite3>0:databases/sqlite3 + +USE_RC_SUBR= ${PORTNAME} +DATADIR= ${PREFIX}/${PORTNAME}${PKGNAMESUFFIX} + +NO_BUILD= YES + +SUB_FILES= ${PORTNAME} pkg-message +SUB_LIST= DATADIR=${DATADIR} \ + GROUPS=${GROUPS} \ + PORTNAME=${PORTNAME} \ + USERS=${USERS} + +USERS= ${PORTNAME} +GROUPS= ${PORTNAME} + +WRKSRC= ${WRKDIR}/Prowlarr + +.include + +do-install: + ${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR} "! -name Prowlarr" + ${INSTALL_PROGRAM} ${WRKSRC}/Prowlarr ${STAGEDIR}/${DATADIR} + +.include diff --git a/net-p2p/prowlarr/distinfo b/net-p2p/prowlarr/distinfo new file mode 100644 index 000000000000..f024f45a4a94 --- /dev/null +++ b/net-p2p/prowlarr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1635325797 +SHA256 (Prowlarr.develop.0.1.1.1030.freebsd-core-x64.tar.gz) = 6b43552fbf42ffc749188ecf67f89ef2497a65f25d36e13d038384f29f665dfc +SIZE (Prowlarr.develop.0.1.1.1030.freebsd-core-x64.tar.gz) = 48460197 diff --git a/net-p2p/prowlarr/files/pkg-message.in b/net-p2p/prowlarr/files/pkg-message.in new file mode 100644 index 000000000000..c42d02ab6d8e --- /dev/null +++ b/net-p2p/prowlarr/files/pkg-message.in @@ -0,0 +1,33 @@ +[ +{ type: install + message: <