Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LibreSSL on ~arm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
YumeWizard
n00b
n00b


Joined: 05 Jul 2016
Posts: 29

PostPosted: Sat Jul 09, 2016 5:56 pm    Post subject: LibreSSL on ~arm Reply with quote

After setting up Gentoo on an RPI B2 I noticed that I was unable to use LibreSSL for any packages due to it being masked in "/usr/portage/profiles/arch/arm/use.mask":
Code:
# Julian Ospald <hasufell@gentoo.org> (20 Sep 2015)
# no LibreSSL support yet
curl_ssl_libressl
libressl


So I decided to unmask it and rebuilt all of my packages that would use LibreSSL and everything has been going just fine since, I'm curious if anyone else is having any issues or knows of any? If not it would be nice if this mask could be removed.

Also is there a more appropriate way to unmask things like this that does not involve commenting out the lines in /usr/portage/profiles/arch/arm/use.mask, as it gets overwritten every time I run emerge --sync.


Packages using LibreSSL seemingly without issue on my system(eix --installed-with-use libressl):

Code:
[U] dev-lang/python
     Available versions:
     (2.7)  2.7.10-r1 (~)2.7.11-r2
     (3.3)  3.3.5-r3 (~)3.3.5-r8(3.3/3.3m)
     (3.4)  3.4.3-r1 (~)3.4.3-r7(3.4/3.4m) (~)3.4.4(3.4/3.4m)
     (3.5)  (~)3.5.0-r2 (~)3.5.1-r2(3.5/3.5m) (~)3.5.1-r3(3.5/3.5m)
       {-berkdb build doc examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml ELIBC="uclibc"}
     Installed versions:  2.7.11-r2(2.7)(07:39:53 PM 07/08/2016)(gdbm ipv6 libressl ncurses readline ssl threads wide-unicode xml -berkdb -build -doc -examples -hardened -sqlite -tk -wininst ELIBC="-uclibc") 3.4.4(3.4)(08:18:13 PM 07/08/2016)(gdbm ipv6 libressl ncurses readline ssl threads xml -build -examples -hardened -sqlite -tk -wininst ELIBC="-uclibc")
     Homepage:            http://www.python.org/
     Description:         An interpreted, interactive, object-oriented programming language

[I] dev-libs/libevent
     Available versions:  2.0.22 (~)2.0.22-r2(0/2.0-5) (~)2.1.5 (~)2.1.5-r3(0/2.1-5) (~)2.1.5-r4(0/2.1-5) **9999 {debug libressl +ssl static-libs test +threads ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  2.1.5-r4(06:49:21 PM 07/08/2016)(libressl ssl threads -debug -static-libs -test ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="-32 -64 -x32")
     Homepage:            http://libevent.org/
     Description:         A library to execute a function when a specific event occurs on a file descriptor

[I] dev-perl/Net-SSLeay
     Available versions:  1.650.0-r1 1.720.0-r1 {examples libressl minimal test}
     Installed versions:  1.720.0-r1(06:45:01 PM 07/08/2016)(libressl -examples -minimal -test)
     Homepage:            http://search.cpan.org/dist/Net-SSLeay/
     Description:         Perl extension for using OpenSSL

[I] dev-vcs/git
     Available versions:  (~)2.4.11 (~)2.5.5 (~)2.6.6 2.7.3-r1 (~)2.7.4 (~)2.8.4 (~)2.9.0 **9999 **9999-r1 **9999-r2 **9999-r3 {+blksha1 cgi +curl cvs doc emacs gnome-keyring +gpg gtk highlight +iconv libressl mediawiki mediawiki-experimental +nls +pcre +perl ppcsha1 +python subversion test +threads tk +webdav xinetd LINGUAS="bg ca de fr is it ko pt_PT ru sv vi zh_CN" PYTHON_TARGETS="python2_7"}
     Installed versions:  2.9.0(07:51:09 PM 07/08/2016)(blksha1 curl gpg iconv libressl nls pcre perl python threads webdav -cgi -cvs -doc -emacs -gnome-keyring -gtk -highlight -mediawiki -mediawiki-experimental -ppcsha1 -subversion -test -tk -xinetd LINGUAS="-bg -ca -de -fr -is -it -ko -pt_PT -ru -sv -vi -zh_CN" PYTHON_TARGETS="python2_7")
     Homepage:            http://www.git-scm.com/
     Description:         stupid content tracker: distributed VCS designed for speed and efficiency

[I] mail-mta/msmtp
     Available versions:  *1.6.1 ~*1.6.2 (~)1.6.3 (~)1.6.4 {doc gnutls idn libressl libsecret +mta nls sasl ssl vim-syntax}
     Installed versions:  1.6.4(06:51:37 PM 07/08/2016)(libressl mta nls ssl -doc -gnutls -idn -libsecret -sasl -vim-syntax)
     Homepage:            http://msmtp.sourceforge.net/
     Description:         An SMTP client and SMTP plugin for mail user agents such as Mutt

[I] net-misc/curl
     Available versions:  7.45.0^t 7.47.1^t 7.49.0^t (~)7.49.1^t {adns http2 idn ipv6 kerberos ldap metalink rtmp samba ssh ssl static-libs test threads ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" CURL_SSL="axtls gnutls libressl mbedtls nss +openssl polarssl winssl" ELIBC="Winnt"}
     Installed versions:  7.49.1^t(06:41:31 PM 07/08/2016)(ipv6 ssl -adns -http2 -idn -kerberos -ldap -metalink -rtmp -samba -ssh -static-libs -test -threads ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="-32 -64 -x32" CURL_SSL="libressl -axtls -gnutls -mbedtls -nss -openssl -polarssl -winssl" ELIBC="-Winnt")
     Homepage:            https://curl.haxx.se/
     Description:         A Client that groks URLs

[I] net-misc/iputils
     Available versions:  20121221-r1 (~)20121221-r2 20151218 [M](~)20160308 **99999999 {SECURITY_HAZARD arping caps clockdiff doc +filecaps gcrypt gnutls idn ipv6 libressl nettle +openssl rarpd rdisc ssl static tftpd tracepath traceroute}
     Installed versions:  20151218(06:17:14 PM 07/08/2016)(filecaps ipv6 libressl ssl -SECURITY_HAZARD -arping -caps -clockdiff -doc -gcrypt -idn -rarpd -rdisc -static -tftpd -tracepath -traceroute)
     Homepage:            http://www.linuxfoundation.org/collaborate/workgroups/networking/iputils
     Description:         Network monitoring tools including ping and ping6

[I] net-misc/ntp
     Available versions:  4.2.8_p3 4.2.8_p6 4.2.8_p7 4.2.8_p8 {caps debug ipv6 libressl openntpd parse-clocks readline samba selinux snmp ssl +threads vim-syntax zeroconf}
     Installed versions:  4.2.8_p8(07:17:27 PM 07/08/2016)(ipv6 libressl readline ssl threads -caps -debug -openntpd -parse-clocks -samba -selinux -snmp -vim-syntax -zeroconf)
     Homepage:            http://www.ntp.org/
     Description:         Network Time Protocol suite/programs

[I] net-misc/openssh
     Available versions:  (~)7.1_p2-r1 7.2_p2 (~)7.2_p2-r1 {X X509 bindist debug (+)hpn kerberos ldap ldns libedit libressl livecd pam +pie sctp selinux skey ssh1 +ssl static KERNEL="linux"}
     Installed versions:  7.2_p2-r1(07:03:33 PM 07/08/2016)(libressl pam pie ssl -X -X509 -bindist -debug -hpn -kerberos -ldap -ldns -libedit -livecd -sctp -selinux -skey -ssh1 -static KERNEL="linux")
     Homepage:            http://www.openssh.org/
     Description:         Port of OpenBSD's free SSH release

[I] net-misc/wget
     Available versions:  1.17.1-r1 1.18 {debug gnutls idn ipv6 libressl nls ntlm pcre +ssl static test uuid zlib}
     Installed versions:  1.18(06:26:22 PM 07/08/2016)(ipv6 libressl nls pcre ssl zlib -debug -gnutls -idn -ntlm -static -test -uuid)
     Homepage:            https://www.gnu.org/software/wget/
     Description:         Network utility to retrieve files from the WWW

[I] sys-fs/cryptsetup
     Available versions:  1.6.5 (~)1.6.8-r1 (~)1.7.1 (~)1.7.2 {+gcrypt kernel libressl nettle nls openssl pwquality python reencrypt static static-libs udev urandom PYTHON_SINGLE_TARGET="python2_7 python3_3 python3_4" PYTHON_TARGETS="python2_7 python3_3 python3_4 python3_5"}
     Installed versions:  1.7.2(06:01:31 PM 07/08/2016)(gcrypt libressl nls -kernel -nettle -openssl -pwquality -python -reencrypt -static -static-libs -udev -urandom PYTHON_TARGETS="python2_7 python3_4 -python3_5")
     Homepage:            https://gitlab.com/cryptsetup/cryptsetup/blob/master/README.md
     Description:         Tool to setup encrypted devices with dm-crypt

Found 11 matches


System information(emerge --info):
Code:
Portage 2.3.0 (python 3.4.4-final-0, default/linux/arm/13.0/armv7a, gcc-5.4.0, glibc-2.23-r2, 4.4.14-v7+ armv7l)
=================================================================
System uname: Linux-4.4.14-v7+-armv7l-ARMv7_Processor_rev_5_-v7l-with-gentoo-2.2
KiB Mem:      947756 total,    436444 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 09 Jul 2016 17:30:01 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p46::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.4::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2-r1::gentoo
sys-apps/openrc:          0.21.2::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.69-r2::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="*"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv7-a"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe -march=armv7-a"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv7-a"
GENTOO_MIRRORS="https://lug.mtu.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl arm armv5te armv6 armv6t2 berkdb bzip2 cli conntrack cracklib crypt cxx dri fortran gdbm iconv ipv6 libressl modules ncurses nls nptl openmp pam pcre readline seccomp session ssl tcpd unicode xattr zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock
deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi
words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="libressl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54028
Location: 56N 3W

PostPosted: Sat Jul 09, 2016 6:29 pm    Post subject: Reply with quote

YumeWizard,

File a bug. Detail the testing you have done.

Use the files in /etc/portage for unmasking.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
YumeWizard
n00b
n00b


Joined: 05 Jul 2016
Posts: 29

PostPosted: Sat Jul 09, 2016 6:53 pm    Post subject: Reply with quote

NeddySeagoon wrote:
YumeWizard,

File a bug. Detail the testing you have done.

Use the files in /etc/portage for unmasking.


Sounds good, I got it working by creating /etc/portage/profile/ and adding a use.mask file into the directory with this text inside:
Code:
-curl_ssl_libressl
-libressl

I got that information from: https://wiki.gentoo.org/wiki/Project:LibreSSL
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum