Port details on branch 2022Q2 |
- gitolite Access control layer on top of git
- 3.6.12,1 devel =9 3.6.12,1Version of this port present on the latest quarterly branch.
- Maintainer: mat@FreeBSD.org
- Port Added: 2011-07-29 22:17:12
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: libiconv, sudo, lsof, gnupg, subversion
- License: GPLv2
- WWW:
- https://github.com/sitaramc/gitolite
- Description:
- Gitolite is an access control layer on top of git, which allows access control
down to the branch level, including specifying who can and cannot rewind a
given branch.
Gitolite lets you use a single user on a server to host many git repositories
and provide access to many developers, without having to give them real
userids on or shell access to the server. Authentication is most commonly done
using sshd, but you can also use httpd if you prefer.
Gitolite can restrict who can read from (clone/fetch) or write to (push) a
repository. It can also restrict who can push to what branch or tag, which is
very important in a corporate environment.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- gitolite>0:devel/gitolite
- Conflicts:
- CONFLICTS:
- Conflicts Matches:
-
There are no Conflicts Matches for this port. This is usually an error.
- To install the port:
- cd /usr/ports/devel/gitolite/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/gitolite
- pkg install gitolite
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: gitolite
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1596552056
SHA256 (sitaramc-gitolite-v3.6.12_GH0.tar.gz) = 8c55976ed561b8eabf39097b7fcb9c6e8741c2ceea85ef4529a06b1adff850b6
SIZE (sitaramc-gitolite-v3.6.12_GH0.tar.gz) = 203704
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- git>=0 : devel/git
- p5-JSON>=0 : converters/p5-JSON
- perl5>=5.32.r0<5.33 : lang/perl5.32
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for gitolite-3.6.12,1:
CONTRIB=on: Install additional contrib files
DOCS=on: Build and/or install documentation
GITUSER=off: Create git user as gitolite provider
===> Use 'make config' to modify these settings
- Options name:
- devel_gitolite
- USES:
- cpe perl5 shebangfix
- pkg-message:
- If upgrading from < 2.99:
- gitolite v2 -> v3 migration procedures:
WARNING: gitolite v3 is NOT "API" compatible with gitolite v2. Any local
modifications - hooks, scripts, ADCs, etc - must be migrated.
Please refer to [0] or [1] before moving on.
tl;dr:
Run /usr/local/libexec/gitolite/check-g2-compat as your gitolite provider
Backup gitolite-admin repo
Remove old gitolite references (authorized_keys, rc file, gitolite-admin,
~/.gitolite)
Preset rc file
Proceed with final instructions for setup
Push old gitolite-admin repo
[0] http://sitaramc.github.com/gitolite/install.html#migr
[1] http://sitaramc.github.com/gitolite/master-toc.html
- For install:
- Final gitolite setup instructions:
Any ssh user can be a gitolite provider. Simply run the following command as
the user:
/usr/local/bin/gitolite setup -pk /path/to/admin.ssh.key.pub
This will setup up the configuration files and repositories for gitolite.
The admin ssh key allows full access to the gitolite-admin repository where
additional users and repositories can be configured.
By default, the git user is created for use by gitolite.
A quick-install guide can be found in:
/usr/local/share/doc/gitolite/README.markdown
- Master Sites:
|