aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2017-08-04 00:47:31 +0800
committerfeld <feld@FreeBSD.org>2017-08-04 00:47:31 +0800
commit41e66f0c55784527373f43660fdfa2a3512ce808 (patch)
tree47aa95ede14340357053229ef9db7fbd19486101
parentab1df2bc73697a146f1e5b490adc639d645566ef (diff)
downloadfreebsd-ports-gnome-41e66f0c55784527373f43660fdfa2a3512ce808.tar.gz
freebsd-ports-gnome-41e66f0c55784527373f43660fdfa2a3512ce808.tar.zst
freebsd-ports-gnome-41e66f0c55784527373f43660fdfa2a3512ce808.zip
Welcome net-p2p/jackett to the tree
Jackett works as a proxy server: it translates queries from apps (Sonarr, Radarr, SickRage, CouchPotato, Mylar, etc) into tracker-site-specific http queries, parses the html response, then sends results back to the requesting software. This allows for getting recent uploads (like RSS) and performing searches. Jackett is a single repository of maintained indexer scraping & translation logic - removing the burden from other apps. WWW: https://github.com/Jackett/Jackett PR: 218458
-rw-r--r--GIDs2
-rw-r--r--UIDs1
-rw-r--r--net-p2p/jackett/Makefile31
-rw-r--r--net-p2p/jackett/distinfo3
-rw-r--r--net-p2p/jackett/files/jackett.in47
-rw-r--r--net-p2p/jackett/pkg-descr9
-rw-r--r--net-p2p/jackett/pkg-plist230
7 files changed, 322 insertions, 1 deletions
diff --git a/GIDs b/GIDs
index 640a6b543d3b..fe24df1709d5 100644
--- a/GIDs
+++ b/GIDs
@@ -295,7 +295,7 @@ _sabnzbd:*:350:
sonarr:*:351:
radarr:*:352:
_iodined:*:353:
-# free: 354
+jackett:*:354:
# free: 355
# free: 356
# free: 357
diff --git a/UIDs b/UIDs
index 6baabb5a3f68..53ece3f6fd6b 100644
--- a/UIDs
+++ b/UIDs
@@ -300,6 +300,7 @@ _sabnzbd:*:350:350::0:0:sabnzb Daemon:/nonexistent:/usr/sbin/nologin
sonarr:*:351:351::0:0:Sonarr PVR:/nonexistent:/usr/sbin/nologin
radarr:*:352:352::0:0:Radarr Daemon:/nonexistent:/usr/sbin/nologin
_iodined:*:353:353::0:0:Iodine Daemon:/nonexistent:/usr/sbin/nologin
+jackett:*:354:354::0:0:Jackett Torznab Proxy Daemon:/nonexistent:/usr/sbin/nologin
# free: 354
# free: 355
# free: 356
diff --git a/net-p2p/jackett/Makefile b/net-p2p/jackett/Makefile
new file mode 100644
index 000000000000..c0af71c7f9f8
--- /dev/null
+++ b/net-p2p/jackett/Makefile
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME= jackett
+PORTVERSION= 0.7.1622
+CATEGORIES= net-p2p
+MASTER_SITES= https://github.com/Jackett/Jackett/releases/download/
+DISTNAME= v${PORTVERSION}/Jackett.Binaries.Mono
+
+MAINTAINER= kiwi@oav.net
+COMMENT= Torznab proxy implementation of the Newznab API
+
+LICENSE= GPLv2
+
+RUN_DEPENDS= mono>0:lang/mono
+LIB_DEPENDS= libcurl.so:ftp/curl
+
+USE_RC_SUBR= jackett
+
+NO_BUILD= YES
+WRKSRC= ${WRKDIR}/Jackett
+
+USERS= jackett
+GROUPS= jackett
+
+.include <bsd.port.options.mk>
+
+do-install:
+ ${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
+ cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}/${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/net-p2p/jackett/distinfo b/net-p2p/jackett/distinfo
new file mode 100644
index 000000000000..0645003195a2
--- /dev/null
+++ b/net-p2p/jackett/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1501775865
+SHA256 (v0.7.1622/Jackett.Binaries.Mono.tar.gz) = b87f8d496cd06b0a8c81676531a39137aacc03d9c3a6631a6e9070ee16675380
+SIZE (v0.7.1622/Jackett.Binaries.Mono.tar.gz) = 3631394
diff --git a/net-p2p/jackett/files/jackett.in b/net-p2p/jackett/files/jackett.in
new file mode 100644
index 000000000000..f5eb65a0e31a
--- /dev/null
+++ b/net-p2p/jackett/files/jackett.in
@@ -0,0 +1,47 @@
+#!/bin/sh
+#
+# Author: Mark Felder <feld@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+# PROVIDE: jackett
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+
+# Add the following lines to /etc/rc.conf to enable jacket:
+# jackett_enable="YES"
+# Optionaly there is some other parameters
+# jackett_user="jackett"
+# jackett_group="jackett"
+# jackett_data_dir="%%PREFIX%%/jackett"
+#
+
+. /etc/rc.subr
+
+name="jackett"
+rcvar=jackett_enable
+
+load_rc_config $name
+
+: ${jackett_enable="NO"}
+: ${jackett_user:="jackett"}
+: ${jackett_user:="jackett"}
+: ${jackett_data_dir:="%%PREFIX%%/jackett"}
+
+pidfile="${jackett_data_dir}/jackett.pid"
+procname="%%PREFIX%%/bin/mono"
+command="/usr/sbin/daemon"
+command_args="-f -p ${pidfile} ${procname} %%DATADIR%%/JackettConsole.exe -d ${jackett_data_dir}"
+start_precmd=jackett_precmd
+
+jackett_precmd()
+{
+ export XDG_CONFIG_HOME=${jackett_data_dir}
+
+ if [ ! -d ${jackett_data_dir} ]; then
+ install -d -o ${jackett_user} ${jackett_data_dir}
+ fi
+}
+
+run_rc_command "$1"
diff --git a/net-p2p/jackett/pkg-descr b/net-p2p/jackett/pkg-descr
new file mode 100644
index 000000000000..2f30aa6cb8aa
--- /dev/null
+++ b/net-p2p/jackett/pkg-descr
@@ -0,0 +1,9 @@
+Jackett works as a proxy server: it translates queries from apps
+(Sonarr, Radarr, SickRage, CouchPotato, Mylar, etc) into
+tracker-site-specific http queries, parses the html response, then sends
+results back to the requesting software. This allows for getting recent
+uploads (like RSS) and performing searches. Jackett is a single
+repository of maintained indexer scraping & translation logic - removing
+the burden from other apps.
+
+WWW: https://github.com/Jackett/Jackett
diff --git a/net-p2p/jackett/pkg-plist b/net-p2p/jackett/pkg-plist
new file mode 100644
index 000000000000..ece97d64b45d
--- /dev/null
+++ b/net-p2p/jackett/pkg-plist
@@ -0,0 +1,230 @@
+%%DATADIR%%/AngleSharp.dll
+%%DATADIR%%/AutoMapper.dll
+%%DATADIR%%/Autofac.Integration.Owin.dll
+%%DATADIR%%/Autofac.Integration.WebApi.Owin.dll
+%%DATADIR%%/Autofac.Integration.WebApi.dll
+%%DATADIR%%/Autofac.dll
+%%DATADIR%%/CloudFlareUtilities.dll
+%%DATADIR%%/CommandLine.dll
+%%DATADIR%%/Content/animate.css
+%%DATADIR%%/Content/binding_dark.png
+%%DATADIR%%/Content/bootstrap/bootstrap.min.css
+%%DATADIR%%/Content/bootstrap/bootstrap.min.js
+%%DATADIR%%/Content/common.js
+%%DATADIR%%/Content/congruent_outline.png
+%%DATADIR%%/Content/crissXcross.png
+%%DATADIR%%/Content/css/font-awesome.min.css
+%%DATADIR%%/Content/css/jquery.dataTables.min.css
+%%DATADIR%%/Content/custom.css
+%%DATADIR%%/Content/custom.js
+%%DATADIR%%/Content/custom_mobile.css
+%%DATADIR%%/Content/favicon.ico
+%%DATADIR%%/Content/fonts/FontAwesome.otf
+%%DATADIR%%/Content/fonts/fontawesome-webfont.eot
+%%DATADIR%%/Content/fonts/fontawesome-webfont.svg
+%%DATADIR%%/Content/fonts/fontawesome-webfont.ttf
+%%DATADIR%%/Content/fonts/fontawesome-webfont.woff
+%%DATADIR%%/Content/fonts/fontawesome-webfont.woff2
+%%DATADIR%%/Content/fonts/glyphicons-halflings-regular.eot
+%%DATADIR%%/Content/fonts/glyphicons-halflings-regular.svg
+%%DATADIR%%/Content/fonts/glyphicons-halflings-regular.ttf
+%%DATADIR%%/Content/fonts/glyphicons-halflings-regular.woff
+%%DATADIR%%/Content/fonts/glyphicons-halflings-regular.woff2
+%%DATADIR%%/Content/images/sort_asc.png
+%%DATADIR%%/Content/images/sort_asc_disabled.png
+%%DATADIR%%/Content/images/sort_both.png
+%%DATADIR%%/Content/images/sort_desc.png
+%%DATADIR%%/Content/images/sort_desc_disabled.png
+%%DATADIR%%/Content/index.html
+%%DATADIR%%/Content/jacket_medium.png
+%%DATADIR%%/Content/libs/bootstrap-notify.js
+%%DATADIR%%/Content/libs/filesize.min.js
+%%DATADIR%%/Content/libs/handlebars.min.js
+%%DATADIR%%/Content/libs/handlebarsextend.js
+%%DATADIR%%/Content/libs/handlebarsmoment.js
+%%DATADIR%%/Content/libs/jquery.dataTables.min.js
+%%DATADIR%%/Content/libs/jquery.min.js
+%%DATADIR%%/Content/libs/moment.min.js
+%%DATADIR%%/Content/login.html
+%%DATADIR%%/Content/setup_indexer.html
+%%DATADIR%%/CsQuery.dll
+%%DATADIR%%/CurlSharp.dll
+%%DATADIR%%/CurlSharp.dll.config
+%%DATADIR%%/CurlSharp.dll.mdb
+%%DATADIR%%/DateTimeRoutines.dll
+%%DATADIR%%/Definitions/2fast4you.yml
+%%DATADIR%%/Definitions/3dtorrents.yml
+%%DATADIR%%/Definitions/acidlounge.yml
+%%DATADIR%%/Definitions/anidex.yml
+%%DATADIR%%/Definitions/anirena.yml
+%%DATADIR%%/Definitions/aox.yml
+%%DATADIR%%/Definitions/apollo.yml
+%%DATADIR%%/Definitions/arabafenice.yml
+%%DATADIR%%/Definitions/asiandvdclub.yml
+%%DATADIR%%/Definitions/audiobooktorrents.yml
+%%DATADIR%%/Definitions/awesomehd.yml
+%%DATADIR%%/Definitions/b2s-share.yml
+%%DATADIR%%/Definitions/bigtorrent.yml
+%%DATADIR%%/Definitions/bithq.yml
+%%DATADIR%%/Definitions/bithumen.yml
+%%DATADIR%%/Definitions/bitspyder.yml
+%%DATADIR%%/Definitions/blubits.yml
+%%DATADIR%%/Definitions/bluebird.yml
+%%DATADIR%%/Definitions/blutopia.yml
+%%DATADIR%%/Definitions/btnext.yml
+%%DATADIR%%/Definitions/carpathians.yml
+%%DATADIR%%/Definitions/chdbits.yml
+%%DATADIR%%/Definitions/cinemageddon.yml
+%%DATADIR%%/Definitions/cinematik.yml
+%%DATADIR%%/Definitions/classix.yml
+%%DATADIR%%/Definitions/cpabien.yml
+%%DATADIR%%/Definitions/czteam.yml
+%%DATADIR%%/Definitions/datascene.yml
+%%DATADIR%%/Definitions/deildu.yml
+%%DATADIR%%/Definitions/diablotorrent.yml
+%%DATADIR%%/Definitions/dragonworld.yml
+%%DATADIR%%/Definitions/dragonworldreloaded.yml
+%%DATADIR%%/Definitions/dreamteam.yml
+%%DATADIR%%/Definitions/eotforum.yml
+%%DATADIR%%/Definitions/estone.yml
+%%DATADIR%%/Definitions/ethor.yml
+%%DATADIR%%/Definitions/eztv.yml
+%%DATADIR%%/Definitions/fanoin.yml
+%%DATADIR%%/Definitions/freedomhd.yml
+%%DATADIR%%/Definitions/fullmixmusic.yml
+%%DATADIR%%/Definitions/funkytorrents.yml
+%%DATADIR%%/Definitions/gfxpeers.yml
+%%DATADIR%%/Definitions/gigatorrents.yml
+%%DATADIR%%/Definitions/gods.yml
+%%DATADIR%%/Definitions/gormogon.yml
+%%DATADIR%%/Definitions/greekteam.yml
+%%DATADIR%%/Definitions/hdbits.yml
+%%DATADIR%%/Definitions/hdbitscom.yml
+%%DATADIR%%/Definitions/hdchina.yml
+%%DATADIR%%/Definitions/hdclub.yml
+%%DATADIR%%/Definitions/hdhome.yml
+%%DATADIR%%/Definitions/hdme.yml
+%%DATADIR%%/Definitions/hdsky.yml
+%%DATADIR%%/Definitions/hdtorrentsit.yml
+%%DATADIR%%/Definitions/hon3yhd.yml
+%%DATADIR%%/Definitions/horriblesubs.yml
+%%DATADIR%%/Definitions/hyperay.yml
+%%DATADIR%%/Definitions/icetorrent.yml
+%%DATADIR%%/Definitions/ilcorsaronero.yml
+%%DATADIR%%/Definitions/iloveclassics.yml
+%%DATADIR%%/Definitions/infinityt.yml
+%%DATADIR%%/Definitions/inperil.yml
+%%DATADIR%%/Definitions/insanetracker.yml
+%%DATADIR%%/Definitions/isohunt.yml
+%%DATADIR%%/Definitions/jpopsuki.yml
+%%DATADIR%%/Definitions/kapaki.yml
+%%DATADIR%%/Definitions/karagarga.yml
+%%DATADIR%%/Definitions/kickasstorrent-kathow.yml
+%%DATADIR%%/Definitions/kickasstorrent.yml
+%%DATADIR%%/Definitions/leparadisdunet.yml
+%%DATADIR%%/Definitions/limetorrents.yml
+%%DATADIR%%/Definitions/linkomanija.yml
+%%DATADIR%%/Definitions/losslessclub.yml
+%%DATADIR%%/Definitions/magico.yml
+%%DATADIR%%/Definitions/majomparade.yml
+%%DATADIR%%/Definitions/maniatorrent.yml
+%%DATADIR%%/Definitions/manicomioshare.yml
+%%DATADIR%%/Definitions/mononokebt.yml
+%%DATADIR%%/Definitions/mteamtp.yml
+%%DATADIR%%/Definitions/myspleen.yml
+%%DATADIR%%/Definitions/nethd.yml
+%%DATADIR%%/Definitions/newretro.yml
+%%DATADIR%%/Definitions/nexttorrent.yml
+%%DATADIR%%/Definitions/nyaa-pantsu.yml
+%%DATADIR%%/Definitions/nyaasi.yml
+%%DATADIR%%/Definitions/nyoo.yml
+%%DATADIR%%/Definitions/ourbits.yml
+%%DATADIR%%/Definitions/passionetorrent.yml
+%%DATADIR%%/Definitions/polishsource.yml
+%%DATADIR%%/Definitions/polishtracker.yml
+%%DATADIR%%/Definitions/ptfiles.yml
+%%DATADIR%%/Definitions/qctorrent.yml
+%%DATADIR%%/Definitions/rockhardlossless.yml
+%%DATADIR%%/Definitions/rodvd.yml
+%%DATADIR%%/Definitions/sdbits.yml
+%%DATADIR%%/Definitions/secretcinema.yml
+%%DATADIR%%/Definitions/shareisland.yml
+%%DATADIR%%/Definitions/sharespacedb.yml
+%%DATADIR%%/Definitions/shellife.yml
+%%DATADIR%%/Definitions/skytorrents.yml
+%%DATADIR%%/Definitions/sporthd.yml
+%%DATADIR%%/Definitions/sportscult.yml
+%%DATADIR%%/Definitions/tasmanit.yml
+%%DATADIR%%/Definitions/tenyardtracker.yml
+%%DATADIR%%/Definitions/theempire.yml
+%%DATADIR%%/Definitions/thegeeks.yml
+%%DATADIR%%/Definitions/thehorrorcharnel.yml
+%%DATADIR%%/Definitions/theoccult.yml
+%%DATADIR%%/Definitions/thepiratebay.yml
+%%DATADIR%%/Definitions/theplace.yml
+%%DATADIR%%/Definitions/theshinning.yml
+%%DATADIR%%/Definitions/theshow.yml
+%%DATADIR%%/Definitions/thetorrents.yml
+%%DATADIR%%/Definitions/thevault.yml
+%%DATADIR%%/Definitions/tntvillage.yml
+%%DATADIR%%/Definitions/tokyotosho.yml
+%%DATADIR%%/Definitions/torrent9.yml
+%%DATADIR%%/Definitions/torrentbd.yml
+%%DATADIR%%/Definitions/torrentccf.yml
+%%DATADIR%%/Definitions/torrentdownloads.yml
+%%DATADIR%%/Definitions/torrenthr.yml
+%%DATADIR%%/Definitions/torrenting.yml
+%%DATADIR%%/Definitions/torrentproject.yml
+%%DATADIR%%/Definitions/torrentsectorcrew.yml
+%%DATADIR%%/Definitions/torrentsmd.yml
+%%DATADIR%%/Definitions/torrentz2.yml
+%%DATADIR%%/Definitions/torviet.yml
+%%DATADIR%%/Definitions/totheglory.yml
+%%DATADIR%%/Definitions/trancetraffic.yml
+%%DATADIR%%/Definitions/uhdbits.yml
+%%DATADIR%%/Definitions/ultimategamerclub.yml
+%%DATADIR%%/Definitions/ultrahdclub.yml
+%%DATADIR%%/Definitions/utorrents.yml
+%%DATADIR%%/Definitions/waffles.yml
+%%DATADIR%%/Definitions/worldofp2p.yml
+%%DATADIR%%/Definitions/xtremezone.yml
+%%DATADIR%%/Definitions/yggtorrent.yml
+%%DATADIR%%/Definitions/zamundanet.yml
+%%DATADIR%%/Definitions/zelkaorg.yml
+%%DATADIR%%/Definitions/ztracker.yml
+%%DATADIR%%/ICSharpCode.SharpZipLib.dll
+%%DATADIR%%/Jackett.dll
+%%DATADIR%%/Jackett.dll.mdb
+%%DATADIR%%/JackettConsole.exe
+%%DATADIR%%/JackettConsole.exe.config
+%%DATADIR%%/JackettConsole.exe.mdb
+%%DATADIR%%/JackettService.exe
+%%DATADIR%%/JackettService.exe.config
+%%DATADIR%%/JackettService.exe.mdb
+%%DATADIR%%/JackettTray.exe
+%%DATADIR%%/JackettTray.exe.config
+%%DATADIR%%/JackettTray.exe.mdb
+%%DATADIR%%/JackettUpdater.exe
+%%DATADIR%%/JackettUpdater.exe.config
+%%DATADIR%%/JackettUpdater.exe.mdb
+%%DATADIR%%/LICENSE
+%%DATADIR%%/Microsoft.AspNet.Identity.Core.dll
+%%DATADIR%%/Microsoft.Owin.FileSystems.dll
+%%DATADIR%%/Microsoft.Owin.Host.HttpListener.dll
+%%DATADIR%%/Microsoft.Owin.Host.SystemWeb.dll
+%%DATADIR%%/Microsoft.Owin.Hosting.dll
+%%DATADIR%%/Microsoft.Owin.StaticFiles.dll
+%%DATADIR%%/Microsoft.Owin.dll
+%%DATADIR%%/MonoTorrent.dll
+%%DATADIR%%/NLog.dll
+%%DATADIR%%/Newtonsoft.Json.dll
+%%DATADIR%%/Owin.dll
+%%DATADIR%%/README.md
+%%DATADIR%%/System.Net.Http.Extensions.dll
+%%DATADIR%%/System.Net.Http.Formatting.dll
+%%DATADIR%%/System.Net.Http.Primitives.dll
+%%DATADIR%%/System.Web.Http.Owin.dll
+%%DATADIR%%/System.Web.Http.Tracing.dll
+%%DATADIR%%/System.Web.Http.dll
+%%DATADIR%%/Upstart.config
+%%DATADIR%%/YamlDotNet.dll