Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 01/13] e2fsprogs: bump to 1.41.14 and fixup
@ 2011-01-07 20:12 Gustavo Zacarias
  2011-01-07 20:12 ` [Buildroot] [PATCH 02/13] util-linux: convert to autotargets and bump to 2.18 Gustavo Zacarias
                   ` (11 more replies)
  0 siblings, 12 replies; 30+ messages in thread
From: Gustavo Zacarias @ 2011-01-07 20:12 UTC (permalink / raw)
  To: buildroot

Bump e2fsprogs to version 1.41.14

Also export libblkid properly for util-linux to use.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/e2fsprogs/e2fsprogs.mk |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index f525804..13c94ba 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -3,15 +3,10 @@
 # e2fsprogs
 #
 #############################################################
-E2FSPROGS_VERSION:=1.41.12
-E2FSPROGS_SOURCE=e2fsprogs-$(E2FSPROGS_VERSION).tar.gz
-E2FSPROGS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/e2fsprogs
-
-E2FSPROGS_AUTORECONF = NO
-E2FSPROGS_LIBTOOL_PATCH = NO
 
+E2FSPROGS_VERSION = 1.41.14
+E2FSPROGS_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/e2fsprogs
 E2FSPROGS_INSTALL_STAGING = YES
-E2FSPROGS_INSTALL_TARGET = YES
 
 E2FSPROGS_CONF_OPT = \
 	--disable-tls \
@@ -118,5 +113,16 @@ ifeq ($(BR2_PACKAGE_E2FSPROGS_LIBUUID),y)
 E2FSPROGS_POST_INSTALL_STAGING_HOOKS += E2FSPROGS_STAGING_LIBUUID_INSTALL
 endif
 
+define E2FSPROGS_STAGING_LIBBLKID_INSTALL
+	install -D $(@D)/lib/blkid/blkid.h \
+		$(STAGING_DIR)/usr/include/blkid/blkid.h
+	install -D $(@D)/lib/blkid/blkid_types.h \
+		$(STAGING_DIR)/usr/include/blkid/blkid_types.h
+endef
+
+ifeq ($(BR2_PACKAGE_E2FSPROGS_LIBBLKID),y)
+E2FSPROGS_POST_INSTALL_STAGING_HOOKS += E2FSPROGS_STAGING_LIBBLKID_INSTALL
+endif
+
 $(eval $(call AUTOTARGETS,package,e2fsprogs))
 $(eval $(call AUTOTARGETS,package,e2fsprogs,host))
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 02/13] util-linux: convert to autotargets and bump to 2.18
  2011-01-07 20:12 [Buildroot] [PATCH 01/13] e2fsprogs: bump to 1.41.14 and fixup Gustavo Zacarias
@ 2011-01-07 20:12 ` Gustavo Zacarias
  2011-02-09 21:47   ` Peter Korsgaard
  2011-01-07 20:12 ` [Buildroot] [PATCH 03/13] procps: convert to gentargets and bump to 3.2.8 Gustavo Zacarias
                   ` (10 subsequent siblings)
  11 siblings, 1 reply; 30+ messages in thread
From: Gustavo Zacarias @ 2011-01-07 20:12 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/util-linux/Config.in                       |   12 +-
 ...linux-2.13-pre17-hardcode-a-out-constants.patch |   41 --
 package/util-linux/util-linux-libmount.patch       |   20 +
 package/util-linux/util-linux-susv3-legacy.patch   |  429 --------------------
 package/util-linux/util-linux-umount2-fix.patch    |   20 -
 package/util-linux/util-linux.mk                   |  120 ++----
 6 files changed, 63 insertions(+), 579 deletions(-)
 delete mode 100644 package/util-linux/util-linux-2.13-pre17-hardcode-a-out-constants.patch
 create mode 100644 package/util-linux/util-linux-libmount.patch
 delete mode 100644 package/util-linux/util-linux-susv3-legacy.patch
 delete mode 100644 package/util-linux/util-linux-umount2-fix.patch

diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index 434dae9..4e3287e 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -1,8 +1,12 @@
-config BR2_PACKAGE_UTIL-LINUX
+config BR2_PACKAGE_UTIL_LINUX
 	bool "util-linux"
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
-	depends on BR2_INET_RPC
+	select BR2_PACKAGE_E2FSPROGS if BR2_LARGEFILE
+	select BR2_PACKAGE_E2FSPROGS_LIBBLKID if BR2_LARGEFILE
+	select BR2_PACKAGE_E2FSPROGS_LIBUUID if BR2_LARGEFILE
+	depends on BR2_PROGRAM_INVOCATION
+	depends on BR2_USE_WCHAR
 	help
 	  Various useful/essential Linux utilities.
 
@@ -10,5 +14,5 @@ config BR2_PACKAGE_UTIL-LINUX
 
 	  http://www.kernel.org/pub/linux/utils/util-linux/
 
-comment "util-linux requires a toolchain with RPC support"
-	depends on !BR2_INET_RPC
+comment "util-linux requires a toolchain with PROGRAM_INVOCATION and WCHAR support"
+	depends on !(BR2_PROGRAM_INVOCATION && BR2_USE_WCHAR)
diff --git a/package/util-linux/util-linux-2.13-pre17-hardcode-a-out-constants.patch b/package/util-linux/util-linux-2.13-pre17-hardcode-a-out-constants.patch
deleted file mode 100644
index b115c41..0000000
--- a/package/util-linux/util-linux-2.13-pre17-hardcode-a-out-constants.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Hardcode a.out related constants
-
-The OMAGIC, NMAGIC and ZMAGIC constants, related to the legacy a.out
-binary format, are no longer available in the headers of all
-architectures, due to this binary format being deprecated. For that
-reason, util-linux fails to build.
-
-We therefore take the approach used in newer versions of
-util-linux-ng: hardcoding those values. See
-http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commitdiff;h=e9eb4dad0ece03914f67f6d1ded74cfbbe694ba4
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- text-utils/more.c |    7 +++----
- 1 file changed, 3 insertions(+), 4 deletions(-)
-
-Index: util-linux-2.13-pre7/text-utils/more.c
-===================================================================
---- util-linux-2.13-pre7.orig/text-utils/more.c
-+++ util-linux-2.13-pre7/text-utils/more.c
-@@ -53,7 +53,6 @@
- #include <sys/stat.h>
- #include <sys/file.h>
- #include <sys/wait.h>
--#include <a.out.h>
- #include <locale.h>
- #include "xstrncpy.h"
- #include "nls.h"
-@@ -504,9 +503,9 @@
- 
- 	if (fread(twobytes, 2, 1, f) == 1) {
- 		switch(twobytes[0] + (twobytes[1]<<8)) {
--		case OMAGIC:	/* 0407 */
--		case NMAGIC:	/* 0410 */
--		case ZMAGIC:	/* 0413 */
-+		case 0407:	/* a.out obj */
-+		case 0410:	/* a.out exec */
-+		case 0413:	/* a.out demand exec */
- 		case 0405:
- 		case 0411:
- 		case 0177545:
diff --git a/package/util-linux/util-linux-libmount.patch b/package/util-linux/util-linux-libmount.patch
new file mode 100644
index 0000000..3cf9f9b
--- /dev/null
+++ b/package/util-linux/util-linux-libmount.patch
@@ -0,0 +1,20 @@
+We need to disable libmount's check for --enable-libblkid otherwise
+it assumes we've got nothing even if we're using an external libblkid.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura util-linux-ng-2.18.orig/configure.ac util-linux-ng-2.18/configure.ac
+--- util-linux-ng-2.18.orig/configure.ac	2010-06-30 09:52:31.000000000 -0300
++++ util-linux-ng-2.18/configure.ac	2011-01-07 12:09:17.457043328 -0300
+@@ -406,11 +406,6 @@
+   [], enable_libmount=yes
+ )
+ 
+-case "$enable_libblkid:$enable_libmount" in
+-no:yes)
+-  AC_MSG_ERROR([cannot enable libmount when libblkid is disabled]) ;;
+-esac
+-
+ AC_SUBST([LIBMOUNT_VERSION])
+ AC_SUBST([LIBMOUNT_VERSION_INFO])
+ AC_DEFINE_UNQUOTED(LIBMOUNT_VERSION, "$LIBMOUNT_VERSION", [libmount version string])
diff --git a/package/util-linux/util-linux-susv3-legacy.patch b/package/util-linux/util-linux-susv3-legacy.patch
deleted file mode 100644
index 2239119..0000000
--- a/package/util-linux/util-linux-susv3-legacy.patch
+++ /dev/null
@@ -1,429 +0,0 @@
-[PATCH] replace susv3 legacy functions with modern equivalents
-
-Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
----
- fdisk/cfdisk.c         |    2 +-
- fdisk/fdiskbsdlabel.c  |   16 ++++++++--------
- fdisk/sfdisk.c         |   10 +++++-----
- login-utils/login.c    |    6 +++---
- login-utils/shutdown.c |    2 +-
- login-utils/ttymsg.c   |    2 +-
- login-utils/vipw.c     |    4 ++--
- login-utils/wall.c     |    2 +-
- misc-utils/logger.c    |    2 +-
- misc-utils/namei.c     |    2 +-
- misc-utils/whereis.c   |    4 ++--
- mount/mntent.c         |    4 ++--
- mount/mount.c          |    4 ++--
- mount/mount_by_label.c |    2 +-
- mount/sundries.c       |    2 +-
- mount/umount.c         |    2 +-
- partx/partx.c          |    2 +-
- text-utils/colcrt.c    |    4 ++--
- text-utils/display.c   |    2 +-
- text-utils/parse.c     |    8 ++++----
- 20 files changed, 41 insertions(+), 41 deletions(-)
-
-Index: util-linux-2.13-pre7/fdisk/fdiskbsdlabel.c
-===================================================================
---- util-linux-2.13-pre7.orig/fdisk/fdiskbsdlabel.c
-+++ util-linux-2.13-pre7/fdisk/fdiskbsdlabel.c
-@@ -538,10 +538,10 @@
- 
-   /* We need a backup of the disklabel (xbsd_dlabel might have changed). */
-   d = &disklabelbuffer[BSD_LABELSECTOR * SECTOR_SIZE];
--  bcopy (d, &dl, sizeof (struct xbsd_disklabel));
-+  memmove (&dl, d, sizeof (struct xbsd_disklabel));
- 
-   /* The disklabel will be overwritten by 0's from bootxx anyway */
--  bzero (d, sizeof (struct xbsd_disklabel));
-+  memset (d, 0, sizeof (struct xbsd_disklabel));
- 
-   snprintf (path, sizeof(path), "%s/boot%s", bootdir, dkbasename);
-   if (!xbsd_get_bootstrap (path, &disklabelbuffer[xbsd_dlabel.d_secsize],
-@@ -555,7 +555,7 @@
-       exit ( EXIT_FAILURE );
-     }
- 
--  bcopy (&dl, d, sizeof (struct xbsd_disklabel));
-+  memmove (d, &dl, sizeof (struct xbsd_disklabel));
- 
- #if defined (__powerpc__) || defined (__hppa__)
-   sector = 0;
-@@ -657,7 +657,7 @@
- 	struct geom g;
- 
- 	get_geometry (fd, &g);
--	bzero (d, sizeof (struct xbsd_disklabel));
-+	memset (d, 0, sizeof (struct xbsd_disklabel));
- 
- 	d -> d_magic = BSD_DISKMAGIC;
- 
-@@ -740,8 +740,8 @@
- 	if (BSD_BBSIZE != read (fd, disklabelbuffer, BSD_BBSIZE))
- 		fatal (unable_to_read);
- 
--	bcopy (&disklabelbuffer[BSD_LABELSECTOR * SECTOR_SIZE + BSD_LABELOFFSET],
--	       d, sizeof (struct xbsd_disklabel));
-+	memmove (d, &disklabelbuffer[BSD_LABELSECTOR * SECTOR_SIZE + BSD_LABELOFFSET],
-+	       sizeof (struct xbsd_disklabel));
- 
- 	if (d -> d_magic != BSD_DISKMAGIC || d -> d_magic2 != BSD_DISKMAGIC)
- 		return 0;
-@@ -776,8 +776,8 @@
-   /* This is necessary if we want to write the bootstrap later,
-      otherwise we'd write the old disklabel with the bootstrap.
-   */
--  bcopy (d, &disklabelbuffer[BSD_LABELSECTOR * SECTOR_SIZE + BSD_LABELOFFSET],
--	 sizeof (struct xbsd_disklabel));
-+  memmove (&disklabelbuffer[BSD_LABELSECTOR * SECTOR_SIZE + BSD_LABELOFFSET],
-+	 d, sizeof (struct xbsd_disklabel));
- 
- #if defined (__alpha__) && BSD_LABELSECTOR == 0
-   alpha_bootblock_checksum (disklabelbuffer);
-Index: util-linux-2.13-pre7/login-utils/ttymsg.c
-===================================================================
---- util-linux-2.13-pre7.orig/login-utils/ttymsg.c
-+++ util-linux-2.13-pre7/login-utils/ttymsg.c
-@@ -111,7 +111,7 @@
- 		if (wret >= 0) {
- 			left -= wret;
- 			if (iov != localiov) {
--				bcopy(iov, localiov,
-+				memmove(localiov, iov,
- 				    iovcnt * sizeof(struct iovec));
- 				iov = localiov;
- 			}
-Index: util-linux-2.13-pre7/login-utils/vipw.c
-===================================================================
---- util-linux-2.13-pre7.orig/login-utils/vipw.c
-+++ util-linux-2.13-pre7/login-utils/vipw.c
-@@ -313,8 +313,8 @@
- 	bindtextdomain(PACKAGE, LOCALEDIR);
- 	textdomain(PACKAGE);
- 
--	bzero(tmp_file, FILENAMELEN);
--	progname = (rindex(argv[0], '/')) ? rindex(argv[0], '/') + 1 : argv[0];
-+	memset(tmp_file, 0, FILENAMELEN);
-+	progname = (strrchr(argv[0], '/')) ? strrchr(argv[0], '/') + 1 : argv[0];
- 	if (!strcmp(progname, "vigr")) {
- 		program = VIGR;
- 		xstrncpy(orig_file, GROUP_FILE, sizeof(orig_file));
-Index: util-linux-2.13-pre7/misc-utils/logger.c
-===================================================================
---- util-linux-2.13-pre7.orig/misc-utils/logger.c
-+++ util-linux-2.13-pre7/misc-utils/logger.c
-@@ -198,7 +198,7 @@
- 			} else {
- 				if (p != buf)
- 					*p++ = ' ';
--				bcopy(*argv++, p, len);
-+				memmove(p, *argv++, len);
- 				*(p += len) = '\0';
- 			}
- 		}
-Index: util-linux-2.13-pre7/misc-utils/namei.c
-===================================================================
---- util-linux-2.13-pre7.orig/misc-utils/namei.c
-+++ util-linux-2.13-pre7/misc-utils/namei.c
-@@ -242,7 +242,7 @@
- 		 * call namei()
- 		 */
- 		
--		bzero(sym, BUFSIZ);
-+		memset(sym, 0, BUFSIZ);
- 		if(readlink(buf, sym, BUFSIZ) == -1){
- 		    (void)printf(_(" ? problems reading symlink %s - %s (%d)\n"), buf, ERR);
- 		    return;
-Index: util-linux-2.13-pre7/text-utils/colcrt.c
-===================================================================
---- util-linux-2.13-pre7.orig/text-utils/colcrt.c
-+++ util-linux-2.13-pre7/text-utils/colcrt.c
-@@ -252,8 +252,8 @@
- 		}
- 		putwchar('\n');
- 	}
--	bcopy(page[ol], page, (267 - ol) * 132 * sizeof(wchar_t));
--	bzero(page[267- ol], ol * 132 * sizeof(wchar_t));
-+	memmove(page, page[ol], (267 - ol) * 132 * sizeof(wchar_t));
-+	memset(page[267- ol], 0, ol * 132 * sizeof(wchar_t));
- 	outline -= ol;
- 	outcol = 0;
- 	first = 1;
-Index: util-linux-2.13-pre7/fdisk/sfdisk.c
-===================================================================
---- util-linux-2.13-pre7.orig/fdisk/sfdisk.c
-+++ util-linux-2.13-pre7/fdisk/sfdisk.c
-@@ -40,7 +40,7 @@
- #include <unistd.h>		/* read, write */
- #include <fcntl.h>		/* O_RDWR */
- #include <errno.h>		/* ERANGE */
--#include <string.h>		/* index() */
-+#include <string.h>		/* strchr() */
- #include <ctype.h>
- #include <getopt.h>
- #include <sys/ioctl.h>
-@@ -1709,12 +1709,12 @@
- 	eof = 1;
- 	return RD_EOF;
-     }
--    if (!(lp = index(lp, '\n')))
-+    if (!(lp = strchr(lp, '\n')))
-       fatal(_("long or incomplete input line - quitting\n"));
-     *lp = 0;
- 
-     /* remove comments, if any */
--    if ((lp = index(line+2, '#')) != 0)
-+    if ((lp = strchr(line+2, '#')) != 0)
-       *lp = 0;
- 
-     /* recognize a few commands - to be expanded */
-@@ -1724,7 +1724,7 @@
-     }
- 
-     /* dump style? - then bad input is fatal */
--    if ((ip = index(line+2, ':')) != 0) {
-+    if ((ip = strchr(line+2, ':')) != 0) {
- 	struct dumpfld *d;
- 
-       nxtfld:
-@@ -2491,7 +2491,7 @@
- 
-     if (argc < 1)
-       fatal(_("no command?\n"));
--    if ((progn = rindex(argv[0], '/')) == NULL)
-+    if ((progn = strrchr(argv[0], '/')) == NULL)
-       progn = argv[0];
-     else
-       progn++;
-Index: util-linux-2.13-pre7/login-utils/login.c
-===================================================================
---- util-linux-2.13-pre7.orig/login-utils/login.c
-+++ util-linux-2.13-pre7/login-utils/login.c
-@@ -337,7 +337,7 @@
-      */
-     gethostname(tbuf, sizeof(tbuf));
-     xstrncpy(thishost, tbuf, sizeof(thishost));
--    domain = index(tbuf, '.');
-+    domain = strchr(tbuf, '.');
-     
-     username = tty_name = hostname = NULL;
-     fflag = hflag = pflag = 0;
-@@ -356,7 +356,7 @@
- 	      exit(1);
- 	  }
- 	  hflag = 1;
--	  if (domain && (p = index(optarg, '.')) &&
-+	  if (domain && (p = strchr(optarg, '.')) &&
- 	      strcasecmp(p, domain) == 0)
- 	    *p = 0;
- 
-@@ -1101,7 +1101,7 @@
- 	childArgv[childArgc++] = buff;
-     } else {
- 	tbuf[0] = '-';
--	xstrncpy(tbuf + 1, ((p = rindex(pwd->pw_shell, '/')) ?
-+	xstrncpy(tbuf + 1, ((p = strrchr(pwd->pw_shell, '/')) ?
- 			   p + 1 : pwd->pw_shell),
- 		sizeof(tbuf)-1);
- 	
-Index: util-linux-2.13-pre7/login-utils/shutdown.c
-===================================================================
---- util-linux-2.13-pre7.orig/login-utils/shutdown.c
-+++ util-linux-2.13-pre7/login-utils/shutdown.c
-@@ -279,7 +279,7 @@
- 			if (fgets (line, sizeof(line), fp) != NULL &&
- 			    strncasecmp (line, "HALT_ACTION", 11) == 0 &&
- 			    iswhitespace(line[11])) {
--				p = index(line, '\n');
-+				p = strchr(line, '\n');
- 				if (p)
- 					*p = 0;		/* strip final '\n' */
- 				p = line+11;
-Index: util-linux-2.13-pre7/misc-utils/whereis.c
-===================================================================
---- util-linux-2.13-pre7.orig/misc-utils/whereis.c
-+++ util-linux-2.13-pre7/misc-utils/whereis.c
-@@ -323,14 +323,14 @@
- 	char dirbuf[1024];
- 	struct stat statbuf;
- 
--	dd = index(dir, '*');
-+	dd = strchr(dir, '*');
- 	if (!dd)
- 		goto noglob;
- 
- 	l = strlen(dir);
- 	if (l < sizeof(dirbuf)) { 	/* refuse excessively long names */
- 		strcpy (dirbuf, dir);
--		d = index(dirbuf, '*');
-+		d = strchr(dirbuf, '*');
- 		*d = 0;
- 		dirp = opendir(dirbuf);
- 		if (dirp == NULL)
-Index: util-linux-2.13-pre7/mount/mntent.c
-===================================================================
---- util-linux-2.13-pre7.orig/mount/mntent.c
-+++ util-linux-2.13-pre7/mount/mntent.c
-@@ -158,7 +158,7 @@
- 			return NULL;
- 
- 		mfp->mntent_lineno++;
--		s = index (buf, '\n');
-+		s = strchr (buf, '\n');
- 		if (s == NULL) {
- 			/* Missing final newline?  Otherwise extremely */
- 			/* long line - assume file was corrupted */
-@@ -166,7 +166,7 @@
- 				fprintf(stderr, _("[mntent]: warning: no final "
- 					"newline at the end of %s\n"),
- 					mfp->mntent_file);
--				s = index (buf, 0);
-+				s = strchr (buf, 0);
- 			} else {
- 				mfp->mntent_errs = 1;
- 				goto err;
-Index: util-linux-2.13-pre7/mount/mount.c
-===================================================================
---- util-linux-2.13-pre7.orig/mount/mount.c
-+++ util-linux-2.13-pre7/mount/mount.c
-@@ -488,11 +488,11 @@
- 
-    /* Accept a comma-separated list of types, and try them one by one */
-    /* A list like "nonfs,.." indicates types not to use */
--   if (*types && strncmp(*types, "no", 2) && index(*types,',')) {
-+   if (*types && strncmp(*types, "no", 2) && strchr(*types,',')) {
-       char *t = strdup(*types);
-       char *p;
- 
--      while((p = index(t,',')) != NULL) {
-+      while((p = strchr(t,',')) != NULL) {
- 	 *p = 0;
- 	 args.type = *types = t;
- 	 if(do_mount_syscall (&args) == 0)
-Index: util-linux-2.13-pre7/mount/mount_by_label.c
-===================================================================
---- util-linux-2.13-pre7.orig/mount/mount_by_label.c
-+++ util-linux-2.13-pre7/mount/mount_by_label.c
-@@ -213,7 +213,7 @@
- 	    fseek(procpt, 0, SEEK_SET);
- 
- 	    while (fgets(line, sizeof(line), procpt)) {
--		if (!index(line, '\n'))
-+		if (!strchr(line, '\n'))
- 			break;
- 
- 		if (sscanf (line, " %d %d %d %[^\n ]",
-Index: util-linux-2.13-pre7/mount/sundries.c
-===================================================================
---- util-linux-2.13-pre7.orig/mount/sundries.c
-+++ util-linux-2.13-pre7/mount/sundries.c
-@@ -138,7 +138,7 @@
- 	     if (strncmp(p, type, len) == 0 &&
- 		 (p[len] == 0 || p[len] == ','))
- 		     return !no;
--	     p = index(p,',');
-+	     p = strchr(p,',');
- 	     if (!p)
- 		     break;
- 	     p++;
-Index: util-linux-2.13-pre7/mount/umount.c
-===================================================================
---- util-linux-2.13-pre7.orig/mount/umount.c
-+++ util-linux-2.13-pre7/mount/umount.c
-@@ -332,7 +332,7 @@
- 			if (res < 0)
- 				umnt_err2 = errno;
- 			/* Do not complain about remote NFS mount points */
--			if (errno == ENOENT && index(spec, ':'))
-+			if (errno == ENOENT && strchr(spec, ':'))
- 				umnt_err2 = 0;
- 		}
- 	}
-Index: util-linux-2.13-pre7/partx/partx.c
-===================================================================
---- util-linux-2.13-pre7.orig/partx/partx.c
-+++ util-linux-2.13-pre7/partx/partx.c
-@@ -130,7 +130,7 @@
- 	case 'n':
- 		p = optarg;
- 		lower = atoi(p);
--		p = index(p, '-');
-+		p = strchr(p, '-');
- 		if (p)
- 			upper = atoi(p+1);
- 		else
-Index: util-linux-2.13-pre7/text-utils/display.c
-===================================================================
---- util-linux-2.13-pre7.orig/text-utils/display.c
-+++ util-linux-2.13-pre7/text-utils/display.c
-@@ -163,7 +163,7 @@
- 	pr->cchar[0] = 's';
- 	pr->cchar[1] = 0;
- 	for (p1 = pr->fmt; *p1 != '%'; ++p1);
--	for (p2 = ++p1; *p1 && index(spec, *p1); ++p1);
-+	for (p2 = ++p1; *p1 && strchr(spec, *p1); ++p1);
- 	while ((*p2++ = *p1++) != 0) ;
- }
- 
-Index: util-linux-2.13-pre7/text-utils/parse.c
-===================================================================
---- util-linux-2.13-pre7.orig/text-utils/parse.c
-+++ util-linux-2.13-pre7/text-utils/parse.c
-@@ -64,7 +64,7 @@
- 		exit(1);
- 	}
- 	while (fgets(buf, sizeof(buf), fp)) {
--		if ((p = index(buf, '\n')) == NULL) {
-+		if ((p = strchr(buf, '\n')) == NULL) {
- 			(void)fprintf(stderr, _("hexdump: line too long.\n"));
- 			while ((ch = getchar()) != '\n' && ch != EOF);
- 			continue;
-@@ -171,7 +171,7 @@
- 			 * skip any special chars -- save precision in
- 			 * case it's a %s format.
- 			 */
--			while (index(spec + 1, *++fmt));
-+			while (strchr(spec + 1, *++fmt));
- 			if (*fmt == '.' && isdigit((unsigned char)*++fmt)) {
- 				prec = atoi(fmt);
- 				while (isdigit((unsigned char)*++fmt));
-@@ -244,10 +244,10 @@
- 			if (fu->bcnt) {
- 				sokay = USEBCNT;
- 				/* skip to conversion character */
--				for (++p1; index(spec, *p1); ++p1);
-+				for (++p1; strchr(spec, *p1); ++p1);
- 			} else {
- 				/* skip any special chars, field width */
--				while (index(spec + 1, *++p1));
-+				while (strchr(spec + 1, *++p1));
- 				if (*p1 == '.' &&
- 				    isdigit((unsigned char)*++p1)) {
- 					sokay = USEPREC;
-Index: util-linux-2.13-pre7/fdisk/cfdisk.c
-===================================================================
---- util-linux-2.13-pre7.orig/fdisk/cfdisk.c
-+++ util-linux-2.13-pre7/fdisk/cfdisk.c
-@@ -348,7 +348,7 @@
- /* Some libc's have their own basename() */
- static char *
- my_basename(char *devname) {
--    char *s = rindex(devname, '/');
-+    char *s = strrchr(devname, '/');
-     return s ? s+1 : devname;
- }
- 
-Index: util-linux-2.13-pre7/login-utils/wall.c
-===================================================================
---- util-linux-2.13-pre7.orig/login-utils/wall.c
-+++ util-linux-2.13-pre7/login-utils/wall.c
-@@ -87,7 +87,7 @@
-         textdomain(PACKAGE);
- 
- 	progname = argv[0];
--	p = rindex(progname, '/');
-+	p = strrchr(progname, '/');
- 	if (p)
- 	     progname = p+1;
- 
diff --git a/package/util-linux/util-linux-umount2-fix.patch b/package/util-linux/util-linux-umount2-fix.patch
deleted file mode 100644
index 14b6c34..0000000
--- a/package/util-linux/util-linux-umount2-fix.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-[PATCH] fix multiple definitions of umount2 issue
-
-Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
----
- mount/umount.c |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Index: util-linux-2.13-pre7/mount/umount.c
-===================================================================
---- util-linux-2.13-pre7.orig/mount/umount.c
-+++ util-linux-2.13-pre7/mount/umount.c
-@@ -29,7 +29,7 @@
- #include "nfsmount.h"
- #include <arpa/inet.h>
- 
--#if defined(MNT_FORCE) && !defined(__sparc__) && !defined(__arm__)
-+#if 1
- /* Interesting ... it seems libc knows about MNT_FORCE and presumably
-    about umount2 as well -- need not do anything */
- #else /* MNT_FORCE */
diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
index 445b4d1..f5245bd 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -3,100 +3,50 @@
 # util-linux
 #
 #############################################################
-UTIL-LINUX_VERSION:=2.13-pre7
-UTIL-LINUX_SOURCE:=util-linux-$(UTIL-LINUX_VERSION).tar.bz2
-UTIL-LINUX_SITE:=$(BR2_KERNEL_MIRROR)/linux/utils/util-linux/testing
-UTIL-LINUX_DIR:=$(BUILD_DIR)/util-linux-$(UTIL-LINUX_VERSION)
-UTIL-LINUX_CAT:=$(BZCAT)
-UTIL-LINUX_BINARY:=$(UTIL-LINUX_DIR)/misc-utils/chkdupexe
-UTIL-LINUX_TARGET_BINARY:=$(TARGET_DIR)/usr/bin/chkdupexe
 
-# schedutils isn't support for all archs
-ifneq ($(BR2_i386)$(BR2_powerpc)$(BR2_x86_64)$(BR2_ia64)$(BR2_alpha),)
-UTIL-LINUX_SCHED_UTILS:=--enable-schedutils
-else
-UTIL-LINUX_SCHED_UTILS:=--disable-schedutils
-endif
+UTIL_LINUX_VERSION = 2.18
+UTIL_LINUX_SOURCE = util-linux-ng-$(UTIL_LINUX_VERSION).tar.bz2
+UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v$(UTIL_LINUX_VERSION)
+UTIL_LINUX_CONF_OPT = --disable-use-tty-group --disable-libblkid
+UTIL_LINUX_AUTORECONF = YES
 
-ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
-UTIL-LINUX_DEPENDENCIES += gettext libintl
-UTIL-LINUX_MAKE_OPT = LIBS=-lintl
+# build after busybox, we prefer fat versions while we're at it
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+UTIL_LINUX_DEPENDENCIES += busybox
 endif
 
-ifeq ($(BR2_PACKAGE_NCURSES),y)
-UTIL-LINUX_DEPENDENCIES += ncurses
+# LARGEFILE is necessary for mount and fsck so disable them
+ifneq ($(BR2_LARGEFILE),y)
+UTIL_LINUX_CONF_OPT += --disable-libmount --disable-mount --disable-fsck
+else
+# Use e2fsprogs libblkid & libuuid
+UTIL_LINUX_CONF_OPT += --disable-libuuid
+UTIL_LINUX_DEPENDENCIES += host-pkg-config e2fsprogs
 endif
 
-$(DL_DIR)/$(UTIL-LINUX_SOURCE):
-	$(call DOWNLOAD,$(UTIL-LINUX_SITE),$(UTIL-LINUX_SOURCE))
-
-$(UTIL-LINUX_DIR)/.unpacked: $(DL_DIR)/$(UTIL-LINUX_SOURCE)
-	$(UTIL-LINUX_CAT) $(DL_DIR)/$(UTIL-LINUX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	toolchain/patch-kernel.sh $(UTIL-LINUX_DIR) package/util-linux/ util-linux\*.patch
-	touch $(UTIL-LINUX_DIR)/.unpacked
-
-$(UTIL-LINUX_DIR)/.configured: $(UTIL-LINUX_DIR)/.unpacked
-	(cd $(UTIL-LINUX_DIR); rm -rf config.cache; \
-		$(TARGET_CONFIGURE_OPTS) \
-		$(TARGET_CONFIGURE_ARGS) \
-		ac_cv_lib_blkid_blkid_known_fstype=no \
-		./configure $(QUIET) \
-		--target=$(GNU_TARGET_NAME) \
-		--host=$(GNU_TARGET_NAME) \
-		--build=$(GNU_HOST_NAME) \
-		--disable-use-tty-group \
-		--prefix=/ \
-		--exec-prefix=/ \
-		--sysconfdir=/etc \
-		--datadir=/usr/share \
-		--localstatedir=/var \
-		--mandir=/usr/man \
-		--infodir=/usr/info \
-		$(UTIL-LINUX_SCHED_UTILS) \
-		$(DISABLE_NLS) \
-		$(DISABLE_LARGEFILE) \
-		ARCH=$(ARCH) \
-	)
-	touch $(UTIL-LINUX_DIR)/.configured
-
-$(UTIL-LINUX_BINARY): $(UTIL-LINUX_DIR)/.configured
-	$(MAKE) \
-		-C $(UTIL-LINUX_DIR) \
-		ARCH=$(ARCH) \
-		CC="$(TARGET_CC)" \
-		OPT="$(TARGET_CFLAGS)" \
-		$(UTIL-LINUX_MAKE_OPT) \
-		HAVE_SLANG="NO"
-
-$(UTIL-LINUX_TARGET_BINARY): $(UTIL-LINUX_BINARY)
-	$(MAKE) ARCH=$(ARCH) DESTDIR=$(TARGET_DIR) USE_TTY_GROUP=no -C $(UTIL-LINUX_DIR) install
-	rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/share/info \
-		$(TARGET_DIR)/usr/share/man $(TARGET_DIR)/usr/share/doc
-
-#If both util-linux and busybox are selected, make certain util-linux
-#wins the fight over who gets to have their utils actually installed
-ifeq ($(BR2_PACKAGE_BUSYBOX),y)
-UTIL-LINUX_DEPENDENCIES := busybox $(UTIL-LINUX_DEPENDENCIES)
+# schedutils aren't supported for all archs
+ifneq ($(BR2_arm)$(BR2_i386)$(BR2_powerpc)$(BR2_x86_64),)
+UTIL_LINUX_CONF_OPTS = --enable-schedutils
 endif
 
-util-linux: $(UTIL-LINUX_DEPENDENCIES) $(UTIL-LINUX_TARGET_BINARY)
-
-util-linux-source: $(DL_DIR)/$(UTIL-LINUX_SOURCE)
-
-util-linux-clean:
-	#There is no working 'uninstall' target. Just skip it...
-	#$(MAKE) DESTDIR=$(TARGET_DIR) -C $(UTIL-LINUX_DIR) uninstall
-	-$(MAKE) -C $(UTIL-LINUX_DIR) clean
+# cramfs tools are built if we have zlib
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+UTIL_LINUX_DEPENDENCIES += zlib
+endif
 
-util-linux-dirclean:
-	rm -rf $(UTIL-LINUX_DIR)
+ifneq ($(BR2_GCC_ENABLE_TLS),y)
+UTIL_LINUX_CONF_OPT += --disable-tls
+endif
 
+ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
+UTIL_LINUX_DEPENDENCIES += gettext libintl
+UTIL_LINUX_MAKE_OPT = LIBS=-lintl
+endif
 
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(BR2_PACKAGE_UTIL-LINUX),y)
-TARGETS+=util-linux
+ifeq ($(BR2_PACKAGE_NCURSES),y)
+UTIL_LINUX_DEPENDENCIES += ncurses
+else
+UTIL_LINUX_CONF_OPT += --without-ncurses
 endif
+
+$(eval $(call AUTOTARGETS,package,util-linux))
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 03/13] procps: convert to gentargets and bump to 3.2.8
  2011-01-07 20:12 [Buildroot] [PATCH 01/13] e2fsprogs: bump to 1.41.14 and fixup Gustavo Zacarias
  2011-01-07 20:12 ` [Buildroot] [PATCH 02/13] util-linux: convert to autotargets and bump to 2.18 Gustavo Zacarias
@ 2011-01-07 20:12 ` Gustavo Zacarias
  2011-01-17 19:41   ` Peter Korsgaard
  2011-01-07 20:12 ` [Buildroot] [PATCH 04/13] dosfstools: bump to version 3.0.11 Gustavo Zacarias
                   ` (9 subsequent siblings)
  11 siblings, 1 reply; 30+ messages in thread
From: Gustavo Zacarias @ 2011-01-07 20:12 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/procps/procps-make-3.82.patch |   15 ++++++++
 package/procps/procps.mk              |   61 ++++++++++-----------------------
 2 files changed, 33 insertions(+), 43 deletions(-)
 create mode 100644 package/procps/procps-make-3.82.patch

diff --git a/package/procps/procps-make-3.82.patch b/package/procps/procps-make-3.82.patch
new file mode 100644
index 0000000..b66945c
--- /dev/null
+++ b/package/procps/procps-make-3.82.patch
@@ -0,0 +1,15 @@
+ps/module.mk depends on vars set up in proc/module.mk, so make sure we always
+include the .mk files in the right order
+
+--- procps-3.2.8/Makefile
++++ procps-3.2.8/Makefile
+@@ -174,7 +174,8 @@
+ # want this rule first, use := on ALL, and ALL not filled in yet
+ all: do_all
+ 
+--include */module.mk
++-include proc/module.mk
++-include ps/module.mk
+ 
+ do_all:    $(ALL)
+ 
diff --git a/package/procps/procps.mk b/package/procps/procps.mk
index 3add243..2cee119 100644
--- a/package/procps/procps.mk
+++ b/package/procps/procps.mk
@@ -3,51 +3,26 @@
 # procps
 #
 #############################################################
-PROCPS_VERSION:=3.2.7
-PROCPS_SOURCE:=procps-$(PROCPS_VERSION).tar.gz
-PROCPS_SITE:=http://procps.sourceforge.net/
-PROCPS_DIR:=$(BUILD_DIR)/procps-$(PROCPS_VERSION)
-PROCPS_BINARY:=ps/ps
-PROCPS_TARGET_BINARY:=usr/bin/vmstat
 
-$(DL_DIR)/$(PROCPS_SOURCE):
-	$(call DOWNLOAD,$(PROCPS_SITE),$(PROCPS_SOURCE))
+PROCPS_VERSION = 3.2.8
+PROCPS_SITE = http://procps.sourceforge.net/
+PROCPS_DEPENDENCIES = ncurses
 
-$(PROCPS_DIR)/.source: $(DL_DIR)/$(PROCPS_SOURCE)
-	$(ZCAT) $(DL_DIR)/$(PROCPS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	toolchain/patch-kernel.sh $(PROCPS_DIR) package/procps/ procps\*.patch
-	touch $(PROCPS_DIR)/.source
-
-$(PROCPS_DIR)/$(PROCPS_BINARY): $(PROCPS_DIR)/.source
-	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(PROCPS_DIR)
-
-$(TARGET_DIR)/$(PROCPS_TARGET_BINARY): $(PROCPS_DIR)/$(PROCPS_BINARY)
-	$(MAKE) $(TARGET_CONFIGURE_OPTS) DESTDIR=$(TARGET_DIR) \
-		install='install -D' -C $(PROCPS_DIR) lib64=/lib \
-		ldconfig='/bin/true' install
-	rm -Rf $(TARGET_DIR)/usr/share/man
-
-procps: ncurses $(TARGET_DIR)/$(PROCPS_TARGET_BINARY)
-
-procps-source: $(DL_DIR)/$(PROCPS_SOURCE)
+# build after busybox, we prefer fat versions while we're at it
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+PROCPS_DEPENDENCIES += busybox
+endif
 
-procps-clean:
-	for bin in uptime tload free w \
-		   top vmstat watch skill \
-		   snice kill sysctl pmap \
-		   pgrep pkill slabtop; do \
-		rm -f $(TARGET_DIR)/usr/bin/$${bin}; \
-	done
-	rm -f $(TARGET_DIR)/lib/libproc*
+define PROCPS_BUILD_CMDS
+	$(SED) "s/ --owner 0 --group 0//" $(@D)/Makefile
+	$(SED) "s/ ldconfig/echo/" $(@D)/Makefile
+	$(SED) "s/[$$][(]lib64[)]/lib/" $(@D)/Makefile
+	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) LDFLAGS="$(TARGET_LDFLAGS)" \
+		CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)"
+endef
 
-procps-dirclean:
-	rm -rf $(PROCPS_DIR)
+define PROCPS_INSTALL_TARGET_CMDS
+	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
+endef
 
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(BR2_PACKAGE_PROCPS),y)
-TARGETS+=procps
-endif
+$(eval $(call GENTARGETS,package,procps))
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 04/13] dosfstools: bump to version 3.0.11
  2011-01-07 20:12 [Buildroot] [PATCH 01/13] e2fsprogs: bump to 1.41.14 and fixup Gustavo Zacarias
  2011-01-07 20:12 ` [Buildroot] [PATCH 02/13] util-linux: convert to autotargets and bump to 2.18 Gustavo Zacarias
  2011-01-07 20:12 ` [Buildroot] [PATCH 03/13] procps: convert to gentargets and bump to 3.2.8 Gustavo Zacarias
@ 2011-01-07 20:12 ` Gustavo Zacarias
  2011-01-17 19:42   ` Peter Korsgaard
  2011-01-07 20:12 ` [Buildroot] [PATCH 05/13] i2c-tools: bump to version 3.0.3 Gustavo Zacarias
                   ` (8 subsequent siblings)
  11 siblings, 1 reply; 30+ messages in thread
From: Gustavo Zacarias @ 2011-01-07 20:12 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/dosfstools/dosfstools.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/dosfstools/dosfstools.mk b/package/dosfstools/dosfstools.mk
index 8e6cfc9..c2d763d 100644
--- a/package/dosfstools/dosfstools.mk
+++ b/package/dosfstools/dosfstools.mk
@@ -3,7 +3,7 @@
 # dosfstools
 #
 #############################################################
-DOSFSTOOLS_VERSION = 3.0.10
+DOSFSTOOLS_VERSION = 3.0.11
 DOSFSTOOLS_SOURCE = dosfstools-$(DOSFSTOOLS_VERSION).tar.gz
 DOSFSTOOLS_SITE = http://www.daniel-baumann.ch/software/dosfstools
 MKDOSFS_BINARY = mkdosfs
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 05/13] i2c-tools: bump to version 3.0.3
  2011-01-07 20:12 [Buildroot] [PATCH 01/13] e2fsprogs: bump to 1.41.14 and fixup Gustavo Zacarias
                   ` (2 preceding siblings ...)
  2011-01-07 20:12 ` [Buildroot] [PATCH 04/13] dosfstools: bump to version 3.0.11 Gustavo Zacarias
@ 2011-01-07 20:12 ` Gustavo Zacarias
  2011-01-17 19:42   ` Peter Korsgaard
  2011-01-07 20:12 ` [Buildroot] [PATCH 06/13] lm-sensors: bump to version 3.2.0 Gustavo Zacarias
                   ` (7 subsequent siblings)
  11 siblings, 1 reply; 30+ messages in thread
From: Gustavo Zacarias @ 2011-01-07 20:12 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/i2c-tools/i2c-tools.mk |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/package/i2c-tools/i2c-tools.mk b/package/i2c-tools/i2c-tools.mk
index 58dde05..d96bad3 100644
--- a/package/i2c-tools/i2c-tools.mk
+++ b/package/i2c-tools/i2c-tools.mk
@@ -3,9 +3,10 @@
 # i2c-tools
 #
 #############################################################
-I2C_TOOLS_VERSION:=3.0.2
-I2C_TOOLS_SOURCE:=i2c-tools-$(I2C_TOOLS_VERSION).tar.bz2
-I2C_TOOLS_SITE:=http://dl.lm-sensors.org/i2c-tools/releases/
+
+I2C_TOOLS_VERSION = 3.0.3
+I2C_TOOLS_SOURCE = i2c-tools-$(I2C_TOOLS_VERSION).tar.bz2
+I2C_TOOLS_SITE = http://dl.lm-sensors.org/i2c-tools/releases/
 
 define I2C_TOOLS_BUILD_CMDS
  $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 06/13] lm-sensors: bump to version 3.2.0
  2011-01-07 20:12 [Buildroot] [PATCH 01/13] e2fsprogs: bump to 1.41.14 and fixup Gustavo Zacarias
                   ` (3 preceding siblings ...)
  2011-01-07 20:12 ` [Buildroot] [PATCH 05/13] i2c-tools: bump to version 3.0.3 Gustavo Zacarias
@ 2011-01-07 20:12 ` Gustavo Zacarias
  2011-01-17 19:43   ` Peter Korsgaard
  2011-01-07 20:12 ` [Buildroot] [PATCH 07/13] hdparm: bump to version 9.36 Gustavo Zacarias
                   ` (6 subsequent siblings)
  11 siblings, 1 reply; 30+ messages in thread
From: Gustavo Zacarias @ 2011-01-07 20:12 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/lm-sensors/lm-sensors.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/lm-sensors/lm-sensors.mk b/package/lm-sensors/lm-sensors.mk
index 9543d2e..eec969d 100644
--- a/package/lm-sensors/lm-sensors.mk
+++ b/package/lm-sensors/lm-sensors.mk
@@ -3,7 +3,7 @@
 # lm-sensors
 #
 #############################################################
-LM_SENSORS_VERSION = 3.1.2
+LM_SENSORS_VERSION = 3.2.0
 LM_SENSORS_SOURCE = lm_sensors-$(LM_SENSORS_VERSION).tar.bz2
 LM_SENSORS_SITE = http://dl.lm-sensors.org/lm-sensors/releases
 LM_SENSORS_INSTALL_STAGING = YES
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 07/13] hdparm: bump to version 9.36
  2011-01-07 20:12 [Buildroot] [PATCH 01/13] e2fsprogs: bump to 1.41.14 and fixup Gustavo Zacarias
                   ` (4 preceding siblings ...)
  2011-01-07 20:12 ` [Buildroot] [PATCH 06/13] lm-sensors: bump to version 3.2.0 Gustavo Zacarias
@ 2011-01-07 20:12 ` Gustavo Zacarias
  2011-01-17 19:43   ` Peter Korsgaard
  2011-01-07 20:12 ` [Buildroot] [PATCH 08/13] psmisc: bump to version 22.13 Gustavo Zacarias
                   ` (5 subsequent siblings)
  11 siblings, 1 reply; 30+ messages in thread
From: Gustavo Zacarias @ 2011-01-07 20:12 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/hdparm/hdparm.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/hdparm/hdparm.mk b/package/hdparm/hdparm.mk
index 02d76a9..4e3cfe5 100644
--- a/package/hdparm/hdparm.mk
+++ b/package/hdparm/hdparm.mk
@@ -3,7 +3,7 @@
 # hdparm
 #
 #############################################################
-HDPARM_VERSION = 9.32
+HDPARM_VERSION = 9.36
 HDPARM_SOURCE = hdparm-$(HDPARM_VERSION).tar.gz
 HDPARM_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/hdparm
 
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 08/13] psmisc: bump to version 22.13
  2011-01-07 20:12 [Buildroot] [PATCH 01/13] e2fsprogs: bump to 1.41.14 and fixup Gustavo Zacarias
                   ` (5 preceding siblings ...)
  2011-01-07 20:12 ` [Buildroot] [PATCH 07/13] hdparm: bump to version 9.36 Gustavo Zacarias
@ 2011-01-07 20:12 ` Gustavo Zacarias
  2011-01-17 19:46   ` Peter Korsgaard
  2011-01-07 20:12 ` [Buildroot] [PATCH 09/13] libfuse: bump to version 2.8.5 Gustavo Zacarias
                   ` (4 subsequent siblings)
  11 siblings, 1 reply; 30+ messages in thread
From: Gustavo Zacarias @ 2011-01-07 20:12 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/psmisc/psmisc-no-__progname.patch |   36 +++++++++++++++++------------
 package/psmisc/psmisc.mk                  |   14 +++++++----
 2 files changed, 30 insertions(+), 20 deletions(-)

diff --git a/package/psmisc/psmisc-no-__progname.patch b/package/psmisc/psmisc-no-__progname.patch
index 82e6daf..063b120 100644
--- a/package/psmisc/psmisc-no-__progname.patch
+++ b/package/psmisc/psmisc-no-__progname.patch
@@ -4,21 +4,27 @@ uclibc (per default) doesn't implement __progname, and the pstree.x11
 stuff isn't that critical, so just disable it.
 
 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
----
- src/pstree.c |    3 ---
- 1 file changed, 3 deletions(-)
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 
-Index: psmisc-22.8/src/pstree.c
-===================================================================
---- psmisc-22.8.orig/src/pstree.c
-+++ psmisc-22.8/src/pstree.c
-@@ -893,9 +893,6 @@ main (int argc, char **argv)
-   bindtextdomain(PACKAGE, LOCALEDIR);
-   textdomain(PACKAGE);
+diff -Nura psmisc-22.13.orig/src/pstree.c psmisc-22.13/src/pstree.c
+--- psmisc-22.13.orig/src/pstree.c	2010-07-12 08:10:03.000000000 -0300
++++ psmisc-22.13/src/pstree.c	2011-01-07 15:02:41.902741728 -0300
+@@ -49,8 +49,6 @@
+ #include <selinux/selinux.h>
+ #endif                                /*WITH_SELINUX */
+ 
+-extern const char *__progname;
+-
+ #define PROC_BASE    "/proc"
+ 
+ /* UTF-8 defines by Johan Myreen, updated by Ben Winslow */
+@@ -854,9 +852,6 @@
+     textdomain(PACKAGE);
  #endif
--  
--  if (!strcmp(__progname, "pstree.x11"))
--    wait_end=1;
  
-   /*
-    * Attempt to figure out a good default symbol set.  Will be overriden by
+-    if (!strcmp(__progname, "pstree.x11"))
+-        wait_end = 1;
+-
+     /*
+      * Attempt to figure out a good default symbol set.  Will be overriden by
+      * command-line options, if given.
diff --git a/package/psmisc/psmisc.mk b/package/psmisc/psmisc.mk
index e4301da..1ff3844 100644
--- a/package/psmisc/psmisc.mk
+++ b/package/psmisc/psmisc.mk
@@ -3,10 +3,14 @@
 # psmisc
 #
 #############################################################
-PSMISC_VERSION:=22.8
-PSMISC_SOURCE:=psmisc-$(PSMISC_VERSION).tar.gz
-PSMISC_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/psmisc
-PSMISC_AUTORECONF:=NO
-PSMISC_DEPENDENCIES:=ncurses $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl)
+
+PSMISC_VERSION  = 22.13
+PSMISC_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/psmisc
+PSMISC_DEPENDENCIES = ncurses $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl)
+
+# build after busybox, we prefer fat versions while we're at it
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+PSMISC_DEPENDENCIES += busybox
+endif
 
 $(eval $(call AUTOTARGETS,package,psmisc))
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 09/13] libfuse: bump to version 2.8.5
  2011-01-07 20:12 [Buildroot] [PATCH 01/13] e2fsprogs: bump to 1.41.14 and fixup Gustavo Zacarias
                   ` (6 preceding siblings ...)
  2011-01-07 20:12 ` [Buildroot] [PATCH 08/13] psmisc: bump to version 22.13 Gustavo Zacarias
@ 2011-01-07 20:12 ` Gustavo Zacarias
  2011-01-17 19:47   ` Peter Korsgaard
  2011-01-07 20:12 ` [Buildroot] [PATCH 10/13] sshfs: select openssh instead of depending Gustavo Zacarias
                   ` (3 subsequent siblings)
  11 siblings, 1 reply; 30+ messages in thread
From: Gustavo Zacarias @ 2011-01-07 20:12 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/fuse/libfuse.mk |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/fuse/libfuse.mk b/package/fuse/libfuse.mk
index 87d746f..5a86e84 100644
--- a/package/fuse/libfuse.mk
+++ b/package/fuse/libfuse.mk
@@ -3,12 +3,12 @@
 # libfuse
 #
 #############################################################
-LIBFUSE_VERSION:=2.8.4
-LIBFUSE_SOURCE:=fuse-$(LIBFUSE_VERSION).tar.gz
-LIBFUSE_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/fuse/
+
+LIBFUSE_VERSION = 2.8.5
+LIBFUSE_SOURCE = fuse-$(LIBFUSE_VERSION).tar.gz
+LIBFUSE_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/fuse/
 
 LIBFUSE_INSTALL_STAGING = YES
-LIBFUSE_LIBTOOL_PATCH = NO
 LIBFUSE_CONF_OPT= --program-prefix="" \
 		--enable-shared \
 		--enable-static \
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 10/13] sshfs: select openssh instead of depending
  2011-01-07 20:12 [Buildroot] [PATCH 01/13] e2fsprogs: bump to 1.41.14 and fixup Gustavo Zacarias
                   ` (7 preceding siblings ...)
  2011-01-07 20:12 ` [Buildroot] [PATCH 09/13] libfuse: bump to version 2.8.5 Gustavo Zacarias
@ 2011-01-07 20:12 ` Gustavo Zacarias
  2011-01-17 19:48   ` Peter Korsgaard
  2011-01-07 20:13 ` [Buildroot] [PATCH 11/13] ntfs-3g: bump to version 2010.10.2 Gustavo Zacarias
                   ` (2 subsequent siblings)
  11 siblings, 1 reply; 30+ messages in thread
From: Gustavo Zacarias @ 2011-01-07 20:12 UTC (permalink / raw)
  To: buildroot

Select openssh in Config.in rather than depend on it.
Otherwise the option is missing without an obvious reason.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/sshfs/Config.in |    2 +-
 package/sshfs/sshfs.mk  |   10 +++-------
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/package/sshfs/Config.in b/package/sshfs/Config.in
index 61d9bf3..1d9f759 100644
--- a/package/sshfs/Config.in
+++ b/package/sshfs/Config.in
@@ -5,7 +5,7 @@ config BR2_PACKAGE_SSHFS
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
-	depends on BR2_PACKAGE_OPENSSH
+	select BR2_PACKAGE_OPENSSH
 	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR # glib2
 	help
diff --git a/package/sshfs/sshfs.mk b/package/sshfs/sshfs.mk
index 09f1e93..816f77a 100644
--- a/package/sshfs/sshfs.mk
+++ b/package/sshfs/sshfs.mk
@@ -4,13 +4,9 @@
 #
 #############################################################
 
-SSHFS_VERSION:=2.2
-SSHFS_SOURCE:=sshfs-fuse-$(SSHFS_VERSION).tar.gz
-SSHFS_SITE=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/fuse/$(SSHFS_VERSION)/sshfs-fuse
-SSHFS_AUTORECONF:=NO
-SSHFS_INSTALL_STAGING:=NO
-SSHFS_INSTALL_TARGET:=YES
-
+SSHFS_VERSION = 2.2
+SSHFS_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/fuse/$(SSHFS_VERSION)/sshfs-fuse
+SSHFS_SOURCE = sshfs-fuse-$(SSHFS_VERSION).tar.gz
 SSHFS_DEPENDENCIES = libglib2 libfuse $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl)
 
 $(eval $(call AUTOTARGETS,package,sshfs))
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 11/13] ntfs-3g: bump to version 2010.10.2
  2011-01-07 20:12 [Buildroot] [PATCH 01/13] e2fsprogs: bump to 1.41.14 and fixup Gustavo Zacarias
                   ` (8 preceding siblings ...)
  2011-01-07 20:12 ` [Buildroot] [PATCH 10/13] sshfs: select openssh instead of depending Gustavo Zacarias
@ 2011-01-07 20:13 ` Gustavo Zacarias
  2011-01-17 19:49   ` Peter Korsgaard
  2011-01-07 20:13 ` [Buildroot] [PATCH 12/13] php: security bump to 5.2.17 Gustavo Zacarias
  2011-01-07 20:13 ` [Buildroot] [PATCH 13/13] mpg123: bump to version 1.13.1 Gustavo Zacarias
  11 siblings, 1 reply; 30+ messages in thread
From: Gustavo Zacarias @ 2011-01-07 20:13 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/ntfs-3g/ntfs-3g.mk |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/package/ntfs-3g/ntfs-3g.mk b/package/ntfs-3g/ntfs-3g.mk
index a372d42..796e269 100644
--- a/package/ntfs-3g/ntfs-3g.mk
+++ b/package/ntfs-3g/ntfs-3g.mk
@@ -3,10 +3,11 @@
 # ntfs-3g
 #
 #############################################################
-NTFS_3G_VERSION:=2009.3.8
-NTFS_3G_SOURCE:=ntfs-3g-$(NTFS_3G_VERSION).tgz
-NTFS_3G_SITE:=http://www.ntfs-3g.org/
-NTFS_3G_CONF_OPT:=--disable-ldconfig --program-prefix=""
-NTFS_3G_INSTALL_STAGING:=yes
+
+NTFS_3G_VERSION = 2010.10.2
+NTFS_3G_SOURCE = ntfs-3g-$(NTFS_3G_VERSION).tgz
+NTFS_3G_SITE = http://tuxera.com/opensource
+NTFS_3G_CONF_OPT = --disable-ldconfig --program-prefix=""
+NTFS_3G_INSTALL_STAGING = YES
 
 $(eval $(call AUTOTARGETS,package,ntfs-3g))
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 12/13] php: security bump to 5.2.17
  2011-01-07 20:12 [Buildroot] [PATCH 01/13] e2fsprogs: bump to 1.41.14 and fixup Gustavo Zacarias
                   ` (9 preceding siblings ...)
  2011-01-07 20:13 ` [Buildroot] [PATCH 11/13] ntfs-3g: bump to version 2010.10.2 Gustavo Zacarias
@ 2011-01-07 20:13 ` Gustavo Zacarias
  2011-01-17 19:50   ` Peter Korsgaard
  2011-01-07 20:13 ` [Buildroot] [PATCH 13/13] mpg123: bump to version 1.13.1 Gustavo Zacarias
  11 siblings, 1 reply; 30+ messages in thread
From: Gustavo Zacarias @ 2011-01-07 20:13 UTC (permalink / raw)
  To: buildroot

PHP bug #53632 and CVE-2010-4645, where conversions from string to
double might cause the PHP interpreter to hang on systems using x87 FPU
registers.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/php/php.mk |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/package/php/php.mk b/package/php/php.mk
index aa99d23..ad0ae43 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -4,14 +4,13 @@
 #
 #############################################################
 
-PHP_VERSION = 5.2.16
+PHP_VERSION = 5.2.17
 PHP_SOURCE = php-$(PHP_VERSION).tar.bz2
 PHP_SITE = http://www.php.net/distributions
 PHP_INSTALL_STAGING = YES
 PHP_INSTALL_STAGING_OPT = INSTALL_ROOT=$(STAGING_DIR) install
 PHP_INSTALL_TARGET_OPT = INSTALL_ROOT=$(TARGET_DIR) install
 PHP_LIBTOOL_PATCH = NO
-PHP_DEPENDENCIES =
 PHP_CONF_OPT =  --mandir=/usr/share/man \
 		--infodir=/usr/share/info \
 		--disable-all \
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 13/13] mpg123: bump to version 1.13.1
  2011-01-07 20:12 [Buildroot] [PATCH 01/13] e2fsprogs: bump to 1.41.14 and fixup Gustavo Zacarias
                   ` (10 preceding siblings ...)
  2011-01-07 20:13 ` [Buildroot] [PATCH 12/13] php: security bump to 5.2.17 Gustavo Zacarias
@ 2011-01-07 20:13 ` Gustavo Zacarias
  2011-01-17 19:54   ` Peter Korsgaard
  11 siblings, 1 reply; 30+ messages in thread
From: Gustavo Zacarias @ 2011-01-07 20:13 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/multimedia/mpg123/mpg123.mk |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/package/multimedia/mpg123/mpg123.mk b/package/multimedia/mpg123/mpg123.mk
index ea35220..ddd891f 100644
--- a/package/multimedia/mpg123/mpg123.mk
+++ b/package/multimedia/mpg123/mpg123.mk
@@ -3,11 +3,16 @@
 # mpg123
 #
 #############################################################
-MPG123_VERSION = 0.66
+
+MPG123_VERSION = 1.13.1
 MPG123_SOURCE = mpg123-$(MPG123_VERSION).tar.bz2
 MPG123_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/mpg123
+MPG123_CONF_OPT = --with-optimization=0 --disable-lfs-alias
+MPG123_CPU = $(if $(BR2_SOFT_FLOAT),generic_nofpu,generic_fpu)
 
-MPG123_CPU = $(if $(BR2_SOFT_FLOAT),generic_nofpu,generic)
+ifeq ($(BR2_arm),y)
+MPG123_CPU = arm_nofpu
+endif
 
 ifeq ($(BR2_i386),y)
 MPG123_CPU = x86
@@ -17,9 +22,16 @@ ifeq ($(BR2_powerpc),y)
 ifneq ($(BR2_powerpc_7400)$(BR2_powerpc_7450)$(BR2_powerpc_970),)
 MPG123_CPU = altivec
 endif
+ifeq ($(BR2_SOFT_FLOAT),y)
+MPG123_CPU = ppc_nofpu
+endif
+endif
+
+ifeq ($(BR2_x86_64),y)
+MPG123_CPU = x86-64
 endif
 
-MPG123_CONF_OPT = --program-prefix='' --with-cpu=$(MPG123_CPU)
+MPG123_CONF_OPT += --program-prefix='' --with-cpu=$(MPG123_CPU)
 
 # Check if ALSA is built, then we should configure after alsa-lib so
 # ./configure can find alsa-lib.
-- 
1.7.2.2

^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 03/13] procps: convert to gentargets and bump to 3.2.8
  2011-01-07 20:12 ` [Buildroot] [PATCH 03/13] procps: convert to gentargets and bump to 3.2.8 Gustavo Zacarias
@ 2011-01-17 19:41   ` Peter Korsgaard
  2011-01-17 19:45     ` Gustavo Zacarias
  0 siblings, 1 reply; 30+ messages in thread
From: Peter Korsgaard @ 2011-01-17 19:41 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

Hi,

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 Gustavo> ---
 Gustavo>  package/procps/procps-make-3.82.patch |   15 ++++++++
 Gustavo>  package/procps/procps.mk              |   61 ++++++++++-----------------------
 Gustavo>  2 files changed, 33 insertions(+), 43 deletions(-)
 Gustavo>  create mode 100644 package/procps/procps-make-3.82.patch

 Gustavo> diff --git a/package/procps/procps-make-3.82.patch b/package/procps/procps-make-3.82.patch
 Gustavo> new file mode 100644
 Gustavo> index 0000000..b66945c
 Gustavo> --- /dev/null
 Gustavo> +++ b/package/procps/procps-make-3.82.patch
 Gustavo> @@ -0,0 +1,15 @@
 Gustavo> +ps/module.mk depends on vars set up in proc/module.mk, so make sure we always
 Gustavo> +include the .mk files in the right order

Please add authorship / signed-off-by to patches. According to the name,
this patch is to fix an issue with make 3.82, but from reading the
description and fix, it doesn't look version dependent?

 Gustavo> +
 Gustavo> +--- procps-3.2.8/Makefile
 Gustavo> ++++ procps-3.2.8/Makefile
 Gustavo> +@@ -174,7 +174,8 @@
 Gustavo> + # want this rule first, use := on ALL, and ALL not filled in yet
 Gustavo> + all: do_all
 Gustavo> + 
 Gustavo> +--include */module.mk
 Gustavo> ++-include proc/module.mk
 Gustavo> ++-include ps/module.mk
 Gustavo> + 
 Gustavo> + do_all:    $(ALL)
 Gustavo> + 

Otherwise looks good.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 04/13] dosfstools: bump to version 3.0.11
  2011-01-07 20:12 ` [Buildroot] [PATCH 04/13] dosfstools: bump to version 3.0.11 Gustavo Zacarias
@ 2011-01-17 19:42   ` Peter Korsgaard
  0 siblings, 0 replies; 30+ messages in thread
From: Peter Korsgaard @ 2011-01-17 19:42 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 05/13] i2c-tools: bump to version 3.0.3
  2011-01-07 20:12 ` [Buildroot] [PATCH 05/13] i2c-tools: bump to version 3.0.3 Gustavo Zacarias
@ 2011-01-17 19:42   ` Peter Korsgaard
  0 siblings, 0 replies; 30+ messages in thread
From: Peter Korsgaard @ 2011-01-17 19:42 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 Gustavo> ---
 Gustavo>  package/i2c-tools/i2c-tools.mk |    7 ++++---
 Gustavo>  1 files changed, 4 insertions(+), 3 deletions(-)

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 06/13] lm-sensors: bump to version 3.2.0
  2011-01-07 20:12 ` [Buildroot] [PATCH 06/13] lm-sensors: bump to version 3.2.0 Gustavo Zacarias
@ 2011-01-17 19:43   ` Peter Korsgaard
  0 siblings, 0 replies; 30+ messages in thread
From: Peter Korsgaard @ 2011-01-17 19:43 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 Gustavo> ---
 Gustavo>  package/lm-sensors/lm-sensors.mk |    2 +-
 Gustavo>  1 files changed, 1 insertions(+), 1 deletions(-)

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 07/13] hdparm: bump to version 9.36
  2011-01-07 20:12 ` [Buildroot] [PATCH 07/13] hdparm: bump to version 9.36 Gustavo Zacarias
@ 2011-01-17 19:43   ` Peter Korsgaard
  0 siblings, 0 replies; 30+ messages in thread
From: Peter Korsgaard @ 2011-01-17 19:43 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 Gustavo> ---
 Gustavo>  package/hdparm/hdparm.mk |    2 +-
 Gustavo>  1 files changed, 1 insertions(+), 1 deletions(-)

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 03/13] procps: convert to gentargets and bump to 3.2.8
  2011-01-17 19:41   ` Peter Korsgaard
@ 2011-01-17 19:45     ` Gustavo Zacarias
  2011-01-17 20:28       ` Peter Korsgaard
  0 siblings, 1 reply; 30+ messages in thread
From: Gustavo Zacarias @ 2011-01-17 19:45 UTC (permalink / raw)
  To: buildroot

On 01/17/11 16:41, Peter Korsgaard wrote:


> Please add authorship / signed-off-by to patches. According to the name,
> this patch is to fix an issue with make 3.82, but from reading the
> description and fix, it doesn't look version dependent?

Author unknown, nixed from gentoo.
I think i shouldn't sign off on something i didn't write right?

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 08/13] psmisc: bump to version 22.13
  2011-01-07 20:12 ` [Buildroot] [PATCH 08/13] psmisc: bump to version 22.13 Gustavo Zacarias
@ 2011-01-17 19:46   ` Peter Korsgaard
  0 siblings, 0 replies; 30+ messages in thread
From: Peter Korsgaard @ 2011-01-17 19:46 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 Gustavo> ---
 Gustavo>  package/psmisc/psmisc-no-__progname.patch |   36 +++++++++++++++++------------
 Gustavo>  package/psmisc/psmisc.mk                  |   14 +++++++----
 Gustavo>  2 files changed, 30 insertions(+), 20 deletions(-)

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 09/13] libfuse: bump to version 2.8.5
  2011-01-07 20:12 ` [Buildroot] [PATCH 09/13] libfuse: bump to version 2.8.5 Gustavo Zacarias
@ 2011-01-17 19:47   ` Peter Korsgaard
  0 siblings, 0 replies; 30+ messages in thread
From: Peter Korsgaard @ 2011-01-17 19:47 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 Gustavo> ---
 Gustavo>  package/fuse/libfuse.mk |    8 ++++----
 Gustavo>  1 files changed, 4 insertions(+), 4 deletions(-)

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 10/13] sshfs: select openssh instead of depending
  2011-01-07 20:12 ` [Buildroot] [PATCH 10/13] sshfs: select openssh instead of depending Gustavo Zacarias
@ 2011-01-17 19:48   ` Peter Korsgaard
  0 siblings, 0 replies; 30+ messages in thread
From: Peter Korsgaard @ 2011-01-17 19:48 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Select openssh in Config.in rather than depend on it.
 Gustavo> Otherwise the option is missing without an obvious reason.

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 11/13] ntfs-3g: bump to version 2010.10.2
  2011-01-07 20:13 ` [Buildroot] [PATCH 11/13] ntfs-3g: bump to version 2010.10.2 Gustavo Zacarias
@ 2011-01-17 19:49   ` Peter Korsgaard
  0 siblings, 0 replies; 30+ messages in thread
From: Peter Korsgaard @ 2011-01-17 19:49 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 Gustavo> ---
 Gustavo>  package/ntfs-3g/ntfs-3g.mk |   11 ++++++-----
 Gustavo>  1 files changed, 6 insertions(+), 5 deletions(-)

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 12/13] php: security bump to 5.2.17
  2011-01-07 20:13 ` [Buildroot] [PATCH 12/13] php: security bump to 5.2.17 Gustavo Zacarias
@ 2011-01-17 19:50   ` Peter Korsgaard
  0 siblings, 0 replies; 30+ messages in thread
From: Peter Korsgaard @ 2011-01-17 19:50 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> PHP bug #53632 and CVE-2010-4645, where conversions from
 Gustavo> string to double might cause the PHP interpreter to hang on
 Gustavo> systems using x87 FPU registers.

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 13/13] mpg123: bump to version 1.13.1
  2011-01-07 20:13 ` [Buildroot] [PATCH 13/13] mpg123: bump to version 1.13.1 Gustavo Zacarias
@ 2011-01-17 19:54   ` Peter Korsgaard
  0 siblings, 0 replies; 30+ messages in thread
From: Peter Korsgaard @ 2011-01-17 19:54 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 Gustavo> ---
 Gustavo>  package/multimedia/mpg123/mpg123.mk |   18 +++++++++++++++---
 Gustavo>  1 files changed, 15 insertions(+), 3 deletions(-)

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 03/13] procps: convert to gentargets and bump to 3.2.8
  2011-01-17 19:45     ` Gustavo Zacarias
@ 2011-01-17 20:28       ` Peter Korsgaard
  2011-01-17 20:29         ` Gustavo Zacarias
  0 siblings, 1 reply; 30+ messages in thread
From: Peter Korsgaard @ 2011-01-17 20:28 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> On 01/17/11 16:41, Peter Korsgaard wrote:
 >> Please add authorship / signed-off-by to patches. According to the name,
 >> this patch is to fix an issue with make 3.82, but from reading the
 >> description and fix, it doesn't look version dependent?

 Gustavo> Author unknown, nixed from gentoo.
 Gustavo> I think i shouldn't sign off on something i didn't write right?

No, put putting the Gentoo URL in it would be very good for
tracability. Is it a make 3.82 only thing, or does it also fail with
3.81?
 
-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 03/13] procps: convert to gentargets and bump to 3.2.8
  2011-01-17 20:28       ` Peter Korsgaard
@ 2011-01-17 20:29         ` Gustavo Zacarias
  0 siblings, 0 replies; 30+ messages in thread
From: Gustavo Zacarias @ 2011-01-17 20:29 UTC (permalink / raw)
  To: buildroot

On 01/17/11 17:28, Peter Korsgaard wrote:

>  Gustavo> Author unknown, nixed from gentoo.
>  Gustavo> I think i shouldn't sign off on something i didn't write right?
> 
> No, put putting the Gentoo URL in it would be very good for
> tracability. Is it a make 3.82 only thing, or does it also fail with
> 3.81?

Only for 3.82.

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 02/13] util-linux: convert to autotargets and bump to 2.18
  2011-01-07 20:12 ` [Buildroot] [PATCH 02/13] util-linux: convert to autotargets and bump to 2.18 Gustavo Zacarias
@ 2011-02-09 21:47   ` Peter Korsgaard
  2011-02-09 21:50     ` Gustavo Zacarias
  0 siblings, 1 reply; 30+ messages in thread
From: Peter Korsgaard @ 2011-02-09 21:47 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

 Gustavo> +++ b/package/util-linux/Config.in
 Gustavo> @@ -1,8 +1,12 @@
 Gustavo> -config BR2_PACKAGE_UTIL-LINUX
 Gustavo> +config BR2_PACKAGE_UTIL_LINUX
 Gustavo>  	bool "util-linux"
 Gustavo>  	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 Gustavo>  	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
 Gustavo> -	depends on BR2_INET_RPC
 Gustavo> +	select BR2_PACKAGE_E2FSPROGS if BR2_LARGEFILE
 Gustavo> +	select BR2_PACKAGE_E2FSPROGS_LIBBLKID if BR2_LARGEFILE
 Gustavo> +	select BR2_PACKAGE_E2FSPROGS_LIBUUID if BR2_LARGEFILE
 Gustavo> +	depends on BR2_PROGRAM_INVOCATION
 Gustavo> +	depends on BR2_USE_WCHAR
 Gustavo>  	help
 Gustavo>  	  Various useful/essential Linux utilities.

I think it would be good to mention to the user that he's not getting
mount+fsck if he doesn't enable LARGEFILE, E.G.:

+comment "mount and fsck requires a toolchain with LARGEFILE support"
+       depends on BR2_PACKAGE_UTIL_LINUX && !BR2_LARGEFILE
 
 Gustavo> +++ b/package/util-linux/util-linux.mk
 Gustavo> @@ -3,100 +3,50 @@

It unfortunately doesn't build here if I enable largefile support. It
dies with:

make[8]: *** No rule to make target `-luuid', needed by `libblkid.la'.  Stop.
make[8]: *** Waiting for unfinished jobs....
  CC     crc32.lo
  CC     md5.lo
make[7]: *** [all-recursive] Error 1
make[6]: *** [../../../shlibs/blkid/src/libblkid.la] Error 2

It also seems like we always need host-pkg-config as a dep.

Could you take a look at it?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 02/13] util-linux: convert to autotargets and bump to 2.18
  2011-02-09 21:47   ` Peter Korsgaard
@ 2011-02-09 21:50     ` Gustavo Zacarias
  2011-02-09 22:12       ` Peter Korsgaard
  0 siblings, 1 reply; 30+ messages in thread
From: Gustavo Zacarias @ 2011-02-09 21:50 UTC (permalink / raw)
  To: buildroot

On 02/09/2011 06:47 PM, Peter Korsgaard wrote:

> I think it would be good to mention to the user that he's not getting
> mount+fsck if he doesn't enable LARGEFILE, E.G.:
> 
> +comment "mount and fsck requires a toolchain with LARGEFILE support"
> +       depends on BR2_PACKAGE_UTIL_LINUX && !BR2_LARGEFILE

I'll look into it.


> It unfortunately doesn't build here if I enable largefile support. It
> dies with:
> 
> make[8]: *** No rule to make target `-luuid', needed by `libblkid.la'.  Stop.
> make[8]: *** Waiting for unfinished jobs....
>   CC     crc32.lo
>   CC     md5.lo
> make[7]: *** [all-recursive] Error 1
> make[6]: *** [../../../shlibs/blkid/src/libblkid.la] Error 2
> 
> It also seems like we always need host-pkg-config as a dep.
> 
> Could you take a look at it?

Did you apply the previous e2fsprogs patch? It's required for it to
export libbklid :)
Regards.

^ permalink raw reply	[flat|nested] 30+ messages in thread

* [Buildroot] [PATCH 02/13] util-linux: convert to autotargets and bump to 2.18
  2011-02-09 21:50     ` Gustavo Zacarias
@ 2011-02-09 22:12       ` Peter Korsgaard
  0 siblings, 0 replies; 30+ messages in thread
From: Peter Korsgaard @ 2011-02-09 22:12 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

Hi,

 >> Could you take a look at it?

 Gustavo> Did you apply the previous e2fsprogs patch? It's required for it to
 Gustavo> export libbklid :)

Yes I did. I even fixed it to also install the pkg-config files.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2011-02-09 22:12 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-07 20:12 [Buildroot] [PATCH 01/13] e2fsprogs: bump to 1.41.14 and fixup Gustavo Zacarias
2011-01-07 20:12 ` [Buildroot] [PATCH 02/13] util-linux: convert to autotargets and bump to 2.18 Gustavo Zacarias
2011-02-09 21:47   ` Peter Korsgaard
2011-02-09 21:50     ` Gustavo Zacarias
2011-02-09 22:12       ` Peter Korsgaard
2011-01-07 20:12 ` [Buildroot] [PATCH 03/13] procps: convert to gentargets and bump to 3.2.8 Gustavo Zacarias
2011-01-17 19:41   ` Peter Korsgaard
2011-01-17 19:45     ` Gustavo Zacarias
2011-01-17 20:28       ` Peter Korsgaard
2011-01-17 20:29         ` Gustavo Zacarias
2011-01-07 20:12 ` [Buildroot] [PATCH 04/13] dosfstools: bump to version 3.0.11 Gustavo Zacarias
2011-01-17 19:42   ` Peter Korsgaard
2011-01-07 20:12 ` [Buildroot] [PATCH 05/13] i2c-tools: bump to version 3.0.3 Gustavo Zacarias
2011-01-17 19:42   ` Peter Korsgaard
2011-01-07 20:12 ` [Buildroot] [PATCH 06/13] lm-sensors: bump to version 3.2.0 Gustavo Zacarias
2011-01-17 19:43   ` Peter Korsgaard
2011-01-07 20:12 ` [Buildroot] [PATCH 07/13] hdparm: bump to version 9.36 Gustavo Zacarias
2011-01-17 19:43   ` Peter Korsgaard
2011-01-07 20:12 ` [Buildroot] [PATCH 08/13] psmisc: bump to version 22.13 Gustavo Zacarias
2011-01-17 19:46   ` Peter Korsgaard
2011-01-07 20:12 ` [Buildroot] [PATCH 09/13] libfuse: bump to version 2.8.5 Gustavo Zacarias
2011-01-17 19:47   ` Peter Korsgaard
2011-01-07 20:12 ` [Buildroot] [PATCH 10/13] sshfs: select openssh instead of depending Gustavo Zacarias
2011-01-17 19:48   ` Peter Korsgaard
2011-01-07 20:13 ` [Buildroot] [PATCH 11/13] ntfs-3g: bump to version 2010.10.2 Gustavo Zacarias
2011-01-17 19:49   ` Peter Korsgaard
2011-01-07 20:13 ` [Buildroot] [PATCH 12/13] php: security bump to 5.2.17 Gustavo Zacarias
2011-01-17 19:50   ` Peter Korsgaard
2011-01-07 20:13 ` [Buildroot] [PATCH 13/13] mpg123: bump to version 1.13.1 Gustavo Zacarias
2011-01-17 19:54   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox