packages: busybox/busybox.spec, busybox/busybox-toolongcmd.patch (NEW) - no...

arekm arekm at pld-linux.org
Tue Oct 18 18:21:18 CEST 2011


Author: arekm                        Date: Tue Oct 18 16:21:18 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- not builtin printf causes problems due to too long cmd line

---- Files affected:
packages/busybox:
   busybox.spec (1.191 -> 1.192) , busybox-toolongcmd.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/busybox/busybox.spec
diff -u packages/busybox/busybox.spec:1.191 packages/busybox/busybox.spec:1.192
--- packages/busybox/busybox.spec:1.191	Sat Oct 15 20:08:57 2011
+++ packages/busybox/busybox.spec	Tue Oct 18 18:21:13 2011
@@ -63,6 +63,7 @@
 Patch6:		%{name}-dhcp.patch
 Patch7:		%{name}-fix_64_archs.patch
 Patch9:		%{name}-ash-export-PATH.patch
+Patch10:	%{name}-toolongcmd.patch
 URL:		http://www.busybox.net/
 BuildRequires:	gcc >= 3.2
 BuildRequires:	perl-tools-pod
@@ -178,6 +179,7 @@
 %patch6 -p1
 %patch7 -p1
 %patch9 -p1
+%patch10 -p1
 
 %build
 install -d built
@@ -315,6 +317,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.192  2011/10/18 16:21:13  arekm
+- not builtin printf causes problems due to too long cmd line
+
 Revision 1.191  2011/10/15 18:08:57  arekm
 - up to 1.19.2
 

================================================================
Index: packages/busybox/busybox-toolongcmd.patch
diff -u /dev/null packages/busybox/busybox-toolongcmd.patch:1.1
--- /dev/null	Tue Oct 18 18:21:18 2011
+++ packages/busybox/busybox-toolongcmd.patch	Tue Oct 18 18:21:13 2011
@@ -0,0 +1,13 @@
+--- busybox-1.19.2/scripts/gen_build_files.sh~	2011-08-22 04:57:50.000000000 +0200
++++ busybox-1.19.2/scripts/gen_build_files.sh	2011-10-18 18:17:34.041556654 +0200
+@@ -29,7 +29,9 @@
+ 		printf "%s\n" "${header}"
+ 		if grep -qs '^INSERT$' "${src}"; then
+ 			sed -n '1,/^INSERT$/p' "${src}"
+-			printf "%s\n" "${insert}"
++			cat << EOF
++			${insert}
++EOF
+ 			sed -n '/^INSERT$/,$p' "${src}"
+ 		else
+ 			if [ -n "${insert}" ]; then
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/busybox/busybox.spec?r1=1.191&r2=1.192&f=u



More information about the pld-cvs-commit mailing list