From: Joe MacDonald <Joe.MacDonald@windriver.com>
To: <openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-networking][PATCH V2 03/25] autofs: Add recipes for 5.0.7
Date: Mon, 7 Jan 2013 10:58:08 -0500 [thread overview]
Message-ID: <20130107155808.GE6154@windriver.com> (raw)
In-Reply-To: <1357463568-26241-3-git-send-email-raj.khem@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 5233 bytes --]
Two simple questions on this. Therefore, aggressive snipping.
[[oe] [meta-networking][PATCH V2 03/25] autofs: Add recipes for 5.0.7] On 13.01.06 (Sun 01:12) Khem Raj wrote:
[...]
> diff --git a/meta-networking/recipes-daemons/autofs/autofs-5.0.7/libtirpc.patch b/meta-networking/recipes-daemons/autofs/autofs-5.0.7/libtirpc.patch
> new file mode 100644
> index 0000000..04f52c6
> --- /dev/null
> +++ b/meta-networking/recipes-daemons/autofs/autofs-5.0.7/libtirpc.patch
> @@ -0,0 +1,26 @@
> +Index: autofs-5.0.7/aclocal.m4
> +===================================================================
> +--- autofs-5.0.7.orig/aclocal.m4 2012-10-28 13:17:45.504237027 -0700
> ++++ autofs-5.0.7/aclocal.m4 2012-10-28 13:20:50.108242739 -0700
> +@@ -403,7 +403,7 @@
> + # save current flags
> + af_check_libtirpc_save_cflags="$CFLAGS"
> + af_check_libtirpc_save_ldflags="$LDFLAGS"
> +-CFLAGS="$CFLAGS -I/usr/include/tirpc"
> ++CFLAGS="$CFLAGS -I=/usr/include/tirpc"
> + LDFLAGS="$LDFLAGS -ltirpc"
> +
> + AC_TRY_LINK(
> +Index: autofs-5.0.7/Makefile.rules
> +===================================================================
> +--- autofs-5.0.7.orig/Makefile.rules 2012-10-28 13:17:45.308237022 -0700
> ++++ autofs-5.0.7/Makefile.rules 2012-10-28 13:21:25.720242803 -0700
> +@@ -48,7 +48,7 @@
> + LDFLAGS += -lpthread
> +
> + ifdef TIRPCLIB
> +-CFLAGS += -I/usr/include/tirpc
> ++CFLAGS += -I=/usr/include/tirpc
> + LDFLAGS += $(TIRPCLIB)
> + endif
> +
Are these required? If they're not, they're probably benign, but I
thought the -I=<path> was an rpmbuildism that wasn't specifically
required here.
[...]
> diff --git a/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb b/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb
> new file mode 100644
> index 0000000..5013e5e
> --- /dev/null
> +++ b/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb
> @@ -0,0 +1,71 @@
> +DESCRIPTION = "Kernel based automounter for linux."
> +SECTION = "base"
> +LICENSE = "GPL-2.0"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
> +
> +DEPENDS += "openldap libtirpc flex-native bison-native"
> +
> +inherit autotools systemd
> +
> +SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.bz2 \
> + file://autofs-5.0.7-fix-nobind-sun-escaped-map-entries.patch \
> + file://autofs-5.0.7-fix-use-cache-entry-after-free-mistake.patch \
> + file://autofs-5.0.7-fix-ipv6-proximity-calculation.patch \
> + file://autofs-5.0.7-fix-parse-buffer-initialization.patch \
> + file://autofs-5.0.7-fix-typo-in-automount-8.patch \
> + file://autofs-5.0.7-include-usage-in-usage-message.patch \
> + file://autofs-5.0.7-dont-wait-forever-to-restart.patch \
> + file://autofs-5.0.7-add-timeout-option-description-to-man-page.patch \
> + file://autofs-5.0.7-fix-null-map-entry-order-handling.patch \
> + file://autofs-5.0.7-make-description-of-default-MOUNT_WAIT-setting-clear.patch \
> + file://autofs-5.0.7-configure-in-allow-cross-compilation.patch \
> + file://autofs-5.0.7-README-update-mailing-list-subscription-info.patch \
> + file://autofs-5.0.7-allow-non-root-user-to-check-status.patch \
> + file://autofs-5.0.7-configure-allow-cross-compilation-update.patch \
> + file://autofs-5.0.6-fix-recursive-mount-deadlock.patch \
> + file://autofs-5.0.6-increase-file-map-read-buffer-size.patch \
> + file://autofs-5.0.7-handle-new-location-of-systemd.patch \
> + file://Makefile.rules-cross.patch \
> + file://no-bash.patch \
> + file://cross.patch \
> + file://libtirpc.patch \
> + file://libtirpc-name-clash-backout.patch \
> + "
> +
> +SRC_URI[md5sum] = "bc46838dece83c02d800ff144ed9f431"
> +SRC_URI[sha256sum] = "08c4304d8076dc80c14df559bc5fd821b67ef3457b245f61068bd053d8f94ccc"
> +
> +inherit update-rc.d
> +
> +INITSCRIPT_NAME = "autofs"
> +INITSCRIPT_PARAMS = "defaults"
> +
> +SYSTEMD_PACKAGES = "${PN}-systemd"
> +SYSTEMD_SERVICE = "autofs.service"
> +
> +# FIXME: modules/Makefile has crappy rules that don't obey LDFLAGS
> +CFLAGS += "${LDFLAGS}"
> +
> +EXTRA_OEMAKE = "DONTSTRIP=1"
> +EXTRA_OECONF += "--with-systemd --disable-mount-locking \
> + --enable-ignore-busy --with-openldap=no \
> + --with-sasl=no --with-libtirpc=yes \
> + --with-path=${STAGING_BINDIR_NATIVE} \
> + "
> +CACHED_CONFIGUREVARS = "ac_cv_path_RANLIB=${RANLIB} \
> + ac_cv_path_RPCGEN=rpcgen \
> + "
> +
> +do_configure_prepend () {
> + if [ ! -e acinclude.m4 ]; then
> + cp aclocal.m4 acinclude.m4
> + fi
> +}
> +
> +#do_install () {
> +# install -d ${D}${mandir}/man5 ${D}${mandir}/man8 \
> +# ${D}${sbindir}
> +# oe_runmake 'INSTALLROOT=${D}' install
> +#}
If do_install() is dead, any harm in removing it from the recipe
entirely?
> +
> +INSANE_SKIP_${PN} = "dev-so"
--
-Joe MacDonald.
:wq
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next prev parent reply other threads:[~2013-01-07 16:13 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-06 9:12 [meta-networking][PATCH V2 01/25] arptables: Import recipe from OE-Classic and update to latest Khem Raj
2013-01-06 9:12 ` [meta-networking][PATCH V2 02/25] ebtables: Fix segfault by linking with no-as-needed Khem Raj
2013-01-06 9:12 ` [meta-networking][PATCH V2 03/25] autofs: Add recipes for 5.0.7 Khem Raj
2013-01-07 15:58 ` Joe MacDonald [this message]
2013-01-07 22:48 ` Khem Raj
2013-01-08 17:33 ` Khem Raj
2013-01-08 19:03 ` Joe MacDonald
2013-01-08 22:19 ` Martin Jansa
2013-01-08 22:22 ` Joe MacDonald
2013-01-06 9:12 ` [meta-networking][PATCH V2 04/25] nis: Import recipes from OE classic Khem Raj
2013-01-06 9:12 ` [meta-networking][PATCH V2 05/25] ndisc6: Forward port recipe " Khem Raj
2013-01-06 9:12 ` [meta-oe][PATCH V2 06/25] net-snmp: Use ${PN} instead of hardcoding net-snmp Khem Raj
2013-01-06 9:12 ` [meta-oe][PATCH V2 07/25] jansson_2.3.1.bb: Fix multilib use BPN in SRC_URI instead of PN Khem Raj
2013-01-06 9:12 ` [meta-oe][PATCH V2 08/25] liblockfile: Upgrade 1.06 -> 1.09 Khem Raj
2013-01-06 9:12 ` [meta-oe][PATCH V2 09/25] atftp: Upgrade to latest from git Khem Raj
2013-01-06 9:36 ` Martin Jansa
2013-01-07 1:23 ` Khem Raj
2013-01-07 15:36 ` Joe MacDonald
2013-01-07 16:01 ` Khem Raj
2013-01-07 16:04 ` Joe MacDonald
2013-01-06 9:12 ` [meta-oe][PATCH V2 10/25] tcpdump: Upgrade from 4.1.1 -> 4.3.0 Khem Raj
2013-01-06 9:12 ` [meta-oe][PATCH V2 11/25] cppunit: Upgrade recipes from 1.12.1 -> 1.13.1 Khem Raj
2013-01-06 9:12 ` [meta-oe][PATCH V2 12/25] luajit: Add recipes Khem Raj
2013-01-06 9:12 ` [meta-oe][PATCH V2 13/25] concurrencykit: Add recipe for latest from git Khem Raj
2013-01-07 18:15 ` Martin Jansa
2013-01-07 21:58 ` Khem Raj
2013-01-08 17:33 ` Khem Raj
2013-01-06 9:12 ` [meta-oe][PATCH V2 14/25] tcsh: Add recipes for package Khem Raj
2013-01-06 9:12 ` [meta-oe][PATCH V2 15/25] dmidecode: Forward port from OE-Classic Khem Raj
2013-01-06 9:12 ` [meta-oe][PATCH V2 16/25] libuio: Add recipe for version 0.2.1 Khem Raj
2013-01-06 9:12 ` [meta-oe][PATCH V2 17/25] uml-utilities: Forward port recipe from OE classic Khem Raj
2013-01-06 9:12 ` [meta-systemd][PATCH V2 18/25] systemd: Fix build when base_libdir is not /lib Khem Raj
2013-01-09 10:18 ` Martin Jansa
2013-01-06 9:12 ` [meta-systemd][PATCH V2 19/25] systemd.bbclass: Fixes for living along with multilib Khem Raj
2013-01-06 9:12 ` [meta-systemd][PATCH V2 20/25] at: Add systemd unit file Khem Raj
2013-01-06 9:12 ` [meta-systemd][PATCH V2 21/25] dhcp: Add systemd unit file for dhclient Khem Raj
2013-01-06 9:12 ` [meta-systemd][PATCH V2 22/25] nis: Add support for systemd launch of NIS services Khem Raj
2013-01-06 9:12 ` [meta-systemd][PATCH V2 23/25] rpcbind: Add systemd service unit file Khem Raj
2013-01-06 9:12 ` [meta-systemd][PATCH V2 24/25] dhclient.service: Rearrange the cmdline for dhclient Khem Raj
2013-01-06 9:12 ` [meta-systemd][PATCH V2 25/25] meta-systemd/atftpd: Adjust bbappend to match to recipe upgrade Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130107155808.GE6154@windriver.com \
--to=joe.macdonald@windriver.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox