feed/packages.git
16 months agolibcurl-gnutls: update to version 8.2.1
Daniel Golle [Sat, 8 Jul 2023 11:29:13 +0000 (12:29 +0100)]
libcurl-gnutls: update to version 8.2.1

See cURL changes for details:
https://curl.se/changes.html

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
16 months agopostgresql: update to version 15.3
Daniel Golle [Sat, 8 Jul 2023 11:28:55 +0000 (12:28 +0100)]
postgresql: update to version 15.3

Fixes security issues:
 * CVE-2023-2454
 * CVE-2023-2455

See release notes for details:
https://www.postgresql.org/about/news/postgresql-153-148-1311-1215-and-1120-released-2637/

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
16 months agogpgme: update to version 1.21
Daniel Golle [Sat, 5 Aug 2023 01:38:28 +0000 (02:38 +0100)]
gpgme: update to version 1.21

Changes since version 1.18
2023-07-07  Werner Koch  <wk@gnupg.org>

Release 1.21.0.
+ commit 5bf3e6d0754a179b316f90a885371af99bc03ea1

2023-06-23  NIIBE Yutaka  <gniibe@fsij.org>

build: Add BUILT_SOURCE for better dependency.
+ commit 05ac1ce09ff199c715805cf601ea6d65e26c1fff
* Makefile.am (BUILT_SOURCE): Add conf/config.h.

2023-06-21  Ingo Klöcker  <dev@ingo-kloecker.de>

qt: Support reading signed/encrypted archives directly from a file.
+ commit 1c2459a5927866931808141ac6c4157cd5e3a157
* lang/qt/src/decryptverifyarchivejob.cpp,
lang/qt/src/decryptverifyarchivejob.h (DecryptVerifyArchiveJob): Add
member functions setInputFile, inputFile.
* lang/qt/src/decryptverifyarchivejob_p.h
(DecryptVerifyArchiveJobPrivate): Add member m_inputFilePath.
* lang/qt/src/qgpgmedecryptverifyarchivejob.cpp (decrypt_verify): Move
creation of indata to decrypt_verify_from_io_device.
(decrypt_verify_from_io_device, decrypt_verify_from_file_name): New.
(QGpgMEDecryptVerifyArchiveJob::start): Use
decrypt_verify_from_io_device instead of decrypt_verify.
(QGpgMEDecryptVerifyArchiveJobPrivate::startIt): Start the job with the
values from member variables.

* lang/qt/tests/run-decryptverifyarchivejob.cpp (createInput): Remove.
(main): Remove creation of input. Make the job read the archive directly
from the given archive name.

core: Support reading the archive to decrypt/verify directly from a file
+ commit 1a9f192ab450288aea7a889527e78afd2c067b59
* src/engine-gpg.c (add_file_name_arg_or_data): New.
(gpg_decrypt): Use add_file_name_arg_or_data instead of add_data for the
ciphertext.
(gpg_verify): Use add_file_name_arg_or_data instead of add_data for the
signature and the signed text.

* tests/run-decrypt.c (show_usage): New option --direct-file-io.
(main): Parse new option. If option is given, then don't open input
file, create simple data object instead of data object from stream and
set input file name on input data.
* tests/run-verify.c (show_usage): New option --direct-file-io.
(main): Parse new option. If option is given, then don't open input
files, create simple data objects instead of data objects from stream
and set input file names on input data objects.

2023-06-19  Ingo Klöcker  <dev@ingo-kloecker.de>

qt: Support writing signed/encrypted archives directly to a file.
+ commit e608315392cc5b7ddf51e16dce5fe7e99b83f011
* lang/qt/src/encryptarchivejob.cpp, lang/qt/src/encryptarchivejob.h
(EncryptArchiveJob): Add member functions setRecipients, recipients,
setInputPaths, inputPaths, setOutputFile, outputFile,
setEncryptionFlags, encryptionFlags.
* lang/qt/src/encryptarchivejob_p.h (EncryptArchiveJobPrivate): Add
members m_recipients, m_inputPaths, m_outputFilePath, m_encryptionFlags.
* lang/qt/src/qgpgmeencryptarchivejob.cpp (encrypt): Move creation of
outdata to encrypt_to_io_device.
(encrypt_to_io_device, encrypt_to_filename): New.
(QGpgMEEncryptArchiveJob::start): Use encrypt_to_io_device instead of
encrypt.
(QGpgMEEncryptArchiveJobPrivate::startIt): Start the job with the
values from member variables.
* lang/qt/src/qgpgmesignarchivejob.cpp (sign): Move creation of
outdata to sign_to_io_device.
(sign_to_io_device, sign_to_filename): New.
(QGpgMESignArchiveJob::start): Use sign_to_io_device instead of sign.
(QGpgMESignArchiveJobPrivate::startIt): Start the job with the
values from member variables.
* lang/qt/src/qgpgmesignencryptarchivejob.cpp (sign_encrypt): Move
creation of outdata to sign_encrypt_to_io_device.
(sign_encrypt_to_io_device, sign_encrypt_to_filename): New.
(QGpgMESignEncryptArchiveJob::start): Use sign_encrypt_to_io_device
instead of sign_encrypt.
(QGpgMESignEncryptArchiveJobPrivate::startIt): Start the job with the
values from member variables.
* lang/qt/src/signarchivejob.cpp, lang/qt/src/signarchivejob.h
(SignArchiveJob): Add member functions setSigner, signers,
setInputPaths, inputPaths, setOutputFile, outputFile.
* lang/qt/src/signarchivejob_p.h (SignArchiveJobPrivate): Add
members m_signers, m_inputPaths, m_outputFilePath.
* lang/qt/src/signencryptarchivejob.cpp,
lang/qt/src/signencryptarchivejob.h (SignEncryptArchiveJob): Add
member functions setSigner, signers, setRecipients, recipients,
setInputPaths, inputPaths, setOutputFile, outputFile,
setEncryptionFlags, encryptionFlags.
* lang/qt/src/signencryptarchivejob_p.h (SignEncryptArchiveJobPrivate):
Add members m_signers, m_recipients, m_inputPaths, m_outputFilePath,
m_encryptionFlags.

* lang/qt/tests/run-encryptarchivejob.cpp (createOutput): Remove.
(checkOutputFilePath): New.
(main): Create file output writing to stdout if no archive name (or "-")
is given. Exit if file with given archive name already exists. Make
the jobs write the created archive directly to the given archive name.
* lang/qt/tests/run-signarchivejob.cpp (createOutput): Remove.
(checkOutputFilePath): New.
(main): Create file output writing to stdout if no archive name (or "-")
is given. Exit if file with given archive name already exists. Make
the jobs write the created archive directly to the given archive name.

core: Support writing the sign/encrypt output directly to a file.
+ commit c38b6200396f703917e4c66aca068f90cfbad325
* src/engine-gpg.c (gpg_encrypt): Pass output file name to gpg if output
has file name set.
(gpg_encrypt_sign): Ditto.
(gpg_sign): Ditto.

* tests/run-encrypt.c (show_usage): New option --output.
(main): Parse new option. Set file name on output if --output is given.
Do not print output if --output is given.
* tests/run-sign.c (show_usage): New option --output.
(main): Parse new option. Set file name on output if --output is given.
Do not print output if --output is given.

qt: Add a generic hook to start a job.
+ commit 8b9fabf5d55419a68c2b0fc7fd1a90517c881d78
* lang/qt/src/job.cpp, lang/qt/src/job.h (Job::startIt): New method.
* lang/qt/src/job_p.h (JobPrivate::startIt): New pure virtual method.
* lang/qt/src/qgpgmechangeexpiryjob.cpp
(QGpgMEChangeExpiryJobPrivate::startIt): New.
* lang/qt/src/qgpgmedecryptverifyarchivejob.cpp
(QGpgMEDecryptVerifyArchiveJobPrivate::startIt): New.
* lang/qt/src/qgpgmeencryptarchivejob.cpp
(QGpgMEEncryptArchiveJobPrivate::startIt): New.
* lang/qt/src/qgpgmeencryptjob.cpp (QGpgMEEncryptJobPrivate::startIt):
New.
* lang/qt/src/qgpgmeimportjob.cpp (QGpgMEImportJobPrivate::startIt):
New.
* lang/qt/src/qgpgmelistallkeysjob.cpp
(QGpgMEListAllKeysJobPrivate::startIt): New.
* lang/qt/src/qgpgmesignarchivejob.cpp
(QGpgMESignArchiveJobPrivate::startIt): New.
* lang/qt/src/qgpgmesignencryptarchivejob.cpp
(QGpgMESignEncryptArchiveJobPrivate::startIt): New.
* lang/qt/src/qgpgmesignencryptjob.cpp
(QGpgMESignEncryptJobPrivate::startIt): New.

qt: Make the run methods of ThreadedJobMixin public.
+ commit 23526c3ff26be11e4ebb1294b6f60202881a066c
* lang/qt/src/threadedjobmixin.h (ThreadedJobMixin::run): Make all
overloads public.

qt: Rename JobPrivate::start to JobPrivate::startNow.
+ commit 4655b2dc6b33aca3bd6737eadadfb8afcf8694bd
* lang/qt/src/job_p.h (JobPrivate::start): Rename to startNow.
* lang/qt/src/job.cpp (Job::startNow): Adapt function call.
* lang/qt/src/qgpgmechangeexpiryjob.cpp
(QGpgMEChangeExpiryJobPrivate::start): Rename to startNow.
* lang/qt/src/qgpgmedecryptverifyarchivejob.cpp
(QGpgMEDecryptVerifyArchiveJobPrivate::start): Rename to startNow.
* lang/qt/src/qgpgmeencryptarchivejob.cpp
(QGpgMEEncryptArchiveJobPrivate::start): Rename to startNow.
* lang/qt/src/qgpgmeencryptjob.cpp (QGpgMEEncryptJobPrivate::start):
Rename to startNow.
* lang/qt/src/qgpgmeimportjob.cpp (QGpgMEImportJobPrivate::start):
Rename to startNow.
* lang/qt/src/qgpgmelistallkeysjob.cpp
(QGpgMEListAllKeysJobPrivate::start): Rename to startNow.
* lang/qt/src/qgpgmesignarchivejob.cpp
(QGpgMESignArchiveJobPrivate::start): Rename to startNow.
* lang/qt/src/qgpgmesignencryptarchivejob.cpp
(QGpgMESignEncryptArchiveJobPrivate::start): Rename to startNow.
* lang/qt/src/qgpgmesignencryptjob.cpp
(QGpgMESignEncryptJobPrivate::start): Rename to startNow.

qt: Return const pointer to JobPrivate class for const pointer to Job.
+ commit 6f6b35df505af108669bd6ff8c351c970130eb45
* lang/qt/src/job.cpp, lang/qt/src/job_p.h (getJobPrivate): Replace with
two overloads for non-const pointer and const pointer to Job.
* lang/qt/src/job_p.h (jobPrivate): Replace with two template functions
for non-const pointer and const pointer to Job.

2023-06-16  Andre Heinecke  <aheinecke@gnupg.org>

qt, cpp: Support larger size-hint on 32 bit builds.
+ commit 5811d069d3b391e9fd77c1062a2d96be41645422
* NEWS: Mention this.
* lang/cpp/src/data.h, lang/cpp/src/data.cpp (Data::setSizeHint): New.
* lang/qt/src/qgpgmedecryptjob.cpp,
 lang/qt/src/qgpgmedecryptverifyarchivejob.cpp,
 lang/qt/src/qgpgmedecryptverifyjob.cpp,
 lang/qt/src/qgpgmeencryptjob.cpp,
 lang/qt/src/qgpgmesignencryptjob.cpp,
 lang/qt/src/qgpgmesignjob.cpp,
 lang/qt/src/qgpgmeverifydetachedjob.cpp,
 lang/qt/src/qgpgmeverifyopaquejob.cpp: Set size for input IODevice.

cpp: Expose gpgme_data_set_flag through cpp API.
+ commit cbcea4a09b1309a4bd822247a8dfcdcb73041f9c
* lang/cpp/src/data.cpp (Data::setFlag): New.
* lang/cpp/src/data.h: Update accordingly.
* NEWS: Mention this.

2023-06-15  Werner Koch  <wk@gnupg.org>

core: Send a input-size-hint for gpgsm.
+ commit 91bbb1e482da783b4d1b9d5f663a1a0af77fc0a4
* src/engine-gpgsm.c (send_input_size_hint): New.
(gpgsm_decrypt): Send hint.
(gpgsm_encrypt): Send hint.
(gpgsm_sign): Send hint.
(gpgsm_verify): Send hint.

tests: Add option --cancel to run-encrypt.
+ commit 8796456d235d2d7a8a1ce7337abc1d4d149bcf9a
* tests/run-encrypt.c (cancel_after_progress): New.
(progress_cb): Take care of it.
(main): Add option --cancel.

core: Use 64 bit instead of gpgme_off_t for some internal functions.
+ commit eb68948c438814b99b81adf44b674738d0b1be34
* src/conversion.c (_gpgme_string_to_off): Return an u64 value.
* src/data.c (_gpgme_data_get_size_hint): Ditto.
(gpgme_data_set_flag): Use u64 for io-buffer-size due to string_to_off
change.
* src/data.h (struct gpgme_data): Change size_hint to u64.
* src/engine-gpg.c (add_input_size_hint): Replace gpgme_off_t by u64.

2023-06-13  Andre Heinecke  <aheinecke@gnupg.org>

Fix definition of GPG_ERR_ENABLE_GETTEXT_MACROS.
+ commit 7e6d51aa6fc97bed12486540167e9b710c9a3378
* configure.ac: Add missing value.

2023-06-01  Ingo Klöcker  <dev@ingo-kloecker.de>

doc,cpp: Treat GPG_ERR_FULLY_CANCELED as canceled.
+ commit 7990f70107bc8487f954c6885436a7661e162929
* doc/gpgme.texi (GPG_ERR_FULLY_CANCELED): New.
* lang/cpp/src/context.cpp (Error::isCanceled): Also return true for
GPG_ERR_FULLY_CANCELED.

2023-05-30  Biswapriyo Nath  <nathbappai@gmail.com>

cpp,python: Respect --disable-gpg-test for tests.
+ commit e2103be390764f62b21a4e5d4fa90a7b78326787
lang/cpp/Makefile.am (SUBDIRS): Depend tests in RUN_GPG_TESTS.
lang/python/Makefile.am (SUBDIRS): Ditto.

2023-05-30  Werner Koch  <wk@gnupg.org>

core: For key signing and uid revoking allow an empty user id.
+ commit fbc3963d6229853fe9fb1fd599ef39ed0fe2eae6
* src/engine-gpg.c (gpg_keysign): Required USERID to be non-empty.

2023-05-23  Werner Koch  <wk@gnupg.org>

python: Fix wrong use of write.
+ commit 36a68bc5308c0b4a541ca6adea5d3635217e8af2
* lang/python/helpers.c (pyPassphraseCb): Use gpgme_io_writen.
(_gpg_interact_cb): Ditto.
* lang/python/helpers.h (write) [W32]: Remove bad write macro.

2023-05-16  NIIBE Yutaka  <gniibe@fsij.org>

build: Sync to libtool from libgpg-error for 64-bit Windows.
+ commit e622e36f1f32641c66b28a0de95c75ae35f6ca05
* build-aux/ltmain.hs: Update from libgpg-error.

2023-04-26  NIIBE Yutaka  <gniibe@fsij.org>
    Ingo Klöcker

doc: Fix Python example code.
+ commit d44a473e27160a35268789e14dccd0ad55af0690
* lang/python/doc/src/gpgme-python-howto.org: Fix chmod race.
* lang/python/examples/howto/export-secret-key.py: Likewise.
* lang/python/examples/howto/export-secret-keys.py: Likewise.
* lang/python/examples/howto/temp-homedir-config.py: Likewise.

2023-04-20  Werner Koch  <wk@gnupg.org>

Release 1.20.0.
+ commit 451ed47434c5ffd2916adae25e5a128606b5ef98

core: Support the new macOS Homebrew location.
+ commit 7351ef32ce7c04d20ee32fc9b645a1931b3b0aba
* src/posix-util.c (find_executable): Extend the path.

2023-04-19  Ingo Klöcker  <dev@ingo-kloecker.de>

build,qt: Simplify check for moc.
+ commit a14155d2c1b2ddc167dbf278faf1d6b469575492
m4/qt6.m4: Remove alternative checks for moc that were taken over from
Qt 5 and that are obsolete for Qt 6.

Update NEWS.
+ commit e80bf34bf86f6f183145c31d598dda41c0496a4d
* NEWS: Add news for recent changes

2023-04-18  Ingo Klöcker  <dev@ingo-kloecker.de>

cpp: Fix Key::canSign()
+ commit 5bd84cfd3f092703bb4b9b993be7d89ca13b36b0
* lang/cpp/src/key.h (canReallySign): Deprecate.
* lang/cpp/src/key.cpp (canSign): Remove workaround. Use implementation
of canReallySign.
(canReallySign): Use canSign().
(operator<<): Use canSign().

2023-04-17  Werner Koch  <wk@gnupg.org>

core: Avoid printf format warnings due to gpgme_ssize_t.
+ commit 7d1159c1e99bb1bae0ab698c85105dcdcb95b7ea
* src/debug.h (_trace_sysres_ssize_t): Cast arg.

core,w32: Fix invocation of gpgtar.
+ commit 0c29119e061cbdcb7342380938a25af91290f1a0
* src/dirinfo.c (EXEEXT_S): New.
(get_gpgconf_item): Append ".exe" to gpg-wks-client and gpgtar.

* src/gpgme-w32spawn.c (mystderr): Add code to ease debugging.

2023-04-06  NIIBE Yutaka  <gniibe@fsij.org>

build: Update gpg-error.m4.
+ commit 806a5d18b988449fbaa3c2e6380acf3ae4580f4a
* m4/gpg-error.m4: Update from libgpg-error master.

2023-04-04  Ingo Klöcker  <dev@ingo-kloecker.de>

w32: Always use UTF-8 for localized texts.
+ commit d256ba7cc57d9bfcfa05fb05cf66dc992efbb695
* configure.ac: Define GPG_ERR_ENABLE_GETTEXT_MACROS.
* src/version.c (do_subsystem_inits) [W32]: Switch gettext to UTF-8.

2023-03-27  Werner Koch  <wk@gnupg.org>

core: Minor code cleanup.
+ commit 34cc7daba12a2a6baa3cfa337762656c210686fa
* src/engine-gpg.c (build_argv): Remove superfluous tes.

2023-03-27  Ingo Klöcker  <dev@ingo-kloecker.de>

core: Initialize error variable.
+ commit b608c084b9220d8ed288eb916e88a236abac0707
* src/engine-gpg.c (build_argv): Initialize err.

2023-03-21  Werner Koch  <wk@gnupg.org>

core,cpp: Add new key flags to gpgme_subkey_t.
+ commit 6d21256c9220df05bf92a695a787dde13fe44ca7
* src/gpgme.h.in (struct _gpgme_subkey): Add bit flags can_renc,
can_timestamp, adn is_group_owned. Reduce size of _unused.
* src/keylist.c (set_subkey_capability): Set them.
* tests/run-keylist.c (main): Print them.

* lang/cpp/src/key.h (Subkey::canRenc): New.
(Subkey::canTimestamp): New.
(Subkey::isGroupOwned): New.
* lang/cpp/src/key.cpp: Implement new methods.
(Subkey::isQualified): Print them.
(std::ostream &operator<<): Print them.

2023-03-17  Werner Koch  <wk@gnupg.org>

Release 1.19.0.
+ commit 96a30fdf30626a7cefd9c9e620a60817ef44fde2

2023-03-17  Ben Greiner (bnavigator)  <unknown@dev.gnupg.org>

python: Update python.m4 configure script.
+ commit d086653cc346d5634bc742d5586e927fc9ee57cf
* configure.ac: Unset PYTHON_LIBS.  Support python 3.10.
* m4/python.m4: Find correct version string for python >= 3.10.

2023-03-17  Ingo Klöcker  <dev@ingo-kloecker.de>

tests: Package the ownertrust file.
+ commit e50724e1bbe55678dfcd2a1ea75157f6514fc58a
tests/gpg/Makefile.am (EXTRA_DIST): Add ownertrust.txt.

2023-03-08  Werner Koch  <wk@gnupg.org>

core: Also detect legacy X.509 v0 certificates.
+ commit c1f6535f144dedfbf5507f850d4da5b61fd5ec74
* src/data-identify.c (basic_detection): Loose the detection of X.509
certs.

tests: Add option --binary to run-verify.
+ commit 76351c4877d60799a35afccd87037d5dd0871262
* tests/run-verify.c (main): Set encoding.

2023-02-14  Ingo Klöcker  <dev@ingo-kloecker.de>

qt: Add signals for file-based and data-based progress.
+ commit 73e46b34658c0130de5ab9e3f4ce1ac4ee35c5e2
* lang/qt/src/decryptverifyarchivejob.h (DecryptVerifyArchiveJob): Add
signals fileProgress and dataProgress.
* lang/qt/src/encryptarchivejob.h (EncryptArchiveJob): Ditto.
* lang/qt/src/signarchivejob.h (SignArchiveJob): Ditto.
* lang/qt/src/signencryptarchivejob.h (SignEncryptArchiveJob): Ditto.
* lang/qt/src/job_p.h (emitArchiveProgressSignals): New.
* lang/qt/src/qgpgmedecryptverifyarchivejob.cpp
(QGpgMEDecryptVerifyArchiveJob::QGpgMEDecryptVerifyArchiveJob): Emit
appropriate signal when receiving Job::rawProgress signal.
* lang/qt/src/qgpgmeencryptarchivejob.cpp
(QGpgMEEncryptArchiveJob::QGpgMEEncryptArchiveJob): Ditto.
* lang/qt/src/qgpgmesignarchivejob.cpp
(QGpgMESignArchiveJob::QGpgMESignArchiveJob): Ditto.
* lang/qt/src/qgpgmesignencryptarchivejob.cpp
(QGpgMESignEncryptArchiveJob::QGpgMESignEncryptArchiveJob): Ditto.

qt: Add simple and extended progress signals replacing old signal.
+ commit ea6f15ed602eeb9fa87766ba88acc78361a14b38
* lang/qt/src/job.h (Job): Add signals jobProgress and rawProgress.
Deprecate signal progress.
* lang/qt/src/multideletejob.cpp (MultiDeleteJob::slotResult): Emit
new progress signals.
* lang/qt/src/qgpgmerefreshsmimekeysjob.cpp
(QGpgMERefreshSMIMEKeysJob::slotStatus): Ditto.
* lang/qt/src/threadedjobmixin.h (ThreadedJobMixin::showProgress): Use
modern overload of QMetaObject::invokeMethod to forward the progress
signal and add the value of what. Add forwarding of progress to the new
signals.

* lang/qt/tests/t-encrypt.cpp (EncryptionTest::testProgress): Test
the new signals instead of the deprecated one.

2023-02-10  Werner Koch  <wk@gnupg.org>

core: Switch to logging via gpgrt.
+ commit 9c5506fde701f637381614dcfe22e3f9dc82955d
* src/debug.c (errfp): Remove.
(debug_init): Factor some code out to ...
(safe_to_use_debug_file): new.
(tid_log_callback): New.
(debug_init): Rewrite to make use of gpgrt logging.
(_gpgme_debug): Ditto.
(_gpgme_debug_end): Remove extra LF testing code.
* src/dirinfo.c (get_gpgconf_item): Remove now unneeded LFs.  Realign
output.

2023-02-10  Ingo Klöcker  <dev@ingo-kloecker.de>

tests: Fix cleaning up at the end of the test.
+ commit 21283dfd1be1e56bc174cf5f12461888af7ab8b5
* tests/gpg/t-import.c (main): Unref key and release context.

core: Allow finalization of signature verification of unencrypted data.
+ commit 41dc3bd22a3e0001abec8f2bea79b40ee5ad00be
* src/decrypt-verify.c (decrypt_verify_status_handler): Call
_gpgme_verify_status_handler on EOF even if
_gpgme_decrypt_status_handler returned NO DATA error.

* tests/gpg/t-decrypt-verify.c (normal_signed_message): New.
(main): Add test with signed, but not encrypted data.

2023-02-09  Ingo Klöcker  <dev@ingo-kloecker.de>

cpp: Improve debug output of some enums.
+ commit 3aaed9cfbfd6821b2e812fbdd24448953d6ca279
* lang/cpp/src/verificationresult.cpp (operator<<): Fix output of
Signature::PKAStatus which doesn't represent flags. Print corresponding
name of enum value if Signature::Summary or Notation::Flags are 0.

tests: Stop daemons after setting up test environment.
+ commit 7098c14b231113055535abb14b4cde0c845f8728
* lang/python/tests/Makefile.am, lang/qt/tests/Makefile.am,
tests/gpg/Makefile.am, tests/json/Makefile.am (pubring-stamp): Call
`gpgconf --kill all` after importing test keys.

2023-02-08  Ingo Klöcker  <dev@ingo-kloecker.de>

tests: Extend tests with an ultimately trusted key.
+ commit fcefc78f749a8f39cc587636647b24f8fa48efad
* tests/gpg/Makefile.am (gpg-sample.stamp, pubring-stamp): Unify usage
of tabs.
(pubring-stamp): Import owner trust values.
* tests/gpg/ownertrust.txt: New.
* tests/gpg/t-decrypt-verify.c, tests/gpg/t-verify.c: Update expected
values for signature summary and validity.
* tests/gpg/t-keylist-secret-sig.c, tests/gpg/t-keylist-sig.c,
tests/gpg/t-keylist.c: Update expected values of owner trust and uid
validity.

tests: Make t-edit-sign idempotent.
+ commit 844e6cd3b923834727f042b92d6a9a2db86b3fed
* tests/gpg/t-edit-sign.c (test_key, test_key_fpr, import_key,
delete_key): New.
(main): Remove key_fpr. Import test key to sign. Delete test key after
test.

2023-02-02  Ingo Klöcker  <dev@ingo-kloecker.de>

qt,tests: Add test for the previous commit.
+ commit 52fd0bcde47a676ee1021c870b50e2add78d6973
* lang/qt/tests/t-decryptverify.cpp: New.
* lang/qt/tests/Makefile.am: Add new test.

cpp: Return successful verification for signed but not encrypted data.
+ commit 1698eec2ae3ec1a97c739e892d9cf288c0ec4ccd
* lang/cpp/src/context.cpp (Context::decrypt): Use decryptionResult().
(Context::verifyDetachedSignature, Context::verifyOpaqueSignature):
Use verificationResult().
(Context::verificationResult): Ignore "no data" error for signed but
not encrypted data.
(Context::decryptAndVerify): Use decryptionResult() and
verificationResult().

qt: Add job for extracting encrypted and signed archives.
+ commit c407728064ca0c9b2f365437c6a7f2acc40e6d84
* lang/qt/src/decryptverifyarchivejob.cpp,
lang/qt/src/decryptverifyarchivejob.h,
lang/qt/src/decryptverifyarchivejob_p.h,
lang/qt/src/qgpgmedecryptverifyarchivejob.cpp,
lang/qt/src/qgpgmedecryptverifyarchivejob.h: New.
* lang/qt/src/protocol.h (class Protocol): Add pure virtual member
function decryptVerifyArchiveJob
* lang/qt/src/protocol_p.h (Protocol::decryptVerifyArchiveJob): ... and
implement it.
* lang/qt/src/Makefile.am: Update accordingly.

* lang/qt/tests/run-decryptverifyarchivejob.cpp: New.
* lang/qt/tests/Makefile.am: Add new test runner.

core: Make usage of input size hint compatible with gpgtar.
+ commit 7ad717f6ba00046a26a99d015d701a178ca30630
* src/engine-gpg.c (add_input_size_hint): Use add_gpg_arg_with_value
to add the --input-size-hint option.

cpp: Update decryption flags.
+ commit b3bdf14b37a313c21de61168e5e7545ab08fea13
* lang/cpp/src/context.h (DecryptArchive): New flag.

qt: Allow checking if the sign/encrypt archive jobs are supported.
+ commit 55c948866fb8bf4adbf0c8f53edf51a4075b753e
* lang/qt/src/encryptarchivejob.cpp, lang/qt/src/encryptarchivejob.h
(isSupported): New.
* lang/qt/src/signarchivejob.cpp, lang/qt/src/signarchivejob.h
(isSupported): New.
* lang/qt/src/signencryptarchivejob.cpp,
lang/qt/src/signencryptarchivejob.h (isSupported): New.

* lang/qt/tests/run-encryptarchivejob.cpp (main),
lang/qt/tests/run-signarchivejob.cpp (main): Check if jobs are
supported.

cpp: Add const-overloads of version comparison operators.
+ commit 84780646910cdd91555a368650e3d92cf52b86bd
* lang/cpp/src/engineinfo.h (EngineInfo::Version): Add const-overloads
of all comparison operators.

core: Allow usage of gpgtar also for new enough gpg 2.2.
+ commit 7f541547fc1783bb9ea119695fb76e2000bdfcf8
* src/engine-gpg.c (have_usable_gpgtar): New.
(start): Always pass --status-fd to the called process.
(gpg_decrypt, gpg_encrypt, gpg_encrypt_sign, gpg_sign, gpg_verify):
Use have_usable_gpgtar() to check for suitable gpg.

2023-02-01  Werner Koch  <wk@gnupg.org>

core,w32: More robust detection of GnuPG Desktop dir layout.
+ commit 5ab9c234d6b507f568fe1d2a2cbc82250a7828ee
* src/w32-util.c (INST_TYPE_GPG4WIN, INST_TYPE_GPGDESK): New to
replace the numeric constants.
(find_version_file): New.
(_gpgme_get_gpgconf_path): Guess a default for inst_type.

2023-01-31  Ingo Klöcker  <dev@ingo-kloecker.de>

qt: Fix build without installed gpgme++ headers.
+ commit 343fb33bf02bea74caf4e615483f1a00dc06f7b8
* lang/qt/src/filelistdataprovider.cpp: Include error.h without
folder prefix.

qt: Remove unused and commented-out code.
+ commit d3a8c2c8b68b290a642c83c53a5989ee7fdc6331
* lang/qt/src/qgpgmeencryptarchivejob.cpp,
lang/qt/src/qgpgmeencryptarchivejob.h (QGpgMEEncryptArchiveJob):
Remove member function resultHook and member mResult.
* lang/qt/src/qgpgmesignarchivejob.cpp,
lang/qt/src/qgpgmesignarchivejob.h (QGpgMESignArchiveJob):
Remove member function resultHook and member mResult.

cpp: Fix debug output of SignatureMode.
+ commit 41a30f6d9f59b08213ab2c307036be9bc9b6f876
* lang/cpp/src/context.cpp (operator<<): Treat signature mode as
combination of a 2-bit flag and a 1-bit flag.

qt: Add job for creating encrypted signed archives.
+ commit 8c4436e73af369f79f125f56d020d01b184cafc6
* lang/qt/src/signencryptarchivejob.cpp,
lang/qt/src/signencryptarchivejob.h,
lang/qt/src/signencryptarchivejob_p.h,
lang/qt/src/qgpgmesignencryptarchivejob.cpp,
lang/qt/src/qgpgmesignencryptarchivejob.h: New.
* lang/qt/src/protocol.h (class Protocol): Add pure virtual member
function signEncryptArchiveJob
* lang/qt/src/protocol_p.h (Protocol::signEncryptArchiveJob): ... and
implement it.
* lang/qt/src/Makefile.am: Update accordingly.

* lang/qt/tests/run-encryptarchivejob.cpp (displayName): Remove.
(CommandLineOptions): Initialize member armor. Add member sign.
(parseCommandLine): Update application description. Add and parse option
-s/--sign.
(main): Use SignEncryptArchiveJob if sign option is set.

qt,tests: Avoid leaking Context.
+ commit 2b98585c89c1654aa736777eeb92ff79d5fdd72b
* lang/qt/tests/t-import.cpp: Wrap Context*s in unique_ptr.

2023-01-31  Werner Koch  <wk@gnupg.org>

json: New operation "identify" and convenience option --identify.
+ commit 359378c5b3f3aaf274dfc33861978c3cf6ec60ca
* src/gpgme-json.c (data_type_to_string): New.
(op_identify): New.
(process_request): Add to command list.
(cmd_identify): New.
(main): Add option --identify.

2023-01-30  Ingo Klöcker  <dev@ingo-kloecker.de>

qt: Add job for creating signed archives.
+ commit 8d672b3b7e5c5d487f20fb742a29fbee21236885
* lang/qt/src/signarchivejob.cpp, lang/qt/src/signarchivejob.h,
lang/qt/src/signarchivejob_p.h,
lang/qt/src/qgpgmesignarchivejob.cpp,
lang/qt/src/qgpgmesignarchivejob.h: New.
* lang/qt/src/protocol.h (class Protocol): Add pure virtual member
function signArchiveJob
* lang/qt/src/protocol_p.h (Protocol::signArchiveJob): ... and
implement it.
* lang/qt/src/Makefile.am: Update accordingly.

* lang/qt/tests/run-signarchivejob.cpp: New.
* lang/qt/tests/Makefile.am: Add new test runner.

cpp: Support new archive signing flag.
+ commit 2faa031af24959d5093da430d5f10fe30d77a75d
* lang/cpp/src/global.h (enum SignatureMode): Add constant SignArchive.
* lang/cpp/src/context.cpp (sigmode2sigmode): Rename to
sigflags2sigflags
(sigflags2sigflags): ... and rename argument mode to flags and treat
it as flags. Adjust the callers.
(operator<<): Change local CHECK macro to handle flags. Add new flag
to debug stream.
* lang/cpp/src/signingresult.cpp (CreatedSignature::mode): Handle
new flags (even if it cannot occur currently).

core: Use signature modes as flags.
+ commit 48b11f576260286bddef3833e25d0059638fe0bb
* src/engine-backend.h (engine_ops.sign): Rename argument mode to
flags.
* src/engine-gpg.c (gpg_sign): Rename argument mode to flags. Check
for invalid combination of flags.
* src/engine-gpgsm.c (gpgsm_sign): Rename argument mode to flags.
Check for unsupported flags.
* src/engine-uiserver.c (gpgsm_sign): Rename argument mode to flags.
Check for unsupported flags.
* src/engine.c, src/engine.h (_gpgme_engine_op_sign): Rename argument
mode to flags.
* src/gpgme.h.in (GPGME_SIG_MODE_ARCHIVE): Change value to 4.
(gpgme_op_sign_start, gpgme_op_sign): Rename argument mode to flags.
* src/sign.c (sign_start): Rename argument mode to flags. Adjust
check for invalid flags.
(gpgme_op_sign_start, gpgme_op_sign): Rename argument mode to flags.

2023-01-27  Ingo Klöcker  <dev@ingo-kloecker.de>

qt: Add job for creating encrypted archives.
+ commit 7afd135ccec73585e06272f98b4a0895e3ee6579
* lang/qt/src/encryptarchivejob.cpp, lang/qt/src/encryptarchivejob.h,
lang/qt/src/encryptarchivejob_p.h,
lang/qt/src/qgpgmeencryptarchivejob.cpp,
lang/qt/src/qgpgmeencryptarchivejob.h: New.
* lang/qt/src/protocol.h (class Protocol): Add pure virtual member
function encryptArchiveJob
* lang/qt/src/protocol_p.h (Protocol::encryptArchiveJob): ... and
implement it.
* lang/qt/src/Makefile.am: Update accordingly.

* lang/qt/tests/run-encryptarchivejob.cpp: New.
* lang/qt/tests/Makefile.am: Add new test runner.

qt: Add data provider for list of file names.
+ commit 275a3a2c16d27e5bc87f7d80af2ee703a92b6758
* lang/qt/src/Makefile.am: Add new files and corresponding camel-case
header.
* lang/qt/src/dataprovider.h: Include interface from gpgme++ when
not building.
* lang/qt/src/filelistdataprovider.cpp,
lang/qt/src/filelistdataprovider.h: New.

cpp: Support new archive encryption flag.
+ commit d28ea8c6b3db008150e2bae99a33e30b55c4bc10
* lang/cpp/src/context.h (EncryptArchive): New flag.
* lang/cpp/src/context.cpp (encryptflags2encryptflags): Convert
EncryptArchive to corresponding gpgme encrypt flags.
(operator<<): Add new flag to debug stream.

cpp: Add convenience overload to set file name.
+ commit 261245a2e0e76568607c79a0c80372cb6f46444e
* lang/cpp/src/data.h, lang/cpp/src/data.cpp (setFileName): Add
overload.

2023-01-26  Ingo Klöcker  <dev@ingo-kloecker.de>

cpp: Support all encryption flags.
+ commit 3e31f648e513bed0029b09104d416d25fca08868
* lang/cpp/src/context.h (WantAddress): New flag.
* lang/cpp/src/context.cpp (encryptflags2encryptflags): Convert
WantAddress to corresponding gpgme encrypt flags.
(operator<<): Add new flag to debug stream.

cpp: Pass ThrowKeyIds and EncryptWrap flags to GpgME.
+ commit 70aaf05a6a3eafd1ba96df71d03334337b1d071d
* lang/cpp/src/context.cpp (encryptflags2encryptflags): Convert
ThrowKeyIds and EncryptWrap to corresponding gpgme encrypt flags.
(operator<<): Add flags to debug stream.

core: Update required GnuPG version for new archive features.
+ commit 3580bb139b2e41f6c2397e506ee66f4892ceec62
* src/engine-gpg.c (gpg_decrypt, gpg_encrypt, gpg_encrypt_sign,
gpg_sign, gpg_verify): Require gpg 2.4.1.

2023-01-25  Ingo Klöcker  <dev@ingo-kloecker.de>

core: Support usage of gpgtar for verifying a signed archive.
+ commit 5b79b323971cb0794c45791851d85f8a66f0a441
* src/gpgme.h.in (gpgme_verify_flags_t): New enum.
(GPGME_VERIFY_ARCHIVE): New const.
(gpgme_op_verify_ext_start): New func.
(gpgme_op_verify_ext): New func.
* src/gpgme.def, src/libgpgme.vers: Add new functions.
* src/verify.c (gpgme_op_verify_ext_start): New.
(gpgme_op_verify_ext): New.
(verify_start): Add arg FLAGS.  Pass the flags to
_gpgme_engine_op_verify.
(gpgme_op_verify_start): Call gpgme_op_verify_ext_start with 0 for
FLAGS.
(gpgme_op_verify): Call gpgme_op_verify_ext with 0 for FLAGS.
* src/engine.c, src/engine.h (_gpgme_engine_op_verify): Add arg FLAGS.
* src/engine-backend.h (struct engine_ops): Add FLAGS to 'verify'.
* src/engine-gpg.c (gpg_verify): Add arg FLAGS. Set use_gpgtar engine
flag if GPGME_VERIFY_ARCHIVE flag is set. Check for new enough gpg. Use
add_gpg_arg for gpg-only options without a value. Set extra options for
gpgtar and pass input data to stdin when using gpgtar.
* src/engine-gpgsm.c (gpgsm_verify): Add arg FLAGS. Return error if
GPGME_VERIFY_ARCHIVE flag is set.
* src/engine-uiserver.c (uiserver_verify): Ditto.

* tests/run-verify.c (show_usage): New options --archive, --directory,
and --diagnostics.
(main): Parse new options. Verify and extract with gpgtar if --archive
is given. Set file name of output data to value of --directory option.
Print stderr of gpg/gpgtar if --diagnostics is given.

2023-01-24  Ingo Klöcker  <dev@ingo-kloecker.de>

core: Support usage of gpgtar for decrypting an encrypted archive.
+ commit 95ea3bf831aeac201108876e73750692aa1ba3f5
* src/gpgme.h.in (GPGME_DECRYPT_ARCHIVE): New decryption flag.
* src/engine-gpg.c (gpg_decrypt): Set use_gpgtar engine flag if
GPGME_DECRYPT_ARCHIVE flag is set. Check for new enough gpg and
incompatible flags. Use add_gpg_arg_with_value for gpg-only options
with a value and add_gpg_arg for gpg-only options without a value.
Set extra options for gpgtar and pass input data to stdin when using
gpgtar.

* tests/run-decrypt.c (show_usage): New options --archive and
--directory.
(main): Parse new options. Decrypt with gpgtar if --archive is given.
Set file name of output data to value of --directory option.

2023-01-23  Ingo Klöcker  <dev@ingo-kloecker.de>

core: Allow setting the base directory when creating an archive.
+ commit 419adf41afa40e5b34f646f2cb16d8aebda20048
* src/engine-gpg.c (gpg_encrypt, gpg_encrypt_sign, gpg_sign): Pass
file name set in data with --directory option to gpgtar.

* tests/run-encrypt.c (show_usage): New option --directory.
(main): Parse new option. Set file name of input data to option value.
* tests/run-sign.c (show_usage): New option --directory.
(main): Parse new option. Set file name of input data to option value.

2023-01-19  Ingo Klöcker  <dev@ingo-kloecker.de>

core: Support usage of gpgtar for creating an encrypted signed archive.
+ commit 29cfcd316d1bfc98ca663369a9503cc169dd3447
* src/engine-gpg.c (gpg_encrypt_sign): Set use_gpgtar engine flag if
GPGME_ENCRYPT_ARCHIVE mode is set. Check for new enough gpg. Use
add_gpg_arg_with_value for gpg-only options with a value and
add_gpg_arg for gpg-only options without a value. Set extra options for
gpgtar and pass input data to stdin when using gpgtar.

* tests/run-encrypt.c (print_result): Rename to print_encrypt_result.
Print header.
(print_sign_result): New.
(show_usage): New option --sign.
(main): Parse new option. Sign and encrypt --sign is given.
Print results of signing additionally to results of encryption.

core: Support usage of gpgtar for creating a signed archive.
+ commit 0ca45e48b45af1978027e6fe26c7e406fd5ec74b
* src/gpgme.h.in (GPGME_SIG_MODE_ARCHIVE): New signature mode.
* src/engine-gpg.c (append_args_from_sender,
append_args_from_sig_notations): Use add_gpg_arg_with_value
for gpg-only options with a value.
(gpg_sign): Set use_gpgtar engine flag if GPGME_SIG_MODE_ARCHIVE mode
is set. Check for new enough gpg. Use add_gpg_arg_with_value for
gpg-only options with a value and add_gpg_arg for gpg-only options
without a value. Set extra options for gpgtar and pass input data to
stdin when using gpgtar.
* src/sign.c (sign_start): Add GPGME_SIG_MODE_ARCHIVE as valid mode.

* tests/run-sign.c (show_usage): New options --archive and
--diagnostics.
(main): Parse new options. Sign with gpgtar if --archive is given.
Print stderr of gpg/gpgtar if --diagnostics is given.

core: Fix --set-filename argument.
+ commit aa201b0bb63d703a3794826fac2e2013fb0c34e7
* src/engine-gpg.c (gpg_encrypt): Append equal sign to argument name.

2023-01-18  Ingo Klöcker  <dev@ingo-kloecker.de>

core: Support usage of gpgtar for encryption.
+ commit 5d8316da1d3dd0ab73743898e76c51932d0f13e2
* src/gpgme.h.in (GPGME_ENCRYPT_ARCHIVE): New encryption flag.
* src/engine-gpg.c (arg_and_data_s): New field gpg_arg.
(engine_gpg): New flag use_gpgtar.
(_add_arg): Add argument gpg_arg and set it.
(add_arg_ext, add_arg_with_locp, add_arg, add_arg_pfx, add_arg_len):
Adjust call of _add_arg.
(add_arg_with_locp): Add argument front.
(add_gpg_arg, add_gpg_arg_with_value): New.
(gpg_new): Use add_gpg_arg_with_value for gpg-only options with a value
and add_gpg_arg for gpg-only options without.
(build_argv): Consider usage of gpgtar when counting arguments to pass
to gpg/gpgtar. Prepend "--gpg-args" to all gpg-only arguments if gpgtar
is used.
(start): Set program to use. Read diagnostics output from stderr when
using gpgtar. Do not pass --status-fd to gpgtar for gpg < 2.4.1. Use
add_gpg_arg_with_value for --lc-ctype and --lc-messages.
(gpg_encrypt): Set use_gpgtar engine flag if GPGME_ENCRYPT_ARCHIVE flag
is set. Check for new enough gpg and incompatible flags. Use
add_gpg_arg_with_value for gpg-only options with a value and
add_gpg_arg for gpg-only options without a value. Set extra options
for gpgtar and pass input data to stdin when using gpgtar.
* src/engine-gpgsm.c (gpgsm_encrypt): Return error if new flag is set.
* src/engine-uiserver.c (uiserver_encrypt): Ditto.

* tests/run-encrypt.c (show_usage): New options --archive and
--diagnostics.
(main): Parse new options. Encrypt with gpgtar if --archive is given.
Print stderr of gpg/gpgtar if --diagnostics is given.

core: Defer adding --status-fd and --logger-fd to argument list.
+ commit d56b3bc1cfa128d0246cfac59411adaad2579bc4
* src/engine-gpg.c (_append_to_arglist, _prepend_to_arglist): New.
(_add_arg): Use _append_to_arglist and _prepend_to_arglist.
(add_data_ext): New. Extends add_data.
(add_data): Uses add_data_ext.
(gpg_new): Do not add --status-fd and --logger-fd to argument list.
(start): Prepend --logger-fd and --status-fd to the argument list.

core: Extend gpgme_get_dirinfo to return the gpgtar name.
+ commit 12e490d97f2e7064bc9b5bea0d197790d10db106
* src/dirinfo.c (WANT_GPGTAR_NAME): New.
(dirinfo): Add field gpgtar_name.
(get_gpgconf_item): Build gpgtar_name on demand and return it.
(_gpgme_get_default_gpgtar_name) : New.
(gpgme_get_dirinfo): New value "gpgtar-name" for WHAT.
* src/util.h (_gpgme_get_default_gpgtar_name): New.

* tests/t-engine-info.c (main): Add gpgtar-name to the output.

2023-01-17  Ingo Klöcker  <dev@ingo-kloecker.de>

core: Use "goto leave" pattern to clean up resources.
+ commit fbce7deb3b68af900f692591d5d05fa5c1a83f5f
* src/engine-gpg.c (build_argv): Initialize fd_data_map and argv. Goto
leave on error. Free fd_data_map and argv on error.

2023-01-16  Ingo Klöcker  <dev@ingo-kloecker.de>

core: Do not add obsolete --no-sk-comments to command line.
+ commit 984ff7e3a2a9a261a0732cbdaf3b2f22d325b433
* src/engine-gpg.c (build_argv): Don't add "--no-sk-comments" to argv.

2023-01-05  Ingo Klöcker  <dev@ingo-kloecker.de>

qt: Fix comparisons of integer expressions of different signedness.
+ commit 64da77620a451653e9b8c41bb0c9e58e22967123
* lang/qt/tests/t-import.cpp (ImportTest::testImportWithImportFilter):
Make integer literal unsigned.

cpp: Fix comparisons of integer expressions of different signedness.
+ commit 2e9d72a0be8579d6f1d3c74c64873a9c2f844272
* lang/cpp/src/gpgrevokekeyeditinteractor.cpp
(GpgRevokeKeyEditInteractor::Private::nextState): Cast signed nextLine
value to std::size_t.

cpp: Expliticly declare compiler generated copy constructors.
+ commit dc9cc9aa0754d834388acabb5a68677f6512b960
* lang/cpp/src/configuration.h (Component, Option),
lang/cpp/src/data.h (Data),
lang/cpp/src/decryptionresult.h (DecryptionResult,
DecryptionResult::Recipient),
lang/cpp/src/encryptionresult.h (EncryptionResult, InvalidRecipient),
lang/cpp/src/engineinfo.h (EngineInfo),
lang/cpp/src/importresult.h (ImportResult, Import),
lang/cpp/src/key.h (Key, Subkey, UserID, UserID::Signature),
lang/cpp/src/keygenerationresult.h (KeyGenerationResult),
lang/cpp/src/keylistresult.h (KeyListResult),
lang/cpp/src/notation.h (Notation),
lang/cpp/src/signingresult.h (SigningResult, InvalidSigningKey,
CreatedSignature),
lang/cpp/src/swdbresult.h (SwdbResult),
lang/cpp/src/tofuinfo.h (TofuInfo),
lang/cpp/src/verificationresult.h (VerificationResult, Signature),
lang/cpp/src/vfsmountresult.h (VfsMountResult): Explitily declare
compiler generated copy constructor.

qt: Replace Q_DECL_OVERRIDE with override.
+ commit e16c368758e54b99d88529d3a10cecf36ed995b8
* lang/qt/src/defaultkeygenerationjob.h,
lang/qt/src/hierarchicalkeylistjob.h, lang/qt/src/multideletejob.h,
lang/qt/src/protocol_p.h, lang/qt/src/qgpgmeadduseridjob.h,
lang/qt/src/qgpgmechangeexpiryjob.h,
lang/qt/src/qgpgmechangeownertrustjob.h,
lang/qt/src/qgpgmechangepasswdjob.h, lang/qt/src/qgpgmedecryptjob.h,
lang/qt/src/qgpgmedecryptverifyjob.h, lang/qt/src/qgpgmedeletejob.h,
lang/qt/src/qgpgmedownloadjob.h, lang/qt/src/qgpgmeencryptjob.h,
lang/qt/src/qgpgmeexportjob.h, lang/qt/src/qgpgmegpgcardjob.h,
lang/qt/src/qgpgmeimportfromkeyserverjob.h,
lang/qt/src/qgpgmeimportjob.h, lang/qt/src/qgpgmekeyformailboxjob.h,
lang/qt/src/qgpgmekeygenerationjob.h, lang/qt/src/qgpgmekeylistjob.h,
lang/qt/src/qgpgmelistallkeysjob.h, lang/qt/src/qgpgmenewcryptoconfig.h,
lang/qt/src/qgpgmequickjob.h, lang/qt/src/qgpgmerefreshsmimekeysjob.h,
lang/qt/src/qgpgmesignencryptjob.h, lang/qt/src/qgpgmesignjob.h,
lang/qt/src/qgpgmesignkeyjob.h, lang/qt/src/qgpgmetofupolicyjob.h,
lang/qt/src/qgpgmeverifydetachedjob.h,
lang/qt/src/qgpgmeverifyopaquejob.h, lang/qt/src/qgpgmewkdlookupjob.h,
lang/qt/src/qgpgmewkspublishjob.h, lang/qt/src/threadedjobmixin.h,
lang/qt/tests/t-support.h: Replace Q_DECL_OVERRIDE with override

qt: Allow deferred start of import job.
+ commit 398375a0ab3b819694435c2e46b759d56b3735e0
* lang/qt/src/importjob.h (ImportJob::startLater): New pure virtual
method.
* lang/qt/src/qgpgmeimportjob.cpp, lang/qt/src/qgpgmeimportjob.h
(QGpgMEImportJob::startLater): New method.

* lang/qt/tests/t-import.cpp (ImportTest::testDeferredStart): New.

2023-01-04  Ingo Klöcker  <dev@ingo-kloecker.de>

qt: Support deferred start of jobs.
+ commit 18c2c0b2509069951829bb0bdd9b39dc467f5e6e
* lang/qt/src/job.cpp, lang/qt/src/job.h (Job::startNow): New method.
* lang/qt/src/job_p.h (JobPrivate::start): New pure virtual method.
* lang/qt/src/qgpgmechangeexpiryjob.cpp
(QGpgMEChangeExpiryJobPrivate::start): New.
* lang/qt/src/qgpgmeencryptjob.cpp (QGpgMEEncryptJobPrivate::start):
New.
* lang/qt/src/qgpgmeimportjob.cpp (QGpgMEImportJobPrivate::start): New.
* lang/qt/src/qgpgmelistallkeysjob.cpp
(QGpgMEListAllKeysJobPrivate::start): New.
* lang/qt/src/qgpgmesignencryptjob.cpp
(QGpgMESignEncryptJobPrivate::start): New.
* lang/qt/src/threadedjobmixin.h (Thread::hasFunction): New method.
(ThreadedJobMixin::run, ThreadedJobMixin::setWorkerFunction): New
methods.

qt: Explicitly instantiate private job classes.
+ commit 270d7523001a57a59ea0be617d8e71d4363e0d50
* lang/qt/src/Makefile.am: Add new files.
* lang/qt/src/changeexpiryjob_p.h, lang/qt/src/encryptjob_p.h,
lang/qt/src/importjob_p.h, lang/qt/src/listallkeysjob_p.h,
lang/qt/src/signencryptjob_p.h: New.
* lang/qt/src/changeexpiryjob.cpp, lang/qt/src/encryptjob.cpp,
lang/qt/src/importjob.cpp, lang/qt/src/listallkeysjob.cpp,
lang/qt/src/signencryptjob.cpp: Move JobPrivate subclasses to the new
private header files.
* lang/qt/src/job_p.h (jobPrivate): Remove lazy instantiation of private
job classes.
* lang/qt/src/qgpgmechangeexpiryjob.cpp (class
QGpgMEChangeExpiryJobPrivate): New.
(QGpgMEChangeExpiryJob::QGpgMEChangeExpiryJob): Instantiate private job
class.
* lang/qt/src/qgpgmeencryptjob.cpp (class
QGpgMEEncryptJobPrivate): New.
(QGpgMEEncryptJob::QGpgMEEncryptJob): Instantiate private job
class.
* lang/qt/src/qgpgmeimportjob.cpp (class
QGpgMEImportJobPrivate): New.
(QGpgMEImportJob::QGpgMEImportJob): Instantiate private job
class.
* lang/qt/src/qgpgmelistallkeysjob.cpp (class
QGpgMEListAllKeysJobPrivate): New.
(QGpgMEListAllKeysJob::QGpgMEListAllKeysJob): Instantiate private job
class.
* lang/qt/src/qgpgmesignencryptjob.cpp (class
QGpgMESignEncryptJobPrivate): New.
(QGpgMESignEncryptJob::QGpgMESignEncryptJob): Instantiate private job
class.

2022-12-08  Ingo Klöcker  <dev@ingo-kloecker.de>

cpp: Handle status errors in the base edit interactor.
+ commit e7953dcf1376631719c73d9fa34bcb96752d3794
* lang/cpp/src/editinteractor.cpp (edit_interactor_callback_impl):
Handle status errors.
* lang/cpp/src/gpgrevokekeyeditinteractor.cpp
(GpgRevokeKeyEditInteractor::Private::nextState): Remove handling of
status errors.

cpp: Handle statuses that need no response in the base edit interactor.
+ commit c419376b85ff4a489f3bf7ad97ed656495792523
* lang/cpp/src/editinteractor.cpp (edit_interactor_callback_impl): Do
not call nextState() if status needs no response.
* lang/cpp/src/gpgaddexistingsubkeyeditinteractor.cpp
(GpgAddExistingSubkeyEditInteractor::Private::nextState),
lang/cpp/src/gpgadduserideditinteractor.cpp
(GpgAddUserIDEditInteractor::nextState),
lang/cpp/src/gpggencardkeyinteractor.cpp
(GpgGenCardKeyInteractor::nextState),
lang/cpp/src/gpgrevokekeyeditinteractor.cpp
(GpgRevokeKeyEditInteractor::Private::nextState),
lang/cpp/src/gpgsetexpirytimeeditinteractor.cpp
(GpgSetExpiryTimeEditInteractor::nextState),
lang/cpp/src/gpgsetownertrusteditinteractor.cpp
(GpgSetOwnerTrustEditInteractor::nextState),
lang/cpp/src/gpgsignkeyeditinteractor.cpp
(GpgSignKeyEditInteractor::nextState): Remove handling of statuses that
need no response.

2022-12-06  Ingo Klöcker  <dev@ingo-kloecker.de>

qt: Write path values with Unix directory separators.
+ commit d04d7b174fb7f27b7434cade22eafdd85b2d424e
* lang/qt/src/qgpgmenewcryptoconfig.cpp
(QGpgMENewCryptoConfigEntry::setURLValue): Remove conversion to native
directory separators.

2022-11-25  NIIBE Yutaka  <gniibe@fsij.org>

gpgme.m4: Fix AM_PATH_GPGME_PTHREAD.
+ commit f9cbf2c8a839d2c3df20157cfe65b67a4b0bcb5a
* src/gpgme.m4 (AM_PATH_GPGME_PTHREAD): It's deprecated, since gpgme
supports threads and GNU C library has integrated pthread features.

2022-11-15  Ingo Klöcker  <dev@ingo-kloecker.de>

core: Allow nullptr for key on card-edit.
+ commit 5903fa454a47d788432192a7860b90b57efd6a10
* src/edit.c (interact_start, edit_start): Return error if key is null
on edit-key.

2022-11-15  NIIBE Yutaka  <gniibe@fsij.org>

gpgme.m4: Include _AM_PATH_GPGRT_CONFIG implementation.
+ commit abd51848bdc8a5ea5929f9cfb819a408dc53d463
* src/gpgme.m4 (_AM_PATH_GPGRT_CONFIG): New.
(_AM_PATH_GPGME_CONFIG): Require _AM_PATH_GPGRT_CONFIG.

m4: Update gpg-error.m4.
+ commit 2b7fcbf2f280ca88d76f8398138580155213552a
* m4/gpg-error.m4: Update from libgpg-error master.

2022-11-11  Ingo Klöcker  <dev@ingo-kloecker.de>

core: Check for nullptr.
+ commit 6bcfbb3498f02dc86370cd4f2e3ccc5f9163d51a
* src/edit.c (interact_start, edit_start): Return error if key is null.

2022-11-04  Ingo Klöcker  <dev@ingo-kloecker.de>

qt: Allow disabling automatic trust database check on key listing.
+ commit b6593bda1f7bfaf6cf3b869b8379cbb2b619e00a
* lang/qt/src/Makefile.am (qgpgme_sources): Add listallkeysjob.cpp.
* lang/qt/src/listallkeysjob.cpp: New.
* lang/qt/src/listallkeysjob.h (enum ListAllKeysJob::Option,
typedef ListAllKeysJob::Options, ListAllKeysJob::setOptions,
ListAllKeysJob::options): New.
* lang/qt/src/qgpgmelistallkeysjob.cpp (list_keys): Set context flag
"no-auto-check-trustdb" if requested.
(QGpgMEListAllKeysJob::start, QGpgMEListAllKeysJob::exec): Add options
to call of list_keys.

core: New context flag "no-auto-check-trustdb"
+ commit 4f874ea431ba68ba70cf569741488502b1f61e66
* src/context.h (gpgme_context): Add field no_auto_check_trustdb.
* src/gpgme.c (gpgme_set_ctx_flag, gpgme_get_ctx_flag): Add flag
"no-auto-check-trustdb".
* src/engine-gpg.c (engine_gpg): Add flags.no_auto_check_trustdb.
(gpg_set_engine_flags): Set the flag.
(build_argv): Pass option to gpg.

* tests/run-keylist.c (show_usage, main): Add option --no-trust-check.

2022-11-02  NIIBE Yutaka  <gniibe@fsij.org>

build: Update libassuan.m4.
+ commit 9f5e11729260b814c4903e2fbccfb3855073abd2
* m4/libassuan.m4: Update from libassuan master.

build: Prefer gpgrt-config when available.
+ commit 9f55dceca0cf2926d14cb4a70bd0cdc454d89f03
* src/gpgme.m4: Overriding the decision by --with-gpgme-prefix,
use gpgrt-config gpgme when gpgrt-config is available.

2022-10-26  Werner Koch  <wk@gnupg.org>

core: New global flags "inst-type".
+ commit 1c9694f8d50b1236d2e4f2acbe23f972da36e437
* src/gpgme.c (gpgme_set_global_flag): Add flag "inst-type".
* src/w32-util.c (_gpgme_set_get_inst_type): New.
(INST_TYPE_GPG4WIN_DIR): New.
(INST_TYPE_GPGDESK_DIR): New.
(_gpgme_get_gpgconf_path): Implement this flag.  Replace fixed strings
by the macros.
* src/posix-util.c (_gpgme_set_get_inst_type): New dummy.

2022-10-26  NIIBE Yutaka  <gniibe@fsij.org>

python: Fix configure generating setup.py.
+ commit f1802682c3c8794edaca37966405bd1f070f5e01
* lang/python/setup.py.in: Handle the case, when substitutions
may be empty.

2022-10-24  Werner Koch  <wk@gnupg.org>

core: Protect against a theoretical integer overflow in parsetlv.c.
+ commit 830e017e5d5f51d956d1188860302655f3e727e9
* src/parsetlv.c (_gpgme_parse_tlv): Detect integer overflow.

2022-10-24  Ingo Klöcker  <dev@ingo-kloecker.de>

cpp: Allow setting the curve to use when generating ECC keys.
+ commit d9ac1385950217893be6f0d6fdb3324b8647d16b
lang/cpp/src/gpggencardkeyinteractor.h (class GpgGenCardKeyInteractor):
Add enum Curve. Add member function setCurve.
lang/cpp/src/gpggencardkeyinteractor.cpp
(class GpgGenCardKeyInteractor::Private): Initialize simple members
in-class. Add member curve.
(GpgGenCardKeyInteractor::~GpgGenCardKeyInteractor): Use default d'tor.
(GpgGenCardKeyInteractor::setCurve): New.
(GpgGenCardKeyInteractor::action): Return curve defaulting to
Curve25519.

2022-10-24  NIIBE Yutaka  <gniibe@fsij.org>

build: Update gpg-error.m4.
+ commit d36905bb80c43987f2ca6980d3973d2111f89991
* m4/gpg-error.m4: Update from libgpg-error 1.46.

2022-10-14  Ingo Klöcker  <dev@ingo-kloecker.de>

build,qt: Check whether building with -fPIC is needed.
+ commit 2ff09f474fb908dff83cce79c9d84b4fa21f5d7b
m4/qt6.m4: Use build test to check whether -fPIC is needed for building
a Qt application.

build,qt: Fail check for Qt if moc wasn't found.
+ commit 1792db58346cb39fd99332478d56dc190bae7836
* m4/qt5.m4, m4/qt6.m4: Perform build test only if moc was found.

build,qt: Always compile the Qt 6 test application with -fpic.
+ commit f7a46714283bb8c107c68d0f1227abfe223b2365
* m4/qt6.m4: Do not add -fpic to GPGME_QT6_CFLAGS. Add -fpic to CPPFLAGS
used for build test of simple Qt 6 application.

2022-10-11  Ingo Klöcker  <dev@ingo-kloecker.de>

build,qt: Clean up all generated files.
+ commit e6a1b241b4e6a0a677ed8f0e4e287a5cc82d7fbb
* lang/qt/src/Makefile.am (CLEANFILES): Add QGpgmeConfig-w32.cmake.in
and QGpgmeQt6Config-w32.cmake.in.

qt,tests: Port test to QRegularExpression.
+ commit b2fb26baeada7b39331f71a30c654bfb8b53cb30
* lang/qt/tests/t-trustsignatures.cpp: Use QRegularExpression instead of
QRegExp.

qt: Remove obsolete code.
+ commit 4938c24a466bf05e707d3e6cbf759705adc7e8d6
* lang/qt/src/qgpgmenewcryptoconfig.cpp (struct Select1St): Remove.

build,qt: Allow building QGpgME for Qt 6.
+ commit 8d019bbb8d40de2cbed7ad6d3367c6a46a561fab
* configure.ac: Look for Qt 5 and/or Qt 6. Require C++17 if Qt 6 binding
is built. Build cmake files QGpgmeConfig* for Qt 5 and QGpgmeQt6Config*
for Qt 6.
(available_languages): Add "qt5" and "qt6".
(WANT_QT5, WANT_QT6): New conditionals.
* lang/qt/src/Makefile.am: Keep building libqgpgme for Qt 5. Build
libqgpgmeqt6 for Qt 6.
* lang/qt/tests/Makefile.am: Build tests for Qt 5 or Qt 6.
* lang/qt/src/QGpgmeQt6Config-w32.cmake.in.in,
lang/qt/src/QGpgmeQt6Config.cmake.in.in,
lang/qt/src/QGpgmeQt6ConfigVersion.cmake.in, m4/qt6.m4: New.

2022-10-10  Ingo Klöcker  <dev@ingo-kloecker.de>

build,qt: Explicitly namespace a few Qt variables for Qt5.
+ commit 8e908029ffa03d21662030d3111dcf556b722e1a
m4/qt.m4: Rename to
m4/qt5.m4: this.
(FIND_QT): Rename to FIND_QT5.
(GPGME_QT): Change variable prefix to GPGME_QT5.
(GPGME_QTTEST: Change variable prefix to GPGME_QT5TEST.
configure.ac, lang/qt/src/Makefile.am, lang/qt/tests/Makefile.am:
Adjust accordingly.

2022-09-29  Werner Koch  <wk@gnupg.org>

core: Fix SIG_CREATED status parsing for 0x1F sigs.
+ commit b1e5f3b183104a58d71821b7dbe44244d1c3f87f
* src/sign.c (parse_sig_created): Special case the rfc4880 "1F" status.

2022-09-15  NIIBE Yutaka  <gniibe@fsij.org>

build:python: Don't use gpg-error-config/gpgme-config.
+ commit ae9258fbf3b9d434495ef11fc184a91fe7c4ca57
* lang/python/setup.py.in: Use @prefix@, @GPGME_CONFIG_LIBS@,
@GPGME_CONFIG_CFLAGS@, and @GPG_ERROR_CFLAGS@ of configure.

Fix for modern compiler.
+ commit fbd94076461ec55603d741121fa2ff6a861ea803
* src/argparse.c (show_version): It's no args.

2022-09-14  Ingo Klöcker  <dev@ingo-kloecker.de>

cpp: Reject signing expired keys.
+ commit eedaaf70167f5dd7d8438235139b57527d3a961b
* lang/cpp/src/gpgsignkeyeditinteractor.cpp (enum SignKeyState): Add
new state REJECT_SIGN_EXPIRED.
(makeTable): Add entries for new state to transition map.
(GpgSignKeyEditInteractor::action): Handle new state.

2022-09-07  NIIBE Yutaka  <gniibe@fsij.org>

Fix parsing import status for invalid fingerprint.
+ commit 80670f60ba971145dd6792e00d31c08c10cc8159
* src/import.c (parse_import): Handle invalid fingerprint case.

2022-08-22  Ingo Klöcker  <dev@ingo-kloecker.de>

build: Omit -I... and -L... for standard paths in pkgconfig file.
+ commit 1522813888257aafb6d108b49fb7b24005d2693a
* configure.ac (GPGME_CONFIG_CFLAGS): Prefix with -I${includedir} for
non-standard include paths.
(GPGME_CONFIG_LIBS): Prefix with -L${libdir} for non-standard library
paths.
* src/gpgme.pc.in (Cflags): Remove hard-coded -I${includedir}.
(Libs): Remove hard-coded -L${libdir}.

build: Update ax_cxx_compile_stdcxx macro.
+ commit 73e96bfaa8176cf7b18bfa9edacaaf8d26989998
* m4/ax_cxx_compile_stdcxx.m4: Replace with current version from the
autoconf archive.

qt: Fix building with C++11.
+ commit 83176ad7d3e57ad7804d3c885e1b4fcd1d4d96f9
* lang/qt/src/qgpgmerefreshsmimekeysjob.cpp
(QGpgMERefreshSMIMEKeysJob::start): Replace 'auto' in lambda with the
actual type.
* lang/qt/src/qgpgmesignkeyjob.cpp (class TrustSignatureProperties): Add
default c'tor and c'tor initializing all members.
* lang/qt/src/util.cpp (toFingerprints): Replace 'auto' in lambda with
the actual type.
* lang/qt/tests/run-exportjob.cpp (createExportJob): Replace 'auto'
return type with actual type.

qt: Fix building with Qt6.
+ commit 05661806848b8a6ef9005e4a420d8613ddc868f1
* lang/qt/src/util.cpp, lang/qt/src/util.h: Replace forward declaration
with include.

2022-08-19  Ingo Klöcker  <dev@ingo-kloecker.de>

cpp: Fix building with C++11.
+ commit f02c20cc9c5756690b07abfd02a43533547ba2ef
* lang/cpp/src/importresult.cpp (ImportResult::mergeWith): Replace
'auto' in lambdas with the actual type.

2022-08-18  Ingo Klöcker  <dev@ingo-kloecker.de>

qt,tests: Make test pass on 32-bit systems.
+ commit 2e7a61b898fccc1c20000b79dee83cd980901fa9
* lang/qt/tests/t-addexistingsubkey.cpp
(AddExistingSubkeyJobTest::testAddExistingSubkeyWithExpiration): Handle
negative expiration date.

cpp: Fix handling of "no key" or "invalid time" situations.
+ commit 2fa5c80aeba4528b3bdf41ec5740e7db5d4b6d2b
* lang/cpp/src/gpgaddexistingsubkeyeditinteractor.cpp
(GpgAddExistingSubkeyEditInteractor::Private::nextState): Fix inverted
logic of string comparisons.

2022-08-17  Ingo Klöcker  <dev@ingo-kloecker.de>

qt,tests: Make sure expiration time is interpreted as unsigned number.
+ commit f2b48de26b8f8c48c293423eda712831544924f6
* lang/qt/tests/t-addexistingsubkey.cpp,
lang/qt/tests/t-changeexpiryjob.cpp: Convert expiration time to
uint_least32_t.

qt,tests: Log the actual error code if the assertion fails.
+ commit 81d4b7f2d7077297d76af5728949d8f2bdff8cd5
* lang/qt/tests/t-addexistingsubkey.cpp (
AddExistingSubkeyJobTest::testAddExistingSubkeyAsync,
AddExistingSubkeyJobTest::testAddExistingSubkeySync,
AddExistingSubkeyJobTest::testAddExistingSubkeyWithExpiration): Use
QCOMPARE instead of QVERIFY for asserting equality.

qt: Make sure expiration time is interpreted as unsigned number.
+ commit c977424a1d39751fc5055131ad3f7819d421dcc8
* lang/qt/src/qgpgmeaddexistingsubkeyjob.cpp (add_subkey): Convert
expiration time to uint_least32_t.

2022-08-12  Andre Heinecke  <aheinecke@gnupg.org>

w32: Add another fallback to look for gpgconf.exe.
+ commit 5f51a9b4589200486b2833124cbd93455f6ce208
* src/w32-util.c (_gpgme_get_gpgconf_path): Add fallback for
GnuPG VS-Desktop install scheme.

2022-08-11  Andre Heinecke  <aheinecke@gnupg.org>

Qt: Fix working with no gpgconf in CryptoConfig.
+ commit 586846209b08ce5e9545f53f21de884eb4079115
* lang/qt/src/cryptoconfig.cpp (CryptoConfig::entry): Add nullptr
  checks.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
16 months agolibassuan: update to version 2.5.6
Daniel Golle [Sat, 5 Aug 2023 01:12:09 +0000 (02:12 +0100)]
libassuan: update to version 2.5.6

Changes since version 2.5.5:
2023-06-19  Werner Koch  <wk@gnupg.org>

Release 2.5.6.
+ commit 6b50ee6bcdd6aa81bd7cc3fb2379864c3ed479b8

2023-06-16  Werner Koch  <wk@gnupg.org>

Flush data before clearing the confidential flag.
+ commit 0fc31770fa6277c57940b774d4049d7a3ad148e8
* src/context.c (assuan_end_confidential): Flush data.

2023-06-16  NIIBE Yutaka  <gniibe@fsij.org>

build: Fix listing m4 files.
+ commit e686c85e207e52130388c68018ac2e75b7fb574a
* m4/Makefile.am (EXTRA_DIST): Add ax_cc_for_build.m4 and
gpg-error.m4.  Remove sys_socket_h.m4.

build: Better cross build support.
+ commit 1939b040ca2301270a7f5be4e3049c551bf73dab
* configure.ac: Use AX_CC_FOR_BUILD.
* src/Makefile.am: Use EXEEXT_FOR_BUILD.
* m4/ax_cc_for_build.m4: New from libgpg-error.

tests: Use -no-fast-install LDFLAGS for Windows.
+ commit 32d9abf299ec5b217c5751d8dcf8cbb5989bdd9c
* tests/Makefile.am [HAVE_W32_SYSTEM] (AM_LDFLAGS): Conditionalize.

build: Update gpg-error.m4.
+ commit dbd5c48a36e6b6a28d12119a43ff2a65208dc152
* m4/gpg-error.m4: Update from libgpg-error master.

build: Update gpg-error.m4.
+ commit d7533c4333bfa93537eaf639fd18a6b1377df11e
* m4/gpg-error.m4: Update from libgpg-error 1.46.

build: Update config.guess, config.sub, and config.rpath.
+ commit 84d5349d23031c13762a0d59c105a9dec8cc9e90
* build-aux/config.guess: Update from upstream.
* build-aux/config.sub: Ditto.
* build-aux/config.rpath: Update from gettext 0.21.

build: Update gpg-error.m4.
+ commit f16fcb14c3661ff94e06612f3a3e46a5e98a62a8
* m4/gpg-error.m4: Update from libgpg-error.

Don't access NULL by wipememory.
+ commit ff1f8ee7a8fb9729e08fb51419de9a8c93a4fdb6
* src/assuan-inquire.c (assuan_inquire): Check mb->buf.

client: Wipe the inbound buffer when CONFIDENTIAL.
+ commit aac300389210031588a1f4c6d7f1efb4b45c4c95
* src/client.c (assuan_transact): Wipe the buffer.

server,client: Wipe the outbound buffer when CONFIDENTIAL.
+ commit 5ac7e6ba19fa5ed472b50c1b12ba7cf94015c734
* src/assuan-buffer.c (assuan_send_data): Wipe the buffer.

server: Wipe out the memory used by assuan_inquire if CONFIDENTIAL.
+ commit 4bfcd8a0f6f314581b40bed0cffe5f91441f4dff
* src/assuan-inquire.c (assuan_inquire): Wipe the memory and
inbound buffer.

2021-12-22  NIIBE Yutaka  <gniibe@fsij.org>

build: Update for newer autoconf.
+ commit 66d5fe281c8dcbbbc13edc8630aaf631b6cb5e85
* configure.ac (AC_PREREQ): Require >= 2.69.
(AC_HEADER_STDC): Remove.
* m4/sys_socket_h.m4: Remove.

2021-12-17  NIIBE Yutaka  <gniibe@fsij.org>

build,w32: Update configure script.
+ commit 576fbb033805b077ffe2270cb8a17c3f2dc830ae
* configure.ac: Don't use gl_HEADER_SYS_SOCKET, but check winsock2.h.

2021-11-10  NIIBE Yutaka  <gniibe@fsij.org>

libtool: Link without -flat_namespace for macOS.
+ commit e342b58b6230d22c1225ed680f05e9d134a8f657
* m4/libtool.m4: Not setting 10.0 to MACOSX_DEPLOYMENT_TARGET when not
defined.  Only specify -flat_namespace to linker for specific
(older) versions and hosts.

2021-08-05  NIIBE Yutaka  <gniibe@fsij.org>

build: Simplify configure.ac.
+ commit 669c76ee28c0b10c418bb47f95b1401631478c5a
* configure.ac (AC_CHECK_HEADERS): Remove string.h.

2021-05-27  NIIBE Yutaka  <gniibe@fsij.org>

build: _DARWIN_C_SOURCE should be 1.
+ commit 335030e3d204afe33873df83c29302ff1caa0217
* configure.ac (*-apple-darwin*): Set _DARWIN_C_SOURCE 1.

2021-04-21  NIIBE Yutaka  <gniibe@fsij.org>

build: Update gpg-error.m4.
+ commit 8ec3e9f1dd88e14f42f31e8692a8664bd894226b
* m4/gpg-error.m4: Update from libgpg-error.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
16 months agolibksba: update to version 1.6.4
Daniel Golle [Sat, 5 Aug 2023 01:12:35 +0000 (02:12 +0100)]
libksba: update to version 1.6.4

Changes since version 1.6.2:

2023-06-19  Werner Koch  <wk@gnupg.org>

Release 1.6.4.
+ commit 557999424ebd13e70d6fc17e648a5dd2a06f440b

Correctly detect write errors while creating CMS objects.
+ commit 9ced7706f2738128aa5068727ea348c44f42e16e
* src/cms.c (write_encrypted_cont): Take care of write errors.

2023-05-16  NIIBE Yutaka  <gniibe@fsij.org>

build: Sync libtool from libgpg-error for 64-bit Windows.
+ commit a920c2ff1a723031e8c6b8b61632bad46a740c83
* build-aux/ltmain.hs: Update from libgpg-error.

2023-05-12  NIIBE Yutaka  <gniibe@fsij.org>

tests: Use -no-fast-install LDFLAGS for Windows.
+ commit 74fb95dbaf70d97b67793b29497b1e7b29a5e2f1
* tests/Makefile.am [HAVE_W32_SYSTEM] (AM_LDFLAGS): Conditionalize.

2023-04-05  NIIBE Yutaka  <gniibe@fsij.org>

build: Update gpg-error.m4.
+ commit 53b9fa1d58ba522ca0eea4fe460719722e6e1ef5
* m4/gpg-error.m4: Update from libgpg-error master.

2022-12-06  Werner Koch  <wk@gnupg.org>

Release 1.6.3.
+ commit bffa9b346071725363a483db547e7dced9721cb5

2022-11-23  Werner Koch  <wk@gnupg.org>

Fix an integer overflow in the CRL signature parser.
+ commit f61a5ea4e0f6a80fd4b28ef0174bee77793cf070
* src/crl.c (parse_signature): N+N2 now checked for overflow.

* src/ocsp.c (parse_response_extensions): Do not accept too large
values.
(parse_single_extensions): Ditto.

2022-11-02  NIIBE Yutaka  <gniibe@fsij.org>

build: Update m4/libgcrypt.m4.
+ commit 4076b60f7cef4fddc3d30f6e6d4078081dbc7167
* m4/libgcrypt.m4: Update from libgcrypt master.

2022-11-01  NIIBE Yutaka  <gniibe@fsij.org>

build: Prefer gpgrt-config when available.
+ commit 13307b22882a220d206341e1196e74fd37418c2f
* src/ksba.m4: Overriding the decision by --with-libksba-prefix, use
gpgrt-config ksba when gpgrt-config is available.

2022-10-24  NIIBE Yutaka  <gniibe@fsij.org>

build: Update gpg-error.m4.
+ commit c3c1627f34234e3d54fe1f3411ac499dd7e3b3b0
* m4/gpg-error.m4: Update from libgpg-error 1.46.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
16 months agocryptsetup: update to version 2.6.1
Daniel Golle [Sat, 5 Aug 2023 01:32:24 +0000 (02:32 +0100)]
cryptsetup: update to version 2.6.1

Cryptsetup 2.6.1 Release Notes
==============================
Stable bug-fix release with minor extensions.

All users of cryptsetup 2.6.0 should upgrade to this version.

Changes since version 2.6.0
~~~~~~~~~~~~~~~~~~~~~~~~~~~

* bitlk: Fixes for BitLocker-compatible on-disk metadata parser
  (found by new cryptsetup OSS-Fuzz fuzzers).
  - Fix a possible memory leak if the metadata contains more than
    one description field.
  - Harden parsing of metadata entries for key and description entries.
  - Fix broken metadata parsing that can cause a crash or out of memory.

* Fix possible iteration overflow in OpenSSL2 PBKDF2 crypto backend.
  OpenSSL2 uses a signed integer for PBKDF2 iteration count.
  As cryptsetup uses an unsigned value, this can lead to overflow and
  a decrease in the actual iteration count.
  This situation can happen only if the user specifies
  --pbkdf-force-iterations option.
  OpenSSL3 (and other supported crypto backends) are not affected.

* Fix compilation for new ISO C standards (gcc with -std=c11 and higher).

* fvault2: Fix compilation with very old uuid.h.

* verity: Fix possible hash offset setting overflow.

* bitlk: Fix use of startup BEK key on big-endian platforms.

* Fix compilation with latest musl library.
  Recent musl no longer implements lseek64() in some configurations.
  Use lseek() as 64-bit offset is mandatory for cryptsetup.

* Do not initiate encryption (reencryption command) when the header and
  data devices are the same.
  If data device reduction is not requsted, this leads to data corruption
  since LUKS metadata was written over the data device.

* Fix possible memory leak if crypt_load() fails.

* Always use passphrases with a minimal 8 chars length for benchmarking.
  Some enterprise distributions decided to set an unconditional check
  for PBKDF2 password length when running in FIPS mode.
  This questionable change led to unexpected failures during LUKS format
  and keyslot operations, where short passwords were used for
  benchmarking PBKDF2 speed.
  PBKDF2 benchmark calculations should not be affected by this change.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
16 months agolvm2: update LVM2 to 2.03.22 and DM to 1.02.196
Daniel Golle [Sat, 5 Aug 2023 00:47:18 +0000 (01:47 +0100)]
lvm2: update LVM2 to 2.03.22 and DM to 1.02.196

Remove downstream patch 004-missing-includes.patch which was merged
upstream in version 2.03.19

LVM2 changelog since version 2.03.17
version 2.03.22 - 02nd August 2023
==================================
  Fix pv_major/pv_minor report field types so they are integers, not strings.
  Add lvmdevices --delnotfound to delete entries for missing devices.
  Always use cachepool name for metadata backup LV for lvconvert --repair.
  Make metadata backup LVs read-only after pool's lvconvert --repair.
  Improve VDO and Thin support with lvmlockd.
  Handle 'lvextend --usepolicies' for pools for all activation variants.
  Fix memleak in vgchange autoactivation setup.
  Update py-compile building script.
  Support conversion from thick to fully provisioned thin LV.
  Cache/Thin-pool can use error and zero volumes for testing.
  Individual thin volume can be cached, but cannot take snapshot.
  Better internal support for handling error and zero target (for testing).
  Resize COW above trimmed maximal size is does not return error.
  Support parsing of vdo geometry format version 4.
  Add lvm.conf thin_restore and cache_restore settings.
  Handle multiple mounts while resizing volume with a FS.
  Handle leading/trailing spaces in sys_wwid and sys_serial used by deivce_id.
  Enhance lvm_import_vdo and use snapshot when converting VDO volume.
  Fix parsing of VDO metadata.
  Fix failing -S|--select for non-reporting cmds if using LV info/status fields.
  Allow snapshots of raid+integrity LV.
  Fix multisegment RAID1 allocator to prevent using single disk for more legs.

version 2.03.21 - 21st April 2023
=================================
  Fix activation of vdo-pool for with 0 length headers (converted pools).
  Avoid printing internal init messages when creation integration devices.
  Allow (write)cache over raid+integrity LV.

version 2.03.20 - 21st March 2023
=================================
  Fix segfault if using -S|--select with log/report_command_log=1 setting.
  Configure now fails when requested lvmlockd dependencies are missing.
  Add some configure Gentoo enhancements for static builds.

version 2.03.19 - 21st February 2023
====================================
  Configure supports --with-systemd-run executed from udev rules.
  Enhancement for build with MuslC systemd and non-bash system shells (dash).
  Do not reset SYSTEMD_READY variable in udev for PVs on MD and loop devices.
  Ensure udev is processing origin LV before its thick snapshots LVs.
  Fix and improve runtime memory size detection for VDO volumes.

version 2.03.18 - 22nd December 2022
====================================
  Fix issues reported by coverity scan.
  Fix warning for thin pool overprovisioning on lvextend (2.03.17).
  Add support for writecache metadata_only and pause_writeback settings.
  Fix missing error messages in lvmdbusd.

DM changelog since version 1.02.187:

Version 1.02.196 - 02nd August 2023
===================================

Version 1.02.195 - 21st April 2023
==================================

Version 1.02.193 - 21st March 2023
==================================

Version 1.02.191 - 21st February 2023
=====================================
  Improve parallel creation of /dev/mapper/control device node.
  Import previous ID_FS_* udev records in 13-dm-disk.rules for suspended DM dev.
  Remove NAME="mapper/control" rule from 10-dm.rules to avoid udev warnings.

Version 1.02.189 - 22nd December 2022
=====================================
  Improve 'dmsetup create' without given table line with new kernels.

(Version 1.02.188 is missing)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
16 months agoirqbalance: add banned_cpulist option
Hentioe Cl [Sat, 5 Aug 2023 07:01:49 +0000 (10:01 +0300)]
irqbalance: add banned_cpulist option

Configure CPUs to ignore with `IRQBALANCE_BANNED_CPULIST` environment variable

Signed-off-by: Hentioe Cl <meow.i5.br@gmail.com>
[added PKG_RELEASE bump]

16 months agocollectd: unify configure args handling for collectd-mod-smart
Florian Eckert [Fri, 4 Aug 2023 07:48:59 +0000 (09:48 +0200)]
collectd: unify configure args handling for collectd-mod-smart

If 'collectd-mod-smart' is not enabled, the use of lubudev does not need
to be explicitly disabled. This library could be a dependency for other
modules in the future. If this is explicitly disabled, then the other
module cannot be built.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
16 months agocollectd: fix ampq1 vs. amqp1 typo
Florian Eckert [Fri, 4 Aug 2023 07:47:59 +0000 (09:47 +0200)]
collectd: fix ampq1 vs. amqp1 typo

The name 'ampq1' does not exist.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
16 months agoopenssh: update to 9.3p2
Sibren Vasse [Mon, 31 Jul 2023 09:18:37 +0000 (11:18 +0200)]
openssh: update to 9.3p2

Signed-off-by: Sibren Vasse <github@sibrenvasse.nl>
16 months agopython-dns: Update to 2.4.1
Jeffery To [Thu, 27 Jul 2023 18:18:52 +0000 (02:18 +0800)]
python-dns: Update to 2.4.1

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-contextlib2: Update to 21.6.0
Jeffery To [Thu, 27 Jul 2023 18:16:26 +0000 (02:16 +0800)]
python-contextlib2: Update to 21.6.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-ciso8601: Update to 2.3.0
Jeffery To [Thu, 27 Jul 2023 18:07:19 +0000 (02:07 +0800)]
python-ciso8601: Update to 2.3.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-certifi: Update to 2023.7.22
Jeffery To [Thu, 27 Jul 2023 18:03:58 +0000 (02:03 +0800)]
python-certifi: Update to 2023.7.22

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-cachetools: Update to 5.3.1
Jeffery To [Thu, 27 Jul 2023 18:01:27 +0000 (02:01 +0800)]
python-cachetools: Update to 5.3.1

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-cachelib: Update to 0.10.2
Jeffery To [Thu, 27 Jul 2023 17:57:04 +0000 (01:57 +0800)]
python-cachelib: Update to 0.10.2

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-colorama: Update to 0.4.6
Jeffery To [Thu, 27 Jul 2023 18:10:47 +0000 (02:10 +0800)]
python-colorama: Update to 0.4.6

The package changed to the hatchling build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-docutils: Update to 0.20.1
Jeffery To [Thu, 27 Jul 2023 18:28:13 +0000 (02:28 +0800)]
python-docutils: Update to 0.20.1

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-editables: Update to 0.5
Jeffery To [Mon, 31 Jul 2023 05:43:09 +0000 (13:43 +0800)]
python-editables: Update to 0.5

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-pathspec: Update to 0.11.2
Jeffery To [Mon, 31 Jul 2023 05:46:09 +0000 (13:46 +0800)]
python-pathspec: Update to 0.11.2

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agolxc: update to 5.0.3
John Audia [Fri, 28 Jul 2023 21:52:17 +0000 (17:52 -0400)]
lxc: update to 5.0.3

Bump to latest upstream release.

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia <therealgraysky@proton.me>
16 months agosnort3: update to 3.1.67.0
John Audia [Wed, 2 Aug 2023 13:03:24 +0000 (09:03 -0400)]
snort3: update to 3.1.67.0

Upstream bump

Signed-off-by: John Audia <therealgraysky@proton.me>
16 months agodocker: Update to 24.0.5
Gerard Ryan [Wed, 2 Aug 2023 09:06:48 +0000 (19:06 +1000)]
docker: Update to 24.0.5

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
16 months agodockerd: Update to 24.0.5
Gerard Ryan [Wed, 2 Aug 2023 09:06:25 +0000 (19:06 +1000)]
dockerd: Update to 24.0.5

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
16 months agorunc: Update to 1.1.8 for docker v24.0.5
Gerard Ryan [Wed, 2 Aug 2023 09:05:54 +0000 (19:05 +1000)]
runc: Update to 1.1.8 for docker v24.0.5

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
16 months agoknot: update to version 3.2.9
Jan Hák [Tue, 1 Aug 2023 11:27:00 +0000 (13:27 +0200)]
knot: update to version 3.2.9

Signed-off-by: Jan Hák <jan.hak@nic.cz>
16 months agoMerge pull request #21687 from stangri/master-curl
Stan Grishin [Tue, 1 Aug 2023 05:30:35 +0000 (22:30 -0700)]
Merge pull request #21687 from stangri/master-curl

curl: update to 8.2.1

16 months agoMerge pull request #21597 from pprindeville/isc-dhcp-fix-multiple-routes
Philip Prindeville [Mon, 31 Jul 2023 04:45:12 +0000 (22:45 -0600)]
Merge pull request #21597 from pprindeville/isc-dhcp-fix-multiple-routes

isc-dhcp: fix handling multiple instances of 'routes' list

16 months agocurl: update to 8.2.1
Stan Grishin [Mon, 31 Jul 2023 04:11:02 +0000 (04:11 +0000)]
curl: update to 8.2.1

* https://curl.se/changes.html#8_2_1

Signed-off-by: Stan Grishin <stangri@melmac.ca>
16 months agoisc-dhcp: some IoTs need forced rebinding/renewal times
Philip Prindeville [Mon, 17 Jul 2023 21:31:16 +0000 (15:31 -0600)]
isc-dhcp: some IoTs need forced rebinding/renewal times

I've noticed my AppleTV's refresh their leases ever minute unless
I explicitly force their renewal time higher, because it doesn't
default to 50% of the lease time.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
16 months agoisc-dhcp: fix handling multiple instances of 'routes' list
Philip Prindeville [Mon, 17 Jul 2023 21:27:09 +0000 (15:27 -0600)]
isc-dhcp: fix handling multiple instances of 'routes' list

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
16 months agolibudev-zero: bump to 1.0.3
Taylor Brown [Sun, 16 Jul 2023 23:01:26 +0000 (18:01 -0500)]
libudev-zero: bump to 1.0.3

libudev-zero bump to 1.0.3. Resolves bug with USBIP.

Error behavior with USBIP attach:
libusbip: error: no available ports
usbip: error: open vhci_driver
usbip: error: list imported devices

Expected behaviour - USBIP:
root@OpenWrt:~# usbip port
Imported USB devices

Signed-off-by: Taylor Brown <taylorami@hotmail.com>
16 months agocloudflared: Update to 2023.7.3
Tianling Shen [Sun, 30 Jul 2023 16:41:02 +0000 (00:41 +0800)]
cloudflared: Update to 2023.7.3

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
16 months agopython-certifi: add github runtime test
Eneas U de Queiroz [Thu, 27 Jul 2023 19:51:39 +0000 (16:51 -0300)]
python-certifi: add github runtime test

This loads the module, which should return the path of the CA bundle
and verifies that the file exists.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
16 months agoMerge pull request #20662 from akosiaris/collectd_mqtt
Florian Eckert [Fri, 28 Jul 2023 06:13:51 +0000 (08:13 +0200)]
Merge pull request #20662 from akosiaris/collectd_mqtt

collectd: Support config of mqtt plugin

16 months agoMerge pull request #21638 from stangri/master-curl
Stan Grishin [Fri, 28 Jul 2023 00:15:17 +0000 (17:15 -0700)]
Merge pull request #21638 from stangri/master-curl

curl: update to 8.2.0

16 months agomg: bump to 7.3
Hirokazu MORIKAWA [Thu, 27 Jul 2023 01:39:44 +0000 (10:39 +0900)]
mg: bump to 7.3

Description:
Sync to OpenBSD 7.3

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
16 months agocollectd: Support config of mqtt plugin
Alexandros Kosiaris [Tue, 14 Mar 2023 08:38:52 +0000 (10:38 +0200)]
collectd: Support config of mqtt plugin

mqtt plugin is already built and shipped in
collectd-mod-mqtt, however it is not possible to configure it via
uci currently, instead having to rely on populating the config file manually.

Add support by adding 2 functions, process_mqtt() and
process_mqtt_block(). First one just enables/disables the plugin.
The second one, in the spirit of the curl plugin, adds support for
populating multiple <Publish> and <Subscribe> blocks under <Plugin mqtt>
with support for some parameters. Those are:

* blocktype. Publish or Subscribe. Mandatory
* name. The name of the block. Mandatory
* Host. Mandatory
* Port. Optional
* User. Optional
* Password. Optional
* ClientId. Optional
* QoS. Optional
* Prefix. Optional
* Retain. Optional
* StoreRates. Optional
* CleanSession. Optional
* Topic. Optional

Bump PKG_RELEASE per comments in PR

Signed-off-by: Alexandros Kosiaris <akosiaris@gmail.com>
16 months agoMerge pull request #21666 from pprindeville/isc-dhcp-drop-uci_get_state
Philip Prindeville [Wed, 26 Jul 2023 23:48:41 +0000 (17:48 -0600)]
Merge pull request #21666 from pprindeville/isc-dhcp-drop-uci_get_state

isc-dhcp: deprecate use of uci_get_state in client scripts

16 months agoisc-dhcp: use network_get_device in client scripts
Philip Prindeville [Tue, 25 Jul 2023 21:48:14 +0000 (15:48 -0600)]
isc-dhcp: use network_get_device in client scripts

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
16 months agoopenvpn: update to 2.6.5 and add DCO support
Martin Schiller [Wed, 28 Jun 2023 07:13:19 +0000 (09:13 +0200)]
openvpn: update to 2.6.5 and add DCO support

This commit updates openvpn to version 2.6.5 and add DCO support.

There are several changes:

- Starting with version 2.6.0, the sources are only provided as .tar.gz
  file.

- removed OPENVPN_<variant>_ENABLE_MULTIHOME:
  multihome support is always included and cannot be disabled anymore
  with 2.6.x.

- removed OPENVPN_<variant>_ENABLE_DEF_AUTH:
  deferred auth support is always included and cannot be disabled
  anymore with 2.6.x.

- removed OPENVPN_<variant>_ENABLE_PF:
  PF (packet filtering) support was removed in 2.6.x.

- The internal lz4 library was removed in 2.6.x; we now use the liblz4
  package if needed

- To increase reproducibility, _DATE_ is only used for development
  builds and not in release builds in 2.6.x.

- wolfSSL support was integrated into upstream openvpn

- DES support was removed from openvpn

The first two wolfSSL patches were created following these 2 commits:
https://github.com/OpenVPN/openvpn/commit/4cf01c8e4381403998341aa32f79f4bf24c7ccb1
https://github.com/OpenVPN/openvpn/commit/028b501734b4a57dc53edb8b11a4b370f5b99e38

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
16 months agoovpn-dco: Update to v0.2.20230426
Martin Schiller [Wed, 28 Jun 2023 07:08:52 +0000 (09:08 +0200)]
ovpn-dco: Update to v0.2.20230426

OpenVPN 2.6.2+ changes the way OpenVPN control packets are handled on
Linux when DCO is active, fixing the lockups observed with 2.6.0/2.6.1
under high client connect/disconnect activity. This is an INCOMPATIBLE
change and therefore an ovpn-dco kernel module older than v0.2.20230323
(commit ID 726fdfe0fa21) will not work anymore and must be upgraded.
The kernel module was renamed to "ovpn-dco-v2.ko" in order to highlight
this change and ensure that users and userspace software could easily
understand which version is loaded. Attempting to use the old ovpn-dco
with 2.6.2+ will lead to disabling DCO at runtime.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
16 months agopython-gnupg: Update to 0.5.1
Jeffery To [Mon, 24 Jul 2023 07:26:31 +0000 (15:26 +0800)]
python-gnupg: Update to 0.5.1

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-wheel: Update to 0.41.0
Jeffery To [Mon, 24 Jul 2023 07:48:42 +0000 (15:48 +0800)]
python-wheel: Update to 0.41.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-awscli: Update to 1.29.7, update dependencies
Jeffery To [Thu, 20 Jul 2023 09:57:49 +0000 (17:57 +0800)]
python-awscli: Update to 1.29.7, update dependencies

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-boto3: Update to 1.28.7, update dependencies
Jeffery To [Thu, 20 Jul 2023 09:54:47 +0000 (17:54 +0800)]
python-boto3: Update to 1.28.7, update dependencies

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-s3transfer: Update to 0.6.1, update dependencies
Jeffery To [Thu, 20 Jul 2023 09:52:12 +0000 (17:52 +0800)]
python-s3transfer: Update to 0.6.1, update dependencies

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-botocore: Update to 1.31.7, update dependencies
Jeffery To [Thu, 20 Jul 2023 09:50:18 +0000 (17:50 +0800)]
python-botocore: Update to 1.31.7, update dependencies

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-awesomeversion: Update to 23.5.0, update dependencies
Jeffery To [Thu, 20 Jul 2023 08:46:27 +0000 (16:46 +0800)]
python-awesomeversion: Update to 23.5.0, update dependencies

The package changed to the poetry-core build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-atomicwrites: Update to 1.4.1
Jeffery To [Thu, 20 Jul 2023 08:34:29 +0000 (16:34 +0800)]
python-atomicwrites: Update to 1.4.1

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython3-sqlparse: Update to 0.4.4, rename source package
Jeffery To [Wed, 19 Jul 2023 18:33:49 +0000 (02:33 +0800)]
python3-sqlparse: Update to 0.4.4, rename source package

This renames the source package to python-sqlparse to match other Python
packages.

This also updates the build dependencies; package now uses the flit-core
build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-aiohttp: Update 3.8.5, update dependencies
Jeffery To [Thu, 20 Jul 2023 07:43:37 +0000 (15:43 +0800)]
python-aiohttp: Update 3.8.5, update dependencies

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-aiosignal: Add new package
Jeffery To [Thu, 20 Jul 2023 07:42:16 +0000 (15:42 +0800)]
python-aiosignal: Add new package

From the README:

A project to manage callbacks in asyncio projects.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-frozenlist: Add new package
Jeffery To [Thu, 20 Jul 2023 07:41:25 +0000 (15:41 +0800)]
python-frozenlist: Add new package

From the README:

frozenlist.FrozenList is a list-like structure which implements
collections.abc.MutableSequence. The list is mutable until
FrozenList.freeze is called, after which list modifications raise
RuntimeError.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-charset-normalizer: Add new package
Jeffery To [Thu, 20 Jul 2023 07:39:57 +0000 (15:39 +0800)]
python-charset-normalizer: Add new package

From the README:

A library that helps you read text from an unknown charset encoding.
Motivated by chardet, I'm trying to resolve the issue by taking a new
approach. All IANA character set names for which the Python core library
provides codecs are supported.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython3-pyroute2: Update to 0.7.9, rename source package
Jeffery To [Wed, 19 Jul 2023 17:42:57 +0000 (01:42 +0800)]
python3-pyroute2: Update to 0.7.9, rename source package

This renames the source package to python-pyroute2 to match other Python
packages.

This also updates/simplifies the package dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-apipkg: Update to 3.0.1
Jeffery To [Thu, 20 Jul 2023 08:16:03 +0000 (16:16 +0800)]
python-apipkg: Update to 3.0.1

The package changed to the hatchling build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython3-maxminddb: Update to 2.4.0, rename source package
Jeffery To [Wed, 19 Jul 2023 15:29:21 +0000 (23:29 +0800)]
python3-maxminddb: Update to 2.4.0, rename source package

This renames the source package to python-maxminddb to match other
Python packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-async-timeout: Update to 4.0.2
Jeffery To [Thu, 20 Jul 2023 07:35:24 +0000 (15:35 +0800)]
python-async-timeout: Update to 4.0.2

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agopython-execnet: Update to 2.0.2
Jeffery To [Thu, 20 Jul 2023 08:02:29 +0000 (16:02 +0800)]
python-execnet: Update to 2.0.2

The package changed to the hatchling build backend and removed the
dependency on apipkg.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agotransmission: add copy_file_range syscall to seccomp
Marius Dinu [Sun, 23 Jul 2023 17:36:02 +0000 (20:36 +0300)]
transmission: add copy_file_range syscall to seccomp

Fixes this crash:

root@RPi3OpenWrt:/# grep -i seccomp /var/log/audit/audit.log
type=SECCOMP msg=audit(1689503903.597:16): auid=4294967295 uid=224 gid=1012 ses=4294967295 pid=1752 comm="transmission-da" exe="/usr/bin/transmission-daemon" sig=31 arch=c00000b7 syscall=285 compat=0 ip=0x7fa3b0eefc code=0x80000000
root@RPi3OpenWrt:/# ausyscall 285
copy_file_range
root@RPi3OpenWrt:/#

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
16 months agopython-pip: Update to 23.2.1
Jeffery To [Mon, 24 Jul 2023 07:45:17 +0000 (15:45 +0800)]
python-pip: Update to 23.2.1

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
16 months agoknxd: new upstream version 0.14.59
Othmar Truniger [Mon, 24 Jul 2023 18:35:04 +0000 (20:35 +0200)]
knxd: new upstream version 0.14.59

Signed-off-by: Othmar Truniger <github@truniger.ch>
16 months agomodemmanager: improve 'simple connection' option handling
Florian Eckert [Mon, 24 Jul 2023 11:41:12 +0000 (13:41 +0200)]
modemmanager: improve 'simple connection' option handling

The line to generate the argument list for 'simple connect' is quite
long and is not maintainable. To improve the handling a function
'append_param' was added for appending the 'simple connect' options.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
16 months agomodemmanager: Adding support for 'allow_roaming' option
Francisco Jose Alvarez [Fri, 7 Oct 2022 06:44:00 +0000 (08:44 +0200)]
modemmanager: Adding support for 'allow_roaming' option

Signed-off-by: Francisco Jose Alvarez <francisco.alvarez@galgus.net>
* Update commit head
* Rebase patch to the latest changes
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
16 months agoMerge pull request #21621 from TDT-AG/pr/20230721-modemmanager
Florian Eckert [Mon, 24 Jul 2023 10:47:40 +0000 (12:47 +0200)]
Merge pull request #21621 from TDT-AG/pr/20230721-modemmanager

modemmanager: improve teardown handling

16 months agomodemmanger: add missing proto_init_update in teardown
Florian Eckert [Fri, 21 Jul 2023 11:09:48 +0000 (13:09 +0200)]
modemmanger: add missing proto_init_update in teardown

Inform netifd with missing 'proto_update', that the interface is not
up anymore.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
16 months agomodemmanager: do not set proto_notify_error on teardown
Florian Eckert [Fri, 21 Jul 2023 10:56:34 +0000 (12:56 +0200)]
modemmanager: do not set proto_notify_error on teardown

If on teardown the 'proto_notify_error' is set to 'MM_TEARDOWN_IN_PROGRESS',
then an error which is set on 'setup' is not visible in the ubus
network.interface.<iface> status output.

{
  "up": false,
  "pending": false,
  "available": true,
  "autostart": false,
  "dynamic": false,
  "proto": "modemmanager",
  "data": {
  },
  "errors": [
    {
      "subsystem": "dualsim",
      "code": "MM_TEARDOWN_IN_PROGRESS"
    }
  ]
}

It alway shows the code 'MM_TEARDWON_IN_PROGRESS'!

By removing the line 'proto_notify_error "${interface}" MM_TEARDOWN_IN_PROGRESS'
in teardown, the last error is show in the proto stack from setup.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
16 months agoMerge pull request #16300 from maxrd2/modemmanager-plmn-support
Florian Eckert [Mon, 24 Jul 2023 07:02:06 +0000 (09:02 +0200)]
Merge pull request #16300 from maxrd2/modemmanager-plmn-support

modemmanager: support setting plmn

16 months agoeasyloggingpp: Update version to 9.97.1
Volker Christian [Sun, 23 Jul 2023 12:24:05 +0000 (14:24 +0200)]
easyloggingpp: Update version to 9.97.1

Update to version 9.97.1 of easyloggingpp

Changelog from upstream
* Ensuring the build on ARM64 works
* Update gtest and cmake now requires C++14 because of that

Compile tested: arm_cortex-a7_neon-vfpv4, mips_24kc, aarch64_cortex-a53

Run tested: Linksys MR8300 (arm_cortex-a7_neon-vfpv4)
            GL.iNet GL-A1800 (arm_cortex-a7_neon-vfpv4)
            TP-Link_Archer A7 (mips_24kc),
            GL.iNet GL-MT3000 (aarch64_cortex-a53)

Signed-off-by: Volker Christian <me@vchrist.at>
16 months agobase16384: bump to version 2.2.4
源 文雨 [Sun, 23 Jul 2023 14:57:27 +0000 (14:57 +0000)]
base16384: bump to version 2.2.4

Signed-off-by: 源 文雨 <fumiama@foxmail.com>
16 months agoMerge pull request #21631 from stangri/master-https-dns-proxy
Stan Grishin [Sun, 23 Jul 2023 15:52:51 +0000 (08:52 -0700)]
Merge pull request #21631 from stangri/master-https-dns-proxy

https-dns-proxy: improve CLI messaging

16 months agoMerge pull request #21431 from stangri/master-nebula
Stan Grishin [Sun, 23 Jul 2023 15:52:31 +0000 (08:52 -0700)]
Merge pull request #21431 from stangri/master-nebula

nebula: update to 1.7.2 (and cosmetic fixes)

16 months agocurl: update to 8.2.0
Stan Grishin [Sun, 23 Jul 2023 15:48:18 +0000 (15:48 +0000)]
curl: update to 8.2.0

* https://curl.se/changes.html#8_2_0

Signed-off-by: Stan Grishin <stangri@melmac.ca>
16 months agoMerge pull request #21628 from stangri/master-simple-adblock
Stan Grishin [Sun, 23 Jul 2023 15:14:11 +0000 (08:14 -0700)]
Merge pull request #21628 from stangri/master-simple-adblock

simple-adblock: dnsmasq access bugfix & misc improvements

16 months agonode: bump to v18.17.0
Hirokazu MORIKAWA [Sun, 23 Jul 2023 03:01:13 +0000 (12:01 +0900)]
node: bump to v18.17.0

Notable Changes:
*Ada 2.0
 Node.js v18.17.0 comes with the latest version of the URL parser, Ada. This update brings significant performance improvements to URL parsing, including enhancements to the url.domainToASCII and url.domainToUnicode functions in node:url.

*Web Crypto API
 Web Crypto API functions' arguments are now coerced and validated as per their WebIDL definitions like in other Web Crypto API implementations. This further improves interoperability with other implementations of Web Crypto API.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
16 months agoMerge pull request #21570 from stintel/bump/softflowd
Stijn Tintel [Sun, 23 Jul 2023 08:23:50 +0000 (11:23 +0300)]
Merge pull request #21570 from stintel/bump/softflowd

softflowd: bump to 1.1.0

16 months agosoftflowd: bump to 1.1.0
Stijn Tintel [Sat, 15 Jul 2023 16:03:30 +0000 (19:03 +0300)]
softflowd: bump to 1.1.0

The tag is now prefixed with v; update PKG_SOURCE_URL and PKG_BUILD_DIR
to reflect this.
Drop upstreamed patches. Refresh leftover patch.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
16 months agohttps-dns-proxy: improve CLI messaging
Stan Grishin [Sun, 23 Jul 2023 05:22:04 +0000 (05:22 +0000)]
https-dns-proxy: improve CLI messaging

Signed-off-by: Stan Grishin <stangri@melmac.ca>
16 months agosimple-adblock: dnsmasq access bugfix & misc improvements
Stan Grishin [Sun, 23 Jul 2023 05:06:40 +0000 (05:06 +0000)]
simple-adblock: dnsmasq access bugfix & misc improvements

* fix permission to dnsmasq files for ad-blocking
* add pause function to pause the ad-blocking temporarily
* introduce pause_timeout option to control default pause time
* update default config and config-update file
* use $param instead of $1 in adb_start()

Signed-off-by: Stan Grishin <stangri@melmac.ca>
16 months agorust: put host build dir to target build dir
Tianling Shen [Fri, 21 Jul 2023 19:11:26 +0000 (03:11 +0800)]
rust: put host build dir to target build dir

When user runs `make clean` command, everything in `$(STAGING_DIR)`
(where we installed rust) will be removed, but `$(BUILD_DIR_HOST)`
(where we compiled rust and stored build stage) is untouched.

So when user starts a new build after that, OpenWrt buildroot will
still consider `rust` is installed already, resulting the build error
"cargo: command not found".

Fix this by moving to target build dir as well.

Fixes: f489e019ac4a ("rust: compile host package per target")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
16 months agosnort3: update to 3.1.66.0
John Audia [Thu, 20 Jul 2023 09:16:10 +0000 (05:16 -0400)]
snort3: update to 3.1.66.0

Upstream bump

Build system: x86/64
Build-tested: x86/64
Run-tested: x86/64

Signed-off-by: John Audia <therealgraysky@proton.me>
16 months agorclone: Update to 1.63.1
Tianling Shen [Fri, 21 Jul 2023 19:01:19 +0000 (03:01 +0800)]
rclone: Update to 1.63.1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
16 months agomodemmanager: support setting plmn
Mladen Milinkovic [Sat, 7 Aug 2021 09:28:57 +0000 (11:28 +0200)]
modemmanager: support setting plmn

Signed-off-by: Mladen Milinkovic <maxrd2@smoothware.net>
16 months agoMerge pull request #21585 from commodo/python-updates2
Alexandru Ardelean [Fri, 21 Jul 2023 07:53:02 +0000 (10:53 +0300)]
Merge pull request #21585 from commodo/python-updates2

django,numpy,lxml: bump versions

16 months agoMerge pull request #21604 from jefferyto/python3-netifaces-0.11.0
Josef Schlehofer [Fri, 21 Jul 2023 06:23:26 +0000 (08:23 +0200)]
Merge pull request #21604 from jefferyto/python3-netifaces-0.11.0

python3-netifaces: Update to 0.11.0, rename source package

16 months agoMerge pull request #21608 from jefferyto/python3-unidecode-1.3.6
Josef Schlehofer [Fri, 21 Jul 2023 06:22:59 +0000 (08:22 +0200)]
Merge pull request #21608 from jefferyto/python3-unidecode-1.3.6

python3-unidecode: Update to 1.3.6, rename source package

16 months agodocker-compose: Update to version 2.20.2
Javier Marcet [Wed, 19 Jul 2023 17:12:26 +0000 (19:12 +0200)]
docker-compose: Update to version 2.20.2

Signed-off-by: Javier Marcet <javier@marcet.info>
17 months agoeasyloggingpp: Add package
Volker Christian [Tue, 18 Jul 2023 13:28:49 +0000 (15:28 +0200)]
easyloggingpp: Add package
Maintainer: me@vchrist.at
Compile tested: OpenWRT-23.05-rc2, arm_cortex-a7_neon-vfpv4, mips_24kc
Run tested: arm_cortex-a7_neon-vfpv4 (Linksys MR8300), mips_24kc (tplink_archer-a7), OpenWrt 23.05-rc2

Description:
Easylogging++ is single header efficient logging library for C++ applications. It is extremely powerful,
highly extendable and configurable to user's requirements.

Signed-off-by: Volker Christian <me@vchrist.at>
17 months agov4l2camera: add new package
Michel Promonet [Sun, 11 Jun 2023 21:48:14 +0000 (23:48 +0200)]
v4l2camera: add new package

Signed-off-by: Michel Promonet <michel.promonet@free.fr>
Co-authored-by: Tianling Shen <cnsztl@gmail.com>
17 months agopython3-unidecode: Update to 1.3.6, rename source package
Jeffery To [Wed, 19 Jul 2023 18:45:44 +0000 (02:45 +0800)]
python3-unidecode: Update to 1.3.6, rename source package

This renames the source package to python-unidecode to match other
Python packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
17 months agopython3-netifaces: Update to 0.11.0, rename source package
Jeffery To [Wed, 19 Jul 2023 17:10:00 +0000 (01:10 +0800)]
python3-netifaces: Update to 0.11.0, rename source package

This renames the source package to python-netifaces to match other
Python packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
17 months agodnsproxy: Update to 0.52.0
Tianling Shen [Wed, 19 Jul 2023 07:46:15 +0000 (15:46 +0800)]
dnsproxy: Update to 0.52.0

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
17 months agocloudflared: Update to 2023.7.1
Tianling Shen [Wed, 19 Jul 2023 07:46:07 +0000 (15:46 +0800)]
cloudflared: Update to 2023.7.1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
17 months agosnowflake: update to 2.6.0
Nick Hainke [Tue, 27 Jun 2023 07:58:08 +0000 (09:58 +0200)]
snowflake: update to 2.6.0

Tor projects tries to migrate away from git.torproject.org [0,1]. We
need to adjust PKG_SOURCE and GO_PKG name. Further, we need to backport
patches to fix compiling on riscv64, so add:
- 0001-Bump-minimum-required-version-of-go.patch
- 0002-Update-dependencies.patch

Changelog:
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/commit/2fa8fd9188078eaa169f1edd16815deae4004c6c

[0] - https://gitlab.torproject.org/tpo/anti-censorship/team/-/issues/86
[1] - https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake/-/commit/82cc0f38f73c4ca4e12d22173562a092ebd4dea0

Signed-off-by: Nick Hainke <vincent@systemli.org>
17 months agocpusage: remove AUTORELEASE
Kuan-Yi Li [Tue, 18 Jul 2023 00:22:20 +0000 (08:22 +0800)]
cpusage: remove AUTORELEASE

Commit 0c10c224be81 only handles the case where AUTORELEASE is used in
PKG_RELEASE thus this package was left behind. Let's fix this up.

Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
17 months agotransmission: add ftruncate syscall to seccomp
Marius Dinu [Sun, 16 Jul 2023 13:43:25 +0000 (16:43 +0300)]
transmission: add ftruncate syscall to seccomp

Fixes many crashes.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
17 months agonvme-cli: Add new package
Luca Barbato [Tue, 11 Jul 2023 14:01:16 +0000 (14:01 +0000)]
nvme-cli: Add new package

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
17 months agoMerge pull request #21593 from jefferyto/ci-fix-pkg-source
Tianling Shen [Tue, 18 Jul 2023 11:12:05 +0000 (19:12 +0800)]
Merge pull request #21593 from jefferyto/ci-fix-pkg-source

CI: Fix finding test script