Florian Viehweger <[email protected]> writes:

> Hi,
>
> this updates libstrophe 0.11.0.
>
> Changes:
> - SASL EXTERNAL support (XEP-0178)
> - Client certificate can be provided for TLS negotiation. If the
>   certificate contains a single xmppAddr and JID is not provided with
>   xmpp_conn_set_jid(), the xmppAddr is chosen as JID
> - <stream> element contains "from" attribute over TLS connections now
> - GnuTLS can be selected optionally with configure script
> - Support for manual certificate verification
> - New API:
>  - xmpp_conn_set_client_cert()
>  - xmpp_conn_cert_xmppaddr_num()
>  - xmpp_conn_cert_xmppaddr()
>  - xmpp_conn_set_cafile()
>  - xmpp_conn_set_capath()
>  - xmpp_conn_set_certfail_handler()
>  - xmpp_conn_get_peer_cert()
>  - xmpp_tlscert_get_ctx()
>  - xmpp_tlscert_get_conn()
>  - xmpp_tlscert_get_pem()
>  - xmpp_tlscert_get_dnsname()
>  - xmpp_tlscert_get_string()
>  - xmpp_tlscert_get_description()
>  - xmpp_tlscert_free()
>
> I've been running this for a few days on amd64 with the updated version
> of profanity, submitted in a separate mail.
>
> portcheck, 'make lib-depends-check' and 'make test' are happy.
>
> Comments? OK?
>
>
> Index: libstrophe/Makefile
> ===================================================================
> RCS file: /cvs/ports/net/libstrophe/Makefile,v
> retrieving revision 1.6
> diff -u -p -u -p -r1.6 Makefile
> --- libstrophe/Makefile       10 Oct 2021 19:53:27 -0000      1.6
> +++ libstrophe/Makefile       12 Nov 2021 16:56:58 -0000
> @@ -2,11 +2,10 @@
>  
>  COMMENT =    simple, lightweight XMPP C library
>  
> -V =          0.10.1
> +V =          0.11.0
>  DISTNAME =   libstrophe-${V}
> -REVISION =   0
>  
> -SHARED_LIBS =        strophe                 3.0 # 1.0
> +SHARED_LIBS =        strophe                 4.0 # 3.0

Upon a closer look I don't think we need to bump the major here, bumping
only the minor to 3.1 should be enough.  /usr/src/lib/check_sym
libstrophe.so.{3.0,4.0} shows only additions and libstrophe seems to
exports only opaque structs (e.g. xmpp_conn_t etc.)

Otherwise I've been using this (and the profanity update) for a couple
of days already and it works fine :)

Thanks!


% /usr/src/lib/check_sym libstrophe.so.{3,4}.0
libstrophe.so.3.0 --> libstrophe.so.4.0
Dynamic export changes:
added:
        xmpp_conn_cert_xmppaddr
        xmpp_conn_cert_xmppaddr_num
        xmpp_conn_get_peer_cert
        xmpp_conn_set_cafile
        xmpp_conn_set_capath
        xmpp_conn_set_certfail_handler
        xmpp_conn_set_client_cert
        xmpp_ctx_set_verbosity
        xmpp_debug_verbose
        xmpp_strndup
        xmpp_tlscert_free
        xmpp_tlscert_get_conn
        xmpp_tlscert_get_ctx
        xmpp_tlscert_get_description
        xmpp_tlscert_get_dnsname
        xmpp_tlscert_get_pem
        xmpp_tlscert_get_string

External reference changes:
added:
        ASN1_INTEGER_to_BN
        ASN1_STRING_get0_data
        ASN1_STRING_length
        ASN1_STRING_to_UTF8
        ASN1_TIME_print
        BIO_ctrl
        BIO_free
        BIO_gets
        BIO_new
        BIO_new_file
        BIO_s_mem
        BN_bn2hex
        BN_free
        ERR_error_string
        EVP_sha1
        EVP_sha256
        GENERAL_NAMES_free
        GENERAL_NAME_get0_otherName
        GENERAL_NAME_get0_value
        OBJ_create
        OBJ_nid2ln
        OBJ_obj2nid
        OBJ_sn2nid
        PEM_read_bio_X509
        PEM_write_bio_X509
        SSL_CTX_load_verify_locations
        SSL_CTX_use_PrivateKey_file
        SSL_CTX_use_certificate_file
        SSL_get_ex_data
        SSL_get_ex_data_X509_STORE_CTX_idx
        SSL_set_ex_data
        X509_EXTENSION_get_data
        X509_PUBKEY_get0_param
        X509_STORE_CTX_get_current_cert
        X509_STORE_CTX_get_error
        X509_STORE_CTX_get_ex_data
        X509_digest
        X509_get0_signature
        X509_get_X509_PUBKEY
        X509_get_ext
        X509_get_ext_by_NID
        X509_get_serialNumber
        X509_get_version
        X509_getm_notAfter
        X509_getm_notBefore
        X509_verify_cert_error_string
        d2i_GENERAL_NAMES
        sk_num
        sk_value
        sprintf

PLT added:
        xmpp_debug_verbose
        xmpp_jid_bare
        xmpp_strndup
        xmpp_tlscert_free



>  CATEGORIES = net devel
>  
> Index: libstrophe/distinfo
> ===================================================================
> RCS file: /cvs/ports/net/libstrophe/distinfo,v
> retrieving revision 1.4
> diff -u -p -u -p -r1.4 distinfo
> --- libstrophe/distinfo       10 Sep 2021 04:30:50 -0000      1.4
> +++ libstrophe/distinfo       12 Nov 2021 16:56:58 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (libstrophe-0.10.1.tar.gz) = 
> SRjEcCns3qLeq0sPkzbKSouxLCi3KyzsOX2YZkuUx3E=
> -SIZE (libstrophe-0.10.1.tar.gz) = 520649
> +SHA256 (libstrophe-0.11.0.tar.gz) = 
> NgWiDzLXsxkykuI4tBDVleAbHWRRD0LBCNoTwJtgaIo=
> +SIZE (libstrophe-0.11.0.tar.gz) = 537506

Reply via email to