rpms/git/FC-5 cvsserver-Avoid-miscounting-bytes-in-Perl-v5.8.x.patch, NONE, 1.1 git-install-non-executable-doc-files.patch, NONE, 1.1 git.spec, 1.23, 1.24
Chris Wright (chrisw)
fedora-extras-commits at redhat.com
Mon Dec 11 09:04:10 UTC 2006
- Previous message: rpms/git/FC-4 cvsserver-Avoid-miscounting-bytes-in-Perl-v5.8.x.patch, NONE, 1.1 git-install-non-executable-doc-files.patch, NONE, 1.1 git.spec, 1.23, 1.24
- Next message: rpms/git/FC-6 cvsserver-Avoid-miscounting-bytes-in-Perl-v5.8.x.patch, NONE, 1.1 git-install-non-executable-doc-files.patch, NONE, 1.1 git.spec, 1.24, 1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: chrisw
Update of /cvs/extras/rpms/git/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28757
Modified Files:
git.spec
Added Files:
cvsserver-Avoid-miscounting-bytes-in-Perl-v5.8.x.patch
git-install-non-executable-doc-files.patch
Log Message:
couple minor git fixes
cvsserver-Avoid-miscounting-bytes-in-Perl-v5.8.x.patch:
--- NEW FILE cvsserver-Avoid-miscounting-bytes-in-Perl-v5.8.x.patch ---
>From 4f88d3e0cbf443cd309c2c881209f3366f14023d Mon Sep 17 00:00:00 2001
From: Martin Langhoff <martin at catalyst.net.nz>
Date: Thu, 7 Dec 2006 16:38:50 +1300
Subject: [PATCH] cvsserver: Avoid miscounting bytes in Perl v5.8.x
At some point between v5.6 and 5.8 Perl started to assume its input,
output and filehandles are UTF-8. This breaks the counting of bytes
for the CVS protocol, resulting in the client expecting less data
than we actually send, and storing truncated files.
Signed-off-by: Martin Langhoff <martin at catalyst.net.nz>
Signed-off-by: Junio C Hamano <junkio at cox.net>
Signed-off-by: Chris Wright <chrisw at sous-sol.org>
---
git-cvsserver.perl | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/git-cvsserver.perl b/git-cvsserver.perl
index ca519b7..197014d 100755
--- a/git-cvsserver.perl
+++ b/git-cvsserver.perl
@@ -17,6 +17,7 @@
use strict;
use warnings;
+use bytes;
use Fcntl;
use File::Temp qw/tempdir tempfile/;
--
1.4.4.2
git-install-non-executable-doc-files.patch:
--- NEW FILE git-install-non-executable-doc-files.patch ---
No need to install documentation files as executable.
Signed-off-by: Chris Wright <chrisw at sous-sol.org>
---
Documentation/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/Makefile b/Documentation/Makefile
index c00f5f6..d68bc4a 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -56,8 +56,8 @@ man7: $(DOC_MAN7)
install: man
$(INSTALL) -d -m755 $(DESTDIR)$(man1dir) $(DESTDIR)$(man7dir)
- $(INSTALL) $(DOC_MAN1) $(DESTDIR)$(man1dir)
- $(INSTALL) $(DOC_MAN7) $(DESTDIR)$(man7dir)
+ $(INSTALL) -m644 $(DOC_MAN1) $(DESTDIR)$(man1dir)
+ $(INSTALL) -m644 $(DOC_MAN7) $(DESTDIR)$(man7dir)
#
Index: git.spec
===================================================================
RCS file: /cvs/extras/rpms/git/FC-5/git.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- git.spec 10 Dec 2006 22:37:05 -0000 1.23
+++ git.spec 11 Dec 2006 09:03:40 -0000 1.24
@@ -1,12 +1,14 @@
# Pass --without docs to rpmbuild if you don't want the documentation
Name: git
Version: 1.4.4.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Git core and tools
License: GPL
Group: Development/Tools
URL: http://kernel.org/pub/software/scm/git/
Source: http://kernel.org/pub/software/scm/git/%{name}-%{version}.tar.gz
+Patch0: git-install-non-executable-doc-files.patch
+Patch1: cvsserver-Avoid-miscounting-bytes-in-Perl-v5.8.x.patch
BuildRequires: zlib-devel >= 1.2, openssl-devel, curl-devel, expat-devel %{!?_without_docs:, xmlto, asciidoc > 6.0.3}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: git-core, git-svn, git-cvs, git-arch, git-email, gitk, perl-Git
@@ -82,6 +84,8 @@
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
%build
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" WITH_OWN_SUBPROCESS_PY=YesPlease \
@@ -155,9 +159,16 @@
%{!?_without_docs: %doc Documentation/*.html }
%changelog
+* Sun Dec 10 2006 Chris Wright <chrisw at redhat.com> 1.4.4.2-2
+- no need to install manpages executable (bz 216790)
+- use bytes for git-cvsserver
+
* Sun Dec 10 2006 Chris Wright <chrisw at redhat.com> 1.4.4.2-1
- git-1.4.4.2
+* Mon Nov 6 2006 Jindrich Novy <jnovy at redhat.com> 1.4.2.4-2
+- rebuild against the new curl
+
* Tue Oct 17 2006 Chris Wright <chrisw at redhat.com> 1.4.2.4-1
- git-1.4.2.4
- Previous message: rpms/git/FC-4 cvsserver-Avoid-miscounting-bytes-in-Perl-v5.8.x.patch, NONE, 1.1 git-install-non-executable-doc-files.patch, NONE, 1.1 git.spec, 1.23, 1.24
- Next message: rpms/git/FC-6 cvsserver-Avoid-miscounting-bytes-in-Perl-v5.8.x.patch, NONE, 1.1 git-install-non-executable-doc-files.patch, NONE, 1.1 git.spec, 1.24, 1.25
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list