summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2018-12-21 11:23:53 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2018-12-29 16:56:30 -0800
commit696373300f73d1874121ba9e2b4b02f89d4d4c6a (patch)
treeb8620d35eea0a370984c9077faab4cc494641c4e /dev-vcs/gitolite
parentdev-vcs/gitolite: bump (diff)
downloadgentoo-696373300f73d1874121ba9e2b4b02f89d4d4c6a.tar.gz
gentoo-696373300f73d1874121ba9e2b4b02f89d4d4c6a.tar.bz2
gentoo-696373300f73d1874121ba9e2b4b02f89d4d4c6a.zip
dev-vcs/gitolite: cleanup
Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'dev-vcs/gitolite')
-rw-r--r--dev-vcs/gitolite/Manifest4
-rw-r--r--dev-vcs/gitolite/gitolite-3.6.1.ebuild82
-rw-r--r--dev-vcs/gitolite/gitolite-3.6.2-r1.ebuild95
-rw-r--r--dev-vcs/gitolite/gitolite-3.6.2.ebuild82
-rw-r--r--dev-vcs/gitolite/gitolite-3.6.4-r1.ebuild96
-rw-r--r--dev-vcs/gitolite/gitolite-3.6.4.ebuild96
-rw-r--r--dev-vcs/gitolite/gitolite-3.6.5.ebuild96
7 files changed, 0 insertions, 551 deletions
diff --git a/dev-vcs/gitolite/Manifest b/dev-vcs/gitolite/Manifest
index a7b7742f828..0247bfb60b8 100644
--- a/dev-vcs/gitolite/Manifest
+++ b/dev-vcs/gitolite/Manifest
@@ -1,10 +1,6 @@
DIST gitolite-2.3.1.tar.gz 255807 BLAKE2B b51a664d6e786702cad999fa8df6d86f80eb9cc908ed092b55272c59a4bd52145302e638612f1788d68b2445b8c665f025b24c47d50992dd3f6ef2fd6eb63ee7 SHA512 a658104b54ff6668022a6010b961fbe13b8e7a66242d547e0e4cf685574d8a1fd60065112095b0d73b826f6346973cb3a5db307d84fd5aceba852f2ddd0c86ee
-DIST gitolite-3.6.1.tar.gz 165506 BLAKE2B 82c7eaaf6f05475eba5e0cf51c88190783e3342a0c6caacae22be4210d06a8040245274c8f9ad819cef40370c4b5d02be2f36daa42433427ada88b49da1502ff SHA512 b568f9e96ddfa4cd482197a89cb0142fcb2717028227a0a2e9caa9864bb95379042ec464352a1d99dfd8ccff780b1211e8f926ad8de284245fc280038eda481a
DIST gitolite-3.6.10.tar.gz 198151 BLAKE2B 492732f92594871ac834ebd60eb24d7d6a07bcc1c66e35ef0963113d89a3e92204937c9c19342658eafe6a645fbaad3f0b830184b77f0298e5ab1422783f0a8e SHA512 a17fcc4922abdf3a03ebf83cae94501d142ad22cbf3ed3bdeb4b382d5e545a6b94fc3d33e402594565e29436ab5f54e498a285b4c1c814f8c475f9b1dcb5463d
-DIST gitolite-3.6.2.tar.gz 167670 BLAKE2B 83f26069751f3a75a51cafa484d2d77239bc49f82a62418d84fe0863e66031de66fa062319a841dacb9bafa0be7c2fefab3be890118334222a8d64f1112871e0 SHA512 f8f041fde1b7c533fcb9cc32beec99dd83bc0a81795115e7205585bbe2f25135e2347df437e123349525a0186fe702f265330b259d336389b437cecf0e894629
DIST gitolite-3.6.3.tar.gz 174689 BLAKE2B bf58c4991d4bb9b578b983854dcd5011d55f05515a13781910327bd07aa00ab7426367f5c084341326742796266f5648ce5470dec5247b74bc850f5cfa327c93 SHA512 afb8bcf27052d46725c4b3a6dd483e98ac3e574651bfe2ee35b442f044791acae8a17cbbab4237992a9755367e37f5160514d67cd2d863d623d32ed5fdf39362
-DIST gitolite-3.6.4.tar.gz 180619 BLAKE2B 183769c8dce0d4fcba10ad57b29b56913493b3f44f2f606d7ea2bd704c225658a55760022ac9ebbf82875c2c74a561770e80e2f8dc375158765a8e069a0f9fd2 SHA512 7c709372f66c4620109824191d6bf736b1066d74e5acd481fa552a6f010a38d6d7d17629a92fe7b944b43c6cac864db80217cefadc0e3a6dbf63530cff89cd6d
-DIST gitolite-3.6.5.tar.gz 182496 BLAKE2B 478bed0642886ee8b79b1e6c2091482a43663a644c46758ef3c9c55308b10bfa4c4608456e24214bad04607c49487df213e5bff84abb5529c9b0759c39f9288b SHA512 60796663a87c2b169c08e4e26edfb76408428887d3e932677f4ca95a8c7f82e9e300a7400d3d900c371628b23972be063444b7c036218f6ff0ab13626a886f90
DIST gitolite-3.6.6.tar.gz 183469 BLAKE2B 91b1b04820f8abe427c7d6a81131a9fce1ff3df8d06c3f1d7515ead91b654048ef24b391fc28f2fe9c6dd0e502e24064a55b5fee8c1da34e3d07974c8f203c26 SHA512 1529330ed2afa315fcb650c55d515e5d4b61921f46b4d763a759537434492959f100d2219ab7673e568d46f397a25a45d4388fe3827ea988333fc8719820f8bc
DIST gitolite-3.6.7.tar.gz 186298 BLAKE2B 32ccedce5cfe877d69f66ccc354300b1b363de0ac16bf8ec6d97010441d1e5a95e63252c833604d7e4e5b90dd4d84b4e262ee5ed092df80631e7478500e3da97 SHA512 d22bf5c34834f82df771e6d4527496a302da312f7f78dfe81c1284f5a1ea05de90ec217e03e94918d69a006a72fa16dc0006b1f555826ad6183d9dce2dd9d425
DIST gitolite-3.6.8.tar.gz 197551 BLAKE2B 9788c06885fc7fc8edf422080628f465b33dea2aec8090daf330206041e4776bbae7189b343fc604b0959be556a15016d656b4df133f784d55bc7a6b701ad8ef SHA512 f65d4e4354079f868c9f9a943efb84ad4e29f96c69a3792c13dda383dac0133baa3d93925967c6be71e923b27e0ad91b57b5f1245cf64eeec0f0b719cbda4270
diff --git a/dev-vcs/gitolite/gitolite-3.6.1.ebuild b/dev-vcs/gitolite/gitolite-3.6.1.ebuild
deleted file mode 100644
index 30a7fda7883..00000000000
--- a/dev-vcs/gitolite/gitolite-3.6.1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit perl-module user versionator
-
-DESCRIPTION="Highly flexible server for git directory version tracker"
-HOMEPAGE="https://github.com/sitaramc/gitolite"
-SRC_URI="https://github.com/sitaramc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="tools vim-syntax"
-
-DEPEND="dev-lang/perl
- virtual/perl-File-Path
- virtual/perl-File-Temp
- >=dev-vcs/git-1.6.6"
-RDEPEND="${DEPEND}
- !dev-vcs/gitolite-gentoo
- vim-syntax? ( app-vim/gitolite-syntax )
- dev-perl/JSON"
-
-pkg_setup() {
- enewgroup git
- enewuser git -1 /bin/sh /var/lib/gitolite git
-}
-
-src_prepare() {
- echo $PF > src/VERSION
-}
-
-src_install() {
- local uexec=/usr/libexec/${PN}
-
- rm -rf src/lib/Gitolite/Test{,.pm}
- insinto $VENDOR_LIB
- doins -r src/lib/Gitolite
-
- dodoc README.txt CHANGELOG
-
- insopts -m0755
- insinto $uexec
- doins -r src/{commands,syntactic-sugar,triggers,VREF}/
-
- insopts -m0644
- doins src/VERSION
-
- exeinto $uexec
- doexe src/gitolite{,-shell}
-
- dodir /usr/bin
- for bin in gitolite{,-shell}; do
- dosym /usr/libexec/${PN}/${bin} /usr/bin/${bin}
- done
-
- if use tools; then
- dobin check-g2-compat convert-gitosis-conf
- fi
-
- keepdir /var/lib/gitolite
- fowners git:git /var/lib/gitolite
- fperms 750 /var/lib/gitolite
-
- fperms 0644 ${uexec}/VREF/MERGE-CHECK # It's meant as example only
-}
-
-pkg_postinst() {
- if [[ "$(get_major_version $REPLACING_VERSIONS)" == "2" ]]; then
- ewarn
- elog "***NOTE*** This is a major upgrade and will likely break your existing gitolite-2.x setup!"
- elog "Please read http://gitolite.com/gitolite/migr/index.html first!"
- fi
-
- # bug 352291
- ewarn
- elog "Please make sure that your 'git' user has the correct homedir (/var/lib/gitolite)."
- elog "Especially if you're migrating from gitosis."
- ewarn
-}
diff --git a/dev-vcs/gitolite/gitolite-3.6.2-r1.ebuild b/dev-vcs/gitolite/gitolite-3.6.2-r1.ebuild
deleted file mode 100644
index a1fb9c6b9da..00000000000
--- a/dev-vcs/gitolite/gitolite-3.6.2-r1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-[[ ${PV} == *9999 ]] && SCM="git-2"
-EGIT_REPO_URI="https://github.com/sitaramc/${PN}.git"
-EGIT_MASTER=master
-
-inherit perl-module user versionator ${SCM}
-
-DESCRIPTION="Highly flexible server for git directory version tracker"
-HOMEPAGE="https://github.com/sitaramc/gitolite"
-if [[ ${PV} != *9999 ]]; then
- SRC_URI="https://github.com/sitaramc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~x86"
-else
- SRC_URI=""
- KEYWORDS=""
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="tools vim-syntax"
-
-DEPEND="dev-lang/perl
- virtual/perl-File-Path
- virtual/perl-File-Temp
- >=dev-vcs/git-1.6.6"
-RDEPEND="${DEPEND}
- !dev-vcs/gitolite-gentoo
- vim-syntax? ( app-vim/gitolite-syntax )
- dev-perl/JSON"
-
-pkg_setup() {
- enewgroup git
- enewuser git -1 /bin/sh /var/lib/gitolite git
-}
-
-src_prepare() {
- echo $PF > src/VERSION
-}
-
-src_install() {
- local uexec=/usr/libexec/${PN}
-
- rm -rf src/lib/Gitolite/Test{,.pm}
- insinto $VENDOR_LIB
- doins -r src/lib/Gitolite
-
- dodoc README.markdown CHANGELOG
- # These are meant by upstream as examples, you are strongly recommended to
- # customize them for your needs.
- dodoc contrib/utils/ipa_groups.pl contrib/utils/ldap_groups.sh
-
- insopts -m0755
- insinto $uexec
- doins -r src/{commands,syntactic-sugar,triggers,VREF}/
- doins -r contrib/{commands,triggers}
-
- insopts -m0644
- doins src/VERSION
-
- exeinto $uexec
- doexe src/gitolite{,-shell}
-
- dodir /usr/bin
- for bin in gitolite{,-shell}; do
- dosym /usr/libexec/${PN}/${bin} /usr/bin/${bin}
- done
-
- if use tools; then
- dobin check-g2-compat convert-gitosis-conf
- dobin contrib/utils/rc-format-v3.4
- fi
-
- keepdir /var/lib/gitolite
- fowners git:git /var/lib/gitolite
- fperms 750 /var/lib/gitolite
-
- fperms 0644 ${uexec}/VREF/MERGE-CHECK # It's meant as example only
-}
-
-pkg_postinst() {
- if [[ "$(get_major_version $REPLACING_VERSIONS)" == "2" ]]; then
- ewarn
- elog "***NOTE*** This is a major upgrade and will likely break your existing gitolite-2.x setup!"
- elog "Please read http://gitolite.com/gitolite/migr/index.html first!"
- fi
-
- # bug 352291
- ewarn
- elog "Please make sure that your 'git' user has the correct homedir (/var/lib/gitolite)."
- elog "Especially if you're migrating from gitosis."
- ewarn
-}
diff --git a/dev-vcs/gitolite/gitolite-3.6.2.ebuild b/dev-vcs/gitolite/gitolite-3.6.2.ebuild
deleted file mode 100644
index 10f8ddcbf3f..00000000000
--- a/dev-vcs/gitolite/gitolite-3.6.2.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit perl-module user versionator
-
-DESCRIPTION="Highly flexible server for git directory version tracker"
-HOMEPAGE="https://github.com/sitaramc/gitolite"
-SRC_URI="https://github.com/sitaramc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="tools vim-syntax"
-
-DEPEND="dev-lang/perl
- virtual/perl-File-Path
- virtual/perl-File-Temp
- >=dev-vcs/git-1.6.6"
-RDEPEND="${DEPEND}
- !dev-vcs/gitolite-gentoo
- vim-syntax? ( app-vim/gitolite-syntax )
- dev-perl/JSON"
-
-pkg_setup() {
- enewgroup git
- enewuser git -1 /bin/sh /var/lib/gitolite git
-}
-
-src_prepare() {
- echo $PF > src/VERSION
-}
-
-src_install() {
- local uexec=/usr/libexec/${PN}
-
- rm -rf src/lib/Gitolite/Test{,.pm}
- insinto $VENDOR_LIB
- doins -r src/lib/Gitolite
-
- dodoc README.markdown CHANGELOG
-
- insopts -m0755
- insinto $uexec
- doins -r src/{commands,syntactic-sugar,triggers,VREF}/
-
- insopts -m0644
- doins src/VERSION
-
- exeinto $uexec
- doexe src/gitolite{,-shell}
-
- dodir /usr/bin
- for bin in gitolite{,-shell}; do
- dosym /usr/libexec/${PN}/${bin} /usr/bin/${bin}
- done
-
- if use tools; then
- dobin check-g2-compat convert-gitosis-conf
- fi
-
- keepdir /var/lib/gitolite
- fowners git:git /var/lib/gitolite
- fperms 750 /var/lib/gitolite
-
- fperms 0644 ${uexec}/VREF/MERGE-CHECK # It's meant as example only
-}
-
-pkg_postinst() {
- if [[ "$(get_major_version $REPLACING_VERSIONS)" == "2" ]]; then
- ewarn
- elog "***NOTE*** This is a major upgrade and will likely break your existing gitolite-2.x setup!"
- elog "Please read http://gitolite.com/gitolite/migr/index.html first!"
- fi
-
- # bug 352291
- ewarn
- elog "Please make sure that your 'git' user has the correct homedir (/var/lib/gitolite)."
- elog "Especially if you're migrating from gitosis."
- ewarn
-}
diff --git a/dev-vcs/gitolite/gitolite-3.6.4-r1.ebuild b/dev-vcs/gitolite/gitolite-3.6.4-r1.ebuild
deleted file mode 100644
index 928bbe83926..00000000000
--- a/dev-vcs/gitolite/gitolite-3.6.4-r1.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-[[ ${PV} == *9999 ]] && SCM="git-2"
-EGIT_REPO_URI="https://github.com/sitaramc/${PN}.git"
-EGIT_MASTER=master
-
-inherit perl-module user versionator ${SCM}
-
-DESCRIPTION="Highly flexible server for git directory version tracker"
-HOMEPAGE="https://github.com/sitaramc/gitolite"
-if [[ ${PV} != *9999 ]]; then
- SRC_URI="https://github.com/sitaramc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~x86"
-else
- SRC_URI=""
- KEYWORDS=""
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="selinux tools vim-syntax"
-
-DEPEND="dev-lang/perl
- virtual/perl-File-Path
- virtual/perl-File-Temp
- >=dev-vcs/git-1.6.6"
-RDEPEND="${DEPEND}
- !dev-vcs/gitolite-gentoo
- selinux? ( sec-policy/selinux-gitosis )
- vim-syntax? ( app-vim/gitolite-syntax )
- dev-perl/JSON"
-
-pkg_setup() {
- enewgroup git
- enewuser git -1 /bin/sh /var/lib/gitolite git
-}
-
-src_prepare() {
- echo $PF > src/VERSION
-}
-
-src_install() {
- local uexec=/usr/libexec/${PN}
-
- rm -rf src/lib/Gitolite/Test{,.pm}
- insinto $VENDOR_LIB
- doins -r src/lib/Gitolite
-
- dodoc README.markdown CHANGELOG
- # These are meant by upstream as examples, you are strongly recommended to
- # customize them for your needs.
- dodoc contrib/utils/ipa_groups.pl contrib/utils/ldap_groups.sh
-
- insopts -m0755
- insinto $uexec
- doins -r src/{commands,syntactic-sugar,triggers,VREF}/
- doins -r contrib/{commands,triggers,hooks}
-
- insopts -m0644
- doins src/VERSION
-
- exeinto $uexec
- doexe src/gitolite{,-shell}
-
- dodir /usr/bin
- for bin in gitolite{,-shell}; do
- dosym /usr/libexec/${PN}/${bin} /usr/bin/${bin}
- done
-
- if use tools; then
- dobin check-g2-compat convert-gitosis-conf
- dobin contrib/utils/rc-format-v3.4
- fi
-
- keepdir /var/lib/gitolite
- fowners git:git /var/lib/gitolite
- fperms 750 /var/lib/gitolite
-
- fperms 0644 ${uexec}/VREF/MERGE-CHECK # It's meant as example only
-}
-
-pkg_postinst() {
- if [[ "$(get_major_version $REPLACING_VERSIONS)" == "2" ]]; then
- ewarn
- elog "***NOTE*** This is a major upgrade and will likely break your existing gitolite-2.x setup!"
- elog "Please read http://gitolite.com/gitolite/migr/index.html first!"
- fi
-
- # bug 352291
- ewarn
- elog "Please make sure that your 'git' user has the correct homedir (/var/lib/gitolite)."
- elog "Especially if you're migrating from gitosis."
- ewarn
-}
diff --git a/dev-vcs/gitolite/gitolite-3.6.4.ebuild b/dev-vcs/gitolite/gitolite-3.6.4.ebuild
deleted file mode 100644
index 26ef161375f..00000000000
--- a/dev-vcs/gitolite/gitolite-3.6.4.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-[[ ${PV} == *9999 ]] && SCM="git-2"
-EGIT_REPO_URI="https://github.com/sitaramc/${PN}.git"
-EGIT_MASTER=master
-
-inherit perl-module user versionator ${SCM}
-
-DESCRIPTION="Highly flexible server for git directory version tracker"
-HOMEPAGE="https://github.com/sitaramc/gitolite"
-if [[ ${PV} != *9999 ]]; then
- SRC_URI="https://github.com/sitaramc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~x86"
-else
- SRC_URI=""
- KEYWORDS=""
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="selinux tools vim-syntax"
-
-DEPEND="dev-lang/perl
- virtual/perl-File-Path
- virtual/perl-File-Temp
- >=dev-vcs/git-1.6.6"
-RDEPEND="${DEPEND}
- !dev-vcs/gitolite-gentoo
- selinux? ( sec-policy/selinux-gitosis )
- vim-syntax? ( app-vim/gitolite-syntax )
- dev-perl/JSON"
-
-pkg_setup() {
- enewgroup git
- enewuser git -1 /bin/sh /var/lib/gitolite git
-}
-
-src_prepare() {
- echo $PF > src/VERSION
-}
-
-src_install() {
- local uexec=/usr/libexec/${PN}
-
- rm -rf src/lib/Gitolite/Test{,.pm}
- insinto $VENDOR_LIB
- doins -r src/lib/Gitolite
-
- dodoc README.markdown CHANGELOG
- # These are meant by upstream as examples, you are strongly recommended to
- # customize them for your needs.
- dodoc contrib/utils/ipa_groups.pl contrib/utils/ldap_groups.sh
-
- insopts -m0755
- insinto $uexec
- doins -r src/{commands,syntactic-sugar,triggers,VREF}/
- doins -r contrib/{commands,triggers}
-
- insopts -m0644
- doins src/VERSION
-
- exeinto $uexec
- doexe src/gitolite{,-shell}
-
- dodir /usr/bin
- for bin in gitolite{,-shell}; do
- dosym /usr/libexec/${PN}/${bin} /usr/bin/${bin}
- done
-
- if use tools; then
- dobin check-g2-compat convert-gitosis-conf
- dobin contrib/utils/rc-format-v3.4
- fi
-
- keepdir /var/lib/gitolite
- fowners git:git /var/lib/gitolite
- fperms 750 /var/lib/gitolite
-
- fperms 0644 ${uexec}/VREF/MERGE-CHECK # It's meant as example only
-}
-
-pkg_postinst() {
- if [[ "$(get_major_version $REPLACING_VERSIONS)" == "2" ]]; then
- ewarn
- elog "***NOTE*** This is a major upgrade and will likely break your existing gitolite-2.x setup!"
- elog "Please read http://gitolite.com/gitolite/migr/index.html first!"
- fi
-
- # bug 352291
- ewarn
- elog "Please make sure that your 'git' user has the correct homedir (/var/lib/gitolite)."
- elog "Especially if you're migrating from gitosis."
- ewarn
-}
diff --git a/dev-vcs/gitolite/gitolite-3.6.5.ebuild b/dev-vcs/gitolite/gitolite-3.6.5.ebuild
deleted file mode 100644
index 928bbe83926..00000000000
--- a/dev-vcs/gitolite/gitolite-3.6.5.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-[[ ${PV} == *9999 ]] && SCM="git-2"
-EGIT_REPO_URI="https://github.com/sitaramc/${PN}.git"
-EGIT_MASTER=master
-
-inherit perl-module user versionator ${SCM}
-
-DESCRIPTION="Highly flexible server for git directory version tracker"
-HOMEPAGE="https://github.com/sitaramc/gitolite"
-if [[ ${PV} != *9999 ]]; then
- SRC_URI="https://github.com/sitaramc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~arm ~x86"
-else
- SRC_URI=""
- KEYWORDS=""
-fi
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="selinux tools vim-syntax"
-
-DEPEND="dev-lang/perl
- virtual/perl-File-Path
- virtual/perl-File-Temp
- >=dev-vcs/git-1.6.6"
-RDEPEND="${DEPEND}
- !dev-vcs/gitolite-gentoo
- selinux? ( sec-policy/selinux-gitosis )
- vim-syntax? ( app-vim/gitolite-syntax )
- dev-perl/JSON"
-
-pkg_setup() {
- enewgroup git
- enewuser git -1 /bin/sh /var/lib/gitolite git
-}
-
-src_prepare() {
- echo $PF > src/VERSION
-}
-
-src_install() {
- local uexec=/usr/libexec/${PN}
-
- rm -rf src/lib/Gitolite/Test{,.pm}
- insinto $VENDOR_LIB
- doins -r src/lib/Gitolite
-
- dodoc README.markdown CHANGELOG
- # These are meant by upstream as examples, you are strongly recommended to
- # customize them for your needs.
- dodoc contrib/utils/ipa_groups.pl contrib/utils/ldap_groups.sh
-
- insopts -m0755
- insinto $uexec
- doins -r src/{commands,syntactic-sugar,triggers,VREF}/
- doins -r contrib/{commands,triggers,hooks}
-
- insopts -m0644
- doins src/VERSION
-
- exeinto $uexec
- doexe src/gitolite{,-shell}
-
- dodir /usr/bin
- for bin in gitolite{,-shell}; do
- dosym /usr/libexec/${PN}/${bin} /usr/bin/${bin}
- done
-
- if use tools; then
- dobin check-g2-compat convert-gitosis-conf
- dobin contrib/utils/rc-format-v3.4
- fi
-
- keepdir /var/lib/gitolite
- fowners git:git /var/lib/gitolite
- fperms 750 /var/lib/gitolite
-
- fperms 0644 ${uexec}/VREF/MERGE-CHECK # It's meant as example only
-}
-
-pkg_postinst() {
- if [[ "$(get_major_version $REPLACING_VERSIONS)" == "2" ]]; then
- ewarn
- elog "***NOTE*** This is a major upgrade and will likely break your existing gitolite-2.x setup!"
- elog "Please read http://gitolite.com/gitolite/migr/index.html first!"
- fi
-
- # bug 352291
- ewarn
- elog "Please make sure that your 'git' user has the correct homedir (/var/lib/gitolite)."
- elog "Especially if you're migrating from gitosis."
- ewarn
-}