[OpenIndiana-discuss] Xorg 1.19.6

2018-03-04 Thread Aurélien Larcher
Hullo,
belated update (busy with other things) but I just pushed Xorg 1.19.6 for
testing to

http://pkg.openindiana.org/xorg-testing/

As usual the recommended way to test is to create a new Boot Environment
(BE) to avoid damaging your current install.

# beadm create xorg1196
# beadm mount xorg1196

Note the mounting point to substitute to /path/to/be

# pkg -R /path/to/be change-facet
facet.require.consolidation/userland/userland-incorporation=false
# pkg -R /path/to/be uninstall userland-incorporation
# pkg -R /path/to/be set-publisher -P -O
http://pkg.openindiana.org/xorg-testing/ userland
# pkg -R /path/to/be set-publisher --non-sticky openindiana.org
# pkg -R /path/to/be update -v
# beadm activate xorg1196

... and reboot.

Happy testing!



-- 
---
Praise the Caffeine embeddings
___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Building Filezilla 3.17 and later

2018-03-04 Thread Alan Coopersmith
On 03/ 4/18 11:11 AM, russell wrote:
> Both Gnutls v3.5.18 and v3.6.2 both can almost be successfuly built using
> 
> $ CC=gcc-6  CXX=g++-6 CFLAGS="-I/usr/include/idn -I/usr/include/idn2"
> LDFLAGS="-L/opt/gnu/lib -L/usr/lib" NETTLE_CFLAGS="-I/opt/gnu/include/nettle"
> HOGWEED_CFLAGS="-I/opt/gnu/include/nettle" NETTLE_LIBS=-L/opt/gnu/lib
> HOGWEED_LIBS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu
> --enable-openssl-compatibility --disable-ssl2-support --enable-tests
>

When you're using *_LIBS to override the pkg-config provided flags you need
to include the -l flags that pkg-config would give you, not just the -L ones,
so for instance, the above should probably be:
   NETTLE_LIBS="-L/opt/gnu/lib -R/opt/gnu/lib -lnettle"
(including the -R to find the library at runtime outside the normal library
 path).

Or if the nettle.pc file is installed under /opt/gnu/lib/pkgconfig, then you
may just be able to replace much of the above with:
   PKG_CONFIG_PATH=/opt/gnu/lib/pkgconfig

-alan-

___
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Building Filezilla 3.17 and later

2018-03-04 Thread russell

Hi,

In order to build Filezilla 3.17 and later I need to build an up to date 
version of GNUTLS, after some effort I have almost build gnutls v3.5.18 
and v3.6.2.


The problem I found earlier with the dsa structure definition was due to 
the fact I was using the system NETTLE v3.3 library, after compiling 
Nettle v3.4 then the dsa structure problem building gnutls disappeared.


Nettle v3.4 was successfully built using

$ CC=gcc-6 CXX=g++-6 CFLAGS="-I/usr/include/gmp" ./configure 
--prefix=/opt/gnu


Unbound v1.6.8 required for Gnutls was successfully built using

$ CC=gcc-6 ./configure --prefix=/opt/gnu


Both Gnutls v3.5.18 and v3.6.2 both can almost be successfuly built using

$ CC=gcc-6  CXX=g++-6 CFLAGS="-I/usr/include/idn -I/usr/include/idn2" 
LDFLAGS="-L/opt/gnu/lib -L/usr/lib" 
NETTLE_CFLAGS="-I/opt/gnu/include/nettle" 
HOGWEED_CFLAGS="-I/opt/gnu/include/nettle" NETTLE_LIBS=-L/opt/gnu/lib 
HOGWEED_LIBS=-L/opt/gnu/lib ./configure --prefix=/opt/gnu 
--enable-openssl-compatibility --disable-ssl2-support --enable-tests


In both cases the final element of the compilation fails in a similar way

copying selected object files to avoid basename conflicts...

  CC   psk.o
  CCLD psktool
Undefined   first referenced
 symbol in file
nettle_pbkdf2_hmac_sha1 ../lib/.libs/libgnutls.so
nettle_aes192_set_decrypt_key   ../lib/.libs/libgnutls.so
nettle_aes192_set_encrypt_key   ../lib/.libs/libgnutls.so
nettle_gcm_camellia256_digest   ../lib/.libs/libgnutls.so
nettle_gcm_camellia128_digest   ../lib/.libs/libgnutls.so
nettle_pbkdf2_hmac_sha256   ../lib/.libs/libgnutls.so
nettle_arctwo40_set_key ../lib/.libs/libgnutls.so
nettle_aes128_set_decrypt_key   ../lib/.libs/libgnutls.so
nettle_aes128_set_encrypt_key   ../lib/.libs/libgnutls.so
nettle_rsa_pkcs1_sign_tr    ../lib/.libs/libgnutls.so
nettle_ecc_scalar_set   ../lib/.libs/libgnutls.so
nettle_ecc_scalar_get   ../lib/.libs/libgnutls.so
nettle_sha3_224_init    ../lib/.libs/libgnutls.so
nettle_sha512_digest    ../lib/.libs/libgnutls.so
nettle_sha384_digest    ../lib/.libs/libgnutls.so
nettle_sha224_digest    ../lib/.libs/libgnutls.so
nettle_sha256_digest    ../lib/.libs/libgnutls.so
nettle_umac96_set_key   ../lib/.libs/libgnutls.so
nettle_sha3_512_init    ../lib/.libs/libgnutls.so
nettle_curve25519_mul_g ../lib/.libs/libgnutls.so
nettle_hmac_sha1_set_key    ../lib/.libs/libgnutls.so
nettle_camellia128_crypt    ../lib/.libs/libgnutls.so
nettle_mpz_random_size  ../lib/.libs/libgnutls.so
nettle_salsa20_crypt    ../lib/.libs/libgnutls.so
nettle_ed25519_sha512_verify    ../lib/.libs/libgnutls.so
nettle_mpz_set_str_256_s    ../lib/.libs/libgnutls.so
nettle_mpz_set_str_256_u    ../lib/.libs/libgnutls.so
nettle_gcm_camellia256_set_key  ../lib/.libs/libgnutls.so
nettle_gcm_camellia128_set_key  ../lib/.libs/libgnutls.so
nettle_hmac_md5_set_key ../lib/.libs/libgnutls.so
nettle_base64_encode_raw    ../lib/.libs/libgnutls.so
nettle_dsa_signature_clear  ../lib/.libs/libgnutls.so
nettle_ecc_size ../lib/.libs/libgnutls.so
nettle_rsa_pkcs1_verify ../lib/.libs/libgnutls.so
nettle_rsa_private_key_init ../lib/.libs/libgnutls.so
nettle_dsa_sign ../lib/.libs/libgnutls.so
nettle_memxor   ../lib/.libs/libgnutls.so
nettle_rsa_public_key_init  ../lib/.libs/libgnutls.so
nettle_gcm_camellia256_set_iv   ../lib/.libs/libgnutls.so
nettle_gcm_camellia128_set_iv   ../lib/.libs/libgnutls.so
nettle_gcm_camellia128_update   ../lib/.libs/libgnutls.so
nettle_gcm_camellia256_update   ../lib/.libs/libgnutls.so
nettle_chacha_set_nonce ../lib/.libs/libgnutls.so
nettle_rsa_private_key_prepare  ../lib/.libs/libgnutls.so
nettle_sha512_update    ../lib/.libs/libgnutls.so
nettle_sha256_update    ../lib/.libs/libgnutls.so
nettle_rsa_pss_sha512_verify_digest ../lib/.libs/libgnutls.so
nettle_rsa_pss_sha384_verify_digest ../lib/.libs/libgnutls.so
nettle_rsa_pss_sha256_verify_digest ../lib/.libs/libgnutls.so
nettle_base64_decode_init   ../lib/.libs/libgnutls.so
nettle_hmac_sha256_set_key  ../lib/.libs/libgnutls.so
nettle_hmac_sha224_set_key  ../lib/.libs/libgnutls.so
nettle_hmac_sha384_set_key  ../lib/.libs/libgnutls.so
nettle_hmac_sha512_set_key  ../lib/.libs/libgnutls.so
nettle_ecc_scalar_clear ../lib/.libs/libgnutls.so
nettle_md2_update   ../lib/.libs/libgnutls.so
nettle_md5_update   ../lib/.libs/libgnutls.so
nettle_dsa_verify   ../lib/.libs/libgnutls.so
nettle_umac128_set_nonce    ../lib/.libs/libgnutls.so
nettle_mpz_random