# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/gitosis/gitosis-0.2_p20071217.ebuild,v 1.2 2007/12/25 12:24:56 robbat2 Exp $ inherit distutils DESCRIPTION="gitosis -- software for hosting git repositories" HOMEPAGE="http://eagain.net/gitweb/?p=gitosis.git;a=summary" # This is a snapshot taken from the upstream gitweb. MY_PV="20071217-27bd3c9954fa8e4c4a5d900b0e63eaae3f88e64c" MY_PN="${PN}.git" MY_P="${MY_PN}-${MY_PV}" SRC_URI="mirror://gentoo/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64 ~ppc" IUSE="" DEPEND=">=dev-util/git-1.5.3.6 >=dev-python/setuptools-0.6_rc5" RDEPEND="${DEPEND}" S=${WORKDIR}/gitosis.git 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() { #}