summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Albertson <ramereth@gentoo.org>2010-11-07 00:42:01 +0000
committerLance Albertson <ramereth@gentoo.org>2010-11-07 00:42:01 +0000
commit73b02a082d7db9d8694c106cd49a7837814946cb (patch)
tree7b6f7b92f641929fe8c95a9baa10a941f5da9a06 /dev-vcs/gitolite
parentDelete older ebuilds. (diff)
downloadgentoo-2-73b02a082d7db9d8694c106cd49a7837814946cb.tar.gz
gentoo-2-73b02a082d7db9d8694c106cd49a7837814946cb.tar.bz2
gentoo-2-73b02a082d7db9d8694c106cd49a7837814946cb.zip
initial ebuild for gitolite
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-vcs/gitolite')
-rw-r--r--dev-vcs/gitolite/ChangeLog10
-rw-r--r--dev-vcs/gitolite/gitolite-1.5.7.ebuild59
-rw-r--r--dev-vcs/gitolite/metadata.xml15
3 files changed, 84 insertions, 0 deletions
diff --git a/dev-vcs/gitolite/ChangeLog b/dev-vcs/gitolite/ChangeLog
new file mode 100644
index 000000000000..6da2ee68923d
--- /dev/null
+++ b/dev-vcs/gitolite/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-vcs/gitolite
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitolite/ChangeLog,v 1.1 2010/11/07 00:42:01 ramereth Exp $
+
+*gitolite-1.5.7 (07 Nov 2010)
+
+ 07 Nov 2010; Lance Albertson <ramereth@gentoo.org> +gitolite-1.5.7.ebuild,
+ +metadata.xml:
+ Initial ebuild
+
diff --git a/dev-vcs/gitolite/gitolite-1.5.7.ebuild b/dev-vcs/gitolite/gitolite-1.5.7.ebuild
new file mode 100644
index 000000000000..ed2d2eaae2e7
--- /dev/null
+++ b/dev-vcs/gitolite/gitolite-1.5.7.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitolite/gitolite-1.5.7.ebuild,v 1.1 2010/11/07 00:42:01 ramereth Exp $
+
+EAPI=3
+
+inherit eutils perl-module
+
+DESCRIPTION="Highly flexible server for git directory version tracker"
+HOMEPAGE="http://github.com/sitaramc/gitolite"
+SRC_URI="http://github.com/sitaramc/${PN}/tarball/v${PV} -> ${PN}-git-${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="vim-syntax"
+
+DEPEND="dev-lang/perl
+ >=dev-vcs/git-1.6.2"
+RDEPEND="${DEPEND}
+ !dev-vcs/gitolite-gentoo
+ vim-syntax? ( app-vim/gitolite-syntax )"
+
+pkg_setup() {
+ enewgroup git
+ enewuser git -1 /bin/bash /var/lib/gitolite git
+}
+
+src_prepare() {
+ rm Makefile doc/COPYING
+}
+
+src_unpack() {
+ unpack ${A}
+ mv "${WORKDIR}"/sitaramc-"${PN}"-* "${S}" || die
+}
+
+src_install() {
+ dodir /usr/share/gitolite/{conf,hooks} /usr/bin || die
+ echo "${PF}" > conf/VERSION
+
+ # install using upstream method
+ ./src/gl-system-install "${D}"/usr/bin \
+ "${D}"/usr/share/gitolite/conf "${D}"/usr/share/gitolite/hooks || die
+ dosed "s:${D}::g" usr/bin/gl-setup \
+ usr/share/gitolite/conf/example.gitolite.rc || die
+
+ rm "${D}"/usr/bin/gitolite.pm
+ insinto "${VENDOR_LIB}"
+ doins src/gitolite.pm || die
+
+ dodoc README.mkd doc/*
+ insinto /usr/share/doc/${P}
+ doins -r contrib
+
+ keepdir /var/lib/gitolite
+ fowners git:git /var/lib/gitolite
+ fperms 750 /var/lib/gitolite
+}
diff --git a/dev-vcs/gitolite/metadata.xml b/dev-vcs/gitolite/metadata.xml
new file mode 100644
index 000000000000..ae44e01bb402
--- /dev/null
+++ b/dev-vcs/gitolite/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd></herd>
+ <maintainer>
+ <email>ramereth@gentoo.org</email>
+ <name>Lance Albertson</name>
+ </maintainer>
+ <longdescription lang="en">
+ 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.
+ </longdescription>
+</pkgmetadata>
+