summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2011-01-03 05:14:33 +0000
committerChristian Ruppert <idl0r@gentoo.org>2011-01-03 05:14:33 +0000
commit63d08fa9e5843a16157628343c722accc1ab5419 (patch)
tree685d9e2d70a8d893b012a07cd9e43882ea7492ed /dev-vcs
parentversion bump (diff)
downloadhistorical-63d08fa9e5843a16157628343c722accc1ab5419.tar.gz
historical-63d08fa9e5843a16157628343c722accc1ab5419.tar.bz2
historical-63d08fa9e5843a16157628343c722accc1ab5419.zip
Version bump to 1.5.8. Remove 1.5.6-r1. Get a rid of dosed.
Package-Manager: portage-2.1.9.25/cvs/Linux i686
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/gitolite-gentoo/ChangeLog11
-rw-r--r--dev-vcs/gitolite-gentoo/Manifest22
-rw-r--r--dev-vcs/gitolite-gentoo/files/gitolite-require.patch133
-rw-r--r--dev-vcs/gitolite-gentoo/files/gl-setup-tempfile.patch41
-rw-r--r--dev-vcs/gitolite-gentoo/gitolite-gentoo-1.5.8.ebuild (renamed from dev-vcs/gitolite-gentoo/gitolite-gentoo-1.5.6-r1.ebuild)11
5 files changed, 16 insertions, 202 deletions
diff --git a/dev-vcs/gitolite-gentoo/ChangeLog b/dev-vcs/gitolite-gentoo/ChangeLog
index a3564dcb6fa0..4168d7146d54 100644
--- a/dev-vcs/gitolite-gentoo/ChangeLog
+++ b/dev-vcs/gitolite-gentoo/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-vcs/gitolite-gentoo
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitolite-gentoo/ChangeLog,v 1.4 2010/11/14 09:59:01 idl0r Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitolite-gentoo/ChangeLog,v 1.5 2011/01/03 05:14:33 idl0r Exp $
+
+*gitolite-gentoo-1.5.8 (03 Jan 2011)
+
+ 03 Jan 2011; Christian Ruppert <idl0r@gentoo.org>
+ -gitolite-gentoo-1.5.6-r1.ebuild, +gitolite-gentoo-1.5.8.ebuild,
+ -files/gitolite-require.patch, -files/gl-setup-tempfile.patch:
+ Version bump to 1.5.8. Remove 1.5.6-r1. Get a rid of dosed.
*gitolite-gentoo-1.5.7 (14 Nov 2010)
diff --git a/dev-vcs/gitolite-gentoo/Manifest b/dev-vcs/gitolite-gentoo/Manifest
index e3c905d0142f..eedadeca2345 100644
--- a/dev-vcs/gitolite-gentoo/Manifest
+++ b/dev-vcs/gitolite-gentoo/Manifest
@@ -1,22 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-AUX gitolite-require.patch 4663 RMD160 94bf2f4f0e6b7d81905156d4b07473bd2e10c34f SHA1 453386b56338f0afd8a4d48f051433e474a9b755 SHA256 f4eb13cb593f27c8eadf71719a4a4221381b8b3eee414c5977cc813b3c565c64
-AUX gl-setup-tempfile.patch 1735 RMD160 9d618e8ac5f166e33881ee9189f26914310b5a09 SHA1 30a77a86e7bae2d4a1697613836680e7a25e8544 SHA256 f33f237f08ffc657f47fb360a9009c315663f6389466239c12f663cbb0446d91
-DIST gitolite-gentoo-1.5.6.tar.bz2 129140 RMD160 8fecb28ec8642a5a34a79aeea5184ca30dbe571c SHA1 5bcd27f6857173fb99bf7d3d7170775083b437b1 SHA256 4fca6fbf22ed7c5c56f07129d7ae16a1ef100c036d496c54b5f8a4e5db559874
DIST gitolite-gentoo-1.5.7.tar.bz2 134160 RMD160 f51beba35d88f154cc70bdf0685242ee29dbab1e SHA1 1b7b477aed97e4fb6698ebbc407bf3fa3d54e580 SHA256 0b30f77f4719639e462c1f772b5d0972386721744dea5e517782315c6ebea5bf
-EBUILD gitolite-gentoo-1.5.6-r1.ebuild 1578 RMD160 aa63ae9e9e8df2adad19a8ace33ca9583c911603 SHA1 989d1db3b4bdd2ef667aaaf74fe475aca1c8d4ff SHA256 f75225e65c98dfed28bda63983b7d4c0740d4158fcbf0668c22511a3f04b63dd
+DIST gitolite-gentoo-1.5.8.tar.bz2 140617 RMD160 2a108a2f5cd75c3e8ab2a1ab90e88706d5da3459 SHA1 057834dc54f51b36fa4dcb61b4d6b6c303acec56 SHA256 7190bfe70bb3fc219bf2eee42972dbe890279c01a27888014e61bc25eb4c11bb
EBUILD gitolite-gentoo-1.5.7.ebuild 1483 RMD160 5e6143116c5fae6f70b237e5e68c02d07fe28d2b SHA1 8637e02d696362dcf8996bf93167bebf16aec6d2 SHA256 3eccf1b9462fbfdcafe69b424c1acb7a6adb7f8beebd3d588d1e8a822130d8ad
-MISC ChangeLog 1036 RMD160 b75bb5a93fbeac82913b9b70afbf1de9699059e2 SHA1 59c50bf6644c3d11824fe207e89ba60964997ac2 SHA256 262f2b1f36536eed555708ec5ff79333ec31cd554f91e4bc63c5203327c1b9d1
+EBUILD gitolite-gentoo-1.5.8.ebuild 1501 RMD160 3bc79d71ff218110cc4e0b608f3c7ce20b0267b0 SHA1 56047a57ca997169ccf9873a845c10d79ab19358 SHA256 010533e55b10642350585aab08f3d3f63a6e50d316820b3bbfe606de27e95ff8
+MISC ChangeLog 1321 RMD160 74d7c5f5b997502881aa98fd3b5d9a06ff45da6b SHA1 7abc6c493a0b405a9594053f5217e12363a7b1b5 SHA256 b8cd3e2ffc5c522b3db3e2b6af74db3a5805dfbd8a3b08c186a047e1b9b1c97c
MISC metadata.xml 334 RMD160 4bbb68c6d92400d8cc600dcddaecc39f30fad7db SHA1 7ead27ae3a05ffcd4e295262d73cce4863b6129e SHA256 b5d11d2edf5782c930b845696571b9417f4f4b247ca4dad494daf470f749fe16
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
-
-iQEcBAEBCAAGBQJM37LrAAoJEMOx0zmdw4Z1jBAH/R/tXPxXZ1dTilDkmd6v2ear
-+9ae4z6I1y8FLs3g13IvhIlICog3fg6ugQt/9bPfglKDYNB4kuMyJJvz3skgDSXb
-Y0IUU2+e1515LxrRAiCCuBawJvBBQyQoeshK4uQLSKHnrAeoi3PDb6f7aYtQK0vW
-gMOiVgRFNZf2ZpZPQYVteUnhtSKfYSH1xgqPMYVgfnUXzOP2YQBuYwfPfzKkrWf4
-jHrvGkahZPeEMLBrJtgQQVr34o0fFSB4YrR0gX70sUQFv3vbWdNnnXTr86w4Lj2M
-qqhihSA3d6K6o92NxrYUsbPJk5vE0L3IheYQ12wGqqJfdyFfXisB8GWWObrQ188=
-=9JZt
------END PGP SIGNATURE-----
diff --git a/dev-vcs/gitolite-gentoo/files/gitolite-require.patch b/dev-vcs/gitolite-gentoo/files/gitolite-require.patch
deleted file mode 100644
index 37d903f1236f..000000000000
--- a/dev-vcs/gitolite-gentoo/files/gitolite-require.patch
+++ /dev/null
@@ -1,133 +0,0 @@
-From 66b65e5e1db512e695588f326f7339fb5d5a7478 Mon Sep 17 00:00:00 2001
-From: Sitaram Chamarty <sitaram@atc.tcs.com>
-Date: Sat, 23 Oct 2010 16:43:47 +0530
-Subject: [PATCH 03/14] (doh!) make gitolite.pm easier for packagers
-
-should have done this long ago...
----
- contrib/adc/gl-reflog | 4 +++-
- contrib/gitweb/gitweb.conf | 3 ++-
- hooks/common/update | 3 ++-
- src/gl-auth-command | 3 ++-
- src/gl-compile-conf | 3 ++-
- src/gl-install | 3 ++-
- src/gl-setup-authkeys | 3 ++-
- src/gl-time | 3 ++-
- 8 files changed, 17 insertions(+), 8 deletions(-)
-
-diff --git a/contrib/adc/gl-reflog b/contrib/adc/gl-reflog
-index aa59e15..c6f134b 100755
---- a/contrib/adc/gl-reflog
-+++ b/contrib/adc/gl-reflog
-@@ -33,7 +33,9 @@ use warnings;
- my($cmd, $repo, $ref, $limit) = @ARGV;
- $limit ||= 10;
-
--require "$ENV{GL_BINDIR}/gitolite.pm" or die "parse gitolite.pm failed\n";
-+unshift @INC, $ENV{GL_BINDIR};
-+require gitolite or die "parse gitolite.pm failed\n";
-+
- my ($perm, $creator, $wild) = &repo_rights($repo);
- die "you don't have read access to $repo\n" unless $perm =~ /R/;
-
-diff --git a/contrib/gitweb/gitweb.conf b/contrib/gitweb/gitweb.conf
-index edf9af4..283879f 100644
---- a/contrib/gitweb/gitweb.conf
-+++ b/contrib/gitweb/gitweb.conf
-@@ -25,7 +25,8 @@ $ENV{GL_REPO_BASE_ABS} = ( $REPO_BASE =~ m(^/) ? $REPO_BASE : "$gl_home/$REPO_BA
- $projects_list = $projectroot = $ENV{GL_REPO_BASE_ABS};
-
- # load gitolite helper routines
--require "$GL_ADMINDIR/src/gitolite.pm"
-+unshift @INC, "$GL_ADMINDIR/src";
-+require gitolite
- or die_error(500, "Failed to parse gitolite.pm: " . ($! or $@));
-
- $export_auth_hook = sub {
-diff --git a/hooks/common/update b/hooks/common/update
-index 93d3dac..d7296ae 100755
---- a/hooks/common/update
-+++ b/hooks/common/update
-@@ -35,7 +35,8 @@ exit 0 if exists $ENV{GL_BYPASS_UPDATE_HOOK};
- # we should already have the GL_RC env var set when we enter this hook
- die "parse $ENV{GL_RC} failed: " . ($! or $@) unless do $ENV{GL_RC};
-
--require "$ENV{GL_BINDIR}/gitolite.pm";
-+unshift @INC, $ENV{GL_BINDIR};
-+require gitolite or die "parse gitolite.pm failed\n";
-
- my ($perm, $creator, $wild) = &repo_rights($ENV{GL_REPO});
- my $reported_repo = $ENV{GL_REPO} . ( $ENV{GL_REPOPATT} ? " ($ENV{GL_REPOPATT})" : "" );
-diff --git a/src/gl-auth-command b/src/gl-auth-command
-index 0ef6ceb..0db6862 100755
---- a/src/gl-auth-command
-+++ b/src/gl-auth-command
-@@ -43,7 +43,8 @@ our %repo_config;
- my $bindir = $0;
- $bindir =~ s/\/[^\/]+$//;
- $bindir = "$ENV{PWD}/$bindir" unless $bindir =~ /^\//;
--require "$bindir/gitolite.pm";
-+unshift @INC, $bindir;
-+require gitolite or die "parse gitolite.pm failed\n";
-
- # ask where the rc file is, get it, and "do" it
- &where_is_rc();
-diff --git a/src/gl-compile-conf b/src/gl-compile-conf
-index efc4bc5..82f73f4 100755
---- a/src/gl-compile-conf
-+++ b/src/gl-compile-conf
-@@ -60,7 +60,8 @@ our ($REPONAME_PATT, $REPOPATT_PATT, $USERNAME_PATT, $ABRT, $WARN);
- my $bindir = $0;
- $bindir =~ s/\/[^\/]+$//;
- $bindir = "$ENV{PWD}/$bindir" unless $bindir =~ /^\//;
--require "$bindir/gitolite.pm";
-+unshift @INC, $bindir;
-+require gitolite or die "parse gitolite.pm failed\n";
-
- # ask where the rc file is, get it, and "do" it
- &where_is_rc();
-diff --git a/src/gl-install b/src/gl-install
-index e941092..844b2c9 100755
---- a/src/gl-install
-+++ b/src/gl-install
-@@ -28,7 +28,8 @@ sub wrap_mkdir
- # the common setup module is in the same directory as this running program is
- my $bindir = $0;
- $bindir =~ s/\/[^\/]+$//;
--require "$bindir/gitolite.pm";
-+unshift @INC, $bindir;
-+require gitolite or die "parse gitolite.pm failed\n";
-
- # ask where the rc file is, get it, and "do" it
- &where_is_rc();
-diff --git a/src/gl-setup-authkeys b/src/gl-setup-authkeys
-index 758adac..c431cc5 100755
---- a/src/gl-setup-authkeys
-+++ b/src/gl-setup-authkeys
-@@ -30,7 +30,8 @@ our ($GL_PERFLOGT);
- my $bindir = $0;
- $bindir =~ s/\/[^\/]+$//;
- $bindir = "$ENV{PWD}/$bindir" unless $bindir =~ /^\//;
--require "$bindir/gitolite.pm";
-+unshift @INC, $bindir;
-+require gitolite or die "parse gitolite.pm failed\n";
-
- # prevent newbie from running it accidentally and clobbering his authkeys
- # file!
-diff --git a/src/gl-time b/src/gl-time
-index d68df5e..26102f9 100755
---- a/src/gl-time
-+++ b/src/gl-time
-@@ -22,7 +22,8 @@ do "$ENV{HOME}/.gitolite.rc";
- my $bindir = $0;
- $bindir =~ s/\/[^\/]+$//;
- $bindir = "$ENV{PWD}/$bindir" unless $bindir =~ /^\//;
--require "$bindir/gitolite.pm";
-+unshift @INC, $bindir;
-+require gitolite or die "parse gitolite.pm failed\n";
-
- # ---------------------------------------------------------------
-
---
-1.7.2.2
-
diff --git a/dev-vcs/gitolite-gentoo/files/gl-setup-tempfile.patch b/dev-vcs/gitolite-gentoo/files/gl-setup-tempfile.patch
deleted file mode 100644
index d8ade1288356..000000000000
--- a/dev-vcs/gitolite-gentoo/files/gl-setup-tempfile.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff --git a/src/gl-setup b/src/gl-setup
-index e72ebc6..f9f50a2 100755
---- a/src/gl-setup
-+++ b/src/gl-setup
-@@ -21,6 +21,9 @@ GL_PACKAGE_CONF=/tmp/share/gitolite/conf
-
- die() { echo "$@"; exit 1; }
-
-+TEMPDIR=$(mktemp -d)
-+export TEMPDIR
-+trap "/bin/rm -rf $TEMPDIR" 0
-
- if [ -n "$GITOLITE_HTTP_HOME" ]
- then
-@@ -40,10 +43,10 @@ fi
-
- if [ -f $HOME/.gitolite.rc ]
- then
-- perl -ne 's/^\s+//; s/[\s=].*//; print if /^\$/;' < $GL_PACKAGE_CONF/example.gitolite.rc | sort > .newvars
-- perl -ne 's/^\s+//; s/[\s=].*//; print if /^\$/;' < $HOME/.gitolite.rc | sort > .oldvars
-- comm -23 .newvars .oldvars > .diffvars
-- if [ -s .diffvars ]
-+ perl -ne 's/^\s+//; s/[\s=].*//; print if /^\$/;' < $GL_PACKAGE_CONF/example.gitolite.rc | sort > $TEMPDIR/.newvars
-+ perl -ne 's/^\s+//; s/[\s=].*//; print if /^\$/;' < $HOME/.gitolite.rc | sort > $TEMPDIR/.oldvars
-+ comm -23 $TEMPDIR/.newvars $TEMPDIR/.oldvars > $TEMPDIR/.diffvars
-+ if [ -s $TEMPDIR/.diffvars ]
- then
- cp $GL_PACKAGE_CONF/example.gitolite.rc $HOME/.gitolite.rc.new
- echo new version of the rc file saved in $HOME/.gitolite.rc.new
-@@ -51,10 +54,9 @@ then
- echo please update $HOME/.gitolite.rc manually if you need features
- echo controlled by any of the following variables:
- echo ----
-- sed -e 's/^/ /' < .diffvars
-+ sed -e 's/^/ /' < $TEMPDIR/.diffvars
- echo ----
- fi
-- rm -f .newvars .oldvars .diffvars
- else
- [ -n "$GITOLITE_HTTP_HOME" ] || [ -n "$pubkey_file" ] || die "looks like first run -- I need a pubkey file"
- [ -z "$GITOLITE_HTTP_HOME" ] || [ -n "$admin_name" ] || die "looks like first run -- I need an admin name"
diff --git a/dev-vcs/gitolite-gentoo/gitolite-gentoo-1.5.6-r1.ebuild b/dev-vcs/gitolite-gentoo/gitolite-gentoo-1.5.8.ebuild
index 7c50739b866e..d496f7433bde 100644
--- a/dev-vcs/gitolite-gentoo/gitolite-gentoo-1.5.6-r1.ebuild
+++ b/dev-vcs/gitolite-gentoo/gitolite-gentoo-1.5.8.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitolite-gentoo/gitolite-gentoo-1.5.6-r1.ebuild,v 1.2 2010/11/06 23:05:05 idl0r Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/gitolite-gentoo/gitolite-gentoo-1.5.8.ebuild,v 1.1 2011/01/03 05:14:33 idl0r Exp $
EAPI=3
@@ -28,9 +28,6 @@ pkg_setup() {
}
src_prepare() {
- epatch "${FILESDIR}/gl-setup-tempfile.patch"
- epatch "${FILESDIR}/gitolite-require.patch"
-
rm -rf Makefile doc/COPYING contrib/{autotoc,gitweb,vim}
echo "${PF}-gentoo" > conf/VERSION
@@ -41,8 +38,8 @@ src_install() {
./src/gl-system-install "${D}"/usr/bin \
"${D}"/usr/share/gitolite/conf "${D}"/usr/share/gitolite/hooks || die
- dosed "s:${D}::g" usr/bin/gl-setup \
- usr/share/gitolite/conf/example.gitolite.rc || 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/gitolite.pm"
insinto "${VENDOR_LIB}"