# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/gitosis-gentoo/gitosis-gentoo-0.2_p20081028.ebuild,v 1.2 2008/11/24 01:26:33 robbat2 Exp $ inherit distutils DESCRIPTION="gitosis -- software for hosting git repositories, Gentoo fork" HOMEPAGE="http://git.overlays.gentoo.org/gitweb/?p=proj/gitosis-gentoo.git" # This is a snapshot taken from the Gentoo overlays gitweb. MY_PV="20081025-acf867e8cd12f31dcf0f9fff92f3a3c34912b751" MY_P="${PN}-${MY_PV}" SRC_URI="mirror://gentoo/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64 ~ppc" IUSE="" DEPEND_GIT=">=dev-util/git-1.5.6.4" DEPEND="${DEPEND_GIT} >=dev-python/setuptools-0.6_rc5" RDEPEND="${DEPEND} !dev-util/gitosis" S=${WORKDIR}/${MY_P} DOCS="example.conf gitweb.conf lighttpd-gitweb.conf TODO.rst" pkg_setup() { enewgroup git enewuser git -1 /bin/sh /var/spool/gitosis git } src_install() { distutils_src_install keepdir /var/spool/gitosis fowners git:git /var/spool/gitosis } # We should handle more of this, but it requires the input of an SSH public key # from the user, and they may want to set up more configuration first. #pkg_config() { #}