From afcc922dd2a82b7fe89a2e6364ccc56792b4a54d Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Wed, 3 Dec 2014 11:51:27 +0000 Subject: Upgrade to the latest version of git. git-svn-id: http://svn.telesphoreo.org/trunk@800 514c082c-b64e-11dc-b46d-3d985efe055d --- data/git/_metadata/version | 2 +- data/git/git-1.5.6.rc0.tar.bz2 | Bin 1724742 -> 0 bytes data/git/git-2.2.0.tar.gz | Bin 0 -> 5157176 bytes data/git/make.sh | 3 ++- data/git/symlink.diff | 55 ++++++++++++++++++++++++++++------------- 5 files changed, 41 insertions(+), 19 deletions(-) delete mode 100644 data/git/git-1.5.6.rc0.tar.bz2 create mode 100644 data/git/git-2.2.0.tar.gz diff --git a/data/git/_metadata/version b/data/git/_metadata/version index 4c21d6a1a..ccbccc3dc 100644 --- a/data/git/_metadata/version +++ b/data/git/_metadata/version @@ -1 +1 @@ -1.5.6.rc0 +2.2.0 diff --git a/data/git/git-1.5.6.rc0.tar.bz2 b/data/git/git-1.5.6.rc0.tar.bz2 deleted file mode 100644 index 257dcc550..000000000 Binary files a/data/git/git-1.5.6.rc0.tar.bz2 and /dev/null differ diff --git a/data/git/git-2.2.0.tar.gz b/data/git/git-2.2.0.tar.gz new file mode 100644 index 000000000..2eb2178ba Binary files /dev/null and b/data/git/git-2.2.0.tar.gz differ diff --git a/data/git/make.sh b/data/git/make.sh index 31faba511..3dc1c30d8 100644 --- a/data/git/make.sh +++ b/data/git/make.sh @@ -1,5 +1,6 @@ pkg:setup +export PATH=/apl/tel/path:$PATH pkg:configure ac_cv_c_c99_format=yes ac_cv_fread_reads_directories=no ac_cv_snprintf_returns_bogus=yes --without-tcltk make pkg:install -pkg: sed -i -e 's/^=head2 .*:/=head2/' /usr/lib/perl/5.8.8/perllocal.pod +pkg: rm -f /usr/lib/perl/5.10.1/perllocal.pod diff --git a/data/git/symlink.diff b/data/git/symlink.diff index 158b8aacc..4b10e71e4 100644 --- a/data/git/symlink.diff +++ b/data/git/symlink.diff @@ -1,21 +1,42 @@ -diff -ru git-1.5.6.rc0/Makefile git-1.5.6.rc0+iPhone/Makefile ---- git-1.5.6.rc0/Makefile 2008-05-26 00:47:42.000000000 +0000 -+++ git-1.5.6.rc0+iPhone/Makefile 2008-05-31 18:51:02.000000000 +0000 -@@ -999,7 +999,7 @@ - '-DGIT_INFO_PATH="$(infodir_SQ)"' $< +diff -ru git-2.2.0/Makefile git-2.2.0+iPhone/Makefile +--- git-2.2.0/Makefile 2014-11-26 22:39:03.000000000 +0000 ++++ git-2.2.0+iPhone/Makefile 2014-12-03 08:21:03.000000000 +0000 +@@ -1628,7 +1628,6 @@ $(BUILT_INS): git$X -- $(QUIET_BUILT_IN)$(RM) $@ && ln git$X $@ -+ $(QUIET_BUILT_IN)$(RM) $@ && ln -s git$X $@ + $(QUIET_BUILT_IN)$(RM) $@ && \ +- ln $< $@ 2>/dev/null || \ + ln -s $< $@ 2>/dev/null || \ + cp $< $@ - common-cmds.h: ./generate-cmdlist.sh command-list.txt +@@ -1912,7 +1911,6 @@ -@@ -1241,7 +1241,7 @@ - cp '$(DESTDIR_SQ)$(bindir_SQ)/git$X' \ - '$(DESTDIR_SQ)$(gitexecdir_SQ)/git$X'; \ - fi -- $(foreach p,$(BUILT_INS), $(RM) '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' && ln '$(DESTDIR_SQ)$(gitexecdir_SQ)/git$X' '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' ;) -+ $(foreach p,$(BUILT_INS), $(RM) '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' && ln -s 'git$X' '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p' ;) - ifneq (,$X) - $(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) git$X)), $(RM) '$(DESTDIR_SQ)$(gitexecdir_SQ)/$p';) - endif + $(REMOTE_CURL_ALIASES): $(REMOTE_CURL_PRIMARY) + $(QUIET_LNCP)$(RM) $@ && \ +- ln $< $@ 2>/dev/null || \ + ln -s $< $@ 2>/dev/null || \ + cp $< $@ + +@@ -2226,14 +2224,12 @@ + for p in $(filter $(install_bindir_programs),$(BUILT_INS)); do \ + $(RM) "$$bindir/$$p" && \ + test -z "$(NO_INSTALL_HARDLINKS)" && \ +- ln "$$bindir/git$X" "$$bindir/$$p" 2>/dev/null || \ + ln -s "git$X" "$$bindir/$$p" 2>/dev/null || \ + cp "$$bindir/git$X" "$$bindir/$$p" || exit; \ + done && \ + for p in $(BUILT_INS); do \ + $(RM) "$$execdir/$$p" && \ + test -z "$(NO_INSTALL_HARDLINKS)" && \ +- ln "$$execdir/git$X" "$$execdir/$$p" 2>/dev/null || \ + ln -s "git$X" "$$execdir/$$p" 2>/dev/null || \ + cp "$$execdir/git$X" "$$execdir/$$p" || exit; \ + done && \ +@@ -2241,7 +2237,6 @@ + for p in $$remote_curl_aliases; do \ + $(RM) "$$execdir/$$p" && \ + test -z "$(NO_INSTALL_HARDLINKS)" && \ +- ln "$$execdir/git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \ + ln -s "git-remote-http$X" "$$execdir/$$p" 2>/dev/null || \ + cp "$$execdir/git-remote-http$X" "$$execdir/$$p" || exit; \ + done && \ -- cgit v1.2.3