소스 검색

git: update to 2.2.0

Signed-off-by: Peter Wagner <tripolar@gmx.at>
Peter Wagner 10 년 전
부모
커밋
14be8d35e8
2개의 변경된 파일18개의 추가작업 그리고 18개의 파일을 삭제
  1. 3
    3
      net/git/Makefile
  2. 15
    15
      net/git/patches/100-convert_builtin.patch

+ 3
- 3
net/git/Makefile 파일 보기

@@ -8,12 +8,12 @@
8 8
 include $(TOPDIR)/rules.mk
9 9
 
10 10
 PKG_NAME:=git
11
-PKG_VERSION:=2.1.0
12
-PKG_RELEASE:=2
11
+PKG_VERSION:=2.2.0
12
+PKG_RELEASE:=1
13 13
 
14 14
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15 15
 PKG_SOURCE_URL:=@KERNEL/software/scm/git/
16
-PKG_MD5SUM:=47b1f55d9a16be112f7ae2c778a9b30c
16
+PKG_MD5SUM:=5c9d20582297f8f24606fe49f515b584
17 17
 
18 18
 PKG_INSTALL:=1
19 19
 PKG_BUILD_PARALLEL:=1

+ 15
- 15
net/git/patches/100-convert_builtin.patch 파일 보기

@@ -1,6 +1,6 @@
1 1
 --- a/Makefile
2 2
 +++ b/Makefile
3
-@@ -533,16 +533,7 @@ EXTRA_PROGRAMS =
3
+@@ -529,16 +529,7 @@ EXTRA_PROGRAMS =
4 4
  # ... and all the rest that could be moved out of bindir to gitexecdir
5 5
  PROGRAMS += $(EXTRA_PROGRAMS)
6 6
  
@@ -18,7 +18,7 @@
18 18
  
19 19
  # Binary suffix, set to .exe for Windows builds
20 20
  X =
21
-@@ -1007,6 +998,12 @@ BUILTIN_OBJS += builtin/verify-commit.o
21
+@@ -887,6 +878,12 @@ BUILTIN_OBJS += builtin/verify-commit.o
22 22
  BUILTIN_OBJS += builtin/verify-pack.o
23 23
  BUILTIN_OBJS += builtin/verify-tag.o
24 24
  BUILTIN_OBJS += builtin/write-tree.o
@@ -31,7 +31,7 @@
31 31
  
32 32
  GITLIBS = $(LIB_FILE) $(XDIFF_LIB)
33 33
  EXTLIBS =
34
-@@ -1174,7 +1171,7 @@ endif
34
+@@ -1049,7 +1046,7 @@ endif
35 35
  EXTLIBS += -lz
36 36
  
37 37
  ifndef NO_OPENSSL
@@ -40,7 +40,7 @@
40 40
  	ifdef OPENSSLDIR
41 41
  		BASIC_CFLAGS += -I$(OPENSSLDIR)/include
42 42
  		OPENSSL_LINK = -L$(OPENSSLDIR)/$(lib) $(CC_LD_DYNPATH)$(OPENSSLDIR)/$(lib)
43
-@@ -2067,10 +2064,6 @@ endif
43
+@@ -1895,10 +1892,6 @@ endif
44 44
  git-%$X: %.o GIT-LDFLAGS $(GITLIBS)
45 45
  	$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) $(LIBS)
46 46
  
@@ -51,7 +51,7 @@
51 51
  git-http-fetch$X: http.o http-walker.o http-fetch.o GIT-LDFLAGS $(GITLIBS)
52 52
  	$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
53 53
  		$(LIBS) $(CURL_LIBCURL)
54
-@@ -2388,24 +2381,22 @@ endif
54
+@@ -2216,24 +2209,22 @@ endif
55 55
  	bindir=$$(cd '$(DESTDIR_SQ)$(bindir_SQ)' && pwd) && \
56 56
  	execdir=$$(cd '$(DESTDIR_SQ)$(gitexec_instdir_SQ)' && pwd) && \
57 57
  	{ test "$$bindir/" = "$$execdir/" || \
@@ -80,7 +80,7 @@
80 80
  	done && \
81 81
 --- a/builtin.h
82 82
 +++ b/builtin.h
83
-@@ -137,5 +137,11 @@ extern int cmd_verify_pack(int argc, con
83
+@@ -138,5 +138,11 @@ extern int cmd_verify_pack(int argc, con
84 84
  extern int cmd_show_ref(int argc, const char **argv, const char *prefix);
85 85
  extern int cmd_pack_refs(int argc, const char **argv, const char *prefix);
86 86
  extern int cmd_replace(int argc, const char **argv, const char *prefix);
@@ -118,7 +118,7 @@
118 118
 +#include "../upload-pack.c"
119 119
 --- a/daemon.c
120 120
 +++ b/daemon.c
121
-@@ -1119,7 +1119,7 @@ static int serve(struct string_list *lis
121
+@@ -1096,7 +1096,7 @@ static int serve(struct string_list *lis
122 122
  	return service_loop(&socklist);
123 123
  }
124 124
  
@@ -127,7 +127,7 @@
127 127
  {
128 128
  	int listen_port = 0;
129 129
  	struct string_list listen_addr = STRING_LIST_INIT_NODUP;
130
-@@ -1315,12 +1315,13 @@
130
+@@ -1292,12 +1292,13 @@ int main(int argc, char **argv)
131 131
  		store_pid(pid_file);
132 132
  
133 133
  	/* prepare argv for serving-processes */
@@ -148,7 +148,7 @@
148 148
  }
149 149
 --- a/fast-import.c
150 150
 +++ b/fast-import.c
151
-@@ -3343,7 +3343,7 @@ static void parse_argv(void)
151
+@@ -3350,7 +3350,7 @@ static void parse_argv(void)
152 152
  		read_marks();
153 153
  }
154 154
  
@@ -190,7 +190,7 @@
190 190
  	{ "index-pack", cmd_index_pack, RUN_SETUP_GENTLY },
191 191
  	{ "init", cmd_init_db, NO_SETUP },
192 192
  	{ "init-db", cmd_init_db, NO_SETUP },
193
-@@ -461,6 +464,7 @@ static struct cmd_struct commands[] = {
193
+@@ -462,6 +465,7 @@ static struct cmd_struct commands[] = {
194 194
  	{ "revert", cmd_revert, RUN_SETUP | NEED_WORK_TREE },
195 195
  	{ "rm", cmd_rm, RUN_SETUP },
196 196
  	{ "send-pack", cmd_send_pack, RUN_SETUP },
@@ -198,7 +198,7 @@
198 198
  	{ "shortlog", cmd_shortlog, RUN_SETUP_GENTLY | USE_PAGER },
199 199
  	{ "show", cmd_show, RUN_SETUP },
200 200
  	{ "show-branch", cmd_show_branch, RUN_SETUP },
201
-@@ -477,6 +481,7 @@ static struct cmd_struct commands[] = {
201
+@@ -478,6 +482,7 @@ static struct cmd_struct commands[] = {
202 202
  	{ "update-server-info", cmd_update_server_info, RUN_SETUP },
203 203
  	{ "upload-archive", cmd_upload_archive },
204 204
  	{ "upload-archive--writer", cmd_upload_archive_writer },
@@ -208,7 +208,7 @@
208 208
  	{ "verify-pack", cmd_verify_pack },
209 209
 --- a/http-backend.c
210 210
 +++ b/http-backend.c
211
-@@ -566,7 +566,7 @@ static struct service_cmd {
211
+@@ -557,7 +557,7 @@ static struct service_cmd {
212 212
  	{"POST", "/git-receive-pack$", service_rpc}
213 213
  };
214 214
  
@@ -219,8 +219,8 @@
219 219
  	char *dir;
220 220
 --- a/imap-send.c
221 221
 +++ b/imap-send.c
222
-@@ -1365,7 +1365,7 @@ static int git_imap_config(const char *k
223
- 	return 0;
222
+@@ -1338,7 +1338,7 @@ static void git_imap_config(void)
223
+ 	git_config_get_string("imap.authmethod", &server.auth_method);
224 224
  }
225 225
  
226 226
 -int main(int argc, char **argv)
@@ -241,7 +241,7 @@
241 241
  	const char **user_argv;
242 242
 --- a/upload-pack.c
243 243
 +++ b/upload-pack.c
244
-@@ -790,7 +790,7 @@ static int upload_pack_config(const char
244
+@@ -791,7 +791,7 @@ static int upload_pack_config(const char
245 245
  	return parse_hide_refs_config(var, value, "uploadpack");
246 246
  }
247 247