diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /dev-vcs/gitolite | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'dev-vcs/gitolite')
-rw-r--r-- | dev-vcs/gitolite/Manifest | 2 | ||||
-rw-r--r-- | dev-vcs/gitolite/gitolite-3.6.12.ebuild | 98 |
2 files changed, 100 insertions, 0 deletions
diff --git a/dev-vcs/gitolite/Manifest b/dev-vcs/gitolite/Manifest index 0b0c0d0cc5db..88b36029a61c 100644 --- a/dev-vcs/gitolite/Manifest +++ b/dev-vcs/gitolite/Manifest @@ -1,5 +1,7 @@ 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 EBUILD gitolite-2.3.1-r2.ebuild 1448 BLAKE2B 5635d6b5666137d57635d399edf6c9d8715f509019848cadaa69f297d7c340361ea2c12e5b22b3f5ecf877cf4e231268142a0e50da25d92defdfec6c3dd3854e SHA512 1a313c4ad8bf4dc6c61c569cdf0ca1ba3f8f566f2156756c6fd3f4881b7330b299f8e6a6e4b1b774dabfb6f271323ea686d093f928d19a69f173362c500baeb2 EBUILD gitolite-3.6.11-r1.ebuild 2287 BLAKE2B 24af50177b11371b4fb2094c14abcaf7a956d65eb5a4c291effa16ad8e3699696e54460719f547e569309ec500ba40cd0861ff7481c8195aab6b10d848efb8a4 SHA512 7cc604adfc2640b91f55920c7fc757b29790bde29ca8c71fe2fea2614090528498e89a0f1f68b08b351312f10d84636b2f002c6624a05e04bc27fa4d80ba95cd +EBUILD gitolite-3.6.12.ebuild 2232 BLAKE2B 25d8c01b2be10e2cd44f34d20092ac74f5ce90f46260f3539b1a76d5e119f9873a56a1b92e07a5cec2e2cc4a4d8a13f70d037e405a17a203c637adbfabbdb625 SHA512 7fed40fe0e4002c7ef7748b0d9bb986d20f176bf01e346a8346c9a8a903c43141e74c8fc8e8976e9eba0dd14a967b5143f30247bd932757f77d5ef0b9389d740 MISC metadata.xml 782 BLAKE2B 4200d317ed8e94aec00251d532408b25ac3b93433f136870bd2d991517eb3360064a5a2514f4d8fa12a53b699107a971aed65ee474d9391b0436c34a85625412 SHA512 e0bec70e3165fb253fa01a57133f5dc592117e8a5679a545902b18266b137bca1083998af8fa771c826a89915cd3c0bb2ea7b848c453bdc740d25a83f595dcc4 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..99fac58cfa00 --- /dev/null +++ b/dev-vcs/gitolite/gitolite-3.6.12.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit perl-module + +DESCRIPTION="Highly flexible server for git directory version tracker" +HOMEPAGE="https://github.com/sitaramc/gitolite" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/sitaramc/${PN}.git" +else + SRC_URI="https://github.com/sitaramc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" +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 +} |