blob: 1b874eee0c6996c478f4bff9df8f8a9716a1cf3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/gitosis/gitosis-0.2_p20080319.ebuild,v 1.1 2008/04/04 07:13:30 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="20080319-4d8ba7788d10e62928404b0272de241580e00e92"
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}
!dev-util/gitosis-gentoo"
S=${WORKDIR}/gitosis
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() {
#}
|