aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/Makefile1
-rw-r--r--net-p2p/sonarr/Makefile33
-rw-r--r--net-p2p/sonarr/distinfo2
-rw-r--r--net-p2p/sonarr/files/sonarr.in29
-rw-r--r--net-p2p/sonarr/pkg-descr3
-rw-r--r--net-p2p/sonarr/pkg-plist151
6 files changed, 219 insertions, 0 deletions
diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index 7fc6824b287e..214fdde3e8e9 100644
--- a/net-p2p/Makefile
+++ b/net-p2p/Makefile
@@ -77,6 +77,7 @@
SUBDIR += rtgui
SUBDIR += rtorrent
SUBDIR += shx
+ SUBDIR += sonarr
SUBDIR += squall
SUBDIR += torrentsniff
SUBDIR += transmission
diff --git a/net-p2p/sonarr/Makefile b/net-p2p/sonarr/Makefile
new file mode 100644
index 000000000000..b0fb571ee750
--- /dev/null
+++ b/net-p2p/sonarr/Makefile
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME= sonarr
+PORTVERSION= 2.0.0.3573
+CATEGORIES= net-p2p
+MASTER_SITES= http://download.sonarr.tv/v2/master/mono/
+DISTNAME= NzbDrone.master.${PORTVERSION}.mono
+
+MAINTAINER= feld@FreeBSD.org
+COMMENT= PVR for Usenet and BitTorrent users
+
+LICENSE= GPLv3
+
+RUN_DEPENDS= mono>0:${PORTSDIR}/lang/mono \
+ mediainfo>0:${PORTSDIR}/multimedia/mediainfo \
+ sqlite3>0:${PORTSDIR}/databases/sqlite3
+
+USE_RC_SUBR= sonarr
+
+NO_BUILD= YES
+WRKSRC= ${WRKDIR}/NzbDrone
+
+USERS= sonarr
+GROUPS= nobody
+
+.include <bsd.port.pre.mk>
+
+do-install:
+ ${INSTALL} -d -m 755 ${STAGEDIR}/${DATADIR}
+ ${CP} -R ${WRKSRC}/ ${STAGEDIR}/${DATADIR}
+ ${MKDIR} ${STAGEDIR}/${PREFIX}/sonarr
+
+.include <bsd.port.post.mk>
diff --git a/net-p2p/sonarr/distinfo b/net-p2p/sonarr/distinfo
new file mode 100644
index 000000000000..80032a9017d4
--- /dev/null
+++ b/net-p2p/sonarr/distinfo
@@ -0,0 +1,2 @@
+SHA256 (NzbDrone.master.2.0.0.3573.mono.tar.gz) = 12888b20f27072fa24541765bf321d9deb4c7d13b4e36c7f165ad8cb36bc6e24
+SIZE (NzbDrone.master.2.0.0.3573.mono.tar.gz) = 6348558
diff --git a/net-p2p/sonarr/files/sonarr.in b/net-p2p/sonarr/files/sonarr.in
new file mode 100644
index 000000000000..fde3afbb8132
--- /dev/null
+++ b/net-p2p/sonarr/files/sonarr.in
@@ -0,0 +1,29 @@
+#!/bin/sh
+#
+# Author: Mark Felder <feld@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+# PROVIDE: sonarr
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+
+# Add the following lines to /etc/rc.conf to enable sonarr:
+# sonarr_enable="YES"
+
+. /etc/rc.subr
+
+name="sonarr"
+rcvar=sonarr_enable
+
+load_rc_config $name
+
+: ${sonarr_enable="NO"}
+
+pidfile=/var/run/sonarr.pid
+procname="%%PREFIX%%/bin/mono"
+command="/usr/sbin/daemon"
+command_args="-f -p ${pidfile} -u sonarr %%PREFIX%%/bin/mono %%DATADIR%%/NzbDrone.exe --nobrowser --data=%%PREFIX%%/sonarr"
+
+run_rc_command "$1"
diff --git a/net-p2p/sonarr/pkg-descr b/net-p2p/sonarr/pkg-descr
new file mode 100644
index 000000000000..6741d5b2e77d
--- /dev/null
+++ b/net-p2p/sonarr/pkg-descr
@@ -0,0 +1,3 @@
+Sonarr is a PVR for Usenet and BitTorrent users.
+
+WWW: https://sonarr.tv
diff --git a/net-p2p/sonarr/pkg-plist b/net-p2p/sonarr/pkg-plist
new file mode 100644
index 000000000000..905acda06d7a
--- /dev/null
+++ b/net-p2p/sonarr/pkg-plist
@@ -0,0 +1,151 @@
+%%DATADIR%%/CookComputing.XmlRpcV2.dll
+%%DATADIR%%/CurlSharp.dll
+%%DATADIR%%/CurlSharp.dll.config
+%%DATADIR%%/CurlSharp.dll.mdb
+%%DATADIR%%/DDay.iCal.dll
+%%DATADIR%%/FluentMigrator.Runner.dll
+%%DATADIR%%/FluentMigrator.Runner.dll.mdb
+%%DATADIR%%/FluentMigrator.dll
+%%DATADIR%%/FluentMigrator.dll.mdb
+%%DATADIR%%/FluentValidation.dll
+%%DATADIR%%/FluentValidation.dll.mdb
+%%DATADIR%%/Growl.Connector.dll
+%%DATADIR%%/Growl.CoreLibrary.dll
+%%DATADIR%%/ICSharpCode.SharpZipLib.dll
+%%DATADIR%%/ImageResizer.dll
+%%DATADIR%%/LogentriesCore.dll
+%%DATADIR%%/LogentriesCore.dll.mdb
+%%DATADIR%%/LogentriesNLog.dll
+%%DATADIR%%/LogentriesNLog.dll.mdb
+%%DATADIR%%/Marr.Data.dll
+%%DATADIR%%/Marr.Data.dll.mdb
+%%DATADIR%%/Microsoft.AspNet.SignalR.Core.dll
+%%DATADIR%%/Microsoft.AspNet.SignalR.Core.dll.mdb
+%%DATADIR%%/Microsoft.AspNet.SignalR.Owin.dll
+%%DATADIR%%/Microsoft.AspNet.SignalR.Owin.dll.mdb
+%%DATADIR%%/Microsoft.Owin.Host.HttpListener.dll
+%%DATADIR%%/Microsoft.Owin.Hosting.dll
+%%DATADIR%%/Microsoft.Owin.dll
+%%DATADIR%%/MonoTorrent.dll
+%%DATADIR%%/MonoTorrent.dll.mdb
+%%DATADIR%%/NLog.dll
+%%DATADIR%%/Nancy.Authentication.Basic.dll
+%%DATADIR%%/Nancy.Authentication.Forms.dll
+%%DATADIR%%/Nancy.Owin.dll
+%%DATADIR%%/Nancy.dll
+%%DATADIR%%/Newtonsoft.Json.dll
+%%DATADIR%%/NzbDrone.Api.dll
+%%DATADIR%%/NzbDrone.Api.dll.mdb
+%%DATADIR%%/NzbDrone.Common.dll
+%%DATADIR%%/NzbDrone.Common.dll.mdb
+%%DATADIR%%/NzbDrone.Core.dll
+%%DATADIR%%/NzbDrone.Core.dll.config
+%%DATADIR%%/NzbDrone.Core.dll.mdb
+%%DATADIR%%/NzbDrone.Host.dll
+%%DATADIR%%/NzbDrone.Host.dll.mdb
+%%DATADIR%%/NzbDrone.Mono.dll
+%%DATADIR%%/NzbDrone.Mono.dll.mdb
+%%DATADIR%%/NzbDrone.SignalR.dll
+%%DATADIR%%/NzbDrone.SignalR.dll.mdb
+%%DATADIR%%/NzbDrone.Update/CurlSharp.dll
+%%DATADIR%%/NzbDrone.Update/CurlSharp.dll.mdb
+%%DATADIR%%/NzbDrone.Update/ICSharpCode.SharpZipLib.dll
+%%DATADIR%%/NzbDrone.Update/LogentriesCore.dll
+%%DATADIR%%/NzbDrone.Update/LogentriesCore.dll.mdb
+%%DATADIR%%/NzbDrone.Update/LogentriesNLog.dll
+%%DATADIR%%/NzbDrone.Update/LogentriesNLog.dll.mdb
+%%DATADIR%%/NzbDrone.Update/NLog.dll
+%%DATADIR%%/NzbDrone.Update/Newtonsoft.Json.dll
+%%DATADIR%%/NzbDrone.Update/NzbDrone.Common.dll
+%%DATADIR%%/NzbDrone.Update/NzbDrone.Common.dll.mdb
+%%DATADIR%%/NzbDrone.Update/NzbDrone.Mono.dll
+%%DATADIR%%/NzbDrone.Update/NzbDrone.Mono.dll.mdb
+%%DATADIR%%/NzbDrone.Update/NzbDrone.Update.exe
+%%DATADIR%%/NzbDrone.Update/NzbDrone.Update.exe.config
+%%DATADIR%%/NzbDrone.Update/NzbDrone.Update.exe.mdb
+%%DATADIR%%/NzbDrone.exe
+%%DATADIR%%/NzbDrone.exe.config
+%%DATADIR%%/NzbDrone.exe.mdb
+%%DATADIR%%/OAuth.dll
+%%DATADIR%%/OAuth.dll.mdb
+%%DATADIR%%/Omu.ValueInjecter.dll
+%%DATADIR%%/Owin.dll
+%%DATADIR%%/Prowlin.dll
+%%DATADIR%%/RestSharp.dll
+%%DATADIR%%/System.Data.SQLite.dll
+%%DATADIR%%/UI/Content/FontAwesome/FontAwesome.otf
+%%DATADIR%%/UI/Content/FontAwesome/fontawesome-webfont.eot
+%%DATADIR%%/UI/Content/FontAwesome/fontawesome-webfont.svg
+%%DATADIR%%/UI/Content/FontAwesome/fontawesome-webfont.ttf
+%%DATADIR%%/UI/Content/FontAwesome/fontawesome-webfont.woff
+%%DATADIR%%/UI/Content/FontAwesome/fontawesome-webfont.woff2
+%%DATADIR%%/UI/Content/Images/404.png
+%%DATADIR%%/UI/Content/Images/background/logo.png
+%%DATADIR%%/UI/Content/Images/favicon-debug.ico
+%%DATADIR%%/UI/Content/Images/favicon.ico
+%%DATADIR%%/UI/Content/Images/logos/128.png
+%%DATADIR%%/UI/Content/Images/logos/32.png
+%%DATADIR%%/UI/Content/Images/logos/48.png
+%%DATADIR%%/UI/Content/Images/logos/64.png
+%%DATADIR%%/UI/Content/Images/poster-dark.png
+%%DATADIR%%/UI/Content/Images/touch/114.png
+%%DATADIR%%/UI/Content/Images/touch/144.png
+%%DATADIR%%/UI/Content/Images/touch/57.png
+%%DATADIR%%/UI/Content/Images/touch/72.png
+%%DATADIR%%/UI/Content/Messenger/messenger.css
+%%DATADIR%%/UI/Content/Messenger/messenger.flat.css
+%%DATADIR%%/UI/Content/_output/UI/Content/activity.css.map
+%%DATADIR%%/UI/Content/_output/UI/Content/addSeries.css.map
+%%DATADIR%%/UI/Content/_output/UI/Content/bootstrap.css.map
+%%DATADIR%%/UI/Content/_output/UI/Content/calendar.css.map
+%%DATADIR%%/UI/Content/_output/UI/Content/cells.css.map
+%%DATADIR%%/UI/Content/_output/UI/Content/info.css.map
+%%DATADIR%%/UI/Content/_output/UI/Content/logs.css.map
+%%DATADIR%%/UI/Content/_output/UI/Content/manualimport.css.map
+%%DATADIR%%/UI/Content/_output/UI/Content/overrides.css.map
+%%DATADIR%%/UI/Content/_output/UI/Content/series.css.map
+%%DATADIR%%/UI/Content/_output/UI/Content/settings.css.map
+%%DATADIR%%/UI/Content/_output/UI/Content/theme.css.map
+%%DATADIR%%/UI/Content/_output/UI/Content/update.css.map
+%%DATADIR%%/UI/Content/activity.css
+%%DATADIR%%/UI/Content/addSeries.css
+%%DATADIR%%/UI/Content/bootstrap.css
+%%DATADIR%%/UI/Content/bootstrap.toggle-switch.css
+%%DATADIR%%/UI/Content/calendar.css
+%%DATADIR%%/UI/Content/cells.css
+%%DATADIR%%/UI/Content/fonts/UbuntuMono-Regular.ttf
+%%DATADIR%%/UI/Content/fonts/opensans-light.eot
+%%DATADIR%%/UI/Content/fonts/opensans-light.ttf
+%%DATADIR%%/UI/Content/fonts/opensans-light.woff
+%%DATADIR%%/UI/Content/fonts/opensans-regular.eot
+%%DATADIR%%/UI/Content/fonts/opensans-regular.ttf
+%%DATADIR%%/UI/Content/fonts/opensans-regular.woff
+%%DATADIR%%/UI/Content/fonts/opensans-semibold.eot
+%%DATADIR%%/UI/Content/fonts/opensans-semibold.ttf
+%%DATADIR%%/UI/Content/fonts/opensans-semibold.woff
+%%DATADIR%%/UI/Content/fonts/ubuntumono-regular.eot
+%%DATADIR%%/UI/Content/fonts/ubuntumono-regular.woff
+%%DATADIR%%/UI/Content/fullcalendar.css
+%%DATADIR%%/UI/Content/info.css
+%%DATADIR%%/UI/Content/logs.css
+%%DATADIR%%/UI/Content/manualimport.css
+%%DATADIR%%/UI/Content/overrides.css
+%%DATADIR%%/UI/Content/robots.txt
+%%DATADIR%%/UI/Content/series.css
+%%DATADIR%%/UI/Content/settings.css
+%%DATADIR%%/UI/Content/theme.css
+%%DATADIR%%/UI/Content/update.css
+%%DATADIR%%/UI/Content/zero.clipboard.swf
+%%DATADIR%%/UI/handlebars.runtime.js
+%%DATADIR%%/UI/index.html
+%%DATADIR%%/UI/login.html
+%%DATADIR%%/UI/main.js
+%%DATADIR%%/UI/main.map
+%%DATADIR%%/UI/oauth.html
+%%DATADIR%%/UI/polyfills.js
+%%DATADIR%%/UI/templates.js
+%%DATADIR%%/UI/vendor.js
+%%DATADIR%%/UI/vendor.map
+%%DATADIR%%/libsqlite3.0.dylib
+%%DATADIR%%/libsqlite3.dylib
+@dir(sonarr,wheel,755) sonarr