From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] libpam-tacplus: new package
Date: Thu, 20 Aug 2015 10:02:57 +0200 [thread overview]
Message-ID: <20150820100257.390721eb@free-electrons.com> (raw)
In-Reply-To: <CAMQcK5JaQx3fVKL0T5CSg+nWmzN+VSyAP4prY4ttaD2HAcDQYQ@mail.gmail.com>
Ryan, Giovanni,
On Wed, 19 Aug 2015 17:06:00 -0500, Ryan Barnett wrote:
> > diff --git a/package/libpam-tacplus/Config.in b/package/libpam-tacplus/Config.in
> > new file mode 100644
> > index 0000000..88d10ff
> > --- /dev/null
> > +++ b/package/libpam-tacplus/Config.in
> > @@ -0,0 +1,5 @@
> > + config BR2_PACKAGE_LIBPAM_TACPLUS
> > + bool "libpam-tacplus"
> > + help
> > + Lib needed to use pam-tacplus
>
> Would spell 'Library' out completely. It would also be good if you
> could link to the projects homepage as well.
Agreed, but I believe the description could also be improved by
copy/pasting more from the upstream website:
TACACS+ protocol client library and PAM module in C. This PAM
module support authentication, authorization (account
management) and accounting (session management)performed
using TACACS+ protocol designed by Cisco.
> > +LIBPAM_TACPLUS_INSTALL_STAGING = YES
> > +LIBPAM_TACPLUS_AUTORECONF = YES
Please add a comment above this line:
# Fetching from github, we need to generate the configure script
> > +LIBPAM_TACPLUS_CONF_OPTS = CC="$(TARGET_CC)" LD="$(TARGET_LD)"
>
> I'm not sure if this is needed but I could definitely be wrong since I
> haven't had a chance to dig into the package. It seems like this is
> something that buildroot's autotools package infrastructure should
> take care of passing into in order to ensure that it using the correct
> compiler.
The package is using autoconf, but not automake: it uses a hand-written
Makefile. Due to this, passing some variable at build time might be
required. However, it would be useful to try something like:
LIBPAM_TACPLUS_CONF_ENV = $(TARGET_CONFIGURE_OPTS)
instead.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2015-08-20 8:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-19 20:47 [Buildroot] [PATCH 1/1] libpam-tacplus: new package giovanni.zantedeschi
2015-08-19 22:06 ` Ryan Barnett
2015-08-20 8:02 ` 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=20150820100257.390721eb@free-electrons.com \
--to=thomas.petazzoni@free-electrons.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox