From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com ([134.134.136.24]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1UAvdT-0003ZP-QZ for openembedded-core@lists.openembedded.org; Thu, 28 Feb 2013 06:02:31 +0100 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 27 Feb 2013 20:43:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.84,753,1355126400"; d="scan'208";a="268881615" Received: from unknown (HELO [10.255.12.240]) ([10.255.12.240]) by orsmga001.jf.intel.com with ESMTP; 27 Feb 2013 20:45:00 -0800 Message-ID: <1362026705.2588.33.camel@empanada> From: Tom Zanussi To: Saul Wold Date: Wed, 27 Feb 2013 22:45:05 -0600 In-Reply-To: <512EDDE0.2060907@linux.intel.com> References: <4a4c5cf843e4c4ff22843b8e6097786e88a06bd1.1361976853.git.tom.zanussi@linux.intel.com> <512EDDE0.2060907@linux.intel.com> X-Mailer: Evolution 3.4.1 (3.4.1-2.fc17) Mime-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH 1/3] libaudit: new package X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2013 05:02:32 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Wed, 2013-02-27 at 20:32 -0800, Saul Wold wrote: > On 02/27/2013 07:00 AM, tom.zanussi@linux.intel.com wrote: > > From: Tom Zanussi > > > > Add libaudit, used by system call auditing applications. From the > > sources: > > > > "The audit package contains the user space utilities for storing and > > searching the audit records generate by the audit subsystem in the > > Linux 2.6 kernel." > > > > Signed-off-by: Tom Zanussi > > --- > > .../libaudit/libaudit/build-lib-only.patch | 33 ++ > > .../libaudit/libaudit/fix-host-gen.patch | 461 +++++++++++++++++++++ > > meta/recipes-support/libaudit/libaudit_2.2.2.bb | 25 ++ > > 3 files changed, 519 insertions(+) > > create mode 100644 meta/recipes-support/libaudit/libaudit/build-lib-only.patch > > create mode 100644 meta/recipes-support/libaudit/libaudit/fix-host-gen.patch > > create mode 100644 meta/recipes-support/libaudit/libaudit_2.2.2.bb > > > > > > > > diff --git a/meta/recipes-support/libaudit/libaudit_2.2.2.bb b/meta/recipes-support/libaudit/libaudit_2.2.2.bb > > new file mode 100644 > > index 0000000..e28b619 > > --- /dev/null > > +++ b/meta/recipes-support/libaudit/libaudit_2.2.2.bb > > @@ -0,0 +1,25 @@ > > +DESCRIPTION = "libaudit is the dynamic library needed for applications to use the audit framework." > > +SECTION = "libs" > > +AUTHOR = "Steve Grubb " > > +HOMEPAGE = "http://people.redhat.com/sgrubb/audit/" > > +LICENSE = "LGPLv2+" > > +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" > > +PR = "r0" > > + > > +SRC_URI = "http://people.redhat.com/sgrubb/audit/audit-${PV}.tar.gz \ > > + file://build-lib-only.patch \ > > + file://fix-host-gen.patch \ > > + " > > + > > +SRC_URI[md5sum] = "6641fde111cf5dfda6d4282ab8410df5" > > +SRC_URI[sha256sum] = "8bc2b45a5f08f5df6cebcd5543f24b7e68e28b64da4b23f08de2c6616384302b" > > + > > +S = "${WORKDIR}/audit-${PV}" > > + > > +inherit autotools > > + > > +EXTRA_OECONF = "--disable-dependency-tracking --disable-listener" > > + > > +do_configure() { > > + oe_runconf > > +} > > > Is this do_configure really needed? Does the autotools default not work > correctly? And if not why not? This is to avoid the autoreconf step, which ends up overwriting the lib/Makefile.in changes when it regenerates it from lib/Makefile.am. The Makefile.in is shipped with the source tarball, so I modified it directly instead of complicating things by trying to get autoreconf to generate the correct Makefile for the target part of the build vs these specific changes to Makefile.in for the set of programs generated to run on the host. Tom > > Sau! >