[Bug 205283] [NEW PORT] devel/gogs: Painless self-hosted Git service

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 31 10:31:13 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205283

--- Comment #34 from idefix at fechner.net ---
There seems to be a problem in the created package.
I compiled it and it is available at:
http://pkg.fechner.net/packages/102amd64-default/All/gogs-0.8.25.txz

I had to install it with pkg install -f gogs as version number logic changes
from gogs: 0.151216 -> 0.8.25.

But the installation shows an error message:
Checking integrity... done (0 conflicting)
[1/1] Downgrading gogs from 0.151216 to 0.8.25...
You may need to manually remove /usr/local/etc/gogs.ini if it is no longer
needed.
==> You should manually remove the "gogs" user.
===> Creating users and/or groups.
Using existing group 'gogs'.
Using existing user 'gogs'.
usage: install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
               [-M log] [-D dest] [-h hash] [-T tags]
               [-B suffix] [-l linkflags] [-N dbdir]
               file1 file2
       install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner]
               [-M log] [-D dest] [-h hash] [-T tags]
               [-B suffix] [-l linkflags] [-N dbdir]
               file1 ... fileN directory
       install -dU [-vU] [-g group] [-m mode] [-N dbdir] [-o owner]
               [-M log] [-D dest] [-h hash] [-T tags]
               directory ...
pkg: PRE-INSTALL script failed
[1/1] Extracting gogs-0.8.25: 100%
Message from gogs-0.8.25:
======================================================================
You installed gogs: Go Git Service.

It is recommended to run gogs as a service:
# service gogs start

To enable the service at startup you should add this line to /etc/rc.conf:
gogs_enable="YES"

You can also run gogs manually with a command:
# gogs

Connect to gogs on the default port 3000:
http://localhost:3000

Configuration file is /usr/local/etc/gogs.ini. You can only edit it
when gogs isn't running.

Gogs needs an SSH daemon, so make sure this line is in /etc/rc.conf:
sshd_enable="YES"
and sshd is configured to listen on the same port that is configured
in gogs.
======================================================================

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


More information about the freebsd-ports-bugs mailing list