All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 for-next 1/2] package/exim: remove libnsl linking
Date: Sat, 19 May 2018 21:49:04 +0200	[thread overview]
Message-ID: <20180519214904.0383d9e1@windsurf> (raw)
In-Reply-To: <20180519185827.23898-1-romain.naour@gmail.com>

Hello,

On Sat, 19 May 2018 20:58:26 +0200, Romain Naour wrote:
> glibc now considers its built-in libnsl as being obsolete, and requires
> passing --enable-obsolete-libnsl to have it built and installed. libnsl
> is now provided as a separate project [1], but it isn't packaged yet in
> Buildroot.
> 
> In preparation for dropping --enable-obsolete-libnsl from the glibc
> package, this commit ensures that exim doesn't use libnsl. It was
> already the case for uclibc and musl toolchains, so this commit simply
> extends that to make sure libnsl is also not used with glibc toolchains.
> 
> Only Exim's nis.so and nisplus.so lookup modules require libnsl,
> but they are not build by default. So we can safely remove -lnsl
> from the Makefile-Linux. If someone want these modules, a new libnsl
> package must be added first to provide nsl library.
> 
> Since we remove -lnsl unconditionally, use a patch instead of a sed command.
> 
> [1] https://github.com/thkukuk/libnsl.git
> [2] https://fedoraproject.org/wiki/Changes/NISIPv6
> 
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
> Cc: Baruch Siach <baruch@tkos.co.il>
> Cc: Luca Ceresoli <luca@lucaceresoli.net>
> ---
> v4: remove -lnsl by a patch instread of a sed (Baruch).
> v3: Also comment the buildconfig build issue on the host with Fedora 28 (Luca)
>     Add a comment about this issue in exim.mk
> ---
>  package/exim/0006-remove-libnsl.patch | 37 +++++++++++++++++++++++++++++++++++
>  package/exim/exim.mk                  |  9 ---------
>  2 files changed, 37 insertions(+), 9 deletions(-)
>  create mode 100644 package/exim/0006-remove-libnsl.patch

Both patches applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

      parent reply	other threads:[~2018-05-19 19:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-19 18:58 [Buildroot] [PATCH v4 for-next 1/2] package/exim: remove libnsl linking Romain Naour
2018-05-19 18:58 ` [Buildroot] [PATCH v4 for-next 2/2] Revert "glibc: install the obsolete libnsl" Romain Naour
2018-05-19 19:49 ` Thomas Petazzoni [this message]

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=20180519214904.0383d9e1@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.