Parcourir la source

git 1.7.1-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@1966 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim il y a 13 ans
Parent
commit
c616126f81
1 fichiers modifiés avec 13 ajouts et 1 suppressions
  1. 13 1
      g/git/git-vl.spec

+ 13 - 1
g/git/git-vl.spec

@@ -4,7 +4,7 @@
 # Pass --without docs to rpmbuild if you don't want the documentation
 # Pass --without docs to rpmbuild if you don't want the documentation
 Name: 		git
 Name: 		git
 Version: 	1.7.1
 Version: 	1.7.1
-Release:        1%{?_dist_release}
+Release:        2%{?_dist_release}
 Summary:  	Core git tools
 Summary:  	Core git tools
 Summary(ja):	Core git ツール
 Summary(ja):	Core git ツール
 License: 	GPLv2
 License: 	GPLv2
@@ -19,6 +19,9 @@ Source11:       %{name}-remove.sh
 Patch0:		git-1.5-gitweb-home-link.patch
 Patch0:		git-1.5-gitweb-home-link.patch
 # Patch10:	git-1.6_git-daemon-fix.patch
 # Patch10:	git-1.6_git-daemon-fix.patch
 
 
+# Security
+Patch100:	git-1.7.x-CVE-2010-2542.patch
+
 BuildRequires:	zlib-devel >= 1.2, openssl-devel, curl-devel, 
 BuildRequires:	zlib-devel >= 1.2, openssl-devel, curl-devel, 
 BuildRequires:  expat-devel, gettext, asciidoc
 BuildRequires:  expat-devel, gettext, asciidoc
 BuildRequires:  xmlto
 BuildRequires:  xmlto
@@ -29,6 +32,10 @@ Requires:	zlib
 Provides:	git-core = %{version}-%{release}
 Provides:	git-core = %{version}-%{release}
 Obsoletes:	git-core <= 1.5.4.3
 Obsoletes:	git-core <= 1.5.4.3
 
 
+Vendor: 	Project Vine
+Distribution: 	Vine Linux
+# Packager: 	
+
 %description
 %description
 Git is a fast, scalable, distributed revision control system with an
 Git is a fast, scalable, distributed revision control system with an
 unusually rich command set that provides both high-level operations
 unusually rich command set that provides both high-level operations
@@ -169,6 +176,8 @@ Header files for git-core.
 
 
 # %patch10 -p1 -b .git-daemon-fix
 # %patch10 -p1 -b .git-daemon-fix
 
 
+%patch100 -p1 -b .CVE-2010-2542
+
 %build
 %build
 make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
 make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
      ETC_GITCONFIG=/etc/gitconfig \
      ETC_GITCONFIG=/etc/gitconfig \
@@ -361,6 +370,9 @@ fi
 # No files for you!
 # No files for you!
 
 
 %changelog
 %changelog
+* Tue Sep 28 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.7.1-2
+- add Patch100 for fix CVE-2010-2542 (BOF in is_git_directory)
+
 * Wed Jun  9 2010 IWAI, Masaharu <iwai@alib.jp> 1.7.1-1
 * Wed Jun  9 2010 IWAI, Masaharu <iwai@alib.jp> 1.7.1-1
 - new upstream release
 - new upstream release
 - fix git-daemon path in git.xinetd: <BTS:VineLinux:919>
 - fix git-daemon path in git.xinetd: <BTS:VineLinux:919>