pkgsrc/devel/gitolite/Makefile
ryoon 68670dc137 Import gitolite-2.2 as devel/gitolite
Gitolite is an SSH-based gatekeeper providing access control for
a server that hosts many git repositories. Without gitolite, each
developer needing to push to one of the repositories hosted would
need a user account on that server; gitolite lets you do that just
using SSH public keys tied to a single, common, user that hosts
all the repositories.

Gitolite can restrict who can read (clone/fetch) from or write
(push) to a repository, and who can push to what branch or tag -
an important issue in corporate environments. Other features include:

* access control by branch-name or by modified file/directory;
* per-developer "personal namespace" prefixes;
* simple but powerful configuration file syntax (with validation);
* config files (and authority for maintaining them) can be split;
* easy integration with gitweb;
* comprehensive logging;
* easy migration from gitosis.
2011-11-20 19:11:49 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2011/11/20 19:11:49 ryoon Exp $
#
DISTNAME= sitaramc-gitolite-v2.2-0-g15b17d7
PKGNAME= gitolite-2.2
CATEGORIES= devel net
MASTER_SITES= -https://github.com/sitaramc/gitolite/tarball/v2.2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/sitaramc/gitolite/wiki
COMMENT= Gitolite allows you to host Git repositories easily and securely
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= scmgit-base-[0-9]*:../../devel/scmgit-base
USE_LANGUAGES= # none
USE_TOOLS+= perl bash
# Force using "curl" for fetching the distribution file. It is only available
# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
FETCH_USING= curl
WRKSRC= ${WRKDIR}/sitaramc-gitolite-0ffadc1
NO_BUILD= yes
REPLACE_PERL= src/gl-* src/sshkeys-lint hooks/common/update
REPLACE_BASH= src/gl-* hooks/common/*
do-install:
${RM} ${WRKSRC}/src/gl-system-install.orig
${WRKSRC}/src/gl-system-install ${PREFIX}/bin \
${PREFIX}/share/gitolite/conf ${PREFIX}/share/gitolite/hooks \
${DESTDIR}
.include "../../mk/bsd.pkg.mk"