commit:     dfe3600842933a734fc0481b97e4861a7d938b77
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 19 22:11:54 2015 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Thu Nov 19 23:21:45 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfe36008

dev-vcs/gitolite-gentoo: bump.

Package-Manager: portage-2.2.24

 dev-vcs/gitolite-gentoo/Manifest                   |   2 +
 .../gitolite-gentoo/gitolite-gentoo-3.6.4.1.ebuild | 106 +++++++++++++++++++++
 .../gitolite-gentoo/gitolite-gentoo-3.6.4.ebuild   | 106 +++++++++++++++++++++
 3 files changed, 214 insertions(+)

diff --git a/dev-vcs/gitolite-gentoo/Manifest b/dev-vcs/gitolite-gentoo/Manifest
index 0418691..3bc6fdb 100644
--- a/dev-vcs/gitolite-gentoo/Manifest
+++ b/dev-vcs/gitolite-gentoo/Manifest
@@ -8,3 +8,5 @@ DIST gitolite-gentoo-3.6.2.3.tar.bz2 143658 SHA256 
cfc0329d930513d99dc6c52bb4ecb
 DIST gitolite-gentoo-3.6.2.4.tar.bz2 143564 SHA256 
37153036346a7efded1eacfbc11740319dc8b398c27479a2c2cef3a8327a81f7 SHA512 
ec5e62822687b1293348107df003e3c3c4a3aad9b4f461e09410aef993bb464a176daee81223ae952159572db7158267fd90b90cbc877c4be2a9fdc2ecc87fb7
 WHIRLPOOL 
6f7be9a57dfe30c452abe3f084adef61123e409a48ba110fb726ae91cb02a1cadb8e36f23d0d84be6c8d3392baba3af81215d8e9436ed0e130e618d85d52938d
 DIST gitolite-gentoo-3.6.3.2.tar.bz2 148655 SHA256 
b43c0c781053656a65d25fd7f47e1a9827079e95e8c7274a287288f62e229a36 SHA512 
deed5379316e5fc3d33b7131eb64f7850004b34e034dd37417796dafbc9c038d92f4002f8d9c2066a0859bb1052669a378e8a66387f27eed10c6ca5a73e04623
 WHIRLPOOL 
aa97eca62c77f8b42652c8c53a95068048b4f75f4778fecb4279a7e8648c78479c80aa5475c3cb84d939c6a951ed732cdf11b9dfba910d2af61c38ddad4fa314
 DIST gitolite-gentoo-3.6.3.tar.bz2 147531 SHA256 
6689cfedb258f61206777eaa83d388eacb670d66384f9294474440d4669f08eb SHA512 
4c4f40cf608ea78f76c39701880e53e2f6486fc37478818f5b4f0946fcd9ffe30ef122463b7b6b48a0a9931271fe7ef7aecf6bf23bbce45f36cd1e217e5ec45a
 WHIRLPOOL 
7d7d1a060c9f8d7124df59cdcca9f1cf0a1bc37c2ca3a32c278f122b0b3c9f17c8d7ea2fb58151bc19c2f44f3745d4a82a3ff19ba2ff8e44675b0ba2b39187c8
+DIST gitolite-gentoo-3.6.4.1.tar.bz2 151771 SHA256 
352c51f437733f6f79a35c13c207a0f46002c41b97e47cdb06325b58e0b359a5 SHA512 
5eec313199f9d757be2c357ae07d8e3a8f7b82dd684a40024a33ec3f3d8806fd0cac7f57fcc740be888285343d965fa2497fccb971d24b0082c772cf1cb1655f
 WHIRLPOOL 
dba9907af26aa1677a87d7fb89e6d9533ef751254f3c3a53acc4ac49cc3932ab29014c51f89099e21bcef1c3f835ffccbe80aa1e0f94649236a1507ae6281438
+DIST gitolite-gentoo-3.6.4.tar.bz2 151879 SHA256 
7f567bfc92d9ed55505b7fde71a7903a0b3351007b358de84f98e96ed54a4187 SHA512 
dcb926f747ce43942c5678390bf0649061d4f779d416fc09980ab8a9b169a9604596f6b7800432636f43707c83aac61472df26cfb1c66cc85d1ff8eaa4db2c19
 WHIRLPOOL 
ca1187b4896b2a1f1364e9525ddcd607a705a2ac6331fd670799c1d89f42d76407abe69999d0f87e887e460fbefc470e60afafd9d02db273c5331ecd71fda0ff

diff --git a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.4.1.ebuild 
b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.4.1.ebuild
new file mode 100644
index 0000000..3087b2a
--- /dev/null
+++ b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.4.1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+[[ ${PV} == *9999 ]] && SCM="git-2"
+EGIT_REPO_URI="git://git.gentoo.org/proj/gitolite-gentoo"
+EGIT_MASTER=master
+
+inherit perl-module user versionator ${SCM}
+
+DESCRIPTION="Highly flexible server for git directory version tracker, Gentoo 
fork"
+HOMEPAGE="https://cgit.gentoo.org/proj/gitolite-gentoo.git";
+if [[ ${PV} != *9999 ]]; then
+       SRC_URI="mirror://gentoo/${P}.tar.bz2"
+       KEYWORDS="~amd64 ~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
+       vim-syntax? ( app-vim/gitolite-syntax )
+       selinux? ( sec-policy/selinux-gitosis )
+       >=dev-perl/Net-SSH-AuthorizedKeysFile-0.17
+       dev-perl/JSON"
+
+pkg_setup() {
+       enewgroup git
+       enewuser git -1 /bin/sh /var/lib/gitolite git
+}
+
+src_prepare() {
+       echo "${PF}-gentoo" > 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.html first!"
+               ewarn
+               elog "***NOTE*** If you're using the \"umask\" feature of 
${PN}-2.x:"
+               elog "You'll have to replace each \"umask = ...\" option by 
\"option umask = ...\""
+               elog "And you'll also have to enable the \"RepoUmask\" module 
in your .gitolite.rc"
+               ewarn
+       fi
+
+       # bug 352291
+       gitolite_home=$(awk -F: '$1 == "git" { print $6 }' /etc/passwd)
+       if [ -n "${gitolite_home}" -a "${gitolite_home}" != "/var/lib/gitolite" 
]; then
+               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
+       fi
+}

diff --git a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.4.ebuild 
b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.4.ebuild
new file mode 100644
index 0000000..3087b2a
--- /dev/null
+++ b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.4.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+[[ ${PV} == *9999 ]] && SCM="git-2"
+EGIT_REPO_URI="git://git.gentoo.org/proj/gitolite-gentoo"
+EGIT_MASTER=master
+
+inherit perl-module user versionator ${SCM}
+
+DESCRIPTION="Highly flexible server for git directory version tracker, Gentoo 
fork"
+HOMEPAGE="https://cgit.gentoo.org/proj/gitolite-gentoo.git";
+if [[ ${PV} != *9999 ]]; then
+       SRC_URI="mirror://gentoo/${P}.tar.bz2"
+       KEYWORDS="~amd64 ~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
+       vim-syntax? ( app-vim/gitolite-syntax )
+       selinux? ( sec-policy/selinux-gitosis )
+       >=dev-perl/Net-SSH-AuthorizedKeysFile-0.17
+       dev-perl/JSON"
+
+pkg_setup() {
+       enewgroup git
+       enewuser git -1 /bin/sh /var/lib/gitolite git
+}
+
+src_prepare() {
+       echo "${PF}-gentoo" > 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.html first!"
+               ewarn
+               elog "***NOTE*** If you're using the \"umask\" feature of 
${PN}-2.x:"
+               elog "You'll have to replace each \"umask = ...\" option by 
\"option umask = ...\""
+               elog "And you'll also have to enable the \"RepoUmask\" module 
in your .gitolite.rc"
+               ewarn
+       fi
+
+       # bug 352291
+       gitolite_home=$(awk -F: '$1 == "git" { print $6 }' /etc/passwd)
+       if [ -n "${gitolite_home}" -a "${gitolite_home}" != "/var/lib/gitolite" 
]; then
+               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
+       fi
+}

Reply via email to