Re: CryptX to be added officially in 8.3?
philippe_44 <philippe_44.aerozb-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
mherger wrote: > > With more and more crypto requirements, I was wondering if we should > not > > better help plugin developers (and reduce their packages size) by > > including a package like CryptX (https://metacpan.org/pod/CryptX). The > > good thing is that if we stay on Windows' Perl-5.14, I've been able to > > compile and use it, so there will be consistency. Other platforms > should > > be piece of cake. > > Like "apt install..."? I'd prefer _not_ to include more binaries in LMS. > > Windows, ok, that's a problem. But for Linux, if it can easily be > installed using the OS' tools, then I'd try to avoid them. As you'll > know we'd have to compile for X platforms * Y Perl versions. > > > What do you think? Other crypto packages to be installed? > > I'm actually particularly reluctant to include crypto related packages. > I've had bad experiences in the past trying to cross compile > IO::Socket::SSl and related libraries... What has been your experience > including CryptX in your plugins? Did you have to update often? I was mentioning CryptX because it cross-compiled everywhere I tried (I use if of all supported platforms, i.e. Windows, Linux (x86, x64, arm, aarch, mips, ppc, sparc), MacOS, Solaris, FreeBSD and could compile if everywhere for all sort of Perl versions. Re updating it, I did not have to but that might be because of the field of use. I understand your reluctance because of the build matrix, but on the other hand, that means that every time a plugin developer wants some crypto function, he has to include it and reinvent the wheel with the full matrix (which I did and this is painful) or rely on users to install something which I think is way to impractical. LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3 ------------------------------------------------------------------------ philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=115819