瀏覽代碼

coreutils: bump version to 8.23

Signed-off-by: Richard Kunze <richard.kunze@web.de>
Richard Kunze 10 年之前
父節點
當前提交
04fb676036

+ 9
- 3
utils/coreutils/Makefile 查看文件

@@ -8,12 +8,12 @@
8 8
 include $(TOPDIR)/rules.mk
9 9
 
10 10
 PKG_NAME:=coreutils
11
-PKG_VERSION:=8.16
11
+PKG_VERSION:=8.23
12 12
 PKG_RELEASE:=1
13 13
 
14 14
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
15 15
 PKG_SOURCE_URL:=@GNU/coreutils
16
-PKG_MD5SUM:=89b06f91634208dceba7b36ad1f9e8b9
16
+PKG_MD5SUM:=abed135279f87ad6762ce57ff6d89c41
17 17
 PKG_BUILD_DEPENDS:=libpthread
18 18
 PKG_MAINTAINER:=Jo-Philipp Wich <jow@openwrt.org>
19 19
 
@@ -36,6 +36,12 @@ DEPENDS_sort = +libpthread
36 36
 DEPENDS_timeout = +librt
37 37
 DEPENDS_expr = +libgmp
38 38
 DEPENDS_factor = +libgmp
39
+DEPENDS_cp = +libacl
40
+DEPENDS_dir = +libacl
41
+DEPENDS_install = +libacl
42
+DEPENDS_ls = +libacl
43
+DEPENDS_mv = +libacl
44
+DEPENDS_vdir = +libacl
39 45
 
40 46
 define Package/coreutils/Default
41 47
   SECTION:=utils
@@ -89,7 +95,7 @@ define Build/Compile
89 95
 	$(MAKE) -C $(PKG_BUILD_DIR) \
90 96
 		DESTDIR="$(PKG_INSTALL_DIR)" \
91 97
 		SHELL="/bin/bash" \
92
-		all install install-root
98
+		all install
93 99
 endef
94 100
 
95 101
 define Package/coreutils/install

+ 75
- 8
utils/coreutils/patches/001-no_docs_man_tests.patch 查看文件

@@ -4,19 +4,86 @@
4 4
  
5 5
  ALL_RECURSIVE_TARGETS =
6 6
  
7
--SUBDIRS = lib src doc man po tests gnulib-tests
8
-+SUBDIRS = lib src po
7
+-SUBDIRS = po . gnulib-tests
8
++SUBDIRS = po
9 9
  
10 10
  changelog_etc =				\
11 11
    ChangeLog-2005			\
12
+@@ -213,6 +213,4 @@ AM_CPPFLAGS = -Ilib -I$(top_srcdir)/lib
13
+ 
14
+ include $(top_srcdir)/lib/local.mk
15
+ include $(top_srcdir)/src/local.mk
16
+-include $(top_srcdir)/doc/local.mk
17
+-include $(top_srcdir)/man/local.mk
18
+-include $(top_srcdir)/tests/local.mk
19
++
12 20
 --- a/Makefile.in
13 21
 +++ b/Makefile.in
14
-@@ -1639,7 +1639,7 @@ top_srcdir = @top_srcdir@
15
- 
16
- # Some tests always need root privileges, others need them only sometimes.
17
- ALL_RECURSIVE_TARGETS = install-root check-root distcheck-hook
18
--SUBDIRS = lib src doc man po tests gnulib-tests
19
-+SUBDIRS = lib src po
22
+@@ -159,8 +159,7 @@ build_triplet = @build@
23
+ host_triplet = @host@
24
+ DIST_COMMON = $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk \
25
+ 	$(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk \
26
+-	$(top_srcdir)/src/single-binary.mk $(top_srcdir)/doc/local.mk \
27
+-	$(top_srcdir)/man/local.mk $(top_srcdir)/tests/local.mk \
28
++	$(top_srcdir)/src/single-binary.mk \
29
+ 	INSTALL NEWS README AUTHORS ChangeLog $(srcdir)/Makefile.in \
30
+ 	$(srcdir)/Makefile.am $(top_srcdir)/configure \
31
+ 	$(am__configure_deps) $(top_srcdir)/lib/config.hin ABOUT-NLS \
32
+@@ -2276,11 +2275,7 @@ RECURSIVE_TARGETS = all-recursive check-
33
+ 	install-ps-recursive install-recursive installcheck-recursive \
34
+ 	installdirs-recursive pdf-recursive ps-recursive \
35
+ 	tags-recursive uninstall-recursive
36
+-am__can_run_installinfo = \
37
+-  case $$AM_UPDATE_INFO_DIR in \
38
+-    n|no|NO) false;; \
39
+-    *) (install-info --version) >/dev/null 2>&1;; \
40
+-  esac
41
++am__can_run_installinfo = false
42
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
43
+ am__vpath_adj = case $$p in \
44
+     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
45
+@@ -2606,7 +2601,7 @@ EOVERFLOW_HIDDEN = @EOVERFLOW_HIDDEN@
46
+ EOVERFLOW_VALUE = @EOVERFLOW_VALUE@
47
+ ERRNO_H = @ERRNO_H@
48
+ EXEEXT = @EXEEXT@
49
+-EXTRA_MANS = @EXTRA_MANS@
50
++EXTRA_MANS = 
51
+ FLOAT_H = @FLOAT_H@
52
+ FNMATCH_H = @FNMATCH_H@
53
+ GETADDRINFO_LIB = @GETADDRINFO_LIB@
54
+@@ -3820,7 +3815,7 @@ libexecdir = @libexecdir@
55
+ lispdir = @lispdir@
56
+ localedir = @localedir@
57
+ localstatedir = @localstatedir@
58
+-man1_MANS = @man1_MANS@
59
++man1_MANS = 
60
+ mandir = @mandir@
61
+ mkdir_p = @mkdir_p@
62
+ oldincludedir = @oldincludedir@
63
+@@ -3843,7 +3838,7 @@ top_build_prefix = @top_build_prefix@
64
+ top_builddir = @top_builddir@
65
+ top_srcdir = @top_srcdir@
66
+ ALL_RECURSIVE_TARGETS = distcheck-hook check-root
67
+-SUBDIRS = po . gnulib-tests
68
++SUBDIRS = po
20 69
  changelog_etc = \
21 70
    ChangeLog-2005			\
22 71
    ChangeLog-2006			\
72
+@@ -5767,7 +5762,7 @@ all: $(BUILT_SOURCES)
73
+ .SUFFIXES: .1 .c .dvi .log .o .obj .pl .pl$(EXEEXT) .ps .sed .sh .sh$(EXEEXT) .sin .trs .x .xpl .xpl$(EXEEXT) .y
74
+ am--refresh: Makefile
75
+ 	@:
76
+-$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk $(top_srcdir)/src/single-binary.mk $(top_srcdir)/doc/local.mk $(top_srcdir)/man/local.mk $(top_srcdir)/tests/local.mk $(am__configure_deps)
77
++$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk $(top_srcdir)/src/single-binary.mk $(am__configure_deps)
78
+ 	@for dep in $?; do \
79
+ 	  case '$(am__configure_deps)' in \
80
+ 	    *$$dep*) \
81
+@@ -5790,7 +5785,7 @@ Makefile: $(srcdir)/Makefile.in $(top_bu
82
+ 	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
83
+ 	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
84
+ 	esac;
85
+-$(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk $(top_srcdir)/src/single-binary.mk $(top_srcdir)/doc/local.mk $(top_srcdir)/man/local.mk $(top_srcdir)/tests/local.mk:
86
++$(top_srcdir)/lib/local.mk $(srcdir)/lib/gnulib.mk $(top_srcdir)/src/local.mk $(srcdir)/src/cu-progs.mk $(top_srcdir)/src/single-binary.mk:
87
+ 
88
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
89
+ 	$(SHELL) ./config.status --recheck

+ 2
- 2
utils/coreutils/patches/002-fix_compile_with_uclibc.patch 查看文件

@@ -1,6 +1,6 @@
1 1
 --- a/lib/pthread.in.h
2 2
 +++ b/lib/pthread.in.h
3
-@@ -232,6 +232,9 @@ pthread_mutex_unlock (pthread_mutex_t *m
3
+@@ -252,6 +252,9 @@ pthread_mutex_unlock (pthread_mutex_t *m
4 4
  
5 5
  /* Approximate spinlocks with mutexes.  */
6 6
  
@@ -9,4 +9,4 @@
9 9
 +#endif
10 10
  typedef pthread_mutex_t pthread_spinlock_t;
11 11
  
12
- static inline int
12
+ _GL_PTHREAD_INLINE int

+ 0
- 15
utils/coreutils/patches/010-fix-gets-removal.patch 查看文件

@@ -1,15 +0,0 @@
1
-diff --git a/lib/stdio.in.h b/lib/stdio.in.h
2
-index 9dc7c4a..9fdac77 100644
3
---- a/lib/stdio.in.h
4
-+++ b/lib/stdio.in.h
5
-@@ -711,10 +711,6 @@ _GL_CXXALIAS_SYS (gets, char *, (char *s));
6
- #  undef gets
7
- # endif
8
- _GL_CXXALIASWARN (gets);
9
--/* It is very rare that the developer ever has full control of stdin,
10
--   so any use of gets warrants an unconditional warning.  Assume it is
11
--   always declared, since it is required by C89.  */
12
--_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
13
- #endif
14
- 
15
-