1 # Template file for 'gitea'
6 go_import_path="code.gitea.io/gitea"
7 # This could be done with build options, but these are built in with the
8 # following justification.
9 # * bindata: running with things not all in the binary is not a
10 # supported distribution format by the gitea upstream developers.
11 # That mode is only supported for development of gitea within the
13 # * sqlite: this is likely the database that everyone will use. Only
14 # particularly large installations will want to go through the
15 # effort of setting up a real database server.
16 # * pam: PAM allows for authentication to varied external sources.
17 # Internal authentication supports the local database, OpenID, and
18 # LDAP, but basic other auth sources such as Kerberos and more
19 # exotic authenticators require PAM support to be useable.
20 # * tidb: This is an alternate database engine for users who would
21 # rather not use SQLite3 for some reason. It is also potentially
22 # more resiliant to corrupted writes.
23 go_build_tags="bindata sqlite pam tidb"
24 hostmakedepends="go-bindata"
25 makedepends="sqlite-devel pam-devel"
27 short_desc="Git with a cup of Tea"
28 maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
30 homepage="https://gitea.io"
31 changelog="https://github.com/go-gitea/gitea/blob/master/CHANGELOG.md"
32 distfiles="https://github.com/go-gitea/gitea/archive/v${version}.tar.gz"
33 checksum=93b1e8fbad78dffada0736a26760eda175169771a065ca8a101cfa0ed70ed310
35 system_accounts="_gitea"
36 _gitea_homedir="/var/lib/gitea"
37 make_dirs="/var/lib/gitea 0755 _gitea _gitea
38 /var/log/gitea 0755 _gitea root"
39 conf_files="/etc/gitea.conf"
50 vinstall custom/conf/app.ini.sample 0640 /etc gitea.conf