summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2014-01-19 17:48:06 +0000
committerChristian Ruppert <idl0r@gentoo.org>2014-01-19 17:48:06 +0000
commita8000f8c1ae29646875c812e9f4ae1a9500a0739 (patch)
tree49a67ae9ee4437f902a6a6a362326ebf887903b2 /dev-vcs
parentMask gitolite-gentoo-3* for now (diff)
downloadhistorical-a8000f8c1ae29646875c812e9f4ae1a9500a0739.tar.gz
historical-a8000f8c1ae29646875c812e9f4ae1a9500a0739.tar.bz2
historical-a8000f8c1ae29646875c812e9f4ae1a9500a0739.zip
Initial gitolite-gentoo-3.x
Package-Manager: portage-2.2.8/cvs/Linux x86_64 Manifest-Sign-Key: 0xB427ABC8
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/gitolite-gentoo/ChangeLog10
-rw-r--r--dev-vcs/gitolite-gentoo/Manifest22
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-3.5.3.1.ebuild91
-rw-r--r--dev-vcs/gitolite-gentoo/metadata.xml2
4 files changed, 113 insertions, 12 deletions
diff --git a/dev-vcs/gitolite-gentoo/ChangeLog b/dev-vcs/gitolite-gentoo/ChangeLog
index ebf7a2f833fe..9d292994eb97 100644
--- a/dev-vcs/gitolite-gentoo/ChangeLog
+++ b/dev-vcs/gitolite-gentoo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-vcs/gitolite-gentoo
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitolite-gentoo/ChangeLog,v 1.33 2012/10/30 20:13:26 idl0r Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitolite-gentoo/ChangeLog,v 1.34 2014/01/19 17:48:01 idl0r Exp $
+
+*gitolite-gentoo-3.5.3.1 (19 Jan 2014)
+
+ 19 Jan 2014; Christian Ruppert <idl0r@gentoo.org>
+ +gitolite-gentoo-3.5.3.1.ebuild, metadata.xml:
+ Initial gitolite-gentoo-3.x
30 Oct 2012; Christian Ruppert <idl0r@gentoo.org>
-gitolite-gentoo-2.1.0.ebuild, -gitolite-gentoo-2.2.ebuild,
diff --git a/dev-vcs/gitolite-gentoo/Manifest b/dev-vcs/gitolite-gentoo/Manifest
index 3244ee444435..e931d879740b 100644
--- a/dev-vcs/gitolite-gentoo/Manifest
+++ b/dev-vcs/gitolite-gentoo/Manifest
@@ -2,17 +2,19 @@
Hash: SHA256
DIST gitolite-gentoo-2.3.1.tar.bz2 198849 SHA256 65c4646b5609f987b3004dbc44ebf9a76d3f1791414fbe13eacea25460b966ae SHA512 994ee759d87659eb4f4bfbe6618d1bd74e83df2e6c8d710ca1c929d86e05b1152639bf5c99b906f7d20f9585163f872f04d9710e29b1d73ada998595553d294e WHIRLPOOL 9d4effd46f5953bb330f799962a79fb999ada0c6ba8cf0b536275f3c56f1178f76730b6ab659e8adf3378c2fbe8ba6ff602eec15e32822192cd0d07f8637aa8d
+DIST gitolite-gentoo-3.5.3.1.tar.bz2 127391 SHA256 0a7025e597f9e50b15bf181c34e7851b68e449400ebfbcc96be7d307760cb726 SHA512 f36a270f651b2b8d4ae02fd7b3841a599b7c66d36a6f92df8974897fdec863b4c09064c384ede9309150a4a487186ba3c3079cd0037d5fd39852b452115933bb WHIRLPOOL 0cb2b06a13f6a57e335556c68861bb1cf7ea907901cf3cb9479757775b1e8636856b889f12cecb5dff10200afbd66ad810e450a81739f6ce7b399e6fe6685afe
EBUILD gitolite-gentoo-2.3.1.ebuild 2002 SHA256 69be6585a20e1792b94f23cbc73e0acc1c575d20d4fad0942193e5c41fea2e7c SHA512 3dfbe22cfc57706601430fd9895866b9cca27b35ade6db710085fade3d575ed8d31cac1e63e53c03173fbdfb87345f82ca28a26bba0623063753536138023793 WHIRLPOOL c71ae74627d64a23c40011c1bc431661023847ebfc4bfc4b0eb00cdb79652bdfc63783c3d495266dde126aa23d96b4e436b6cd245fc4d8aaeffbf90fdafbf419
-MISC ChangeLog 6079 SHA256 224597b230cbb4e77b23420c67f664043d556d7a4b940cb3838ece3ef58a59a0 SHA512 9d8ec3c894e37f10b40b44b2da14f56cd0e3b55853172f21ea1234b33ae4d1d40b998c71b2f6c4a1c60f1804c463d92bd6bb4141d8188f4646b192be4ea00a22 WHIRLPOOL 8d82eb6050012f59d73c57dc5bbbb66dc4ab8b5cbaefaf6e89a0a0ca67c92c8ee021679ea75420852e04022a9435c664b0c947d9347a9925deb254cdac0e4dea
-MISC metadata.xml 312 SHA256 2bd97e3481039d2126c07f5f19a80d44b81b67df628a32028718b75053d9b52d SHA512 3c889f9a45f0d8999974241fdcd239e13d2fd5ae9bf8dc803c551f7325946ab578cd5a74bfc67292cbc30c97c209a1fc2661468e232cdcbefcab06cd8ea966dd WHIRLPOOL f90a3e077bb1a074be2181fdef8ed6cdb11c67bf0b9e39dbc60f7dd443e2167552e4de1178c1c25b3d0eb64dd132f7e2f463863624316f0db1edfc2685915267
+EBUILD gitolite-gentoo-3.5.3.1.ebuild 2452 SHA256 4efcc2ef037694763f10f5dff2bb39bf9eb7a40ebade3fac5c2f0b8d1ee02a5e SHA512 d846f189eeb685a371ec7b0d5d06d01a2f52301f4e3ba7b67fc02a8cb7d22fa29e8b508c44a14aa62b2985c00e50098f66b2af442f71b9b3897fc7671564d31a WHIRLPOOL 9802d53386f07d9766a3056b4b49d6e0b02b08d3bf57266aba7c3c990803a2bafae87c9bf62a44a34af9f52a836df8452f8d0dec937b54e4c4ed84ddf7225aed
+MISC ChangeLog 6251 SHA256 419269436a3038fa42f22412f915927469bdfd383e83d2957dec49abc5ebc1c1 SHA512 f21b2d5e349afc03fb78c3528adc1185b8240df985a3c5f664dbdc4bebf914e6a0f6d931e81d2e54beb8dac9c71ca3d6c11acf86a864c9b930b3d6e133955f6a WHIRLPOOL 476a1d2935a457130db7f72cf80445d42d07a7dc47fc4682a129f83778a7efbc89acfdb41280c3d4c82d23dc8df3aacf5c133d8b5410a9460c48d360983829a7
+MISC metadata.xml 462 SHA256 4f254ca85d9f1691c416f549328464a3156b5a5524d893b7444891be779d6de8 SHA512 8e35ba2c2682cc77565deb411dfff100423e21774ce4c7f4d5e93b6a0c355c2407413e73409824169160a0d76292758bdf120a289d3f500553932a70101181db WHIRLPOOL 0a78421d60535d27362e62dcc3f4c8b28b6dc8db6d6b8616ec8576bfa964b313dad656ed8849234dd61cff2cffd00d7eb798bb56fdf002dcc1033c02886abf81
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iQEcBAEBCAAGBQJQkDTnAAoJEMOx0zmdw4Z11DoIAK7HZuOyP6e09wPL8zkEFwnr
-wOwKOYgZUBlB6k/d8luW/74rvESU8c3TX4Y99AYU1ou8M5TdimzApEKX5GjBZ5ga
-oybU/S6Szbvu1F6UZSAMZ2K7CVRRAOQCWszi7+qnbr0pWqYLtS3jJl9sj/rjNztP
-oW5kLBTq3P7Wxc5BwPRaJghSCNfMY0pnl7fHlbAIFb4Tj84xS3bET1Edqri1L44t
-Yj3AUmG92d29AzVJ8pt5M3aUl+RM3tf5ZXgfhbDaoEaW9UX1lZ6C8+vxbLMGJVVb
-piRTwisUTW1dOFRVvfdV4H955egb/T7yJQFm3Nks7bhYslrTHuhP1S7u24f7hxA=
-=LjCG
+iQEcBAEBCAAGBQJS3A/WAAoJEMOx0zmdw4Z19/sH/1efNEXyROriz60v68NFpxdD
+L7JFMBKppOrdlINgpTRrDVgxaDQHTMRK3W2tk+iiliHx/Xl+OYKyxnfAMvgiO8gs
+MpBqVzrCbHHuNIu3XrAf36d7kB0CNlfgJ7Kq4BzHx0Tc7Mt+jQlwAWN98EpuH1Hk
+t66DwIAbxXmpi6X1CeFax1Qhjfq7ju3qBxb+6mvYW71zGXi7p98Ok0BhrU7Ni9zW
+aZ0VrKoJ2q7u1UhZkWCpvgv7vC5GtTCieJTPUtZitsKgD8/8vTkG6mydg6Cbb9wS
+FukzNwYbhPhzXrheymHl8te+6OPAk6Y8c+m39PlfhtmA/wNuMmgoTxGRsqdmJYg=
+=lWdN
-----END PGP SIGNATURE-----
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
new file mode 100644
index 000000000000..0e5b59567cb4
--- /dev/null
+++ b/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.5.3.1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitolite-gentoo/gitolite-gentoo-3.5.3.1.ebuild,v 1.1 2014/01/19 17:48:01 idl0r Exp $
+
+EAPI=5
+
+inherit perl-module user versionator
+
+DESCRIPTION="Highly flexible server for git directory version tracker, Gentoo fork"
+HOMEPAGE="http://git.overlays.gentoo.org/gitweb/?p=proj/gitolite-gentoo.git;a=summary"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+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
+ 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://sitaramc.github.com/gitolite/install.html#migr 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/metadata.xml b/dev-vcs/gitolite-gentoo/metadata.xml
index da7fd885a532..7e8ef57c8013 100644
--- a/dev-vcs/gitolite-gentoo/metadata.xml
+++ b/dev-vcs/gitolite-gentoo/metadata.xml
@@ -7,6 +7,8 @@
</maintainer>
<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>
</pkgmetadata>