liboprf (0.6.1-1) unstable; urgency=medium

  * New upstream, shipped Jan 13, 2025:
    - [fix] make noise_xk makefile cflags ?= not += for packagers
    This should finally fix "unconditionally sets FORTIFY_SOURCE=2 flag".
    Thanks to Gianfranco Costamagna and Gui-Yue.  Closes: #1091671

  * d/rules: add a bunch of paths to -I in CFLAGS: deal with
    src/noise_xk/makefile and src/noise_xk/example/makefile.

 -- Joost van Baal-Ilić <joostvb@debian.org>  Wed, 15 Jan 2025 07:23:06 +0100

liboprf (0.6.0-1) unstable; urgency=medium

  * This release was never uploaded.
  * New upstream, shipped Jan 7, 2025. Changes in 0.6.0 and
    0.5.0, which shipped Jan 2, 2025:
    [fix] added also tpdkg_peerstate_step() needed by any peer
    [fix] replaced the hardcoded 64bit state structs in python with getters in
     c, making the whole of it much more portable if using python
    [fix] pyoprf tpdkg now works on i686
    [mod] define log_file as extern in tp-dkg.h
    [mod] flush logfile in dump()
    [enh] correctly working vsps check tests
    [enh] added some more trace msgs in case of unit testing to toprf.c
    [enh] added working toprf_mpc_vsps_check()
    [doc] added short comment to dkg.c:polynom()
    [doc] small fixes to tp-update.txt
    [enh] if UNIT_TEST warn only once for non random generator
    [doc] formatting in tp-dkg
    [mod] need to -U fortify source first
    [mod] using consistently -D_FORTIFY_SOURCE=3 everywhere
    [mod] toprf_thresholdcombine() returns 1 on error
    [fix] indexing correctly the indexes array
    [mod] bruteforcing vsps_check
    [mod] trying to get t right
    [mod] trying to implement vsps test from GRR98
    [mod] simplified slightly test makefile
    [enh] aded invertedVDMmatrix() wrapping and hiding genVDM and invert in
     mpmult
    [mod] some more references to the mp multiplication paper and a fix in the
     mpmult test
    [doc] started spec on tp-update protocol
    [enh] mpmult works for all peers even beyond 2t+1
    [enh] added multiparty multiplication - enabling barebones (hazard!)
     updating of tOPRF
    [mod] moved toprf test to tests, some cleanups in tests/makefile
    [enh] added debug target to makefile

  * d/patches/series: disable no-fortify-source.patch: no longer patch
    hardcoded -D_FORTIFY_SOURCE=2 out of makefile, but go with current
    upstream -D_FORTIFY_SOURCE=3. This is yet another attempt to
    close # 1091671.

 -- Joost van Baal-Ilić <joostvb@debian.org>  Sat, 11 Jan 2025 13:25:26 +0100

liboprf (0.4.0-1.1) unstable; urgency=medium

  * This release was never uploaded.
  * Add patch to stop enforcing fortify_source flag (Closes: #1091671)

 -- Gianfranco Costamagna <locutusofborg@debian.org>  Wed, 11 Dec 2024 20:10:03 +0100

liboprf (0.4.0-1) unstable; urgency=low

  * New upstream, shipped Sept 28, 2024:
    - python/setup.py: [mod] added install_requires to setup.py
    - python/pyoprf/__init__.py: [fix] ugly workaround to have
        DKG_TP_*State structs 32B aligned
    - python/test.py: [enh] combinatorically testing all combinations of
        3hashtdh results
    - python/pyoprf/__init__.py, python/test.py, src/toprf.c, src/toprf.h:
        [enh] added native implementation of 3hashtdh to liboprf
    - python/3hashtdh.py: [enh] added 3hashtdh PoC
    - src/makefile: [fix] don't set funky hardening on intel darwin
    - src/makefile, src/noise_xk/example/makefile, src/noise_xk/makefile,
        src/tests/makefile: [fix] parisc* arch doesn't support clash protection
    - python/pyoprf/__init__.py: [fix] wrong peers_len in pyoprf
    - README.md: [doc] referenced also the GJKNX24 paper in the readme
    - python/{ => examples}/3hashtdh.py, python/{ => examples}/tpdkg_test.py,
        python/test.py, python/tests/test.py: [enh] converted basic tests into
        proper python unittests
    - python/authorized_keys: [mod] removed obsolete authorized_keys file from
        python/

  * d/patches/series: drop 0004-fix-fcf-protection-full_error.patch: included
    upstream

  * d/control: drop libequihash-dev from Build-Depends: ; add python3-pysodium,
    liboprf0t64 to python3-pyoprf Depends: , cf
    https://salsa.debian.org/debian/liboprf/-/merge_requests/1 . Thanks stef.

 -- Joost van Baal-Ilić <joostvb@debian.org>  Sun, 29 Sep 2024 09:59:53 +0200

liboprf (0.3.2-3) unstable; urgency=low

  * d/patches/0004-fix-fcf-protection-full_error.patch: add patch contributed
    by Gui-Yue <yuemeng.gui@g.c>.  (And drop the incomplete
    0002-fcf-protection.patch .)  This fixes some of the build errors on
    some arches, and partly fixes #1081819.

 -- Joost van Baal-Ilić <joostvb@debian.org>  Wed, 18 Sep 2024 14:13:20 +0200

liboprf (0.3.2-2) unstable; urgency=low

  * d/patches: add 0002-fcf-protection.patch taken from upstream.  (Should) fix
    builds on arm64, armel, armhf, mips64el, ppc64el, riscv64 and s390x.

 -- Joost van Baal-Ilić <joostvb@debian.org>  Sun, 15 Sep 2024 09:08:07 +0200

liboprf (0.3.2-1) unstable; urgency=low

  * New upstream, shipped Sept 5, 2024.
    - d/patches/{0001-default-source.patch,0002-default-source.patch}: drop:
      now shipped with upstream.
    - d/rules: drop explicit -D_DEFAULT_SOURCE from CFLAGS and CPPFLAGS: no
      longer needed for build in src/test: upstream makefile got adjusted.

  * d/copyright: record license information of src/noise_xk/include/karmel/*.

  * d/liboprf-dev.install: executable, install liboprf{,-noiseXK}.a in arch
    specific directory usr/lib/${DEB_HOST_MULTIARCH}/ .
  * d/liboprf-dev.links: install symlink liboprf-noiseXK.so ->
    liboprf-noiseXK.so.0.
  * d/liboprf0t64.install: executable.

  * d/python3-pyoprf.install: executable.
  * d/control: add dh-python, python3-setuptools to Build-Depends.
  * d/control: add python3:any to python3-pyoprf Depends.
  * d/rules: add --with python3 to dh_auto_configure and to dh.

 -- Joost van Baal-Ilić <joostvb@debian.org>  Sat, 14 Sep 2024 15:48:15 +0200

liboprf (0.3.1-1) unstable; urgency=low

  * This release was never uploaded.

  * New upstream, shipped Aug 31, 2024.  (Missed 0.2.0 which shipped Dec 7,
    2023; missed 0.3.0 which shipped Aug 21, 2024.)

  * d/rules: add --sourcedirectory=src: new upstream source layout.
  * d/liboprf-dev.install: we no longer ship liboprf.a, but liboprf-noiseXK.a.
    We now also ship usr/include/oprf/noiseXK/ and
    usr/include/oprf/noiseXK/karmel/krml/ .
  * d/liboprf0t64.install: install new usr/lib/liboprf-noiseXK.so.0
  * d/not-installed: add usr/lib/liboprf-noiseXK.so

  * d/control: ship new binary package python3-pyoprf: Python 3 bindings.
  * d/control: add python3-all to build-depends.
  * d/rules: build new python3 binary package: add explicit "dh_auto_configure",
    add extra dh_auto_install call.
  * d/rules: explicitly set PYBUILD_SYSTEM.
  * d/python3-pyoprf.install: added.
  * d/not-installed: add usr/lib/python*/dist-packages/pyoprf/__pycache__/

  * d/patches/0001-default-source.patch: add: cherry picked from upstream.
  * d/patches/0002-default-source.patch: add: cherry picked from upstream: fix
    build of tp-dkg-corrupt, do no longer set CFLAGS unconditionally.
  * d/rules: add -D_DEFAULT_SOURCE to CPPFLAGS: needed for build in src/test.

 -- Joost van Baal-Ilić <joostvb@debian.org>  Sun, 01 Sep 2024 18:06:39 +0200

liboprf (0.1+git20231001.0da3e2b-1.1) unstable; urgency=medium

  * Non-maintainer upload.
  * Rename libraries for 64-bit time_t transition.  Closes: #1062555

 -- Benjamin Drung <bdrung@debian.org>  Wed, 28 Feb 2024 16:06:06 +0000

liboprf (0.1+git20231001.0da3e2b-1) unstable; urgency=low

  * New upstream git snapshot (thanks again Thorsten Alteholz for
    meticulous checking of upstream sources):
    - oprf.c, toprf.c, toprh.h: [mod] changed license header in .c files
    - [fix] license text in oprf.c and toprf.h

 -- Joost van Baal-Ilić <joostvb@debian.org>  Wed, 04 Oct 2023 16:07:26 +0200

liboprf (0.1+git20230911.647f148-2) unstable; urgency=low

  * Reupload as source only in order to enter Debian/testing.

 -- Joost van Baal-Ilić <joostvb@debian.org>  Fri, 29 Sep 2023 19:34:51 +0200

liboprf (0.1+git20230911.647f148-1) unstable; urgency=low

  * New upstream git snapshot (thanks to Thorsten Alteholz for meticulous
    checking of upstream sources):
    - oprf.c, toprf.c, toprf.h: [fix] (c) headers
  * Initial release.  (Closes: #1049347)

 -- Joost van Baal-Ilić <joostvb@debian.org>  Mon, 18 Sep 2023 20:32:12 +0200

liboprf (0.1+git20230829.04fcb6a-2) unstable; urgency=low

  * d/liboprf-dev.docs: install upstream README.md.

 -- Joost van Baal-Ilić <joostvb@debian.org>  Sat, 02 Sep 2023 06:35:25 +0200

liboprf (0.1+git20230829.04fcb6a-1) unstable; urgency=low

  * This release was never uploaded.
  * New upstream git snapshot:
    - makefile: install both liboprf.so and liboprf.so.0
  * debian/liboprf0.install: adjust liboprf.so to liboprf.so.0.
  * debian/not-installed: added: we take care of the liboprf.so ->
    liboprf.so.0 symlink in debian/liboprf-dev.links, we do not use the
    upstream makefile for that.
  * liboprf-dev.install: deal with liboprf.a.
  * d/rules: seems hardcoded -lsodium is now needed.

 -- Joost van Baal-Ilić <joostvb@debian.org>  Fri, 01 Sep 2023 10:01:05 +0200

liboprf (0.1+git20230828.e8bbdbd-1) unstable; urgency=low

  * This release was never uploaded.
  * New upstream git snapshot:
    - set soname to liboprf.so.0

 -- Joost van Baal-Ilić <joostvb@debian.org>  Mon, 28 Aug 2023 06:50:57 +0200

liboprf (0.1+git20230824.c0ad5ea-1) unstable; urgency=low

  * This release was never uploaded.
  * New upstream git snapshot:
    - Don't use "cp" to install, but use "install -D": do not assume parent
      directories exist.
    So we no longer carry d/patches/makefile.patch.
  * d/control: liboprf-dev shorten synopsis, tnx lintian.
  * d/control: add Build-Depends dh-exec (>=0.3), as used in d/*install.
  * d/control: add missing Build-Depends libsodium-dev.
  * d/liboprf-dev.install: fix paths, deal with dkg.h and liboprf.a.
    tnx dh_missing.
  * d/liboprf-dev.links: as in libsphinx-dev.

 -- Joost van Baal-Ilić <joostvb@debian.org>  Sun, 27 Aug 2023 09:05:04 +0200

liboprf (0.1+git20230823.0e0197e-1) unstable; urgency=low

  * This release was never uploaded.
  * New upstream git snapshot:
    - fixed license: now consistently LGPL
    - DESTDIR support in makefile

 -- Joost van Baal-Ilić <joostvb@debian.org>  Thu, 24 Aug 2023 15:53:02 +0200

liboprf (0.1-2) unstable; urgency=low

  * This release was never uploaded.
  * d/control: use same address for stef as in related packages.

 -- Joost van Baal-Ilić <joostvb@debian.org>  Sun, 20 Aug 2023 10:41:16 +0200

liboprf (0.1-1) unstable; urgency=low

  * This release was never uploaded.

 -- Joost van Baal-Ilić <joostvb@debian.org>  Sat, 19 Aug 2023 07:56:19 +0200
