소스 검색

Merge pull request #1588 from oskar456/gitfix

git: Fix broken git symlink, add IPv6 support
tripolar 9 년 전
부모
커밋
439f623c0b
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    1
      net/git/Makefile
  2. 1
    1
      net/git/patches/100-convert_builtin.patch

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

@@ -64,7 +64,6 @@ MAKE_FLAGS := \
64 64
 	NO_MKSTEMPS="YesPlease" \
65 65
 	NO_GETTEXT="YesPlease" \
66 66
 	NO_UNIX_SOCKETS="YesPlease" \
67
-	NO_IPV6="YesPlease" \
68 67
 	NO_ICONV="YesPlease" \
69 68
 	NO_NSEC="YesPlease" \
70 69
 	NO_PERL="YesPlease" \
@@ -88,6 +87,7 @@ define Package/git/install
88 87
 	$(RM) $(PKG_INSTALL_DIR)/usr/bin/git-cvsserver
89 88
 	$(CP) $(PKG_INSTALL_DIR)/usr/bin/git-* $(1)/usr/bin
90 89
 	$(INSTALL_DIR) $(1)/usr/lib/git-core
90
+	$(LN) /usr/bin/git $(1)/usr/lib/git-core/git
91 91
 	( cd $(PKG_INSTALL_DIR); $(TAR) \
92 92
 		--exclude=usr/lib/git-core/git-http-backend \
93 93
 		--exclude=usr/lib/git-core/git-http-fetch \

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

@@ -49,7 +49,7 @@
49 49
  git-http-fetch$X: http.o http-walker.o http-fetch.o GIT-LDFLAGS $(GITLIBS)
50 50
  	$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
51 51
  		$(LIBS) $(CURL_LIBCURL)
52
-@@ -2277,10 +2269,11 @@ endif
52
+@@ -2279,10 +2271,11 @@ endif
53 53
  	bindir=$$(cd '$(DESTDIR_SQ)$(bindir_SQ)' && pwd) && \
54 54
  	execdir=$$(cd '$(DESTDIR_SQ)$(gitexec_instdir_SQ)' && pwd) && \
55 55
  	{ test "$$bindir/" = "$$execdir/" || \