Re: [ptxdist] [PATCH] libcoap: add new package

2014-03-05 Thread Alexander Aring
Hi Michael,

ping.

I see you applied other patch "libzmq: add new package" already. Is
there something wrong with this patch or simple needs a little more time
to review? :-)

- Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] [PATCH 3/3] Rules to build ghostscript for the host.

2014-03-05 Thread Juergen Beisert
Hi David,

welcome to the printing hell :)

I also tried with CUPS and Ghostscript. Its far from perfect, but it seems to 
work. The CUPS project is not interested in cross compiling (there was a 
statement at one of their mailing lists longer time ago and their buildsystem 
is really broken regarding this) and the Ghostscript buildsystem is an ugly 
mixture of autotools based configure and hand made Makefiles. A real mess. I'm 
using Ghostscript 8.70. Should I send my variant as well?

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] Cross-compiling gstoraster

2014-03-05 Thread Alexander Aring
Hi David,

I looked last night a little bit deeper into cups and ghostscript
buildsystems and it seems that cross-compiling these tools is a mess.

I will see what I can do for it. Don't believe that I can do miracles.
Of course there must a way to cross compiling it. :-)

- Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] [PATCH 3/3] Rules to build ghostscript for the host.

2014-03-05 Thread Alexander Aring
Hi Juergen,

On Wed, Mar 05, 2014 at 09:57:06AM +0100, Juergen Beisert wrote:
> Hi David,
> 
> welcome to the printing hell :)
> 
> I also tried with CUPS and Ghostscript. Its far from perfect, but it seems to 
> work. The CUPS project is not interested in cross compiling (there was a 
> statement at one of their mailing lists longer time ago and their buildsystem 
> is really broken regarding this)

mhh, this statement must ending with:

"With best regards Apple Inc." ;-)

Otherwise you could do a fancy airprint with non apple embedded devices.

- Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] [PATCH] libcoap: add new package

2014-03-05 Thread Michael Olbrich
Hi,

On Wed, Mar 05, 2014 at 09:48:47AM +0100, Alexander Aring wrote:
> I see you applied other patch "libzmq: add new package" already. Is
> there something wrong with this patch or simple needs a little more time
> to review? :-)

I need some clarification mostly. You're replacing the whole build-system.
That's not something I want to maintain inside ptxdist. I can only accept
that if this will be upstream the next time we update the package in
ptxdist. So what's the upstream status of these patches?

Michael

-- 
Pengutronix e.K.   | |
Industrial Linux Solutions | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0|
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917- |

-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] Cross-compiling gstoraster

2014-03-05 Thread David Thomas
Hi Alex,

Thank you so much for looking into this, whether or not you get anywhere with 
it.

I'm looking at stepping outside the Ghostscript make system and producing a 
custom command to run in the ptxdist build rules to make my version, perhaps 
after the standard make system has built everything else (which now works, at 
least as far as compiling goes). I don't consider it the correct approach but I 
can't see how else to proceed at this time.

Thanks,
David

-- 
ptxdist mailing list
ptxdist@pengutronix.de


[ptxdist] FW: [PATCH 3/3] Rules to build ghostscript for the host.

2014-03-05 Thread David Thomas
Hi Juergen,

If you got Ghostscript 8.70 to work with CUPS, I would be deeply interested in 
those patches. :-)

Thanks,
David

-- 
ptxdist mailing list
ptxdist@pengutronix.de


[ptxdist] does ptxdist newpackage target support building a Qt application

2014-03-05 Thread Pat Murray


Data Display,
Deerpark Ind. Est.,
Ennistymon,
Co. Clare,
Rep. of Ireland.
Direct Tel.: +353 65 707 2644
Tel.: +353 65 707 2600
Fax.: +353 65 707 1311
Web: www.data-display.com
Registered in Ireland: 68326
Registered Office: as above.



-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] [PATCH] libcoap: add new package

2014-03-05 Thread Alexander Aring
On Wed, Mar 05, 2014 at 10:48:54AM +0100, Michael Olbrich wrote:
> Hi,
> 
> On Wed, Mar 05, 2014 at 09:48:47AM +0100, Alexander Aring wrote:
> > I see you applied other patch "libzmq: add new package" already. Is
> > there something wrong with this patch or simple needs a little more time
> > to review? :-)
> 
> I need some clarification mostly. You're replacing the whole build-system.
> That's not something I want to maintain inside ptxdist. I can only accept
> that if this will be upstream the next time we update the package in
> ptxdist. So what's the upstream status of these patches?
> 
Maintainer don't want to use automake in his buildsystem, I think it
will never go into mainline of libcoap. There is also no mailinglist for
this project, I mailed with the maintainer private.

General problem:

The library buildsystem was made for static linking to a non dynamic
loading operation system.


I can try an alternative instead of reimplemnt the whole buildsystem.

Steps are:

1. Patch libcoap package to add a libcoap.pc file with static paths and
   add CFLAGS with -D WITH_POSIX.

2. Compile shared libcoap library with make and -D WITH_POSIX
   (There exists a way mainline to compile a shared library)

3. on make install, install it to static path usr/lib/ and
   usr/lib/pkgconfig usr/include...

3.1. There is something special on header copy to usr/include:
 copy a dummy header for config.h (I hope that should work).
 Normally the config.h is created by autoconf and they included it
 in every header but no header use config.h information in the header
 files (I suppose). So we don't need patch 4/6 (libcoap: remove
 include of config.h).

4. copy library, headers into LIBCOAP_PKGDIR.

Something in that way...

I think all option will be end in some hack. I can try to do the
alternative and then we looks if it's better or not, if you are
interested in.


- Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] [PATCH] libcoap: add new package

2014-03-05 Thread Marc Kleine-Budde
On 03/05/2014 11:37 AM, Alexander Aring wrote:
> On Wed, Mar 05, 2014 at 10:48:54AM +0100, Michael Olbrich wrote:
>> Hi,
>>
>> On Wed, Mar 05, 2014 at 09:48:47AM +0100, Alexander Aring wrote:
>>> I see you applied other patch "libzmq: add new package" already. Is
>>> there something wrong with this patch or simple needs a little more time
>>> to review? :-)
>>
>> I need some clarification mostly. You're replacing the whole build-system.
>> That's not something I want to maintain inside ptxdist. I can only accept
>> that if this will be upstream the next time we update the package in
>> ptxdist. So what's the upstream status of these patches?
>>
> Maintainer don't want to use automake in his buildsystem, I think it
> will never go into mainline of libcoap. There is also no mailinglist for
> this project, I mailed with the maintainer private.

What about cmake?

Marc

-- 
Pengutronix e.K.  | Marc Kleine-Budde   |
Industrial Linux Solutions| Phone: +49-231-2826-924 |
Vertretung West/Dortmund  | Fax:   +49-5121-206917- |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |



signature.asc
Description: OpenPGP digital signature
-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] Cross-compiling gstoraster

2014-03-05 Thread David Thomas
Hello,

I would like to express my thanks to all of you, and especially Juergen. With 
minor modifications, his patches for Ghostscript worked fine on my end, and I 
now have CUPS and Ghostscript working fine on my target!

I have provided Juergen with a copy of my rules and patches. It would be really 
nice to see CUPS and GS make it into the main PTXdist and I hope what I have 
done helps.

Many thanks,
David

-- 
ptxdist mailing list
ptxdist@pengutronix.de


[ptxdist] Busybox password hashing algorithm

2014-03-05 Thread Matthias Klein

Hello,

our ptxdist 2014.01.0 based product got an external security audit.
They complained that our passwords in the shadow file are hashed with 
the outdated crypt(3) algorithm.

Her advice is to use bcrypt, PBKDF2 or scrpy.

We are using busybox for passwd etc.

Is this a busybox limitation? Or can we change the hashing algorithm in 
busybox?

Or do we need to replace busybox' passwd etc. with something better?


Best regards,
Matthias
-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] Busybox password hashing algorithm

2014-03-05 Thread Marc Kleine-Budde
On 03/05/2014 07:47 PM, Matthias Klein wrote:
> Hello,
>  
> our ptxdist 2014.01.0 based product got an external security audit.
> They complained that our passwords in the shadow file are hashed with
> the outdated crypt(3) algorithm.
> Her advice is to use bcrypt, PBKDF2 or scrpy.
>  
> We are using busybox for passwd etc.
>  
> Is this a busybox limitation? Or can we change the hashing algorithm in
> busybox?
> Or do we need to replace busybox' passwd etc. with something better?

Have a look at the  BUSYBOX_USE_BB_CRYPT and BUSYBOX_USE_BB_CRYPT_SHA
option.

Marc

-- 
Pengutronix e.K.  | Marc Kleine-Budde   |
Industrial Linux Solutions| Phone: +49-231-2826-924 |
Vertretung West/Dortmund  | Fax:   +49-5121-206917- |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |



signature.asc
Description: OpenPGP digital signature
-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] Busybox password hashing algorithm

2014-03-05 Thread Matthias Klein

Hello Marc,

thanks a lot for the tip !

With that option I can login with a SHA hashed password (starts with 
$6$).
But if I change the password with passwd (from busybox) I get again a 
"weak" hashed password.


I looked for a similar config option for passwd, but can't find one.
Is there a way to create SHA hashs with passwd from busybox ?


Best regards,
Matthias


-- Originalnachricht --
Von: "Marc Kleine-Budde" 
An: ptxdist@pengutronix.de; "Matthias Klein" 


Gesendet: 05.03.2014 19:55:14
Betreff: Re: [ptxdist] Busybox password hashing algorithm

On 03/05/2014 07:47 PM, Matthias Klein wrote:

 Hello,

 our ptxdist 2014.01.0 based product got an external security audit.
 They complained that our passwords in the shadow file are hashed with
 the outdated crypt(3) algorithm.
 Her advice is to use bcrypt, PBKDF2 or scrpy.

 We are using busybox for passwd etc.

 Is this a busybox limitation? Or can we change the hashing algorithm 
in

 busybox?
 Or do we need to replace busybox' passwd etc. with something better?


Have a look at the BUSYBOX_USE_BB_CRYPT and BUSYBOX_USE_BB_CRYPT_SHA
option.

Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917- |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |




--
ptxdist mailing list
ptxdist@pengutronix.de


[ptxdist] Hostap-ol.R5.SP7.01

2014-03-05 Thread Ivor Kruger
Hi, I need to get the latest version of hostap included into my ptxdist
build for the phycore. I copied the i.MX files and got the older version
working (sort of). I don¹t understand all the intricacies of ptxdist and
read the guru doc on how to add packages but still struggle.

Is there a later version of hostap included in some other ptxdist
distribution that I can hack toward the latest version?

Or maybe some pointers on how to get the current version going.

For the record, here is a link to the hostap files:
https://github.com/TI-OpenLink/hostap/archive/ol_R5.SP7.01.tar.gz

I would appreciate any help/pointers.
Regards
Ivor


-- 
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] Busybox password hashing algorithm

2014-03-05 Thread Matthias Klein

Hello Marc,

I have found the solution: the default algorithm for passwd can be set 
with the config option CONFIG_FEATURE_DEFAULT_PASSWD_ALGO.


I will send a patch tomorrow.


Best regards,
Matthias

-- Originalnachricht --
Von: "Matthias Klein" 
An: "ptxdist@pengutronix.de" 
Gesendet: 05.03.2014 20:19:50
Betreff: Re: [ptxdist] Busybox password hashing algorithm

Hello Marc,

thanks a lot for the tip !

With that option I can login with a SHA hashed password (starts with 
$6$).
But if I change the password with passwd (from busybox) I get again a 
"weak" hashed password.


I looked for a similar config option for passwd, but can't find one.
Is there a way to create SHA hashs with passwd from busybox ?


Best regards,
Matthias


-- Originalnachricht --
Von: "Marc Kleine-Budde" 
An: ptxdist@pengutronix.de; "Matthias Klein" 


Gesendet: 05.03.2014 19:55:14
Betreff: Re: [ptxdist] Busybox password hashing algorithm

On 03/05/2014 07:47 PM, Matthias Klein wrote:

 Hello,

 our ptxdist 2014.01.0 based product got an external security audit.
 They complained that our passwords in the shadow file are hashed 
with

 the outdated crypt(3) algorithm.
 Her advice is to use bcrypt, PBKDF2 or scrpy.

 We are using busybox for passwd etc.

 Is this a busybox limitation? Or can we change the hashing algorithm 
in

 busybox?
 Or do we need to replace busybox' passwd etc. with something better?


Have a look at the BUSYBOX_USE_BB_CRYPT and BUSYBOX_USE_BB_CRYPT_SHA
option.

Marc

--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917- |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |




-- ptxdist mailing list
ptxdist@pengutronix.de




--
ptxdist mailing list
ptxdist@pengutronix.de


Re: [ptxdist] does ptxdist newpackage target support building a Qt application - YES

2014-03-05 Thread Josef Holzmayr



_
Josef Holzmayr
Dipl-Ing. (FH)
Entwicklung Embedded Devices / Software

Tel.: +49 8444 9204-48>
Fax:  +49 8444 9204-50
holzm...@rsi-elektrotechnik.de

R-S-I Elektrotechnik GmbH & Co. KG
Woelkestrasse 11
D-85301 Schweitenkirchen
www.rsi-elektrotechnik.de
_
Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363
Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg
USt-IdNr.: DE 128592548
Am 05.03.2014 11:30, schrieb Pat Murray:

/Data Display,/
/Deerpark Ind. Est.,/
/Ennistymon,/
/Co. Clare,/
/Rep. of Ireland./
/Direct Tel.: +353 65 707 2644/
/Tel.: +353 65 707 2600/
/Fax.: +353 65 707 1311/
/Web: www.data-display.com /
/Registered in Ireland: 68326/
/Registered Office: as above./






--
ptxdist mailing list
ptxdist@pengutronix.de