On Tue, Mar 21, 2017 at 02:46:48PM +0300, Pavel Korovin wrote: > On 03/17, Daniel Jakots wrote: > > > > Here's a diff to update gitea to 1.1.0. ChangeLog is quite long and it > > says: > > > > Hi Daniel, > Works fine for me as well, thank you! > > You forgot to allocate the user/group id for _gitea user in > $PORTSDIR/infrastructure/db/user.list, and 787 is already allocated: > > 787 _dnsdist _dnsdist net/dnsdist > > Please consider adding _gitea entry in user.list and change the gitea userid > in PLIST so there's no clash. > > Do you use it with ssh? If not, do you consider the default configuration > should allow ssh connections? > I found the defaults quite misleading with system's default sshd, gitea's SSH > port set to 2222, _gitea home set to /nonexistent and shell set to > /sbin/nologin. ssh won't work this way. > > Maybe we'd better use OpenBSD's default port 22 and > @newgroup _gitea:788 > @newuser _gitea:788:_gitea:daemon:Gitea Account:/var/gitea:/usr/local/bin/bash > > ?
No, the port 2222 is used by the builtin SSH server (for git). If the program doesn't need a shell, then nologin the correct there. -- Juan Francisco Cantero Hurtado http://juanfra.info