summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2015-12-16 22:14:32 +0000
committerfeld <feld@FreeBSD.org>2015-12-16 22:14:32 +0000
commit91677cbd2e52388cdd3806184b3dcca08bda3a63 (patch)
treeeb3b3a4cbea99b4938ab892943fbde34f88b07b3
parentdf8d003039282355df6b39dc172a26c70596cbbf (diff)
downloadFreeBSD-ports-91677cbd2e52388cdd3806184b3dcca08bda3a63.zip
FreeBSD-ports-91677cbd2e52388cdd3806184b3dcca08bda3a63.tar.gz
Add net-p2p/sonarr to the ports tree
Sonarr is a PVR for Usenet and BitTorrent users.
-rw-r--r--UIDs2
-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
7 files changed, 221 insertions, 0 deletions
diff --git a/UIDs b/UIDs
index dfafd75..d477097 100644
--- a/UIDs
+++ b/UIDs
@@ -175,6 +175,7 @@ wildfire:*:340:340::0:0:Wildfire Daemon:/nonexistent:/usr/sbin/nologin
stunnel:*:341:341::0:0:Stunnel Daemon:/nonexistent:/usr/sbin/nologin
openfire:*:342:342::0:0:Openfire IM Daemon:/nonexistent:/usr/sbin/nologin
_sabnzbd:*:350:350::0:0:sabnzb Daemon:/nonexistent:/usr/sbin/nologin
+sonarr:*:351:65534::0:0:Sonarr PVR:/nonexistent:/usr/sbin/nologin
_iodined:*:353:353::0:0:Iodine Daemon:/nonexistent:/usr/sbin/nologin
httptunnel:*:361:361::0:0:httptunnel Daemon:/nonexistent:/usr/sbin/nologin
ldap:*:389:389::0:0:OpenLDAP Server:/nonexistent:/usr/sbin/nologin
@@ -186,6 +187,7 @@ varnishlog:*:430:429::0:0:Varnish Log User:/nonexistent:/usr/sbin/nologin
quasselcore:*:442:442::0:0:Quassel IRC User:/nonexistent:/usr/sbin/nologin
callweaver:*:444:444::0:0:Callweaver account:/var/lib/callweaver:/usr/sbin/nologin
ecartis:*:450:450::0:0:Ecartis Listserver:/usr/local/ecartis:/usr/sbin/nologin
+dqcache:*:453:453::0:0:Dqcache Resolver:/nonexistent:/usr/sbin/nologin
courier:*:465:465::0:0:Courier Mail Server:/nonexistent:/usr/sbin/nologin
condor:*:466:466::0:0:& user:/home/condor:/usr/sbin/nologin
netmon:*:467:467::0:0:Network monitor account:/var/netmon:/usr/sbin/nologin
diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index 7fc6824..214fdde 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 0000000..b0fb571
--- /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 0000000..80032a9
--- /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 0000000..fde3afb
--- /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 0000000..6741d5b
--- /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 0000000..905acda
--- /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
OpenPOWER on IntegriCloud