opencc (1.1.3+ds1-3ubuntu3.1) jammy-security; urgency=medium

  * SECURITY UPDATE: heap-based buffer overflow
    - debian/patches/CVE-2025-15536.patch: fix two out-of-bounds read
      issues when handling truncated UTF-8 input in src/Conversion.cpp,
      src/ConversionTest.cpp, src/MaxMatchSegmentation.cpp,
      src/MaxMatchSegmentationTest.cpp.
    - CVE-2025-15536

 -- Marc Deslauriers <marc.deslauriers@ubuntu.com>  Tue, 20 Jan 2026 10:17:23 -0500

opencc (1.1.3+ds1-3ubuntu3) jammy; urgency=high

  * No change rebuild for ppc64el baseline bump.

 -- Julian Andres Klode <juliank@ubuntu.com>  Thu, 24 Mar 2022 17:21:57 +0100

opencc (1.1.3+ds1-3ubuntu2) jammy; urgency=medium

  * Refresh symbols also for riscv64 on Ubuntu

 -- Gunnar Hjalmarsson <gunnarhj@ubuntu.com>  Tue, 19 Oct 2021 00:59:09 +0200

opencc (1.1.3+ds1-3ubuntu1) jammy; urgency=medium

  * Merge with Debian, remaining changes:
    - Symbols file modified for Ubuntu
  * Refresh symbols for Ubuntu

 -- Gunnar Hjalmarsson <gunnarhj@ubuntu.com>  Tue, 19 Oct 2021 00:00:44 +0200

opencc (1.1.3+ds1-3) unstable; urgency=medium

  * Refresh symbols again for all archs using buildd logs.

 -- Boyuan Yang <byang@debian.org>  Mon, 20 Sep 2021 15:44:37 -0400

opencc (1.1.3+ds1-2) unstable; urgency=medium

  * Refresh symbols for all archs using buildd logs.

 -- Boyuan Yang <byang@debian.org>  Sun, 19 Sep 2021 16:32:52 -0400

opencc (1.1.3+ds1-1) unstable; urgency=medium

  * New upstream release 1.1.3.
  * Add myself into uploaders list.
  * debian/patches: Refresh patches.
    + 0002-use-system-libraries.patch: Dropped, upstream now provides
      CMake options to use system libraries.
    + Drop backported patches (0006, 0007), merged upstream.
  * debian/control:
    + Bump Standards-Version to 4.6.0.
    + Add new build-dependency pybind11-dev.
  * debian/rules: Refresh cmake build options.
  * debian/libopencc1.1.symbols: Refresh symbols.

 -- Boyuan Yang <byang@debian.org>  Sat, 18 Sep 2021 21:13:03 -0400

opencc (1.1.1+git20200624+ds2-10ubuntu3) impish; urgency=medium

  * Further symbols file modification to prevent FTBFS

 -- Gunnar Hjalmarsson <gunnarhj@ubuntu.com>  Wed, 11 Aug 2021 14:19:15 +0200

opencc (1.1.1+git20200624+ds2-10ubuntu2) hirsute; urgency=medium

  * Further symbols file modification to prevent FTBFS
    - Most archs tweaked compared to Debian

 -- Gunnar Hjalmarsson <gunnarhj@ubuntu.com>  Mon, 29 Mar 2021 14:12:10 +0200

opencc (1.1.1+git20200624+ds2-10ubuntu1) hirsute; urgency=medium

  * Merge with Debian (LP: #1917909), remaining changes:
    - Symbols file modified for armhf, i386 and s390x

 -- Gunnar Hjalmarsson <gunnarhj@ubuntu.com>  Sun, 07 Mar 2021 16:19:22 +0100

opencc (1.1.1+git20200624+ds2-10) unstable; urgency=medium

  * Team upload.
  * Upload to unstable.
  * Backport patch to fix performance regression again.
    Add
    + 0006-Fix-a-bug-in-the-calculation-of-DictGroup-keyMaxLeng.patch
    + 0007-Fix-a-severe-performance-bug-in-Conversion-Convert-t.patch

 -- Shengjing Zhu <zhsj@debian.org>  Sun, 07 Mar 2021 14:20:40 +0800

opencc (1.1.1+git20200624+ds2-9) experimental; urgency=medium

  * Team upload.
  * Remove unused command from autopkgtest scripts
  * Add build-essential to autopkgtest

 -- Shengjing Zhu <zhsj@debian.org>  Sun, 07 Mar 2021 00:54:22 +0800

opencc (1.1.1+git20200624+ds2-8) experimental; urgency=medium

  * Team upload.
  * Enable test when building
  * Add autopkgtest

 -- Shengjing Zhu <zhsj@debian.org>  Sat, 06 Mar 2021 17:57:00 +0800

opencc (1.1.1+git20200624+ds2-7) unstable; urgency=high

  * Team upload.
  * Drop debian/patches/0005 for now due to regression reported.
    See also https://github.com/fcitx/fcitx5/issues/238 .

 -- Boyuan Yang <byang@debian.org>  Fri, 05 Mar 2021 09:37:48 -0500

opencc (1.1.1+git20200624+ds2-6ubuntu1) hirsute; urgency=medium

  * Merge with Debian (LP: #1917310), remaining changes:
    - Symbols file modified for armhf, i386 and s390x

 -- Gunnar Hjalmarsson <gunnarhj@ubuntu.com>  Mon, 01 Mar 2021 13:28:03 +0100

opencc (1.1.1+git20200624+ds2-6) unstable; urgency=high

  * Team upload.
  * debian/patches/0005: Add upstream patch to fix severe performance
    regression in `Conversion::Convert` that caused O(N^2) complexity.
  * debian/rules: Disable parallel build to workaround some random
    build error for now.

 -- Boyuan Yang <byang@debian.org>  Sun, 28 Feb 2021 19:48:01 -0500

opencc (1.1.1+git20200624+ds2-5ubuntu1) hirsute; urgency=medium

  * Merge with Debian, remaining changes:
    - Symbols file modified for armhf, i386 and s390x

 -- Gunnar Hjalmarsson <gunnarhj@ubuntu.com>  Thu, 18 Feb 2021 23:03:00 +0100

opencc (1.1.1+git20200624+ds2-5) unstable; urgency=medium

  * Team upload.
  * debian/rules: Rewrite to support <!nodoc> build profile.
  * debian/rules: Enable dh_doxygen when building docs.
  * Drop unnecessary build dependencies. (Closes: #981606)
  * debian/control: Mark build-dependency doxygen as <!nodoc>.
  * debian/control: Drop build-dependency on libjs-jquery. Let
    doxygen handle it.
  * debian/control: Drop build-dependency on graphviz. Doxyfile
    did not enable HAVE_DOT.
  * debian/control: Drop build-dependency on dartz. Currently opencc
    uses its vendored copy.

 -- Boyuan Yang <byang@debian.org>  Tue, 02 Feb 2021 11:58:39 -0500

opencc (1.1.1+git20200624+ds2-4ubuntu1) hirsute; urgency=medium

  * debian/libopencc1.1.symbols:
    - Refreshed due to s390x on Ubuntu (LP: #1912882)

 -- Gunnar Hjalmarsson <gunnarhj@ubuntu.com>  Sat, 23 Jan 2021 11:12:00 +0100

opencc (1.1.1+git20200624+ds2-4) unstable; urgency=medium

  * Build-depends on pkg-kde-tools to handle symbols.
  * debian/libopencc1.1.symbols: Refresh symbols using Debian
    buildd logs.

 -- Boyuan Yang <byang@debian.org>  Sun, 17 Jan 2021 17:52:00 -0500

opencc (1.1.1+git20200624+ds2-3) unstable; urgency=medium

  * Team upload.

  [ Gunnar Hjalmarsson ]
  * Replace shlibs file with symbols file
  * debian/patches/no-remote-images-when-reading-docs-on-disk.patch:
    - Fixes a privacy breach previously reported as Lintian warnings
  * Bump Standards-Version to 4.5.1
  * debian/source/lintian-overrides:
    - Explain why libopencc1.1 is not multi-archified even if
      libopencc-dev depends on it.

  [ Boyuan Yang ]
  * Mark package libopencc-dev as Multi-Arch: same

 -- Boyuan Yang <byang@debian.org>  Sat, 16 Jan 2021 10:36:38 -0500

opencc (1.1.1+git20200624+ds2-2) unstable; urgency=high

  * Team upload.
  * debian/control: Mark package libopencc-data Breaks+Replaces the
    old libopencc2-data package. (Closes: #963187)

 -- Boyuan Yang <byang@debian.org>  Sat, 04 Jul 2020 13:46:28 -0400

opencc (1.1.1+git20200624+ds2-1) unstable; urgency=medium

  * Team upload.
  * Upload to unstable.

 -- Boyuan Yang <byang@debian.org>  Sat, 04 Jul 2020 06:28:22 -0400

opencc (1.1.1+git20200624+ds2-1~exp2) experimental; urgency=medium

  * Team upload.
  * Rebuild against marisa 0.2.6.

 -- Boyuan Yang <byang@debian.org>  Fri, 03 Jul 2020 17:40:16 -0400

opencc (1.1.1+git20200624+ds2-1~exp1) experimental; urgency=medium

  * Team upload.

  [ 肖盛文 ]
  * add libopencc-doc.doc-base,to register opencc to doc-base
  * d/control:
     - add Section: doc for libopencc-doc
     - add Depends: libjs-jquery for the libopencc-doc package

  [ Boyuan Yang ]
  * Import new upstream snapshot 2020-06-24 to fix some bugs.
  * debian/patches: Refresh patches.

 -- Boyuan Yang <byang@debian.org>  Thu, 25 Jun 2020 20:34:50 -0400

opencc (1.1.1+ds1-1~exp1) experimental; urgency=medium

  * Team upload.

  [ 肖盛文 ]
  * New upstream version 1.1.1
  * change libopencc data pkgname from libopencc[num]-data to libopencc-data
  * change libopencc pkgname from libopencc2 to libopencc1.1
  * update debian/libopencc1.1.install for filename *.ocd2
  * d/rules:
     - delete override_dh_missing:
     - use execute_after_dh_auto_clean:
     - use execute_after_dh_auto_install:
  * d/copyright:
     - update dirname for new upstream version
     - add xiao sheng wen <atzlinux@sina.com> for debian/*
     - add Upstream-Contact
  * d/control:
     - add Rules-Requires-Root: no
     - add New Uploaders: xiao sheng wen
     - delete some Replaces: and Breaks:,
       let the new version packages can co-exist with the old ones.
  * add debian/upstream/metadata
  * d/watch: use @PACKAGE@ @ANY_VERSION@@ARCHIVE_EXT@

  [ Boyuan Yang ]
  * ds: Do not include bundled gtest and libmarisa.
  * debian/rules: Explicitly disable building bundled libmarisa.
  * debian/libopencc1.1.shlibs: Reset version requirement.
  * debian/control: Add new build-dependency libmarisa-dev.
  * debian/patches: Refreshed.

 -- Boyuan Yang <byang@debian.org>  Sat, 23 May 2020 15:51:01 -0400

opencc (1.0.6-2) unstable; urgency=medium

  * Team upload.
  * debian/libopencc2.shlibs: Bump version requirement to 1.0.6.
  * debian/control: Bump debhelper compat to v13.
  * debian/rules: Drop as-needed linker flag.

 -- Boyuan Yang <byang@debian.org>  Sat, 02 May 2020 10:46:44 -0400

opencc (1.0.6-1) unstable; urgency=medium

  * Team upload.
  * New upstream release 1.0.6.
  * debian/control:
    + Bump Standards-Version to 4.5.0.
    + Add Debian Chinese Team into uploaders to show team's interest
      in package co-maintenance.
  * debian/patches: Refresh patches.

 -- Boyuan Yang <byang@debian.org>  Mon, 13 Apr 2020 18:20:20 -0400

opencc (1.0.5+git20190530-1) unstable; urgency=medium

  * Team upload.
  * New upstream git snapshot (2019-05-30).
    - opencc::ConvertDirectory is now exported.
    - Various fixes and document updates.
  * debian/control:
    + Bump Standards-Version to 4.4.0.
    + Bump debhelper copmat to v12.
    + Add build-dependency graphviz for dot support for doxygen.
  * debian/patches: Add patch 0004 to migrate from python2 to
    python3. (Closes: #937195)

 -- Boyuan Yang <byang@debian.org>  Fri, 30 Aug 2019 14:09:03 -0400

opencc (1.0.5-2) unstable; urgency=medium

  * Team upload.
  * Rebuild against gcc 8.
  * debian/control:
    + Update uploaders email address and use the @debian.org one.
    + Bump Standards-Version to 4.2.1 (no changes needed).
  * debian/rules: Avoid explicit invocation to dpkg-architecture.

 -- Boyuan Yang <byang@debian.org>  Thu, 20 Sep 2018 15:07:38 -0400

opencc (1.0.5-1) unstable; urgency=medium

  * Team upload.
  * New upstream Release.
  * Remove libopencc2 M-A:same mark for now since ocd files exist.
    (Closes: #874227)
  * Remove LI Daobing from Uploaders list. (Closes: #841792)
    Thank you for your previous work!
  * Apply "wrap-and-sort -abst".
  * d/patches: Refresh patches.
  * d/changelog: Remove trailing spaces.
  * d/control: Use debian-input-method maillist in Maintainer field.
    Closes: #899625.
  * d/control: Use Vcs URL on Salsa platform.
  * d/control: Bump Standards-Version to 4.1.4.
  * d/control: Bump debhelper compat to v11.
  * d/rules: Use NEWS.md as upstream changelog.
  * d/rules: Use "dh_missing --fail-missing".
  * d/shlibs: Explicitly require the latest library version.

 -- Boyuan Yang <073plan@gmail.com>  Thu, 21 Jun 2018 11:18:37 +0800

opencc (1.0.4-5) unstable; urgency=medium

  * Make ocd data files arch:any (Closes: #851733)

 -- Aron Xu <aron@debian.org>  Fri, 20 Jan 2017 15:15:35 +0800

opencc (1.0.4-4) unstable; urgency=medium

  * Tighter Breaks/Conflicts version (Closes: #847145)

 -- Aron Xu <aron@debian.org>  Mon, 19 Dec 2016 23:30:01 +0800

opencc (1.0.4-3) unstable; urgency=medium

  * Correct Breaks/Conflicts version (Closes: #846665)

 -- Aron Xu <aron@debian.org>  Sun, 04 Dec 2016 16:39:48 +0800

opencc (1.0.4-2) unstable; urgency=medium

  [ Aron Xu ]
  * Install data files to libopencc2-data, drop -dbg package
    (Closes: #836395)

  [ Boyuan Yang ]
  * Add BSD-3-clause license in d/copyright

 -- Aron Xu <aron@debian.org>  Sat, 03 Sep 2016 21:07:26 +0800

opencc (1.0.4-1) unstable; urgency=medium

  * Imported Upstream version 1.0.4
  * Update d/watch to Github URL
  * std-ver: 3.9.6 -> 3.9.8, no change
  * Update VCS-Browser URL to use HTTPS

 -- Aron Xu <aron@debian.org>  Mon, 08 Aug 2016 14:43:15 +0800

opencc (1.0.3-1) experimental; urgency=medium

  * New upstream release
  * Add myself to Uploaders
  * Drop symbols file, see README.Debian

 -- Aron Xu <aron@debian.org>  Wed, 16 Dec 2015 00:34:21 +0800

opencc (1.0.2-1) experimental; urgency=medium

  * Team upload for new upstream release.
  * SONAME transition: libopencc1 -> libopencc2
  * Add libjs-jquery, libtclap-dev, darts, rapidjson-dev to B-D.
  * Patches added/updated:
    - lib-name-match-soversion.patch: rename library to match SONAME
    - install-data-file-to-meet-need-of-multi-arch.patch: updated
    - use-system-libraries.patch: do not use embeded libraries
  * Use system version of jquery.js instead of embeded one.
  * Removed python-opencc, upstream abandoned.
  * Updated symbols file.
  * Rewrite copyright file to machine-readable format.
  * Allow parallel building.

 -- Aron Xu <aron@debian.org>  Thu, 20 Nov 2014 17:09:31 +0800

opencc (0.4.3-2) unstable; urgency=low

  * Add the python-opencc package to support the Python binding.
    Closes: #694993
  * Bump standard version to 3.9.5.

 -- Osamu Aoki <osamu@debian.org>  Sat, 02 Nov 2013 12:17:51 +0900

opencc (0.4.3-1) experimental; urgency=low

  * New upstream release.
  * Update watch file.
  * Clean up debian/control and wrap-and-sort.
  * Update symbols file.

 -- Osamu Aoki <osamu@debian.org>  Sun, 15 Sep 2013 00:13:31 +0900

opencc (0.4.0-1) experimental; urgency=low

  * New upstream release
  * fix-new-test-cases.patch in upstream
  * part of more_clear_man_c_option.patch is in upstream
    the rest is in install-data-file-to-meet-need-of-multi-arch.path

 -- Asias He <asias@debian.org>  Fri, 05 Apr 2013 10:52:29 +0800

opencc (0.3.0-3) unstable; urgency=low

  * Rebuild to
    generate little endian mo file on any arch (Closes: #670016).
  * add an - before include buildflags.mk

 -- YunQiang Su <wzssyqa@gmail.com>  Sun, 10 Jun 2012 19:35:51 +0800

opencc (0.3.0-2) unstable; urgency=low

  * Multi-arch it.
  * Add libopencc-dbg package.
  * Bump standard version to 3.9.3.
  * Add YunQiang Su to Uploaders.
  * Enable CPPFLAGS hardening flags (Closes: #665322).
  * Better explanation for the -c option arguments of opencc,
    give the path of these files out. (Closes: #656201).

 -- YunQiang Su <wzssyqa@gmail.com>  Thu, 29 Mar 2012 03:22:51 +0800

opencc (0.3.0-1) unstable; urgency=low

  * Team upload.

  [ Kan-Ru Chen ]
  * New upstream release
  * debian/control:
    - Remove autotools-dev and quilt from Build-Depends
  * debian/rules:
    - Support `nostrip' DEB_BUILD_OPTIONS
    - Enable hardening flags.
  * debian/docs: Install NEWS
  * debian/copyright: Update update url
  * debian/watch: Update upstream url
  * debian/patches/fix-big-endian-build.diff: merged upstream
  * debian/patches/fix-new-test-cases.patch: New patch.

 -- Kan-Ru Chen <koster@debian.org>  Sat, 17 Dec 2011 16:41:49 +0800

opencc (0.2.0-2) unstable; urgency=low

  * Fix "Please fix FTBFS on mips, ppc, s390 and sparc" (Closes: #624562)
  * debian/control: bump standards version to 3.9.2.
  * Set DM-Upload-Allowed to yes

 -- Asias He <asias.hejun@gmail.com>  Mon, 16 May 2011 20:46:03 +0800

opencc (0.2.0-1) unstable; urgency=low

  * New upstream release
  * Move usr/share/locale to package opencc
  * Add cmake to Build-Depends
  * Change Homepage to http://code.google.com/p/opencc
  * Set Vcs to git.debian.org

 -- Asias He <asias.hejun@gmail.com>  Thu, 17 Mar 2011 21:36:41 +0800

opencc (0.1.2-1) unstable; urgency=low

  * New upstream release.
  * debian/libopencc1.symbols: updated.

 -- LI Daobing <lidaobing@debian.org>  Wed, 22 Sep 2010 20:40:54 +0800

opencc (0.1.1-2) unstable; urgency=low

  *debian/control: add Conflicts to libopencc0 (Closes: #596434)

 -- Asias He <asias.hejun@gmail.com>  Sun, 12 Sep 2010 14:58:18 +0800

opencc (0.1.1-1) unstable; urgency=low

  [ Asias He ]
  * New upstream release (closes: #591076).
  * debian/control: bump standards version to 3.9.1.
  * debian/watch: use googlecode.debian.net.

  [ LI Daobing ]
  * debian/clean: added.

 -- LI Daobing <lidaobing@debian.org>  Wed, 11 Aug 2010 22:04:12 +0800

opencc (0.1.0-1) unstable; urgency=low

  * New upstream release.
  * debian/control:
    - bump standards version to 3.9.1.
    - libopencc0 -> libopecc1 (closes: #590473).
    - libopencc1 replaces libopencc0.
  * libopencc0 -> libopencc1:
    - debian/libopencc0.install => debian/libopencc1.install
    - debian/libopencc0.symbols => debian/libopencc1.symbols

 -- LI Daobing <lidaobing@debian.org>  Thu, 29 Jul 2010 23:05:17 +0800

opencc (0.0.5-1) unstable; urgency=low

  * New upstream release.
  * debian/control: no longer build depends on python.
  * debian/opencc.install: move .mo files to libopencc0.
  * debian/libopencc0.install: install .mo files.
  * debian/opencc_dict.1: deleted.
  * debian/opencc.manpages: deleted.

 -- LI Daobing <lidaobing@debian.org>  Wed, 21 Jul 2010 22:42:32 +0800

opencc (0.0.4-1) unstable; urgency=low

  * New upstream release.
  * debian/control: bump standards version to 3.9.0.

 -- LI Daobing <lidaobing@debian.org>  Fri, 16 Jul 2010 23:52:08 +0800

opencc (0.0.3-1) unstable; urgency=low

  * New upstream release.
  * debian/opencc.install: updated.
  * debian/control: opencc depends on libopencc0 at the same version.

 -- LI Daobing <lidaobing@debian.org>  Tue, 22 Jun 2010 19:08:33 +0800

opencc (0.0.2-1) unstable; urgency=low

  * Initial release (Closes: #585621)

 -- LI Daobing <lidaobing@debian.org>  Sat, 19 Jun 2010 18:27:20 +0800
