Changeset 9230c18


Ignore:
Timestamp:
08/31/2010 06:13:04 PM (10 years ago)
Author:
geos_one <geos_one@…>
Branches:
master
Children:
2f6ed66
Parents:
8cd2e77
git-author:
geos_one <geos_one@…> (08/31/2010 06:13:04 PM)
git-committer:
geos_one <geos_one@…> (08/31/2010 06:13:04 PM)
Message:

www-apps/trac-gitosisplugin: add postinst section

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

Location:
www-apps/trac-gitosisplugin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • www-apps/trac-gitosisplugin/ChangeLog

    r8cd2e77 r9230c18  
    22# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 
    33# $Header: $ 
     4 
     5  31 Aug 2010; Mario Fetka <mario.fetka@gmail.com> 
     6  trac-gitosisplugin-1.0.2.ebuild: 
     7  add postinst section 
    48 
    59  31 Aug 2010; Mario Fetka <mario.fetka@gmail.com> 
  • www-apps/trac-gitosisplugin/Manifest

    r8cd2e77 r9230c18  
    1 EBUILD trac-gitosisplugin-1.0.2.ebuild 794 RMD160 56a8dfb09e7e92b7b61107acb89602cf0e7cfe96 SHA1 43b2da488c2b3e168bbc8285cae1eea848597189 SHA256 45b657cbce885c615dd784d03a94f371147f34525929159b461b5f4858038df3 
    2 MISC ChangeLog 345 RMD160 dfca823db9b33f5364470ddae3d1eda7d55cbf0e SHA1 de08715e586f2b678c205c21ac01c75770bbe04b SHA256 4efd0948dd433b9e3aed69f530727692ba0cdd4eb8fdcd4aef21f5f61f201297 
     1EBUILD trac-gitosisplugin-1.0.2.ebuild 1594 RMD160 3df38e5f413be15ce5c2fb573867d07dd5619eae SHA1 04c5e1acb74e01123125c0adbc5d9287287d9462 SHA256 3237d1dbff8231410457ae4a798d84a1dc2bf974e4e3f716d0ae32a0d47b7306 
     2MISC ChangeLog 455 RMD160 356a8ad3763d8f475b371f5c34b667a6963eedbc SHA1 2ae01c4ea2a4fec3fe92975c4abfb368a03b8b8f SHA256 f48818d29f82c01fe2027b3c4ac2051d577c6cbe9bfb62379e4786e4593ee9ac 
    33MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 
  • www-apps/trac-gitosisplugin/trac-gitosisplugin-1.0.2.ebuild

    r8cd2e77 r9230c18  
    1919IUSE="" 
    2020 
    21 DEPEND="dev-python/setuptools 
    22         app-arch/unzip" 
     21DEPEND="dev-python/setuptools" 
    2322RDEPEND=">=www-apps/trac-0.12 
    2423        || ( dev-vcs/gitosis dev-vcs/gitosis-gentoo )" 
    2524 
    26 S="${WORKDIR}/gitosisplugin/0.11" 
     25src_prepare() { 
     26        git_src_prepare 
     27        cp -Rv 0.11/* . 
     28        distutils_src_prepare 
     29} 
    2730 
    2831src_install() { 
     
    3033        rm -f "${D}"/usr/{README,COPYING} 
    3134} 
     35 
     36pkg_postinst() { 
     37        elog "To enable the GitosisPlugin plugin in your Trac environments, you have to add:" 
     38        elog "  [components]" 
     39        elog "  # for plugin version 0.11.0.1+" 
     40        elog "  tracgitosis.* = enabled" 
     41        elog "" 
     42        elog "to your trac.ini files." 
     43        elog "" 
     44        elog "You also have to create a new gitosis-admin user for trac" 
     45        elog "" 
     46        elog "  Create the key pair without passphrase" 
     47        elog "  mkdir /var/www/.ssh" 
     48        elog "  ssh-keygen -f /var/www/.ssh/id_rsa" 
     49        elog "" 
     50        elog "  Connect to the server hosting gitosis once to validate the server identity" 
     51        elog "  ssh -i /var/www/.ssh/id_rsa -o UserKnownHostsFile=/var/www/.ssh/known_hosts <git_user>@<git_server>" 
     52        elog "" 
     53        elog "  Give this directory to the user running Trac (here: apache)" 
     54        elog "  chown -Rh apache.apache /var/www/.ssh" 
     55} 
Note: See TracChangeset for help on using the changeset viewer.