source: www-apps/trac-gitosisplugin/trac-gitosisplugin-1.0.4.ebuild @ 7098cfe

Revision 7098cfe, 1.5 KB checked in by geos_one <geos_one@…>, 10 years ago (diff)

www-apps/trac-gitosisplugin: Bump

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2392 6952d904-891a-0410-993b-d76249ca496b

  • Property mode set to 100644
Line 
1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/www-apps/trac-git/trac-git-8215.ebuild,v 1.2 2010/07/05 11:00:44 hollow Exp $
4
5EAPI="2"
6PYTHON_DEPEND="2"
7SUPPORT_PYTHON_ABIS="1"
8RESTRICT_PYTHON_ABIS="3.*"
9
10inherit distutils git
11
12EGIT_REPO_URI="git://github.com/dr4Ke/TracGitosisPlugin.git"
13DESCRIPTION="partial gitosis administration for Trac"
14HOMEPAGE="http://trac-hacks.org/wiki/TracGitosisPlugin"
15
16LICENSE="GPL-2"
17SLOT="0"
18KEYWORDS="~amd64 ~arm ~x86"
19IUSE=""
20
21DEPEND="dev-python/setuptools"
22RDEPEND=">=www-apps/trac-0.12
23        || ( dev-vcs/gitosis dev-vcs/gitosis-gentoo )"
24
25src_prepare() {
26        git_src_prepare
27        cp -Rv 0.11/* .
28        distutils_src_prepare
29}
30
31pkg_postinst() {
32        elog "To enable the GitosisPlugin plugin in your Trac environments, you have to add:"
33        elog "  [components]"
34        elog "  # for plugin version 0.11.0.1+"
35        elog "  tracgitosis.* = enabled"
36        elog ""
37        elog "to your trac.ini files."
38        elog ""
39        elog "You also have to create a new gitosis-admin user for trac"
40        elog ""
41        elog "  Create the key pair without passphrase"
42        elog "  mkdir /var/www/.ssh"
43        elog "  ssh-keygen -f /var/www/.ssh/id_rsa"
44        elog ""
45        elog "  Connect to the server hosting gitosis once to validate the server identity"
46        elog "  ssh -i /var/www/.ssh/id_rsa -o UserKnownHostsFile=/var/www/.ssh/known_hosts <git_user>@<git_server>"
47        elog ""
48        elog "  Give this directory to the user running Trac (here: apache)"
49        elog "  chown -Rh apache.apache /var/www/.ssh"
50}
Note: See TracBrowser for help on using the repository browser.