diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-vcs/gitolite |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-vcs/gitolite')
-rw-r--r-- | dev-vcs/gitolite/Manifest | 25 | ||||
-rw-r--r-- | dev-vcs/gitolite/files/gitolite-3.6.6-fix-shebang.patch | 23 | ||||
-rw-r--r-- | dev-vcs/gitolite/gitolite-2.3.1-r1.ebuild | 72 | ||||
-rw-r--r-- | dev-vcs/gitolite/gitolite-3.6.1.ebuild | 82 | ||||
-rw-r--r-- | dev-vcs/gitolite/gitolite-3.6.2-r1.ebuild | 95 | ||||
-rw-r--r-- | dev-vcs/gitolite/gitolite-3.6.2.ebuild | 82 | ||||
-rw-r--r-- | dev-vcs/gitolite/gitolite-3.6.3.ebuild | 96 | ||||
-rw-r--r-- | dev-vcs/gitolite/gitolite-3.6.4-r1.ebuild | 96 | ||||
-rw-r--r-- | dev-vcs/gitolite/gitolite-3.6.4.ebuild | 96 | ||||
-rw-r--r-- | dev-vcs/gitolite/gitolite-3.6.5.ebuild | 96 | ||||
-rw-r--r-- | dev-vcs/gitolite/gitolite-3.6.6.ebuild | 99 | ||||
-rw-r--r-- | dev-vcs/gitolite/gitolite-3.6.7.ebuild | 99 | ||||
-rw-r--r-- | dev-vcs/gitolite/gitolite-3.6.ebuild | 82 | ||||
-rw-r--r-- | dev-vcs/gitolite/gitolite-9999.ebuild | 96 | ||||
-rw-r--r-- | dev-vcs/gitolite/metadata.xml | 21 |
15 files changed, 1160 insertions, 0 deletions
diff --git a/dev-vcs/gitolite/Manifest b/dev-vcs/gitolite/Manifest new file mode 100644 index 000000000000..4142f9920cff --- /dev/null +++ b/dev-vcs/gitolite/Manifest @@ -0,0 +1,25 @@ +AUX gitolite-3.6.6-fix-shebang.patch 731 SHA256 3776efd2a39f06df67307d437a26ff25330eb70e7e5a967fa355f2eb0f4a5aaf SHA512 dfffd0a7ef37e01edc690bba13f39edb4a751684addc1cfae8248c59fe48a59e51232ba21a1a9f1056756dcd6b51f04375f6652085f2dccad1f55073751bc105 WHIRLPOOL 7e2ba81e9d182bbf0770938390c2c25e308f88245852a7a37cc0f3dc36b0486d407fcb05918ebc792ab2022f8e04e5d8df0da11f8f239b4e21d1d2fca747f6a1 +DIST gitolite-2.3.1.tar.gz 255807 SHA256 53303fea0154914356830202d3de23f94682bab26197ead8ca05d58818c56e82 SHA512 a658104b54ff6668022a6010b961fbe13b8e7a66242d547e0e4cf685574d8a1fd60065112095b0d73b826f6346973cb3a5db307d84fd5aceba852f2ddd0c86ee WHIRLPOOL 5d08b9c22e6a07478836cca3b7190b61729ef89e181e4746286a4cf48f253fe07647b165f22483d983bae1767d83b39f231414dc96b4e803140f64eb244fc241 +DIST gitolite-3.6.1.tar.gz 165506 SHA256 7ee03d715cc4d87c0b6dbca5d79daf6f50f657ab33b99da256d7ab02cefe3f6a SHA512 b568f9e96ddfa4cd482197a89cb0142fcb2717028227a0a2e9caa9864bb95379042ec464352a1d99dfd8ccff780b1211e8f926ad8de284245fc280038eda481a WHIRLPOOL 9101ba55ba1a94b53ba3e9421d170d5b650e3e72c390abb3aea186630638b4fa6b8a5d69d9553ed574444be00f263dabcfe11e63f89f2eb3787ab8765e67c4ce +DIST gitolite-3.6.2.tar.gz 167670 SHA256 012c372b53d765558131ae0df23a590d41b042c8b88e38e952992caf52fc4fbf SHA512 f8f041fde1b7c533fcb9cc32beec99dd83bc0a81795115e7205585bbe2f25135e2347df437e123349525a0186fe702f265330b259d336389b437cecf0e894629 WHIRLPOOL 319a4d91950ad123fd9cd76c1bb0a2afc44843b42a8ff0309aef9eee0f15ae9b830286cd1040219ff7cd1c93e0818f9e0191e34b3f41037ea165a4e0d850601c +DIST gitolite-3.6.3.tar.gz 174689 SHA256 9b20eb6ae84358c5f063b02da64e49bef4605c9bfc7fb3700a2766dba58b9d99 SHA512 afb8bcf27052d46725c4b3a6dd483e98ac3e574651bfe2ee35b442f044791acae8a17cbbab4237992a9755367e37f5160514d67cd2d863d623d32ed5fdf39362 WHIRLPOOL 8f2495b9cc462760632e58cdfeec3759070fcaad9f7c31faab13bb72de5e680967cba10ed5a79841f81fd257b056d520a36415619107f15919787711628ce9c8 +DIST gitolite-3.6.4.tar.gz 180619 SHA256 15b19181dcc00233e4d031f07d769cf930e93963a925a71d684748068f38dd63 SHA512 7c709372f66c4620109824191d6bf736b1066d74e5acd481fa552a6f010a38d6d7d17629a92fe7b944b43c6cac864db80217cefadc0e3a6dbf63530cff89cd6d WHIRLPOOL 2896dbb669dd71ee4cf184c90e9b87b7d69588789cfc16c5bcd26f3defb64a6812c8493df5e769a9a0c434f92b17d48ccccb9dd5c56507239a176a6832a66908 +DIST gitolite-3.6.5.tar.gz 182496 SHA256 15f367591cc6782cde8b0b8c2206ada5714e83998b96de61838d64ff0878f876 SHA512 60796663a87c2b169c08e4e26edfb76408428887d3e932677f4ca95a8c7f82e9e300a7400d3d900c371628b23972be063444b7c036218f6ff0ab13626a886f90 WHIRLPOOL dcc5b7ebf64fb9334d5062e9dd0c7b678ea4b1bc0d014b636a8bc346e9931888e43e32d7a21fe4b10528a0f6657e6ed5e0185427ba6cfd5e32d964ab5627f1a4 +DIST gitolite-3.6.6.tar.gz 183469 SHA256 6971db70cf1393bf864cab569adbbd2a71f777f095d13447079a2463901b031f SHA512 1529330ed2afa315fcb650c55d515e5d4b61921f46b4d763a759537434492959f100d2219ab7673e568d46f397a25a45d4388fe3827ea988333fc8719820f8bc WHIRLPOOL 2c7bcf70d908b3af5c8152fc29b57101757e280e1235faf91270053cc0e05d1b2dc67a6f6d36193ff53d2db3f0ee73b90ef53fdc0be7f3ba42daa2e1633595db +DIST gitolite-3.6.7.tar.gz 186298 SHA256 f75d15bb438986b77bd8aeda7839dcd3624ae9d09dbfce245c00b906de8dbdc5 SHA512 d22bf5c34834f82df771e6d4527496a302da312f7f78dfe81c1284f5a1ea05de90ec217e03e94918d69a006a72fa16dc0006b1f555826ad6183d9dce2dd9d425 WHIRLPOOL 41c3485a634834e6eeb8cafd7f35340960f41de62286c8fb1076739fad735c6b15a2b396708682fc11de5fd80edc5c8c6a6c972fd802db72edef0357d355eda9 +DIST gitolite-3.6.tar.gz 156481 SHA256 ae9180a180a05cad344788eadc8340d6ebcb4cc60d96a1f5ab5fc355d395ba4b SHA512 91606a5fed202f0da2194310bc7da8e5d35cdfa2924b009ed3447ba41e2fd856b9043f1b57d16600ec44f17d640e9ee988b4086bea032827bf5fca83e5ff024f WHIRLPOOL 79b3a553dd25db9a3e99d7725c0932bb0b126f30bd013b9cc53d69f60d0c906eac4134b25f6759d9635e50df3324d731f16c30fb44c25e89df7e35560a3e00b1 +EBUILD gitolite-2.3.1-r1.ebuild 1647 SHA256 350d4dcfe84d3399eb19af37782d7d85e087117cbf44a30db90aa1b8c2fb9a92 SHA512 77347b4575a9236a5e259e9c67eb29ecd023092c2713ca45d8871af2303222d827296405168126f7f88ff45c8bcb96427325391801baa5740a90b2548bb25da4 WHIRLPOOL 3c9d374c3cfc66738c28ee4be450fd3b85b52929914e41aca47541a37bdcb5337d8d55a04acbf9bd35cfaa010ff308a6814414cf6d7cafb3c3c5b901ab2efe8f +EBUILD gitolite-3.6.1.ebuild 1868 SHA256 0489bc387632efdde0db6ae4d3daa416f4ca7fd1250672429d081bdfc818e926 SHA512 816b9b4f1dbb13bc08de4511c8770b3ca0e43487793ffc06cb4b2579d0339c6b2c7d51c18e474bbdcdce7a6c7ffcd1cc1803d9b4b5ce5d23780efd354fb22788 WHIRLPOOL f462b8f9f587033f79fcbcf92e6cd7c5bfd593304a2393e16798ef9558b00c7830ab24f60cc4ea6537eab7c6bec558efadfb1df89af9e50e9301fde224c9e462 +EBUILD gitolite-3.6.2-r1.ebuild 2303 SHA256 34fcc80b20a9d2c1980f22941dd5e06db6e99f04142a0b1218a52062eacba1e8 SHA512 0b529e19c8b8efe3f18d80dddb91fad5103b93f87f58a891e488bfd29162718eb08549071686faee6871fd693996930ac76cebe10f67819e476785b8883ddb59 WHIRLPOOL 97497fc4398d2df826d407b8c9274bdfab4eb96255ebf301c9561fa62ebab7000988e55c9a8077910ab4b90234fd3599bede28d4a4acb1057cc8467398d6fa3b +EBUILD gitolite-3.6.2.ebuild 1873 SHA256 5153861127863cf20c2c047d69c39d42146ab0055e40485eee73ac5152092ee6 SHA512 c5e562c9db575a053afeb98146c61bd2c05f4f478e49b1581d61b716916af47234548ecc1d8b043388d991a3adde1d8a6cffcbcff83fbc060d1deac9973da50a WHIRLPOOL 989c81749a6ef062ed648763e1881bbc567909376f5e891a56ac14e23542a607beb046eb742b6cf172e5bf55f6697406f9af1de0c58e291ac5945caf1405a12e +EBUILD gitolite-3.6.3.ebuild 2350 SHA256 76f1a941079bcf2291eb4332d917d9702b04cbfb37a84f7813ba08f77e7f6b1a SHA512 c0a6ba41dc2854d273f780b4f59f9350d660e18861ea6153d4e42ae05235db16caeb10c2ae7f13a462eeb370b8e4e6879d7336949e4563d9d507848581e98d83 WHIRLPOOL 5da79898272d738988448b7ad31d65e82ddffd05ac168492395e51e358c0c19a950747b8a49d20f6e428ab7b3ef1bb466596973e2fd0f3b2d0fc18805d95d0a0 +EBUILD gitolite-3.6.4-r1.ebuild 2358 SHA256 1b110b078702135a1972cfebe3bc95ea44c990dddd0e7f02dd31044091ee5bdf SHA512 f86cf6dbe5ea43932dc240868d5c5f098484cc4585ca1b5a21ab657f665d866ac44c87152dd386fff35e0833e5e3d7a66934c481d3dd31f087bc24d243b71111 WHIRLPOOL 6f3649b3492c9a7161cff6a4628e0c03bbc750161c42e7932fc223e67b266a6645a17eaf77b0da66054bc61f546c00e54fc9ddf5a01e509c29d6d3b5ecb79887 +EBUILD gitolite-3.6.4.ebuild 2352 SHA256 118436136d879a8453e86b5b189c112161f3a4e2351eb4b6bfb1e6c06f2b189b SHA512 ecab29b2a31c6bb98d76c7daff75f0b7df25396c84787dd235da65c16390ceb4c35c96e9d263559f20ea3bd450346bd3599a5c87aa52226304d3e66df45610fc WHIRLPOOL f93e2027c260055253be63e1c6bf9c2d84c75ddfa84a8d9fa58aef83aa9b5cb6c26fee8e068634777dbe495cb5bbc7c4c42f25413fb79224b23c098a386bbaed +EBUILD gitolite-3.6.5.ebuild 2358 SHA256 1b110b078702135a1972cfebe3bc95ea44c990dddd0e7f02dd31044091ee5bdf SHA512 f86cf6dbe5ea43932dc240868d5c5f098484cc4585ca1b5a21ab657f665d866ac44c87152dd386fff35e0833e5e3d7a66934c481d3dd31f087bc24d243b71111 WHIRLPOOL 6f3649b3492c9a7161cff6a4628e0c03bbc750161c42e7932fc223e67b266a6645a17eaf77b0da66054bc61f546c00e54fc9ddf5a01e509c29d6d3b5ecb79887 +EBUILD gitolite-3.6.6.ebuild 2431 SHA256 fdba89971ae591e8d8b7244b73644dd4c439dc098cb5d8a93fd245cf7208c824 SHA512 8b4cf676c8a3434e97962301be3608b7ea10b48e8b5f0f8d185b274c1d9e2bc3d6f7c046879d2b825d16bdc5d514d9c790caa6bb4922b1a1d5a5827a17858c3d WHIRLPOOL 2386d9612c9292f2d4f3d9047dfde9534eeb6fe5f8d57f6cdb98d2e779e2f51a3d645dfe31b967a4c0dfb6673ad7b795cc45ca5fee4475b9350f914e9d0b24a0 +EBUILD gitolite-3.6.7.ebuild 2398 SHA256 c24664302412171efc3c14a5c3ed788c32d7cdc59235659163e0517d2cfbc3ee SHA512 1584babccb49c0d491bc749d804bf6ff5e3c4adcb1dfdf80d04d577a076e11315ceec5989f7e9be0e410b86b450aa8637d2cca177a75216a66bcc8577a28384b WHIRLPOOL 83459e6036b33dca7e63109868a7c379e4df19c47feb75b521566988fe9ce1181ab08e9cd3131bf4e47fce042b2283ef1146f6de8365a0262c28693d9c77de88 +EBUILD gitolite-3.6.ebuild 1866 SHA256 541bca9f93f13ce3929b0bebfcefd04b550e6bb2c1df267d6e8653bdaadb5220 SHA512 be5e90a8996a7c9f433d28e975de5d1a462fe57b134f903572069c43a373f81b6ba4253395f62b66e467a8b3de4e8036b6db37dac3dae9b1c1d4cacc94365b58 WHIRLPOOL 0d8c4964c5ba2f121d6c186153513b503fe5f66f68ec6490bb725080b537904bc975f67cdab9b287590083ead12504d164e5350a27f1bb8ebdca7281e208e462 +EBUILD gitolite-9999.ebuild 2358 SHA256 1b110b078702135a1972cfebe3bc95ea44c990dddd0e7f02dd31044091ee5bdf SHA512 f86cf6dbe5ea43932dc240868d5c5f098484cc4585ca1b5a21ab657f665d866ac44c87152dd386fff35e0833e5e3d7a66934c481d3dd31f087bc24d243b71111 WHIRLPOOL 6f3649b3492c9a7161cff6a4628e0c03bbc750161c42e7932fc223e67b266a6645a17eaf77b0da66054bc61f546c00e54fc9ddf5a01e509c29d6d3b5ecb79887 +MISC ChangeLog 3864 SHA256 074442c50cf76a6062a45e930b5dbb4fe686359d7fe4da8b9f1438fa467b7b95 SHA512 e1921d11419242a36ddf58ef9861f90f5c27d895a35af6dfd1aa7cb7ba1b832d2d022b9899e6f9acfd95cba9aaaadff5cb4812183f1e40af1fa847c1b4488e85 WHIRLPOOL 0b6e340eda1084f3009d3af2382214cdf163894537752fc059c6b94e48391f0b96b597eeac1aa8a09925a296ac33e27cd91b5172c245e94e5cca4e403212b743 +MISC ChangeLog-2015 7467 SHA256 b4879f85417345b73f42f744915325ae5e2c10fd2a08680246eebe9d919023e9 SHA512 3bfce1dbd15e65578f4a1ff5023aff85ba885ced6f2d936a3cca0fe8a565babe9a4d35fff4e16c44962c92818433be0d791f43e3d5ccdc333b7424cb757d49f6 WHIRLPOOL 50bb46c7a87e84d683b9b8f4099ac5b69da4a486a41b8f2c26b040eae6cb733e9f0445503acfb4bbad52d67a6fa7fb5cc5739f1f9978c485ced0c5063f818498 +MISC metadata.xml 780 SHA256 9bde0167177817f30c3a7eaa69a6e8466530ea3df48385c76c54a1c95e062866 SHA512 0a7c6ac8bc127892e5f6fe24774f095cb0bcf5971926c65b4d8a52748cfb7ae22d1ddc47365ece99612bc64853dfa224d42ded5093f0cd0976a2ae1b544eb5c8 WHIRLPOOL 5dc558b1724712ff535f8c17f9c613f636c3ae8e609a0e664be9e964e7c16c68ff86e980953985cd3e0006e79c201047050f246211d7551358c624b5b7cff407 diff --git a/dev-vcs/gitolite/files/gitolite-3.6.6-fix-shebang.patch b/dev-vcs/gitolite/files/gitolite-3.6.6-fix-shebang.patch new file mode 100644 index 000000000000..21437f51fe5a --- /dev/null +++ b/dev-vcs/gitolite/files/gitolite-3.6.6-fix-shebang.patch @@ -0,0 +1,23 @@ +From 72c02387f6e1a9d2791dd78533d0c3e909400715 Mon Sep 17 00:00:00 2001 +From: Sitaram Chamarty <sitaram@atc.tcs.com> +Date: Fri, 25 Nov 2016 18:16:33 +0530 +Subject: [PATCH] fix shebang in repo-specific-hooks + +(thanks to Dieter on the mailing list for catching this!) +--- + src/triggers/repo-specific-hooks | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/triggers/repo-specific-hooks b/src/triggers/repo-specific-hooks +index 7ed28e5..6e229ea 100755 +--- a/src/triggers/repo-specific-hooks ++++ b/src/triggers/repo-specific-hooks +@@ -85,7 +85,7 @@ for my $repo (keys %repo_hooks) { + } + + __DATA__ +-#/bin/sh ++#!/bin/sh + + # Determine what input the hook needs + # post-update takes args, pre/post-receive take stdin diff --git a/dev-vcs/gitolite/gitolite-2.3.1-r1.ebuild b/dev-vcs/gitolite/gitolite-2.3.1-r1.ebuild new file mode 100644 index 000000000000..ced390150277 --- /dev/null +++ b/dev-vcs/gitolite/gitolite-2.3.1-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit perl-module user + +DESCRIPTION="Highly flexible server for git directory version tracker" +HOMEPAGE="https://github.com/sitaramc/gitolite" +SRC_URI="https://milki.github.com/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="contrib 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 )" + +pkg_setup() { + enewgroup git + enewuser git -1 /bin/sh /var/lib/gitolite git +} + +src_prepare() { + rm Makefile doc/COPYING || die + rm -rf contrib/{gitweb,vim} || die + + echo "${PF}" > conf/VERSION +} + +src_install() { + local gl_bin="${D}/usr/bin" + gl_bin=${gl_bin/\/\//\/} + + dodir /usr/share/gitolite/{conf,hooks} /usr/bin || die + + # install using upstream method + export PATH="${gl_bin}:${PATH}" + ./src/gl-system-install ${gl_bin} \ + "${D}"/usr/share/gitolite/conf "${D}"/usr/share/gitolite/hooks || die + sed -i -e "s:${D}::g" "${D}/usr/bin/gl-setup" \ + "${D}/usr/share/gitolite/conf/example.gitolite.rc" || die + + rm "${D}"/usr/bin/*.pm + insinto "${VENDOR_LIB}" + doins src/*.pm || die + + dodoc README.mkd doc/* + + if use contrib; then + insinto /usr/share/doc/${PF} + doins -r contrib/ || die + fi + + keepdir /var/lib/gitolite + fowners git:git /var/lib/gitolite + fperms 750 /var/lib/gitolite +} + +pkg_postinst() { + # 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.1.ebuild b/dev-vcs/gitolite/gitolite-3.6.1.ebuild new file mode 100644 index 000000000000..30a7fda7883a --- /dev/null +++ b/dev-vcs/gitolite/gitolite-3.6.1.ebuild @@ -0,0 +1,82 @@ +# 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 new file mode 100644 index 000000000000..a1fb9c6b9da4 --- /dev/null +++ b/dev-vcs/gitolite/gitolite-3.6.2-r1.ebuild @@ -0,0 +1,95 @@ +# 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 new file mode 100644 index 000000000000..10f8ddcbf3f9 --- /dev/null +++ b/dev-vcs/gitolite/gitolite-3.6.2.ebuild @@ -0,0 +1,82 @@ +# 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.3.ebuild b/dev-vcs/gitolite/gitolite-3.6.3.ebuild new file mode 100644 index 000000000000..4fc564404802 --- /dev/null +++ b/dev-vcs/gitolite/gitolite-3.6.3.ebuild @@ -0,0 +1,96 @@ +# 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.4-r1.ebuild b/dev-vcs/gitolite/gitolite-3.6.4-r1.ebuild new file mode 100644 index 000000000000..928bbe83926c --- /dev/null +++ b/dev-vcs/gitolite/gitolite-3.6.4-r1.ebuild @@ -0,0 +1,96 @@ +# 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 new file mode 100644 index 000000000000..26ef161375f9 --- /dev/null +++ b/dev-vcs/gitolite/gitolite-3.6.4.ebuild @@ -0,0 +1,96 @@ +# 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 new file mode 100644 index 000000000000..928bbe83926c --- /dev/null +++ b/dev-vcs/gitolite/gitolite-3.6.5.ebuild @@ -0,0 +1,96 @@ +# 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.6.ebuild b/dev-vcs/gitolite/gitolite-3.6.6.ebuild new file mode 100644 index 000000000000..10ab3eef999b --- /dev/null +++ b/dev-vcs/gitolite/gitolite-3.6.6.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +[[ ${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="amd64 x86" +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" + +PATCHES=( "${FILESDIR}"/${P}-fix-shebang.patch ) + +pkg_setup() { + enewgroup git + enewuser git -1 /bin/sh /var/lib/gitolite git +} + +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 + + 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.7.ebuild b/dev-vcs/gitolite/gitolite-3.6.7.ebuild new file mode 100644 index 000000000000..cd1b715bb24d --- /dev/null +++ b/dev-vcs/gitolite/gitolite-3.6.7.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +[[ ${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="~amd64 ~x86" +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" + +PATCHES=( ) + +pkg_setup() { + enewgroup git + enewuser git -1 /bin/sh /var/lib/gitolite git +} + +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 + + 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.ebuild b/dev-vcs/gitolite/gitolite-3.6.ebuild new file mode 100644 index 000000000000..91aadb960309 --- /dev/null +++ b/dev-vcs/gitolite/gitolite-3.6.ebuild @@ -0,0 +1,82 @@ +# 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-9999.ebuild b/dev-vcs/gitolite/gitolite-9999.ebuild new file mode 100644 index 000000000000..928bbe83926c --- /dev/null +++ b/dev-vcs/gitolite/gitolite-9999.ebuild @@ -0,0 +1,96 @@ +# 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/metadata.xml b/dev-vcs/gitolite/metadata.xml new file mode 100644 index 000000000000..4073771df8b6 --- /dev/null +++ b/dev-vcs/gitolite/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>idl0r@gentoo.org</email> + <name>Christian Ruppert</name> + </maintainer> + <longdescription lang="en"> + Gitolite is an access control layer on top of git, which allows access + control down to the branch level, including specifying who can and cannot + rewind a given branch. + </longdescription> + <use> + <flag name="contrib">Install user-contributed files</flag> + <flag name="tools">Install tools to e.g. convert a Gitosis config to + gitolite or one to check if your setup is gitolite >= 3.x compatible</flag> + </use> + <upstream> + <remote-id type="github">sitaramc/gitolite</remote-id> + </upstream> +</pkgmetadata> |