public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/gitolite/
Date: Tue, 18 Jul 2023 22:53:03 +0000 (UTC)	[thread overview]
Message-ID: <1689720713.582ee5778ecaf0fae6a0bcb36211d11092ba2c6b.sam@gentoo> (raw)

commit:     582ee5778ecaf0fae6a0bcb36211d11092ba2c6b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 18 22:51:53 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jul 18 22:51:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=582ee577

dev-vcs/gitolite: add 3.6.13

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/gitolite/Manifest               |   1 +
 dev-vcs/gitolite/gitolite-3.6.13.ebuild | 101 ++++++++++++++++++++++++++++++++
 2 files changed, 102 insertions(+)

diff --git a/dev-vcs/gitolite/Manifest b/dev-vcs/gitolite/Manifest
index f7ed02172682..47048999541b 100644
--- a/dev-vcs/gitolite/Manifest
+++ b/dev-vcs/gitolite/Manifest
@@ -1,3 +1,4 @@
 DIST gitolite-2.3.1.tar.gz 255807 BLAKE2B b51a664d6e786702cad999fa8df6d86f80eb9cc908ed092b55272c59a4bd52145302e638612f1788d68b2445b8c665f025b24c47d50992dd3f6ef2fd6eb63ee7 SHA512 a658104b54ff6668022a6010b961fbe13b8e7a66242d547e0e4cf685574d8a1fd60065112095b0d73b826f6346973cb3a5db307d84fd5aceba852f2ddd0c86ee
 DIST gitolite-3.6.11.tar.gz 198340 BLAKE2B 9daf1e2cb2ebdca652d87aaa67b433174d35ece2ad859de6c6d6295f453b6fa86d15240e964fdc58fc4ee5b1018b935b7032e6bacef9743487189857782220cd SHA512 7c11b3dfde9ecf9ef66185aab175d78302c42cc24f13e3e855fa27ffaee65b5887bdd7f96b00b6eed944b91af2b86993b284d1a09fe5a5a3cce82acd33631212
 DIST gitolite-3.6.12.tar.gz 203704 BLAKE2B b70bd8108f6c9d0e6d8776ab4338c523b0f27db305974fa40a0e074908302f8a8803fcf2f88a4c3e9972311b400142d7e3f9569d7ebd86f7343e2b70e3701d6e SHA512 f6a7f4daf8a6f73db823a95cd677c1c436e04a05460a239b5844468cf0f3e6f8da1b1cd86d98c84bb8e80e5ca446c9afd0ca221cce622398c0d0a3ce18062c22
+DIST gitolite-3.6.13.tar.gz 204615 BLAKE2B f4a6f5ea106695371b75837fc8ff39a62f0464247781abcaa79bc779cd72a2c2483c2436cbd9cb1091689e51b09a3a9ee17bcce5bdab02b6cb641b1c8bab7066 SHA512 95c232dd117b8849b205946b6427422abadbfb0d59fdb72f1de75813cbe3fbf63cbc0f5f5f2de4e761797c0cf5423c94805a55af87b7ff78a2d9ea9f2406dfcb

diff --git a/dev-vcs/gitolite/gitolite-3.6.13.ebuild b/dev-vcs/gitolite/gitolite-3.6.13.ebuild
new file mode 100644
index 000000000000..5b07820b7a75
--- /dev/null
+++ b/dev-vcs/gitolite/gitolite-3.6.13.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit perl-module
+
+DESCRIPTION="Highly flexible server for git directory version tracker"
+HOMEPAGE="https://github.com/sitaramc/gitolite"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/sitaramc/${PN}.git"
+else
+	SRC_URI="https://github.com/sitaramc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="selinux tools"
+# TODO: At some point, wire it up safely.
+# See https://gitolite.com/gitolite/testing.html and t/README first!
+RESTRICT="test"
+
+DEPEND="
+	dev-lang/perl
+	>=dev-vcs/git-1.6.6
+	virtual/perl-File-Path
+	virtual/perl-File-Temp
+"
+RDEPEND="
+	${DEPEND}
+	acct-group/git
+	acct-user/git[gitolite]
+	!app-vim/gitolite-syntax
+	!dev-vcs/gitolite-gentoo
+	selinux? ( sec-policy/selinux-gitosis )
+	dev-perl/JSON
+"
+
+src_prepare() {
+	default
+	echo ${PF} > src/VERSION || die
+}
+
+src_install() {
+	local uexec=/usr/libexec/${PN}
+
+	rm -rf src/lib/Gitolite/Test{,.pm}
+	insinto $VENDOR_LIB
+	doins -r src/lib/Gitolite
+
+	dodoc README.markdown CHANGELOG
+	# These are meant by upstream as examples, you are strongly recommended to
+	# customize them for your needs.
+	dodoc contrib/utils/ipa_groups.pl contrib/utils/ldap_groups.sh
+
+	insinto /usr/share/vim/vimfiles
+	doins -r contrib/vim/*
+
+	insopts -m0755
+	insinto $uexec
+	doins -r src/{commands,syntactic-sugar,triggers,VREF}/
+	doins -r contrib/{commands,triggers,hooks}
+
+	insopts -m0644
+	doins src/VERSION
+
+	exeinto $uexec
+	doexe src/gitolite{,-shell}
+
+	dodir /usr/bin
+	for bin in gitolite{,-shell}; do
+		dosym ../libexec/${PN}/${bin} /usr/bin/${bin}
+	done
+
+	if use tools; then
+		dobin check-g2-compat convert-gitosis-conf
+		dobin contrib/utils/rc-format-v3.4
+	fi
+
+	fperms 0644 ${uexec}/VREF/MERGE-CHECK # It's meant as example only
+}
+
+pkg_postinst() {
+	local old_ver
+	for old_ver in ${REPLACING_VERSIONS}; do
+		if ver_test ${old_ver} -lt "3" ; then
+			ewarn
+			elog "***NOTE*** This is a major upgrade and will likely break your existing gitolite-2.x setup!"
+			elog "Please read http://gitolite.com/gitolite/migr/index.html first!"
+		fi
+	done
+
+	# bug 352291
+	ewarn
+	elog "Please make sure that your 'git' user has the correct homedir (/var/lib/gitolite)."
+	elog "Especially if you're migrating from gitosis."
+	ewarn
+}


             reply	other threads:[~2023-07-18 22:53 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-18 22:53 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-31  3:24 [gentoo-commits] repo/gentoo:master commit in: dev-vcs/gitolite/ Matt Turner
2023-12-16 11:01 Arthur Zamarin
2023-12-02  4:35 Sam James
2023-12-02  4:35 Sam James
2023-06-13 14:20 Arthur Zamarin
2023-06-12 19:21 Sam James
2023-06-12 19:21 Sam James
2022-05-08 20:23 Matt Turner
2022-05-08 20:23 Matt Turner
2022-01-16 23:56 Mike Gilbert
2021-12-30 13:21 Christian Ruppert
2021-07-09 23:28 Conrad Kostecki
2021-07-09 23:28 Conrad Kostecki
2021-04-29  1:52 Sam James
2021-02-15  2:56 Sam James
2019-12-15 20:06 Michał Górny
2019-07-29  8:49 Mikle Kolyada
2019-07-17 15:24 Agostino Sarubbo
2019-07-15 14:17 Agostino Sarubbo
2019-01-09 15:59 Robin H. Johnson
2019-01-09 15:59 Robin H. Johnson
2018-12-30  0:56 Robin H. Johnson
2018-12-30  0:56 Robin H. Johnson
2018-08-05 13:48 Manuel Rüger
2017-07-30  9:38 Michał Górny
2017-07-03  0:15 Robin H. Johnson
2016-02-20 22:26 Robin H. Johnson
2016-01-06  7:37 Robin H. Johnson
2015-11-19 23:21 Robin H. Johnson
2015-08-21 12:21 Mikle Kolyada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1689720713.582ee5778ecaf0fae6a0bcb36211d11092ba2c6b.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox