From patchwork Thu Mar 29 21:56:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Korsgaard X-Patchwork-Id: 149498 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 04B7DB6F9D for ; Fri, 30 Mar 2012 09:04:00 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BBDC4101DA1; Thu, 29 Mar 2012 22:03:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id goZGBJ2Z95wQ; Thu, 29 Mar 2012 22:03:55 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A5EF8101D54; Thu, 29 Mar 2012 22:03:55 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id A4D1B8F78E for ; Thu, 29 Mar 2012 22:03:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 99FE2101CD9 for ; Thu, 29 Mar 2012 22:03:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4EdCrAXGzl2N for ; Thu, 29 Mar 2012 22:03:48 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.224]) by fraxinus.osuosl.org (Postfix) with ESMTP id 81FD7101901 for ; Thu, 29 Mar 2012 22:03:48 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 4021) id 723BB969A8; Thu, 29 Mar 2012 22:03:48 +0000 (UTC) From: Peter Korsgaard To: buildroot@busybox.net Date: Thu, 29 Mar 2012 23:56:01 +0200 X-Git-Refname: refs/heads/master X-Git-Oldrev: 13ee02d0635005a8a3e917cf29d5b277328d6df5 X-Git-Newrev: 953b0f4de8ebcb5b42c8da760c025873ce82550d X-Patchwork-Hint: ignore Message-Id: <20120329220348.723BB969A8@busybox.osuosl.org> Subject: [Buildroot] [git commit] psmisc: bump to version 22.16 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net commit: http://git.buildroot.net/buildroot/commit/?id=953b0f4de8ebcb5b42c8da760c025873ce82550d branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master [Peter: Don't disable stack protection if toolchain has ssp support] Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- package/psmisc/psmisc-link-against-libintl.patch | 38 ++++------------------ package/psmisc/psmisc.mk | 9 ++++- 2 files changed, 14 insertions(+), 33 deletions(-) diff --git a/package/psmisc/psmisc-link-against-libintl.patch b/package/psmisc/psmisc-link-against-libintl.patch index fca49c6..907e7e7 100644 --- a/package/psmisc/psmisc-link-against-libintl.patch +++ b/package/psmisc/psmisc-link-against-libintl.patch @@ -14,44 +14,20 @@ the "autopoint" program, which itself depends on CVS being installed, for some strange reasons. That's the reason why we fall back to the hacky solution of modifying the Makefile.in file. -Forward-ported Thomas's patch to psmisc 22.14 +Forward-ported Thomas's patch to psmisc 22.16 from commit f066ed70cd6939838d4057f66798cbc1d972cc73 Signed-off-by: Gustavo Zacarias -diff -Nura psmisc-22.14.orig/src/Makefile.in psmisc-22.14/src/Makefile.in ---- psmisc-22.14.orig/src/Makefile.in 2011-10-12 12:12:09.711983726 -0300 -+++ psmisc-22.14/src/Makefile.in 2011-10-12 12:14:01.733350322 -0300 -@@ -70,16 +70,16 @@ - PROGRAMS = $(bin_PROGRAMS) - am_fuser_OBJECTS = fuser.$(OBJEXT) signals.$(OBJEXT) - fuser_OBJECTS = $(am_fuser_OBJECTS) --fuser_LDADD = $(LDADD) -+fuser_LDADD = $(LDADD) @INTLLIBS@ - am_killall_OBJECTS = killall.$(OBJEXT) signals.$(OBJEXT) - killall_OBJECTS = $(am_killall_OBJECTS) +diff -Nura psmisc-22.16.orig/src/Makefile.in psmisc-22.16/src/Makefile.in +--- psmisc-22.16.orig/src/Makefile.in 2012-03-28 22:27:33.106660358 -0300 ++++ psmisc-22.16/src/Makefile.in 2012-03-28 22:28:55.752219349 -0300 +@@ -76,7 +76,7 @@ killall_DEPENDENCIES = am_peekfd_OBJECTS = peekfd.$(OBJEXT) peekfd_OBJECTS = $(am_peekfd_OBJECTS) -peekfd_LDADD = $(LDADD) -+peekfd_LDADD = $(LDADD) @INTLLIBS@ ++peekfd_LDADD = $(LDADD) @LIBINTL@ am_prtstat_OBJECTS = prtstat.$(OBJEXT) prtstat_OBJECTS = $(am_prtstat_OBJECTS) --prtstat_LDADD = $(LDADD) -+prtstat_LDADD = $(LDADD) @INTLLIBS@ - am_pstree_OBJECTS = pstree.$(OBJEXT) - pstree_OBJECTS = $(am_pstree_OBJECTS) - pstree_DEPENDENCIES = -@@ -217,10 +217,10 @@ - $(am__append_10) - fuser_SOURCES = fuser.c comm.h signals.c signals.h i18n.h fuser.h lists.h - killall_SOURCES = killall.c comm.h signals.c signals.h i18n.h --killall_LDADD = @SELINUX_LIB@ -+killall_LDADD = @SELINUX_LIB@ @INTLLIBS@ - peekfd_SOURCES = peekfd.c - pstree_SOURCES = pstree.c comm.h i18n.h --pstree_LDADD = @TERMCAP_LIB@ @SELINUX_LIB@ -+pstree_LDADD = @TERMCAP_LIB@ @SELINUX_LIB@ @INTLLIBS@ - prtstat_SOURCES = prtstat.c prtstat.h - BUILT_SOURCES = signames.h - EXTRA_DIST = signames.c + prtstat_DEPENDENCIES = diff --git a/package/psmisc/psmisc.mk b/package/psmisc/psmisc.mk index df116fc..0b0e046 100644 --- a/package/psmisc/psmisc.mk +++ b/package/psmisc/psmisc.mk @@ -4,10 +4,15 @@ # ############################################################# -PSMISC_VERSION = 22.14 -PSMISC_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/psmisc +PSMISC_VERSION = 22.16 +PSMISC_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/psmisc/psmisc PSMISC_DEPENDENCIES = ncurses $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl) +ifneq ($(BR2_TOOLCHAIN_BUILDROOT_USE_SSP),y) +# Don't force -fstack-protector +PSMISC_CONF_OPT = --disable-harden-flags +endif + # build after busybox, we prefer fat versions while we're at it ifeq ($(BR2_PACKAGE_BUSYBOX),y) PSMISC_DEPENDENCIES += busybox