summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2020-09-23 20:58:24 -0400
committerAaron Bauman <bman@gentoo.org>2020-09-23 21:06:03 -0400
commit818fe8f6edec753842ffe4ce3b75417d2c659545 (patch)
tree126a17cb5e5c9db3e35c52209fb133f1ef56fe82 /dev-vcs
parentmail-filter/postsrsd: drop old (diff)
downloadgentoo-818fe8f6edec753842ffe4ce3b75417d2c659545.tar.gz
gentoo-818fe8f6edec753842ffe4ce3b75417d2c659545.tar.bz2
gentoo-818fe8f6edec753842ffe4ce3b75417d2c659545.zip
dev-vcs/gitolite-gentoo: drop old
Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/gitolite-gentoo/Manifest13
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-2.3.3-r1.ebuild76
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.5.3.1.ebuild90
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.1-r1.ebuild104
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.1.ebuild90
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.2.1.ebuild104
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.2.2.ebuild104
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.2.3.ebuild104
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.2.4.ebuild104
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.3.2.ebuild105
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.3.ebuild104
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.4.1-r1.ebuild105
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.4.1.ebuild105
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.4.ebuild105
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.5.ebuild105
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.6.1.ebuild105
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.6.ebuild105
17 files changed, 0 insertions, 1628 deletions
diff --git a/dev-vcs/gitolite-gentoo/Manifest b/dev-vcs/gitolite-gentoo/Manifest
index 31d0260f20ba..dbbccee93775 100644
--- a/dev-vcs/gitolite-gentoo/Manifest
+++ b/dev-vcs/gitolite-gentoo/Manifest
@@ -1,15 +1,2 @@
DIST gitolite-gentoo-2.3.1.tar.bz2 198849 BLAKE2B 88268e4588003cb1b8b4e340fd858a2be65b8156f3ff5033cf7f8c988d8373c4dc7c41b0d589126e143e8eaa19071fda87532f9052c06f7952f5f3ef549e486a SHA512 994ee759d87659eb4f4bfbe6618d1bd74e83df2e6c8d710ca1c929d86e05b1152639bf5c99b906f7d20f9585163f872f04d9710e29b1d73ada998595553d294e
-DIST gitolite-gentoo-2.3.3.tar.bz2 199370 BLAKE2B c42e82e36f593046c35e7828de1d1ad99bf26564ec248eb24ab7bf7f83ffc7095d893e7a6813e609368221b04d5e38881d723cd8fe6286322c11b39bb4c64158 SHA512 f9720effa816400544bf5526d896b9db734828c46356d0188e2ddb8fa8f175efb0f60b30c9e9c80a0624f6cb6dc5c5a301d8dfa35f13ad08fcd0538a0b8f77c3
-DIST gitolite-gentoo-3.5.3.1.tar.bz2 127391 BLAKE2B f9fb28cbaca4c1e13100205fef2b6cdf84cebc61ae9726048e869eca847bc2c365cfc75fd6c2a82a2df01eee843db1719cd0da9b7dab27496b60079dbdfb2ca6 SHA512 f36a270f651b2b8d4ae02fd7b3841a599b7c66d36a6f92df8974897fdec863b4c09064c384ede9309150a4a487186ba3c3079cd0037d5fd39852b452115933bb
-DIST gitolite-gentoo-3.6.1.tar.bz2 140554 BLAKE2B aa811f4922dc530f9bfd78ebfa4d48473a484ca264db0120ac3cdf722bce009d615e257c4638e9c75d29116cb6882ca426fe07d040df3a60423824289a4d711a SHA512 563f2753f4d04d8a2c5d323fbf3d15f9f12975d4aa3ae3781011b521be7ca2b2ac755f9c4247f86ee303aa7f8c9795f3fdff4504a347b9b9cd08525666bb0187
-DIST gitolite-gentoo-3.6.2.1.tar.bz2 143357 BLAKE2B f6c2440116c7a50b780e8cb9e1ba0f799fee2664c3de6bd5960beff505edd150dbe1c37e53d957dfceba450d1335ed398108f17934c2faeec3777fb3f409c6ba SHA512 53ae6549a819437d2481249707156eb0f68cccd289bbb40affedd1f7cdda620b974f8e7ee6853c196728cdccf0eb9f8f340a132538dcbf0b653fb69e08d40b9d
-DIST gitolite-gentoo-3.6.2.2.tar.bz2 143601 BLAKE2B 7033ccf65cd7fbf70dad031d838b6917f82cd273828758222877985176e91f2eea82e08a957c740ba72a987e2b703c783c0e75cf3570da5fe6bf56e2b0f867d1 SHA512 431df7002d146d321199ff5ae324177f5b14b1a0ae8e87288ff15a8670eec9e55637d8a6d28d4eac2ff2a54f3f38e3aa700257c5321c73133fcb09037fb384f8
-DIST gitolite-gentoo-3.6.2.3.tar.bz2 143658 BLAKE2B c4de16f291b2ce343eca6056a774fd234136f847e3e2bf59842df77b4a2a8190de27e0f5b786ec248e219fa42fd991470e09752aa1dc63a79a38dea891b16482 SHA512 9b8ddaad043d9c7cdbcb027fcbfd36cd09ce2cfaf0b102deee037977461d54942fd7ac019373876f9f4ab04250f78c8565c73494b7b9fc0e42e140d878cc303f
-DIST gitolite-gentoo-3.6.2.4.tar.bz2 143564 BLAKE2B 5c998a523d875c79e80ed6f03cbb885573bdcce3da17e36b683110d2b05f307166c7bf11cba51d0b13db23999eb82e730e044cf0839c594d17eee8ddba87e0b3 SHA512 ec5e62822687b1293348107df003e3c3c4a3aad9b4f461e09410aef993bb464a176daee81223ae952159572db7158267fd90b90cbc877c4be2a9fdc2ecc87fb7
-DIST gitolite-gentoo-3.6.3.2.tar.bz2 148655 BLAKE2B b2f1163f34fa25de908bf702bfea8f1dcc97fc1fc8c306756d32b6331d67fe50b162da34dec1e8af08cd24714a8318c1a5ec69e008b7aba2f20976cfbf87eb75 SHA512 deed5379316e5fc3d33b7131eb64f7850004b34e034dd37417796dafbc9c038d92f4002f8d9c2066a0859bb1052669a378e8a66387f27eed10c6ca5a73e04623
-DIST gitolite-gentoo-3.6.3.tar.bz2 147531 BLAKE2B 9a9018bc54922800aa6fe68d40ed29a5add3987ddf18f1d2f9ebe10a0ab308b8e0a9c13a7d44e6ab268116f99fb082c49a9fa8a597b86d6da34cc4d6e1a70442 SHA512 4c4f40cf608ea78f76c39701880e53e2f6486fc37478818f5b4f0946fcd9ffe30ef122463b7b6b48a0a9931271fe7ef7aecf6bf23bbce45f36cd1e217e5ec45a
-DIST gitolite-gentoo-3.6.4.1.tar.bz2 151771 BLAKE2B 70d88a20954e662fcd021c9a8625db2124bbad1b61a1e91f82e60b69b79501e4f6ec235d62fbd7b6e215dcd802d3e33109794e6a5f98b74de269e54d9eca136f SHA512 5eec313199f9d757be2c357ae07d8e3a8f7b82dd684a40024a33ec3f3d8806fd0cac7f57fcc740be888285343d965fa2497fccb971d24b0082c772cf1cb1655f
-DIST gitolite-gentoo-3.6.4.tar.bz2 151879 BLAKE2B 0b6224f8156c6a82b792a505eb66f56622991606f15ca9d8da03763cd9771c7a78763e1da47f8ef8b4d9fa4ac80e53fd9fdb07445c760e405520d13068c95c8a SHA512 dcb926f747ce43942c5678390bf0649061d4f779d416fc09980ab8a9b169a9604596f6b7800432636f43707c83aac61472df26cfb1c66cc85d1ff8eaa4db2c19
-DIST gitolite-gentoo-3.6.5.tar.bz2 153234 BLAKE2B cb92a2008f80312288b925b9a22c45593203021f47d8f057bdf2597c09d515bc66b5d4947bcc5c5d7e88582c847049d6363139369571fa32f673a107391564d7 SHA512 c32f91dcb8ff790c2c59f0cb9ce1f906b17d5012922e0efdb2da1f7b1986f9f82b85b6e232f6b6e65e4d3daecb8f247a408b664b44624a64bf876b416a7b3ca4
DIST gitolite-gentoo-3.6.6.1.tar.bz2 155262 BLAKE2B 3dfa89223824ea04be6c0598abad3c6fb982c0031507aa2ab4ad8ecb9cfc5b64846e48f1710cf4436b4947d2f7288398b2603ac8f9a732902cf17a9a168e6b3d SHA512 76765972b06e985879bd3384be62e4b57676d0d67e6d55b56a63a2d802fe3ee76576e0da20896f11764a311dfcde0bfaf4309105ddc8c55c0c09bb098ed6a1bb
-DIST gitolite-gentoo-3.6.6.tar.bz2 155267 BLAKE2B 28f09d01a550da9b56e7d2df0ee16c855dcfc66e6a7639734eee98d534d353f1ed8c3547e4a5f5d7b7cf2160b1be376e0e6c7d26b6a74635cf47626f6af3feef SHA512 cd3a34e714072b1b8792b98c023dfa141dff03cc2e225e0a006fafd3a112d98bf031a826ccfb667624b2455f1253def6c487ffba1134ad6cc8c981987437a9d6
diff --git a/dev-vcs/gitolite-gentoo/gitolite-gentoo-2.3.3-r1.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-2.3.3-r1.ebuild
deleted file mode 100644
index 7445c714339b..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-2.3.3-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils perl-module user
-
-DESCRIPTION="Highly flexible server for git directory version tracker, Gentoo fork"
-HOMEPAGE="https://cgit.gentoo.org/proj/gitolite-gentoo.git"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-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
- dev-perl/Net-SSH-AuthorizedKeysFile
- vim-syntax? ( app-vim/gitolite-syntax )"
-
-pkg_setup() {
- enewgroup git
- enewuser git -1 /bin/bash /var/lib/gitolite git
-}
-
-src_prepare() {
- rm Makefile doc/COPYING || die
- rm -rf contrib/{gitweb,vim} || die
-
- echo "${PF}-gentoo" > conf/VERSION
-}
-
-src_install() {
- local gl_bin="${D}/usr/bin"
- gl_bin=${gl_bin/\/\//\/}
-
- dodir /usr/share/gitolite/{conf,hooks} /usr/bin
-
- 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
-
- dodoc README.mkd doc/*
-
- if use contrib; then
- insinto /usr/share/doc/${PF}
- doins -r contrib/
- 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
- ewarn
- elog "If you use the umask feature and upgrade from <=gitolite-gentoo-1.5.9.1"
- elog "then please check the permissions of all repositories using the umask feature"
- ewarn
-}
diff --git a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.5.3.1.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.5.3.1.ebuild
deleted file mode 100644
index 7460fb092445..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.5.3.1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2015 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, Gentoo fork"
-HOMEPAGE="https://cgit.gentoo.org/proj/gitolite-gentoo.git"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~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
- dev-perl/Net-SSH-AuthorizedKeysFile
- vim-syntax? ( app-vim/gitolite-syntax )"
-
-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.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.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.1-r1.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.1-r1.ebuild
deleted file mode 100644
index fb86e51f1c28..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.1-r1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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="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
- vim-syntax? ( app-vim/gitolite-syntax )
- dev-perl/Net-SSH-AuthorizedKeysFile
- 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.1.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.1.ebuild
deleted file mode 100644
index 7460fb092445..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2015 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, Gentoo fork"
-HOMEPAGE="https://cgit.gentoo.org/proj/gitolite-gentoo.git"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~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
- dev-perl/Net-SSH-AuthorizedKeysFile
- vim-syntax? ( app-vim/gitolite-syntax )"
-
-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.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.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.2.1.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.2.1.ebuild
deleted file mode 100644
index fb86e51f1c28..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.2.1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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="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
- vim-syntax? ( app-vim/gitolite-syntax )
- dev-perl/Net-SSH-AuthorizedKeysFile
- 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.2.2.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.2.2.ebuild
deleted file mode 100644
index fb86e51f1c28..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.2.2.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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="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
- vim-syntax? ( app-vim/gitolite-syntax )
- dev-perl/Net-SSH-AuthorizedKeysFile
- 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.2.3.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.2.3.ebuild
deleted file mode 100644
index 3f6d38426043..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.2.3.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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="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
- vim-syntax? ( app-vim/gitolite-syntax )
- >=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.2.4.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.2.4.ebuild
deleted file mode 100644
index 3f6d38426043..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.2.4.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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="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
- vim-syntax? ( app-vim/gitolite-syntax )
- >=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.3.2.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.3.2.ebuild
deleted file mode 100644
index 2df90f3a53b1..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.3.2.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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
- 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.3.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.3.ebuild
deleted file mode 100644
index 3f6d38426043..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.3.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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="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
- vim-syntax? ( app-vim/gitolite-syntax )
- >=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.1-r1.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.4.1-r1.ebuild
deleted file mode 100644
index 7120a4c7c21d..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.4.1-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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
- 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,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.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.1.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.4.1.ebuild
deleted file mode 100644
index 2df90f3a53b1..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.4.1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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
- 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
deleted file mode 100644
index 2df90f3a53b1..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.4.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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
- 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.5.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.5.ebuild
deleted file mode 100644
index 7120a4c7c21d..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.5.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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
- 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,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.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.6.1.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.6.1.ebuild
deleted file mode 100644
index e3537a2dee5e..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.6.1.ebuild
+++ /dev/null
@@ -1,105 +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="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
- 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,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.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.6.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.6.ebuild
deleted file mode 100644
index e3537a2dee5e..000000000000
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.6.6.ebuild
+++ /dev/null
@@ -1,105 +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="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
- 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,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.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
-}