diff options
author | Matt Turner <mattst88@gentoo.org> | 2022-05-08 16:20:44 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-05-08 16:23:37 -0400 |
commit | 4abc446d0f43a1716653150516cad77f0eeacd76 (patch) | |
tree | 0fb5058a318413f58f2c30c0eed01184d789b724 /dev-vcs | |
parent | dev-python/cppy: Stabilize 1.2.1-r1 ppc, #842408 (diff) | |
download | gentoo-4abc446d0f43a1716653150516cad77f0eeacd76.tar.gz gentoo-4abc446d0f43a1716653150516cad77f0eeacd76.tar.bz2 gentoo-4abc446d0f43a1716653150516cad77f0eeacd76.zip |
dev-vcs/gitolite: Version bump to 3.6.12
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/gitolite/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/gitolite/gitolite-3.6.12.ebuild | 100 |
2 files changed, 101 insertions, 0 deletions
diff --git a/dev-vcs/gitolite/Manifest b/dev-vcs/gitolite/Manifest index c9ae82b79396..f7ed02172682 100644 --- a/dev-vcs/gitolite/Manifest +++ b/dev-vcs/gitolite/Manifest @@ -1,2 +1,3 @@ DIST gitolite-2.3.1.tar.gz 255807 BLAKE2B b51a664d6e786702cad999fa8df6d86f80eb9cc908ed092b55272c59a4bd52145302e638612f1788d68b2445b8c665f025b24c47d50992dd3f6ef2fd6eb63ee7 SHA512 a658104b54ff6668022a6010b961fbe13b8e7a66242d547e0e4cf685574d8a1fd60065112095b0d73b826f6346973cb3a5db307d84fd5aceba852f2ddd0c86ee DIST gitolite-3.6.11.tar.gz 198340 BLAKE2B 9daf1e2cb2ebdca652d87aaa67b433174d35ece2ad859de6c6d6295f453b6fa86d15240e964fdc58fc4ee5b1018b935b7032e6bacef9743487189857782220cd SHA512 7c11b3dfde9ecf9ef66185aab175d78302c42cc24f13e3e855fa27ffaee65b5887bdd7f96b00b6eed944b91af2b86993b284d1a09fe5a5a3cce82acd33631212 +DIST gitolite-3.6.12.tar.gz 203704 BLAKE2B b70bd8108f6c9d0e6d8776ab4338c523b0f27db305974fa40a0e074908302f8a8803fcf2f88a4c3e9972311b400142d7e3f9569d7ebd86f7343e2b70e3701d6e SHA512 f6a7f4daf8a6f73db823a95cd677c1c436e04a05460a239b5844468cf0f3e6f8da1b1cd86d98c84bb8e80e5ca446c9afd0ca221cce622398c0d0a3ce18062c22 diff --git a/dev-vcs/gitolite/gitolite-3.6.12.ebuild b/dev-vcs/gitolite/gitolite-3.6.12.ebuild new file mode 100644 index 000000000000..360ff3ce4bc0 --- /dev/null +++ b/dev-vcs/gitolite/gitolite-3.6.12.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +[[ ${PV} == *9999 ]] && SCM="git-2" +EGIT_REPO_URI="https://github.com/sitaramc/${PN}.git" +EGIT_MASTER=master + +inherit perl-module ${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="" +fi + +LICENSE="GPL-2" +SLOT="0" +IUSE="selinux tools" + +DEPEND=" + dev-lang/perl + >=dev-vcs/git-1.6.6 + virtual/perl-File-Path + virtual/perl-File-Temp +" +RDEPEND=" + ${DEPEND} + acct-group/git + acct-user/git[gitolite] + !app-vim/gitolite-syntax + !dev-vcs/gitolite-gentoo + selinux? ( sec-policy/selinux-gitosis ) + dev-perl/JSON +" + +src_prepare() { + default + echo ${PF} > src/VERSION || die +} + +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 + + insinto /usr/share/vim/vimfiles + doins -r contrib/vim/* + + 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 ../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 + + fperms 0644 ${uexec}/VREF/MERGE-CHECK # It's meant as example only +} + +pkg_postinst() { + local old_ver + for old_ver in ${REPLACING_VERSIONS}; do + if ver_test ${old_ver} -lt "3" ; 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 + done + + # 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 +} |