Bug 258125 - Update www/hiawatha to 11.0
Summary: Update www/hiawatha to 11.0
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Tobias C. Berner
URL:
Keywords:
Depends on: 258131
Blocks:
  Show dependency treegraph
 
Reported: 2021-08-28 20:37 UTC by Chris Petrik
Modified: 2021-09-05 07:07 UTC (History)
1 user (show)

See Also:


Attachments
Patch (1.50 KB, patch)
2021-08-28 20:37 UTC, Chris Petrik
no flags Details | Diff
patch (4.75 KB, patch)
2021-09-04 19:05 UTC, Chris Petrik
no flags Details | Diff
patch (4.71 KB, patch)
2021-09-04 20:21 UTC, Chris Petrik
no flags Details | Diff
patch (5.01 KB, patch)
2021-09-05 06:55 UTC, Chris Petrik
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Petrik 2021-08-28 20:37:10 UTC
Created attachment 227517 [details]
Patch

Version 11.0 Requires mbedtls which is included in the port, base ports has a older 2.x while this has 3.x so until the main port is updated it will use the ports mbedtls rather the system one.
Comment 2 Tobias C. Berner freebsd_committer freebsd_triage 2021-09-04 17:15:44 UTC
Moin moin 

You need to update the plist too -- you can check it for example with "poudriere testport" or "poudriere bulk -t" [1]

mfg Tobias


[1] 
Error: Orphaned: cmake/MbedTLSConfig.cmake
Error: Orphaned: cmake/MbedTLSConfigVersion.cmake
Error: Orphaned: cmake/MbedTLSTargets-relwithdebinfo.cmake
Error: Orphaned: cmake/MbedTLSTargets.cmake
Error: Orphaned: include/mbedtls/aes.h
Error: Orphaned: include/mbedtls/aria.h
Error: Orphaned: include/mbedtls/asn1.h
Error: Orphaned: include/mbedtls/asn1write.h
Error: Orphaned: include/mbedtls/base64.h
Error: Orphaned: include/mbedtls/bignum.h
Error: Orphaned: include/mbedtls/build_info.h
Error: Orphaned: include/mbedtls/camellia.h
Error: Orphaned: include/mbedtls/ccm.h
Error: Orphaned: include/mbedtls/chacha20.h
Error: Orphaned: include/mbedtls/chachapoly.h
Error: Orphaned: include/mbedtls/check_config.h
Error: Orphaned: include/mbedtls/cipher.h
Error: Orphaned: include/mbedtls/cmac.h
Error: Orphaned: include/mbedtls/compat-2.x.h
Error: Orphaned: include/mbedtls/config_psa.h
Error: Orphaned: include/mbedtls/ctr_drbg.h
Error: Orphaned: include/mbedtls/debug.h
Error: Orphaned: include/mbedtls/des.h
Error: Orphaned: include/mbedtls/dhm.h
Error: Orphaned: include/mbedtls/ecdh.h
Error: Orphaned: include/mbedtls/ecdsa.h
Error: Orphaned: include/mbedtls/ecjpake.h
Error: Orphaned: include/mbedtls/ecp.h
Error: Orphaned: include/mbedtls/entropy.h
Error: Orphaned: include/mbedtls/error.h
Error: Orphaned: include/mbedtls/gcm.h
Error: Orphaned: include/mbedtls/hkdf.h
Error: Orphaned: include/mbedtls/hmac_drbg.h
Error: Orphaned: include/mbedtls/mbedtls_config.h
Error: Orphaned: include/mbedtls/md.h
Error: Orphaned: include/mbedtls/md5.h
Error: Orphaned: include/mbedtls/memory_buffer_alloc.h
Error: Orphaned: include/mbedtls/net_sockets.h
Error: Orphaned: include/mbedtls/nist_kw.h
Error: Orphaned: include/mbedtls/oid.h
Error: Orphaned: include/mbedtls/pem.h
Error: Orphaned: include/mbedtls/pk.h
Error: Orphaned: include/mbedtls/pkcs12.h
Error: Orphaned: include/mbedtls/pkcs5.h
Error: Orphaned: include/mbedtls/platform.h
Error: Orphaned: include/mbedtls/platform_time.h
Error: Orphaned: include/mbedtls/platform_util.h
Error: Orphaned: include/mbedtls/poly1305.h
Error: Orphaned: include/mbedtls/private_access.h
Error: Orphaned: include/mbedtls/psa_util.h
Error: Orphaned: include/mbedtls/ripemd160.h
Error: Orphaned: include/mbedtls/rsa.h
Error: Orphaned: include/mbedtls/sha1.h
Error: Orphaned: include/mbedtls/sha256.h
Error: Orphaned: include/mbedtls/sha512.h
Error: Orphaned: include/mbedtls/ssl.h
Error: Orphaned: include/mbedtls/ssl_cache.h
Error: Orphaned: include/mbedtls/ssl_ciphersuites.h
Error: Orphaned: include/mbedtls/ssl_cookie.h
Error: Orphaned: include/mbedtls/ssl_ticket.h
Error: Orphaned: include/mbedtls/threading.h
Error: Orphaned: include/mbedtls/timing.h
Error: Orphaned: include/mbedtls/version.h
Error: Orphaned: include/mbedtls/x509.h
Error: Orphaned: include/mbedtls/x509_crl.h
Error: Orphaned: include/mbedtls/x509_crt.h
Error: Orphaned: include/mbedtls/x509_csr.h
Error: Orphaned: include/psa/crypto.h
Error: Orphaned: include/psa/crypto_builtin_composites.h
Error: Orphaned: include/psa/crypto_builtin_primitives.h
Error: Orphaned: include/psa/crypto_compat.h
Error: Orphaned: include/psa/crypto_config.h
Error: Orphaned: include/psa/crypto_driver_common.h
Error: Orphaned: include/psa/crypto_driver_contexts_composites.h
Error: Orphaned: include/psa/crypto_driver_contexts_primitives.h
Error: Orphaned: include/psa/crypto_extra.h
Error: Orphaned: include/psa/crypto_platform.h
Error: Orphaned: include/psa/crypto_se_driver.h
Error: Orphaned: include/psa/crypto_sizes.h
Error: Orphaned: include/psa/crypto_struct.h
Error: Orphaned: include/psa/crypto_types.h
Error: Orphaned: include/psa/crypto_values.h
Error: Orphaned: lib/hiawatha/libmbedcrypto.so
Error: Orphaned: lib/hiawatha/libmbedcrypto.so.10
Error: Orphaned: lib/hiawatha/libmbedcrypto.so.%%GTK3_VERSION%%
Error: Orphaned: lib/hiawatha/libmbedtls.so
Error: Orphaned: lib/hiawatha/libmbedtls.so.16
Error: Orphaned: lib/hiawatha/libmbedtls.so.%%GTK3_VERSION%%
Error: Orphaned: lib/hiawatha/libmbedx509.so
Error: Orphaned: lib/hiawatha/libmbedx509.so.%%GTK3_VERSION%%
Error: Orphaned: lib/hiawatha/libmbedx509.so.4
Comment 3 Tobias C. Berner freebsd_committer freebsd_triage 2021-09-04 17:23:18 UTC
I think it would make sense to wait for  258131 to land and not use bundled libraries.
Comment 4 Chris Petrik 2021-09-04 19:05:22 UTC
Created attachment 227658 [details]
patch

Updated patch with Orphanes removed due to not using -t or testport options with poudriere.
Comment 5 Tobias C. Berner freebsd_committer freebsd_triage 2021-09-04 19:11:57 UTC
Moin moin 

%%GTK3_VERSION%% 

in the plist is likely wrong -- as it is unrelated to GTK3 (or is it?). 
If it has nothing to do with gtk, then just type out the version number verbatim in the plist.


mfg Tobias
Comment 6 Chris Petrik 2021-09-04 20:21:30 UTC
Created attachment 227660 [details]
patch

N/A
Comment 7 Tobias C. Berner freebsd_committer freebsd_triage 2021-09-05 03:27:18 UTC
(In reply to Chris Petrik from comment #6)
Great -- that part is solved.

The main issue is now, that with the unbundled mbedtls, you effectively created a port that provides it fully... and you have a conflict with the package from security/mbedtls .



mfg Tobias
Comment 8 Chris Petrik 2021-09-05 04:22:13 UTC
There is no conflict as the port has build_deps commented out as well as USE_SYSTEM_MBED is commented out. So it doesn't even look for the system mbed.

This is only temp until the port is updated which I expect to be a while as the maintainer of security/mbedtls has yet to respond to any email.
Comment 9 Tobias C. Berner freebsd_committer freebsd_triage 2021-09-05 06:04:54 UTC
(In reply to Chris Petrik from comment #8)

Your port and security/mbedtls both install include/mbedtls/aes.h for one :) and many others... 

=> you are conflicting (users cannot install both packages)
Comment 10 Chris Petrik 2021-09-05 06:40:07 UTC
You know you could have prevent the other reply by adding that context to your original conflicting post?
Comment 11 Chris Petrik 2021-09-05 06:55:48 UTC
Created attachment 227671 [details]
patch
Comment 12 Chris Petrik 2021-09-05 06:56:08 UTC
(In reply to Tobias C. Berner from comment #9)

Should do the trick now.