nano (6.2-1ubuntu0.2) jammy-security; urgency=medium

  * SECURITY UPDATE: Incorrect permission assignment.
    - debian/patches/CVE-2026-6842.patch: Create ~/.local with correct
      permissions in src/history.c.
    - CVE-2026-6842
  * SECURITY UPDATE: Denial of service in redecorate_after_switch
    - debian/patches/CVE-2026-6843.patch: Escape error message to avoid
      content being interpreted as format specifiers in src/files.c
    - CVE-2026-6843

 -- Kyle Kernick <kyle.kernick@canonical.com>  Wed, 03 Jun 2026 16:51:38 -0600

nano (6.2-1ubuntu0.1) jammy-security; urgency=medium

  * SECURITY UPDATE: Emergency file could be replaced by a malicious symlink.
    - debian/patches/CVE-2024-5742.patch: Use fchmod and fchown in write_file()
      in src/files.c instead of using chmod and chown in emergency_save() in
      src/nano.c. Add EMERGENCY write type in kind_of_writing_type enum in
      src/definitions.h. Update fd in write_file() in src/files.c. Based on
      upstream.
    - CVE-2024-5742

 -- Hlib Korzhynskyy <hlib.korzhynskyy@canonical.com>  Thu, 10 Oct 2024 11:09:30 -0230

nano (6.2-1) unstable; urgency=medium

  * The "Priviet" release.
  * New upstream release.

 -- Jordi Mallach <jordi@debian.org>  Sat, 19 Feb 2022 09:58:06 +0100

nano (6.1-1) unstable; urgency=medium

  * The "Remolacha" release.
  * New upstream release.
  * Sync debian/nanorc with upstream nanorc.sample.

 -- Jordi Mallach <jordi@debian.org>  Wed, 09 Feb 2022 12:45:28 +0100

nano (6.0-1) unstable; urgency=medium

  * The "Emérito" release.
  * New upstream release.
  * Add debian.nanorc as part of the packaging. Nano upstream has
    dropped it from the tarball due to its limited scope for users
    of Debian and derivatives. It'll be maintained here from now on.
  * Add support for mirror, s3 and in-toto APT transports.
  * Install out-of-tree syntax files in /usr/share/nano/debian.

 -- Jordi Mallach <jordi@debian.org>  Wed, 15 Dec 2021 16:41:06 +0100

nano (5.9-1) unstable; urgency=medium

  * The "Miquel Grau" release.
    - includes syntax highlighting rules for .yaml files (closes: #982091).
  * Sync debian/nanorc with upstream nanorc.sample.

 -- Jordi Mallach <jordi@debian.org>  Thu, 14 Oct 2021 16:21:27 +0200

nano (5.8-2) unstable; urgency=medium

  * The "Oficina del Español" release.
  * Update Standards-Version to 4.6.0.
  * Upload to unstable, now that ncurses can generate correct deps
    for nano-udeb.

 -- Jordi Mallach <jordi@debian.org>  Mon, 06 Sep 2021 15:01:19 +0200

nano (5.8-1) experimental; urgency=medium

  * The "mallorquín, menorquín, ibicenco y formenterés" release.
  * New upstream release.
  * Sync debian/nanorc with upstream nanorc.sample.
  * Bump debian/watch to version 4.

 -- Jordi Mallach <jordi@debian.org>  Mon, 16 Aug 2021 10:58:50 +0200

nano (5.7-1) experimental; urgency=medium

  * The "Más vale malo conocido" release.
  * New upstream release.

 -- Jordi Mallach <jordi@debian.org>  Thu, 06 May 2021 23:42:32 +0200

nano (5.6.1-1) experimental; urgency=medium

  * The "Ni oblit ni perdó" release.
  * New upstream release.
  * Switch ncurses Build-Depends to current -dev package name.
  * Stop building nano-udeb against S-Lang, as support for it was dropped
    in nano 5.5. Bump Build-Depends on ncurses to the first version
    providing libncursesw6-udeb.
  * Drop all patches.

 -- Jordi Mallach <jordi@debian.org>  Sun, 11 Apr 2021 23:45:05 +0200

# For older changelog entries, run 'apt-get changelog nano-tiny'
