From: Rafael Sadowski Subject: Re: add README-main to net/transmission To: ports@openbsd.org, Colton Lewis Date: Tue, 7 Apr 2026 05:45:00 +0200 On Mon Apr 06, 2026 at 06:03:42PM -0400, Josh Grosse wrote: > On Fri, Apr 03, 2026 at 06:12:35AM -0400, Josh Grosse wrote: > > On Mon, Mar 30, 2026 at 07:41:45PM -0400, Josh Grosse wrote: > > > On Tue, Mar 31, 2026 at 12:25:26AM +0100, Stuart Henderson wrote: > > > > On 2026/03/30 11:01, Josh Grosse wrote: > > > > > +share/examples/login.conf.d/transmission_daemon > > > > > +@sample ${SYSCONFDIR}/login.conf.d/transmission_daemon > > > > > > > > this should use /etc, whatever is done with SYSCONFDIR in a custom > > > > package build, it is the base system that looks at this file and it > > > > doesn't know about any unusual dirs that might come from ports, > > > > so it must always be /etc/login.conf.d > > > > > > > > otherwise OK sthen@ > > > > > > > Thanks for looking at it. That SYSCONFDIR was an artifact > > > of update-plist. This has been corrected in the attached > > > "v3" diff. > > > > Ping. > > Backup ping. Now that naddy@ is recommending slowing the pace > of updates for the next release, I'm hoping this can get reviewed > and committed, as it would solve a problem for Colton, in copy. OK rsadowski > diff --git net/transmission/Makefile net/transmission/Makefile > index 0a76f8c469a..d26bc6ee2c5 100644 > --- net/transmission/Makefile > +++ net/transmission/Makefile > @@ -3,6 +3,7 @@ COMMENT-gtk= BitTorrent client with GTK+ interface > COMMENT-qt= BitTorrent client with Qt interface > > VER= 4.1.1 > +REVISION= 0 > DISTNAME= transmission-${VER} > PKGNAME-main= transmission-${VER} > PKGNAME-gtk= transmission-gtk-${VER} > diff --git net/transmission/pkg/PLIST-main net/transmission/pkg/PLIST-main > index 7710a51aec0..cd97dd81433 100644 > --- net/transmission/pkg/PLIST-main > +++ net/transmission/pkg/PLIST-main > @@ -22,6 +22,7 @@ > @man man/man1/transmission-remote.1 > @man man/man1/transmission-show.1 > @comment share/applications/ > +share/doc/pkg-readmes/${PKGSTEM} > share/doc/transmission/ > share/doc/transmission/AUTHORS > share/doc/transmission/COPYING > @@ -72,6 +73,8 @@ share/doc/transmission/news/news-4.1.1.md > share/doc/transmission/news/news-5.0.0-draft.md > share/doc/transmission/rpc-spec.md > share/doc/transmission/send-email-when-torrent-done.sh > +share/examples/login.conf.d/transmission_daemon > +@sample /etc/login.conf.d/transmission_daemon > @comment share/icons/ > @comment share/icons/hicolor/ > @comment share/icons/hicolor/scalable/ > diff --git net/transmission/pkg/README-main net/transmission/pkg/README-main > new file mode 100644 > index 00000000000..3e3911f5084 > --- /dev/null > +++ net/transmission/pkg/README-main > @@ -0,0 +1,15 @@ > ++------------------------------------------------------------------------------- > +| Running ${PKGSTEM} on OpenBSD > ++------------------------------------------------------------------------------- > + > +System resource limits > +====================== > +When started from rc.d(8) (i.e. via pkg_scripts in rc.conf.local(5) or > +from "${RCDIR}/transmission_daemon start"), the transmission_daemon process > +runs in the login(1) class of "transmission_daemon". You may need to adjust > +the limits in /etc/login.conf.d/transmission_daemon to match your needs. > + > +There is also a kernel limit on the number of open file descriptors, > +sysctl kern.maxfiles. In some circumstances you may also need to raise > +this; if this is required, pay particular attention to testing and > +monitoring your system. > diff --git net/transmission/pkg/transmission_daemon.login net/transmission/pkg/transmission_daemon.login > new file mode 100644 > index 00000000000..17865891ef6 > --- /dev/null > +++ net/transmission/pkg/transmission_daemon.login > @@ -0,0 +1,4 @@ > +transmission_daemon:\ > + :openfiles-cur=512:\ > + :openfiles-max=1024:\ > + :tc=daemon: