Bug 256694 - net-p2p/rtorrent: drop EXAMPLES, add rc.d script.
Summary: net-p2p/rtorrent: drop EXAMPLES, add rc.d script.
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2021-06-18 14:45 UTC by Ivan Rozhuk
Modified: 2021-06-20 18:01 UTC (History)
1 user (show)

See Also:
dbaio: maintainer-feedback-

patch (4.74 KB, patch)
2021-06-18 14:45 UTC, Ivan Rozhuk
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rozhuk 2021-06-18 14:45:27 UTC
Created attachment 225906 [details]

Add add rc.d script.
Install /doc/rtorrent.rc into ${ETCDIR}/rtorrent.config.sample.
Comment 1 Danilo G. Baio freebsd_committer 2021-06-20 16:55:25 UTC
Thanks for your work.

I don't know, this needs to be executed in daemon mode, and usually, users want to hold everything in a homedir.

What about installing this rc.script as an example and add a message to the pkg-message about it?
Comment 2 Ivan Rozhuk 2021-06-20 17:11:12 UTC
I use it as daemon only with WebUI rutorrent: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239921
It runs as www, www have no home dir on my home server.

If some one do not want run rtorrent as daemon - then do not add rtorrent_enable="YES" in /etc/rc.conf, no need to move rc.d script to examples to prevent daemon start.
Comment 3 Danilo G. Baio freebsd_committer 2021-06-20 18:00:07 UTC
(In reply to rozhuk.im from comment #2)

I know, it was not what I meant.
So, there are other port involved, you can't use the rcscript without that.
Well, at least inform users about that.

I don't have time to dig into this, so I dropped maintainership from rtorrent/libtorrent, don't want to hold your work.
Comment 4 Danilo G. Baio freebsd_committer 2021-06-20 18:01:51 UTC
Open to take.