From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.neuhaus.de ([62.109.85.115]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Yfr2e-0005ZG-JN for ptxdist@pengutronix.de; Wed, 08 Apr 2015 16:33:22 +0200 In-Reply-To: <551D020A.6070209@pengutronix.de> References: <1427898458-3434-1-git-send-email-oliver.graute@neuhaus.de> <551D020A.6070209@pengutronix.de> Message-ID: From: Oliver.Graute@neuhaus.de Date: Wed, 8 Apr 2015 16:33:02 +0200 MIME-Version: 1.0 Subject: [ptxdist] Antwort: Re: [PATCHv4 1/1] linux-pam: this patch add Linux-PAM support to ptxdist Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0952250782==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: ptxdist-bounces@pengutronix.de This is an S/MIME signed message --===============0952250782== Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="sha1"; boundary="----2B5205B775E37396931BE81A46D2462B" This is an S/MIME signed message ------2B5205B775E37396931BE81A46D2462B MIME-Version: 1.0 Content-type: multipart/alternative; Boundary="0__=4EBBF4B2DFDC260C8f9e8a93df938690918c4EBBF4B2DFDC260C" Content-Disposition: inline --0__=4EBBF4B2DFDC260C8f9e8a93df938690918c4EBBF4B2DFDC260C Content-type: text/plain; charset=US-ASCII > > diff --git a/rules/linux-pam.in b/rules/linux-pam.in > > new file mode 100644 > > index 0000000..d76e4db > > --- /dev/null > > +++ b/rules/linux-pam.in > > @@ -0,0 +1,13 @@ > > +## SECTION=networking > > + > > +config LINUX_PAM > > + tristate > > + prompt "linux-pam" > > I think a dependency to flex is missing, maybe it's only needed when > compiling with selinux support...: flex support is necessary. i will add it with a select FLEX statement > libtool: link: arm-cortexa8-linux-gnueabihf-gcc -g -O2 -Wl,--as-needed > -Wl,--no-undefined -Wl,-O1 -o pam_conv1 pam_conv_l.o pam_conv_y.o > pam_conv_l.o: In function `yylex': > platform-1234/build-target/Linux-PAM-1.1.8/conf/pam_conv1/pam_conv_l.c:871: > undefined reference to `yywrap' flex dependency will fix that error > > +# > > +# autoconf > > +# > > +LINUX_PAM_CONF_TOOL := autoconf > > There a lot of options to pam's ./configure, please provide sensible > defaults via CONF_OPT (at least for external packages) and make use of > the gobal ptxdist option: > hm i don't know which ones are necessary here. Best regards, Oliver --0__=4EBBF4B2DFDC260C8f9e8a93df938690918c4EBBF4B2DFDC260C Content-type: text/html; charset=US-ASCII Content-Disposition: inline



> > diff --git a/rules/linux-pam.in b/rules/linux-pam.in
> > new file mode 100644
> > index 0000000..d76e4db
> > --- /dev/null
> > +++ b/rules/linux-pam.in
> > @@ -0,0 +1,13 @@
> > +## SECTION=networking
> > +
> > +config LINUX_PAM
> > +   tristate
> > +   prompt "linux-pam"
>
> I think a dependency to flex is missing, maybe it's only needed when
> compiling with selinux support...:

flex support is necessary. i will add it with a select FLEX statement

> libtool: link: arm-cortexa8-linux-gnueabihf-gcc -g -O2 -Wl,--as-needed
> -Wl,--no-undefined -Wl,-O1 -o pam_conv1 pam_conv_l.o pam_conv_y.o
> pam_conv_l.o: In function `yylex':
> platform-1234/build-target/Linux-PAM-1.1.8/conf/pam_conv1/pam_conv_l.c:871:
> undefined reference to `yywrap'


flex dependency will fix that error

> > +#
> > +# autoconf
> > +#
> > +LINUX_PAM_CONF_TOOL   := autoconf
>
> There a lot of options to pam's ./configure, please provide sensible
> defaults via CONF_OPT (at least for external packages) and make use of
> the gobal ptxdist option:
>

hm i don't know which ones are necessary here.

Best regards,

Oliver --0__=4EBBF4B2DFDC260C8f9e8a93df938690918c4EBBF4B2DFDC260C-- ------2B5205B775E37396931BE81A46D2462B Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIIJigYJKoZIhvcN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75XM7my+a2E8RalIiLFJSce7nUUStUTKpQnz67y37LUt8rmCnkYv1Q== ------2B5205B775E37396931BE81A46D2462B-- --===============0952250782== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0952250782==--