Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Dec 2015 22:10:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 205441] Suggestions for net-p2p/sonarr port
Message-ID:  <bug-205441-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205441

            Bug ID: 205441
           Summary: Suggestions for net-p2p/sonarr port
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: feld@FreeBSD.org
          Reporter: joshruehlig@gmail.com
             Flags: maintainer-feedback?(feld@FreeBSD.org)
          Assignee: feld@FreeBSD.org

Created attachment 164395
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=164395&action=edit
Diff for the rc.d file

Here are some suggested changes for the net-p2p/sonarr port. I also included a
diff.
Thanks

1) Allow sonarr's daemon user be an rc.conf option. This allows users to more
easily run sonarr as a different user for interaction with other programs, for
example transmission or sabnzbd.
This also allows running the daemon process as this user without having to set
it in 'command_args'.

2) Allow sonarr's data-directory to be an rc.conf option, and default this to
/var/db/sonarr.
>From the reference I believe PREFIX should only be for port installed files
(bin/lib/share...) and configurations (etc). I personally always put metadata
directories (files the program is managing) in /var/db/PORTNAME. This is the
case with the plexmediaserver, emby-server, syncthing, and btsync ports.
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/install.html

3) Use the pidfile the sonarr program creates and manages. I don't see a need
to have the daemon program create another one when the program does this
already.

4) Use LOCALBASE instead of PREFIX for called dependencies. I was told this is
the best way to do this for the emby-server port, not sure why.

5) Set XDG_CONFIG_HOME to a directory the sonarr user can write to. If this
isn't set it will try to write to .mono in its home directory (which doesn't
exist) and will experience application lockups.
https://forums.freenas.org/index.php?threads/sonarr-plugin-gui-update-issues.27711/
https://forums.sonarr.tv/t/gui-update-issues/4195

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205441-13>