Permalink
Browse files

gitolite: initial ebuild

(Portage version: 2.1.8.3/git/Linux x86_64)
 (Signed Manifest commit)
  • Loading branch information...
1 parent 79a0a85 commit 7c8aafc9173f70aa5cec4ed4374e1ecaf8591a46 lance committed Aug 27, 2010
Showing with 92 additions and 0 deletions.
  1. +10 −0 dev-vcs/gitolite/ChangeLog
  2. +14 −0 dev-vcs/gitolite/Manifest
  3. +53 −0 dev-vcs/gitolite/gitolite-1.5.5.ebuild
  4. +15 −0 dev-vcs/gitolite/metadata.xml
View
10 dev-vcs/gitolite/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-vcs/gitolite
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*gitolite-1.5.5 (27 Aug 2010)
+
+ 27 Aug 2010; Lance Albertson <ramereth@gentoo.org> +gitolite-1.5.5.ebuild,
+ +metadata.xml:
+ Initial ebuild
+
View
14 dev-vcs/gitolite/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST gitolite-git-1.5.5.tgz 136991 RMD160 6de7f040aba25488633e02b68d5dc7d796f2ebd6 SHA1 9f45d497caa2c15baea28dfd4cdf63152ec0d181 SHA256 1d4a3c7aed1a25bd8a72ac053226f0176e7693e99b6e80902c4e0eefae0bddc0
+EBUILD gitolite-1.5.5.ebuild 1203 RMD160 22fbffc32b57deaa1dfa8f9cb8cd6bce2df436ed SHA1 4c5be17cd009ec07e19e7f6036f14456faaf9eaf SHA256 8f72c42af7ccd3a40940d47c29f3cf6ce4fa350aba2abb6b027c6ca396990720
+MISC ChangeLog 260 RMD160 b07d8d9edc336340bbd8b1a9ab07f850ff3464f4 SHA1 843725f501d8ad1b01a972c7eed611a6f9e62488 SHA256 460779adc41c10a933b381dbe546aeda769800485b90ac51ac83ee1f1d753d2c
+MISC metadata.xml 472 RMD160 b83381e17eaa172670a01dd2640ac1275152e65d SHA1 5b30cd1881b41550d1ed78b397733c9a24ff230f SHA256 f73f9da430150c63839a5aced481de7bbf00463e6ff149f4ad2d7f3b118cb1e2
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iD8DBQFMd1qnQW+hXSf0t0IRAsbKAKCNIehZf9cHu23WZBljKwm/SLICJgCfeX3B
+6cFVJ6sAjNkvd2AVC5xWJJU=
+=2anq
+-----END PGP SIGNATURE-----
View
53 dev-vcs/gitolite/gitolite-1.5.5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+
+inherit eutils
+
+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=""
+
+DEPEND="dev-lang/perl
+ >=dev-vcs/git-1.6.2"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ enewgroup git
+ enewuser git -1 /bin/bash /var/lib/gitolite git
+}
+
+src_unpack() {
+ unpack ${A}
+ mv "${WORKDIR}"/sitaramc-"${PN}"-* "${S}" || die
+}
+
+src_prepare() {
+ rm Makefile doc/COPYING
+}
+
+src_install() {
+ dodir /usr/share/gitolite/{conf,hooks} /usr/bin
+ echo "${PF}" > conf/VERSION
+
+ # install using upstream method
+ "${S}"/src/gl-system-install "${D}"/usr/bin \
+ "${D}"/usr/share/gitolite/conf "${D}"/usr/share/gitolite/hooks
+ dosed "s:\/var\/tmp\/portage\/dev-vcs\/${P}\/image\/::g" \
+ usr/bin/gl-setup usr/share/gitolite/conf/example.gitolite.rc
+
+ 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
+}
View
15 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>
+

0 comments on commit 7c8aafc

Please sign in to comment.