Browse Source

git: update to 2.4.2

Signed-off-by: Peter Wagner <tripolar@gmx.at>
Peter Wagner 9 years ago
parent
commit
1710be8605

+ 2
- 2
net/git/Makefile View File

8
 include $(TOPDIR)/rules.mk
8
 include $(TOPDIR)/rules.mk
9
 
9
 
10
 PKG_NAME:=git
10
 PKG_NAME:=git
11
-PKG_VERSION:=2.3.5
11
+PKG_VERSION:=2.4.2
12
 PKG_RELEASE:=1
12
 PKG_RELEASE:=1
13
 
13
 
14
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
14
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15
 PKG_SOURCE_URL:=@KERNEL/software/scm/git/
15
 PKG_SOURCE_URL:=@KERNEL/software/scm/git/
16
-PKG_MD5SUM:=be8c0bbb0c5ee6ab7cdcffd2c9375fe6
16
+PKG_MD5SUM:=0b8dc818ed4766342978d744522aec49
17
 
17
 
18
 PKG_INSTALL:=1
18
 PKG_INSTALL:=1
19
 PKG_BUILD_PARALLEL:=1
19
 PKG_BUILD_PARALLEL:=1

+ 15
- 15
net/git/patches/100-convert_builtin.patch View File

1
 --- a/Makefile
1
 --- a/Makefile
2
 +++ b/Makefile
2
 +++ b/Makefile
3
-@@ -538,16 +538,7 @@ EXTRA_PROGRAMS =
3
+@@ -549,16 +549,7 @@ EXTRA_PROGRAMS =
4
  # ... and all the rest that could be moved out of bindir to gitexecdir
4
  # ... and all the rest that could be moved out of bindir to gitexecdir
5
  PROGRAMS += $(EXTRA_PROGRAMS)
5
  PROGRAMS += $(EXTRA_PROGRAMS)
6
  
6
  
17
  
17
  
18
  # Binary suffix, set to .exe for Windows builds
18
  # Binary suffix, set to .exe for Windows builds
19
  X =
19
  X =
20
-@@ -896,6 +887,11 @@ BUILTIN_OBJS += builtin/verify-commit.o
20
+@@ -907,6 +898,11 @@ BUILTIN_OBJS += builtin/verify-commit.o
21
  BUILTIN_OBJS += builtin/verify-pack.o
21
  BUILTIN_OBJS += builtin/verify-pack.o
22
  BUILTIN_OBJS += builtin/verify-tag.o
22
  BUILTIN_OBJS += builtin/verify-tag.o
23
  BUILTIN_OBJS += builtin/write-tree.o
23
  BUILTIN_OBJS += builtin/write-tree.o
29
  
29
  
30
  GITLIBS = $(LIB_FILE) $(XDIFF_LIB)
30
  GITLIBS = $(LIB_FILE) $(XDIFF_LIB)
31
  EXTLIBS =
31
  EXTLIBS =
32
-@@ -1070,7 +1066,7 @@ endif
32
+@@ -1089,7 +1085,7 @@ endif
33
  EXTLIBS += -lz
33
  EXTLIBS += -lz
34
  
34
  
35
  ifndef NO_OPENSSL
35
  ifndef NO_OPENSSL
38
  	ifdef OPENSSLDIR
38
  	ifdef OPENSSLDIR
39
  		BASIC_CFLAGS += -I$(OPENSSLDIR)/include
39
  		BASIC_CFLAGS += -I$(OPENSSLDIR)/include
40
  		OPENSSL_LINK = -L$(OPENSSLDIR)/$(lib) $(CC_LD_DYNPATH)$(OPENSSLDIR)/$(lib)
40
  		OPENSSL_LINK = -L$(OPENSSLDIR)/$(lib) $(CC_LD_DYNPATH)$(OPENSSLDIR)/$(lib)
41
-@@ -1933,10 +1929,6 @@ endif
41
+@@ -1956,10 +1952,6 @@ endif
42
  git-%$X: %.o GIT-LDFLAGS $(GITLIBS)
42
  git-%$X: %.o GIT-LDFLAGS $(GITLIBS)
43
  	$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS)
43
  	$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS)
44
  
44
  
49
  git-http-fetch$X: http.o http-walker.o http-fetch.o GIT-LDFLAGS $(GITLIBS)
49
  git-http-fetch$X: http.o http-walker.o http-fetch.o GIT-LDFLAGS $(GITLIBS)
50
  	$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
50
  	$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
51
  		$(LIBS) $(CURL_LIBCURL)
51
  		$(LIBS) $(CURL_LIBCURL)
52
-@@ -2254,10 +2246,11 @@ endif
52
+@@ -2277,10 +2269,11 @@ endif
53
  	bindir=$$(cd '$(DESTDIR_SQ)$(bindir_SQ)' && pwd) && \
53
  	bindir=$$(cd '$(DESTDIR_SQ)$(bindir_SQ)' && pwd) && \
54
  	execdir=$$(cd '$(DESTDIR_SQ)$(gitexec_instdir_SQ)' && pwd) && \
54
  	execdir=$$(cd '$(DESTDIR_SQ)$(gitexec_instdir_SQ)' && pwd) && \
55
  	{ test "$$bindir/" = "$$execdir/" || \
55
  	{ test "$$bindir/" = "$$execdir/" || \
97
 +#include "../upload-pack.c"
97
 +#include "../upload-pack.c"
98
 --- a/daemon.c
98
 --- a/daemon.c
99
 +++ b/daemon.c
99
 +++ b/daemon.c
100
-@@ -1193,7 +1193,7 @@ static int serve(struct string_list *lis
100
+@@ -1192,7 +1192,7 @@ static int serve(struct string_list *lis
101
  	return service_loop(&socklist);
101
  	return service_loop(&socklist);
102
  }
102
  }
103
  
103
  
106
  {
106
  {
107
  	int listen_port = 0;
107
  	int listen_port = 0;
108
  	struct string_list listen_addr = STRING_LIST_INIT_NODUP;
108
  	struct string_list listen_addr = STRING_LIST_INIT_NODUP;
109
-@@ -1389,12 +1389,13 @@ int main(int argc, char **argv)
109
+@@ -1388,12 +1388,13 @@ int main(int argc, char **argv)
110
  		store_pid(pid_file);
110
  		store_pid(pid_file);
111
  
111
  
112
  	/* prepare argv for serving-processes */
112
  	/* prepare argv for serving-processes */
127
  }
127
  }
128
 --- a/fast-import.c
128
 --- a/fast-import.c
129
 +++ b/fast-import.c
129
 +++ b/fast-import.c
130
-@@ -3354,7 +3354,7 @@ static void parse_argv(void)
130
+@@ -3351,7 +3351,7 @@ static void parse_argv(void)
131
  		read_marks();
131
  		read_marks();
132
  }
132
  }
133
  
133
  
138
  
138
  
139
 --- a/git.c
139
 --- a/git.c
140
 +++ b/git.c
140
 +++ b/git.c
141
-@@ -309,11 +309,11 @@ static int handle_alias(int *argcp, cons
141
+@@ -311,11 +311,11 @@ static int handle_alias(int *argcp, cons
142
  
142
  
143
  struct cmd_struct {
143
  struct cmd_struct {
144
  	const char *cmd;
144
  	const char *cmd;
152
  {
152
  {
153
  	int status, help;
153
  	int status, help;
154
  	struct stat st;
154
  	struct stat st;
155
-@@ -393,6 +393,7 @@ static struct cmd_struct commands[] = {
155
+@@ -395,6 +395,7 @@ static struct cmd_struct commands[] = {
156
  	{ "config", cmd_config, RUN_SETUP_GENTLY },
156
  	{ "config", cmd_config, RUN_SETUP_GENTLY },
157
  	{ "count-objects", cmd_count_objects, RUN_SETUP },
157
  	{ "count-objects", cmd_count_objects, RUN_SETUP },
158
  	{ "credential", cmd_credential, RUN_SETUP_GENTLY },
158
  	{ "credential", cmd_credential, RUN_SETUP_GENTLY },
160
  	{ "describe", cmd_describe, RUN_SETUP },
160
  	{ "describe", cmd_describe, RUN_SETUP },
161
  	{ "diff", cmd_diff },
161
  	{ "diff", cmd_diff },
162
  	{ "diff-files", cmd_diff_files, RUN_SETUP | NEED_WORK_TREE },
162
  	{ "diff-files", cmd_diff_files, RUN_SETUP | NEED_WORK_TREE },
163
-@@ -411,6 +412,7 @@ static struct cmd_struct commands[] = {
163
+@@ -413,6 +414,7 @@ static struct cmd_struct commands[] = {
164
  	{ "grep", cmd_grep, RUN_SETUP_GENTLY },
164
  	{ "grep", cmd_grep, RUN_SETUP_GENTLY },
165
  	{ "hash-object", cmd_hash_object },
165
  	{ "hash-object", cmd_hash_object },
166
  	{ "help", cmd_help },
166
  	{ "help", cmd_help },
168
  	{ "index-pack", cmd_index_pack, RUN_SETUP_GENTLY },
168
  	{ "index-pack", cmd_index_pack, RUN_SETUP_GENTLY },
169
  	{ "init", cmd_init_db, NO_SETUP },
169
  	{ "init", cmd_init_db, NO_SETUP },
170
  	{ "init-db", cmd_init_db, NO_SETUP },
170
  	{ "init-db", cmd_init_db, NO_SETUP },
171
-@@ -459,6 +461,7 @@ static struct cmd_struct commands[] = {
171
+@@ -461,6 +463,7 @@ static struct cmd_struct commands[] = {
172
  	{ "revert", cmd_revert, RUN_SETUP | NEED_WORK_TREE },
172
  	{ "revert", cmd_revert, RUN_SETUP | NEED_WORK_TREE },
173
  	{ "rm", cmd_rm, RUN_SETUP },
173
  	{ "rm", cmd_rm, RUN_SETUP },
174
  	{ "send-pack", cmd_send_pack, RUN_SETUP },
174
  	{ "send-pack", cmd_send_pack, RUN_SETUP },
176
  	{ "shortlog", cmd_shortlog, RUN_SETUP_GENTLY | USE_PAGER },
176
  	{ "shortlog", cmd_shortlog, RUN_SETUP_GENTLY | USE_PAGER },
177
  	{ "show", cmd_show, RUN_SETUP },
177
  	{ "show", cmd_show, RUN_SETUP },
178
  	{ "show-branch", cmd_show_branch, RUN_SETUP },
178
  	{ "show-branch", cmd_show_branch, RUN_SETUP },
179
-@@ -475,6 +478,7 @@ static struct cmd_struct commands[] = {
179
+@@ -477,6 +480,7 @@ static struct cmd_struct commands[] = {
180
  	{ "update-server-info", cmd_update_server_info, RUN_SETUP },
180
  	{ "update-server-info", cmd_update_server_info, RUN_SETUP },
181
  	{ "upload-archive", cmd_upload_archive },
181
  	{ "upload-archive", cmd_upload_archive },
182
  	{ "upload-archive--writer", cmd_upload_archive_writer },
182
  	{ "upload-archive--writer", cmd_upload_archive_writer },
186
  	{ "verify-pack", cmd_verify_pack },
186
  	{ "verify-pack", cmd_verify_pack },
187
 --- a/imap-send.c
187
 --- a/imap-send.c
188
 +++ b/imap-send.c
188
 +++ b/imap-send.c
189
-@@ -1484,7 +1484,7 @@ static int curl_append_msgs_to_imap(stru
189
+@@ -1492,7 +1492,7 @@ static int curl_append_msgs_to_imap(stru
190
  }
190
  }
191
  #endif
191
  #endif
192
  
192
  
208
  	const char **user_argv;
208
  	const char **user_argv;
209
 --- a/upload-pack.c
209
 --- a/upload-pack.c
210
 +++ b/upload-pack.c
210
 +++ b/upload-pack.c
211
-@@ -793,7 +793,7 @@ static int upload_pack_config(const char
211
+@@ -797,7 +797,7 @@ static int upload_pack_config(const char
212
  	return parse_hide_refs_config(var, value, "uploadpack");
212
  	return parse_hide_refs_config(var, value, "uploadpack");
213
  }
213
  }
214
  
214
  

+ 1
- 1
net/git/patches/400-imapsend_without_curl.patch View File

1
 --- a/Makefile
1
 --- a/Makefile
2
 +++ b/Makefile
2
 +++ b/Makefile
3
-@@ -1039,7 +1039,7 @@ else
3
+@@ -1058,7 +1058,7 @@ else
4
  	endif
4
  	endif
5
  	curl_check := $(shell (echo 072200; curl-config --vernum | sed -e '/^70[BC]/s/^/0/') 2>/dev/null | sort -r | sed -ne 2p)
5
  	curl_check := $(shell (echo 072200; curl-config --vernum | sed -e '/^70[BC]/s/^/0/') 2>/dev/null | sort -r | sed -ne 2p)
6
  	ifeq "$(curl_check)" "072200"
6
  	ifeq "$(curl_check)" "072200"