From 109d9d4dd620d4a4a4b0944974c5525b0365df79 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Sat, 8 Oct 2022 00:19:50 +0300 Subject: [PATCH 01/23] build(update): 7.0 --- .gitignore | 1 + secrets.spec | 18 +++++++++++------- sources | 2 +- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index fc78408..438f5ad 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /secrets-6.5.tar.bz2 +/secrets-7.0.tar.bz2 diff --git a/secrets.spec b/secrets.spec index 271ccec..9e420ef 100644 --- a/secrets.spec +++ b/secrets.spec @@ -1,10 +1,10 @@ -%bcond_without tests +%bcond_with tests %global sysname gsecrets %global oldname gnome-passwordsafe Name: secrets -Version: 6.5 +Version: 7.0 Release: %autorelease Summary: Manage your passwords @@ -20,16 +20,18 @@ BuildRequires: desktop-file-utils BuildRequires: intltool BuildRequires: libappstream-glib BuildRequires: meson >= 0.59 -BuildRequires: python3-devel >= 3.7 +BuildRequires: python3-devel >= 3.8 -BuildRequires: python3dist(pykeepass) +BuildRequires: python3dist(pykeepass) >= 4.0.3 BuildRequires: python3dist(pyotp) >= 2.4.0 BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(validators) +BuildRequires: python3dist(zxcvbn) BuildRequires: pkgconfig(glib-2.0) >= 2.66 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.66 BuildRequires: pkgconfig(gtk4) >= 4.6.2 -BuildRequires: pkgconfig(libadwaita-1) >= 1.0.0 +BuildRequires: pkgconfig(libadwaita-1) >= 1.1.99 BuildRequires: pkgconfig(pwquality) >= 1.4.0 %if %{with tests} @@ -38,11 +40,13 @@ BuildRequires: python3dist(pytest) %endif Requires: hicolor-icon-theme -Requires: libadwaita >= 1.0.0 +Requires: libadwaita >= 1.1.99 Requires: python3-gobject Requires: python3-pwquality >= 1.4.0 -Requires: python3-pykeepass >= 4.0.1 +Requires: python3-pykeepass >= 4.0.3 Requires: python3-pyotp >= 2.4.0 +Requires: python3-validators +Requires: python3-zxcvbn Provides: %{oldname} = %{version}-%{release} Obsoletes: %{oldname} <= 5.1-6 diff --git a/sources b/sources index 7eefe26..0b37648 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (secrets-6.5.tar.bz2) = fe23d8d0750c3997f2f471fa799d1a94276b8b51e0e09586c46da2899c0c0ff44d5a001baf2ca31962906c60ae9fd939f70c35f67fecf8ac141a1f72c2df320e +SHA512 (secrets-7.0.tar.bz2) = d7fe2765cf308792518297cbe8eafa606777f289c151e6d59953fb134bcacc73b55f0248dcc2b0ef13740d2744502941fdcd683248afdf2bccf6f9754bf0a115 From e31477918101de297a36372281fe12de4a9fe259 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Sun, 9 Oct 2022 00:35:19 +0300 Subject: [PATCH 02/23] build: Drop python3-pwquality dep --- secrets.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/secrets.spec b/secrets.spec index 9e420ef..037c579 100644 --- a/secrets.spec +++ b/secrets.spec @@ -32,7 +32,6 @@ BuildRequires: pkgconfig(glib-2.0) >= 2.66 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.66 BuildRequires: pkgconfig(gtk4) >= 4.6.2 BuildRequires: pkgconfig(libadwaita-1) >= 1.1.99 -BuildRequires: pkgconfig(pwquality) >= 1.4.0 %if %{with tests} BuildRequires: python3-gobject @@ -42,7 +41,6 @@ BuildRequires: python3dist(pytest) Requires: hicolor-icon-theme Requires: libadwaita >= 1.1.99 Requires: python3-gobject -Requires: python3-pwquality >= 1.4.0 Requires: python3-pykeepass >= 4.0.3 Requires: python3-pyotp >= 2.4.0 Requires: python3-validators From 38e2a9d0724b86c0890615ea20567e3b498162f5 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Thu, 5 Jan 2023 15:55:56 +0200 Subject: [PATCH 03/23] chore: Update to 7.1 --- .gitignore | 1 + secrets.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 438f5ad..3319ef8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /secrets-6.5.tar.bz2 /secrets-7.0.tar.bz2 +/secrets-7.1.tar.bz2 diff --git a/secrets.spec b/secrets.spec index 037c579..6065556 100644 --- a/secrets.spec +++ b/secrets.spec @@ -4,7 +4,7 @@ %global oldname gnome-passwordsafe Name: secrets -Version: 7.0 +Version: 7.1 Release: %autorelease Summary: Manage your passwords diff --git a/sources b/sources index 0b37648..08fc8d3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (secrets-7.0.tar.bz2) = d7fe2765cf308792518297cbe8eafa606777f289c151e6d59953fb134bcacc73b55f0248dcc2b0ef13740d2744502941fdcd683248afdf2bccf6f9754bf0a115 +SHA512 (secrets-7.1.tar.bz2) = d4f575aec6d0959a4e97d43e60cd9e87c3f8b7c68a890e3e7b129ebacf9d44bf122a41921678d156217c68cba0f0ebca92503f2ec08276c3901cc189c0243c77 From c7135fb99ee0584ca8525e66980e4feeea8226a2 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Mon, 9 Jan 2023 21:46:06 +0200 Subject: [PATCH 04/23] chore: Update to 7.2 --- .gitignore | 1 + secrets.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3319ef8..cc4e1aa 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /secrets-6.5.tar.bz2 /secrets-7.0.tar.bz2 /secrets-7.1.tar.bz2 +/secrets-7.2.tar.bz2 diff --git a/secrets.spec b/secrets.spec index 6065556..53fa802 100644 --- a/secrets.spec +++ b/secrets.spec @@ -4,7 +4,7 @@ %global oldname gnome-passwordsafe Name: secrets -Version: 7.1 +Version: 7.2 Release: %autorelease Summary: Manage your passwords diff --git a/sources b/sources index 08fc8d3..203474b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (secrets-7.1.tar.bz2) = d4f575aec6d0959a4e97d43e60cd9e87c3f8b7c68a890e3e7b129ebacf9d44bf122a41921678d156217c68cba0f0ebca92503f2ec08276c3901cc189c0243c77 +SHA512 (secrets-7.2.tar.bz2) = ff1a3cf75485aa42644e0b5de14f1e4b23382e148cd7cbc65279f499f8cd4c19563161cd470d790dffe5bbca7cf3ab918114003928f824b1448b16d03a3a1d0b From 537f9a7a59fff494fc3a611e500bbfd2d0a728c9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 02:57:40 +0000 Subject: [PATCH 05/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering From b5b77687a507c93ad48a0bb24ea7ea7cbc4deca3 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Tue, 4 Apr 2023 17:52:43 +0300 Subject: [PATCH 06/23] build: Update to 7.3 --- .gitignore | 1 + secrets.spec | 7 ++++--- sources | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index cc4e1aa..a6271b1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /secrets-7.0.tar.bz2 /secrets-7.1.tar.bz2 /secrets-7.2.tar.bz2 +/secrets-7.3.tar.bz2 diff --git a/secrets.spec b/secrets.spec index 53fa802..bd29061 100644 --- a/secrets.spec +++ b/secrets.spec @@ -4,7 +4,7 @@ %global oldname gnome-passwordsafe Name: secrets -Version: 7.2 +Version: 7.3 Release: %autorelease Summary: Manage your passwords @@ -28,9 +28,10 @@ BuildRequires: python3dist(setuptools) BuildRequires: python3dist(validators) BuildRequires: python3dist(zxcvbn) -BuildRequires: pkgconfig(glib-2.0) >= 2.66 +BuildRequires: pkgconfig(gio-2.0) >= 2.66 +BuildRequires: pkgconfig(glib-2.0) >= 2.73.1 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.66 -BuildRequires: pkgconfig(gtk4) >= 4.6.2 +BuildRequires: pkgconfig(gtk4) >= 4.9 BuildRequires: pkgconfig(libadwaita-1) >= 1.1.99 %if %{with tests} diff --git a/sources b/sources index 203474b..1d3b9ef 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (secrets-7.2.tar.bz2) = ff1a3cf75485aa42644e0b5de14f1e4b23382e148cd7cbc65279f499f8cd4c19563161cd470d790dffe5bbca7cf3ab918114003928f824b1448b16d03a3a1d0b +SHA512 (secrets-7.3.tar.bz2) = 4390707908f6cde9d971e06892afcaacc710b91c00e344068acf9ec4796c1e1d8b1aa716fc92916a35a9f7beaefde2d752c16a2f55d24451027de823f575bdcf From 16c98c1e0d0df76bb654c362740986e2bda3f71e Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Tue, 4 Apr 2023 17:54:13 +0300 Subject: [PATCH 07/23] Revert "Exclude s390x arch" This reverts commit d38b074524f2d0ae15f790bf01c4926bf4287061. --- secrets.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/secrets.spec b/secrets.spec index bd29061..22ee8bf 100644 --- a/secrets.spec +++ b/secrets.spec @@ -12,9 +12,6 @@ License: GPLv3 URL: https://gitlab.gnome.org/World/secrets Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2 BuildArch: noarch -# https://bugzilla.redhat.com/show_bug.cgi?id=2029547#c24 -# https://docs.fedoraproject.org/en-US/packaging-guidelines/#_architecture_support -ExcludeArch: s390x BuildRequires: desktop-file-utils BuildRequires: intltool From ccc427d44ae46c1c77b50c58235ae4dd6b75e3d3 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Thu, 29 Jun 2023 19:00:27 +0200 Subject: [PATCH 08/23] Rebuilt for Python 3.12 From 1ee4c55d1f32b73d1e3bd537fc7c02e9b38c19b5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 01:21:57 +0000 Subject: [PATCH 09/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 8623c311a94d1f57ed957e3658be989e99857253 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Wed, 20 Sep 2023 23:58:42 +0300 Subject: [PATCH 10/23] build: Update to 8.0 --- .gitignore | 1 + secrets.spec | 10 +++++----- sources | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index a6271b1..b6cb9da 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /secrets-7.1.tar.bz2 /secrets-7.2.tar.bz2 /secrets-7.3.tar.bz2 +/secrets-8.0.tar.bz2 diff --git a/secrets.spec b/secrets.spec index 22ee8bf..362e166 100644 --- a/secrets.spec +++ b/secrets.spec @@ -4,7 +4,7 @@ %global oldname gnome-passwordsafe Name: secrets -Version: 7.3 +Version: 8.0 Release: %autorelease Summary: Manage your passwords @@ -19,7 +19,7 @@ BuildRequires: libappstream-glib BuildRequires: meson >= 0.59 BuildRequires: python3-devel >= 3.8 -BuildRequires: python3dist(pykeepass) >= 4.0.3 +BuildRequires: python3dist(pykeepass) >= 4.0.6 BuildRequires: python3dist(pyotp) >= 2.4.0 BuildRequires: python3dist(setuptools) BuildRequires: python3dist(validators) @@ -29,7 +29,7 @@ BuildRequires: pkgconfig(gio-2.0) >= 2.66 BuildRequires: pkgconfig(glib-2.0) >= 2.73.1 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.66 BuildRequires: pkgconfig(gtk4) >= 4.9 -BuildRequires: pkgconfig(libadwaita-1) >= 1.1.99 +BuildRequires: pkgconfig(libadwaita-1) >= 1.3.99 %if %{with tests} BuildRequires: python3-gobject @@ -37,9 +37,9 @@ BuildRequires: python3dist(pytest) %endif Requires: hicolor-icon-theme -Requires: libadwaita >= 1.1.99 +Requires: libadwaita >= 1.3.99 Requires: python3-gobject -Requires: python3-pykeepass >= 4.0.3 +Requires: python3-pykeepass >= 4.0.6 Requires: python3-pyotp >= 2.4.0 Requires: python3-validators Requires: python3-zxcvbn diff --git a/sources b/sources index 1d3b9ef..9ca1783 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (secrets-7.3.tar.bz2) = 4390707908f6cde9d971e06892afcaacc710b91c00e344068acf9ec4796c1e1d8b1aa716fc92916a35a9f7beaefde2d752c16a2f55d24451027de823f575bdcf +SHA512 (secrets-8.0.tar.bz2) = d23176f942ae41ee850d37db33fd0e54bb858ac300b1a5dd32582533cc9e0172cb57275adc10867f161d343c8218dac43c57a721f210eb015e36ee5efc6b010e From c613b0af2659c63d6379a9c9ad85773db801c757 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 02:31:04 +0000 Subject: [PATCH 11/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 3fcc56806ac303169832adc57c8edd16316cb003 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Sun, 31 Mar 2024 18:13:52 +0300 Subject: [PATCH 12/23] license: Convert to SPDX --- secrets.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secrets.spec b/secrets.spec index 362e166..96fd853 100644 --- a/secrets.spec +++ b/secrets.spec @@ -8,7 +8,7 @@ Version: 8.0 Release: %autorelease Summary: Manage your passwords -License: GPLv3 +License: GPL-3.0-only URL: https://gitlab.gnome.org/World/secrets Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2 BuildArch: noarch From cfd53ca36cd930ed3b75e683029ee28594afaf9f Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Sun, 31 Mar 2024 18:16:06 +0300 Subject: [PATCH 13/23] build: Add Packit config --- .packit.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .packit.yaml diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 0000000..d36e7fa --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,27 @@ +copy_upstream_release_description: false +# downstream_package_name: foo # not mandatory +# upstream_package_name: Foo # not mandatory +upstream_project_url: https://gitlab.gnome.org/World/secrets +# upstream_tag_template: v{version} + +jobs: + - job: pull_from_upstream + trigger: release + dist_git_branches: + - fedora-rawhide + # - fedora-development + # - fedora-all + + - job: koji_build + trigger: commit + allowed_pr_authors: ["packit", "atim"] + allowed_committers: ["packit", "atim"] + dist_git_branches: + - fedora-all + # - epel-9 + + - job: bodhi_update + trigger: commit + dist_git_branches: + - fedora-branched + # - epel-9 From 525d3311cfeb08a047b6f0c3fda63eebc59eb792 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Sun, 31 Mar 2024 18:17:26 +0300 Subject: [PATCH 14/23] [packit] 9.3 upstream release - Resolves rhbz#2270551 Upstream tag: 9.3 Upstream commit: 9f3f6002 --- .gitignore | 1 + README.packit | 3 +++ secrets.spec | 9 ++++++--- sources | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 README.packit diff --git a/.gitignore b/.gitignore index b6cb9da..3ee5bd7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /secrets-7.2.tar.bz2 /secrets-7.3.tar.bz2 /secrets-8.0.tar.bz2 +/secrets-9.3.tar.bz2 diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..8480b61 --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 0.94.0. diff --git a/secrets.spec b/secrets.spec index 96fd853..472e281 100644 --- a/secrets.spec +++ b/secrets.spec @@ -4,7 +4,7 @@ %global oldname gnome-passwordsafe Name: secrets -Version: 8.0 +Version: 9.3 Release: %autorelease Summary: Manage your passwords @@ -18,18 +18,20 @@ BuildRequires: intltool BuildRequires: libappstream-glib BuildRequires: meson >= 0.59 BuildRequires: python3-devel >= 3.8 +BuildRequires: python3-yubico BuildRequires: python3dist(pykeepass) >= 4.0.6 BuildRequires: python3dist(pyotp) >= 2.4.0 BuildRequires: python3dist(setuptools) BuildRequires: python3dist(validators) BuildRequires: python3dist(zxcvbn) +BuildRequires: python3dist(pykcs11) BuildRequires: pkgconfig(gio-2.0) >= 2.66 BuildRequires: pkgconfig(glib-2.0) >= 2.73.1 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.66 BuildRequires: pkgconfig(gtk4) >= 4.9 -BuildRequires: pkgconfig(libadwaita-1) >= 1.3.99 +BuildRequires: pkgconfig(libadwaita-1) >= 1.4.99 %if %{with tests} BuildRequires: python3-gobject @@ -37,11 +39,12 @@ BuildRequires: python3dist(pytest) %endif Requires: hicolor-icon-theme -Requires: libadwaita >= 1.3.99 +Requires: libadwaita >= 1.4.99 Requires: python3-gobject Requires: python3-pykeepass >= 4.0.6 Requires: python3-pyotp >= 2.4.0 Requires: python3-validators +Requires: python3-yubico Requires: python3-zxcvbn Provides: %{oldname} = %{version}-%{release} diff --git a/sources b/sources index 9ca1783..a0c046c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (secrets-8.0.tar.bz2) = d23176f942ae41ee850d37db33fd0e54bb858ac300b1a5dd32582533cc9e0172cb57275adc10867f161d343c8218dac43c57a721f210eb015e36ee5efc6b010e +SHA512 (secrets-9.3.tar.bz2) = 9e954a6cc76c715e78439f16dd1657d32f4528a7dee41f2965f9a12678d36398b76481dd297b5dad84fe480a2191d3ac3792e1c77c2e3374eb2e7c12321503c4 From be97d176ce437e63fe556482cb5f26c6040f3e7d Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Fri, 24 May 2024 22:58:20 +0300 Subject: [PATCH 15/23] build: Update deps req Signed-off-by: Artem Polishchuk --- secrets.spec | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/secrets.spec b/secrets.spec index 472e281..757cf8a 100644 --- a/secrets.spec +++ b/secrets.spec @@ -2,6 +2,9 @@ %global sysname gsecrets %global oldname gnome-passwordsafe +%global libadwaita_version 1.4.99 +%global pykeepass_version 4.0.7 +%global pyotp_version 2.4.0 Name: secrets Version: 9.3 @@ -20,18 +23,18 @@ BuildRequires: meson >= 0.59 BuildRequires: python3-devel >= 3.8 BuildRequires: python3-yubico -BuildRequires: python3dist(pykeepass) >= 4.0.6 -BuildRequires: python3dist(pyotp) >= 2.4.0 +BuildRequires: python3dist(pykcs11) +BuildRequires: python3dist(pykeepass) >= %{pykeepass_version} +BuildRequires: python3dist(pyotp) >= %{pyotp_version} BuildRequires: python3dist(setuptools) BuildRequires: python3dist(validators) BuildRequires: python3dist(zxcvbn) -BuildRequires: python3dist(pykcs11) BuildRequires: pkgconfig(gio-2.0) >= 2.66 BuildRequires: pkgconfig(glib-2.0) >= 2.73.1 BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.66 BuildRequires: pkgconfig(gtk4) >= 4.9 -BuildRequires: pkgconfig(libadwaita-1) >= 1.4.99 +BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version} %if %{with tests} BuildRequires: python3-gobject @@ -39,10 +42,10 @@ BuildRequires: python3dist(pytest) %endif Requires: hicolor-icon-theme -Requires: libadwaita >= 1.4.99 +Requires: libadwaita >= %{libadwaita_version} Requires: python3-gobject -Requires: python3-pykeepass >= 4.0.6 -Requires: python3-pyotp >= 2.4.0 +Requires: python3-pykeepass >= %{pykeepass_version} +Requires: python3-pyotp >= %{pyotp_version} Requires: python3-validators Requires: python3-yubico Requires: python3-zxcvbn From d078a02ebd048585e4cba14935331dad5ed859e9 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Sun, 2 Jun 2024 20:43:43 +0300 Subject: [PATCH 16/23] build: Add pykcs11 runtime dep Signed-off-by: Artem Polishchuk --- secrets.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/secrets.spec b/secrets.spec index 757cf8a..594fd61 100644 --- a/secrets.spec +++ b/secrets.spec @@ -44,6 +44,7 @@ BuildRequires: python3dist(pytest) Requires: hicolor-icon-theme Requires: libadwaita >= %{libadwaita_version} Requires: python3-gobject +Requires: python3-pykcs11 Requires: python3-pykeepass >= %{pykeepass_version} Requires: python3-pyotp >= %{pyotp_version} Requires: python3-validators From 5f3a98e1c86949e143f163ff2a78d6129f50470c Mon Sep 17 00:00:00 2001 From: Python Maint Date: Sat, 8 Jun 2024 08:11:59 +0200 Subject: [PATCH 17/23] Rebuilt for Python 3.13 From a70c9945c86d05d3beaa7ce10d95311c654107a6 Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Fri, 21 Jun 2024 10:36:48 +0300 Subject: [PATCH 18/23] build: Add upstream patch fix for rh#2292507 https://gitlab.gnome.org/World/secrets/-/issues/537 Signed-off-by: Artem Polishchuk --- 0001-Open-borked-databases.patch | 41 ++++++++++++++++++++++++++++++++ secrets.spec | 4 +++- 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 0001-Open-borked-databases.patch diff --git a/0001-Open-borked-databases.patch b/0001-Open-borked-databases.patch new file mode 100644 index 0000000..405dca0 --- /dev/null +++ b/0001-Open-borked-databases.patch @@ -0,0 +1,41 @@ +From 861e97445a11fcabe588b88b953be5350c6899f8 Mon Sep 17 00:00:00 2001 +From: Maximiliano Sandoval +Date: Sat, 6 Apr 2024 11:41:39 +0200 +Subject: [PATCH] Open borked databases + +--- + gsecrets/database_manager.py | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/gsecrets/database_manager.py b/gsecrets/database_manager.py +index af2d2658..06ac9def 100644 +--- a/gsecrets/database_manager.py ++++ b/gsecrets/database_manager.py +@@ -2,6 +2,7 @@ + from __future__ import annotations + + import io ++import os + import json + import logging + from pathlib import Path +@@ -99,10 +100,15 @@ class DatabaseManager(GObject.Object): + return + + try: ++ key = None ++ if composition_key: ++ key = io.BytesIO(composition_key) ++ key.seek(0, os.SEEK_END) ++ + db = PyKeePass( + self.path, + password, +- io.BytesIO(composition_key) if composition_key else None, ++ key, + ) + except Exception as err: # pylint: disable=broad-except + err = GLib.Error.new_literal(QUARK, str(err), 1) +-- +2.44.0 + diff --git a/secrets.spec b/secrets.spec index 594fd61..7dcdd7f 100644 --- a/secrets.spec +++ b/secrets.spec @@ -14,6 +14,8 @@ Summary: Manage your passwords License: GPL-3.0-only URL: https://gitlab.gnome.org/World/secrets Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2 +# https://gitlab.gnome.org/World/secrets/-/issues/537 +Patch: https://gitlab.gnome.org/World/secrets/uploads/7634fbc1777cce060724770e7c3a0aff/0001-Open-borked-databases.patch BuildArch: noarch BuildRequires: desktop-file-utils @@ -72,7 +74,7 @@ Features: %prep -%autosetup +%autosetup -p1 %build From d6fe5af0eac86abbeaf49fc3a1a6336df3acf586 Mon Sep 17 00:00:00 2001 From: Packit Date: Sat, 22 Jun 2024 08:58:55 +0000 Subject: [PATCH 19/23] Update to 9.5 upstream release - Resolves: rhbz#2293761 Upstream tag: 9.5 Upstream commit: 7def9416 Commit authored by Packit automation (https://packit.dev/) --- .gitignore | 1 + README.packit | 2 +- secrets.spec | 2 +- sources | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3ee5bd7..7f9b8bf 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /secrets-7.3.tar.bz2 /secrets-8.0.tar.bz2 /secrets-9.3.tar.bz2 +/secrets-9.5.tar.bz2 diff --git a/README.packit b/README.packit index 8480b61..bc5362c 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.94.0. +The file was generated using packit 0.97.2.post1.dev7+g966b87eb. diff --git a/secrets.spec b/secrets.spec index 7dcdd7f..3764163 100644 --- a/secrets.spec +++ b/secrets.spec @@ -7,7 +7,7 @@ %global pyotp_version 2.4.0 Name: secrets -Version: 9.3 +Version: 9.5 Release: %autorelease Summary: Manage your passwords diff --git a/sources b/sources index a0c046c..b09a55b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (secrets-9.3.tar.bz2) = 9e954a6cc76c715e78439f16dd1657d32f4528a7dee41f2965f9a12678d36398b76481dd297b5dad84fe480a2191d3ac3792e1c77c2e3374eb2e7c12321503c4 +SHA512 (secrets-9.5.tar.bz2) = ac0960e692cfff084148370171d854729f5956a09611b3c9f3c9549c62644a23294d36274b2f092a5e00abfa034078300e4d44f39f8b9ea3f6c5a16e8419bf5f From 65013702ef497c4c01f9fe352dcb3bb67e610bf8 Mon Sep 17 00:00:00 2001 From: Packit Date: Mon, 15 Jul 2024 09:16:49 +0000 Subject: [PATCH 20/23] Update to 9.6 upstream release - Resolves: rhbz#2297901 Upstream tag: 9.6 Upstream commit: df133c50 Commit authored by Packit automation (https://packit.dev/) --- .gitignore | 1 + README.packit | 2 +- secrets.spec | 2 +- sources | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 7f9b8bf..d6ebe8c 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /secrets-8.0.tar.bz2 /secrets-9.3.tar.bz2 /secrets-9.5.tar.bz2 +/secrets-9.6.tar.bz2 diff --git a/README.packit b/README.packit index bc5362c..2499381 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.97.2.post1.dev7+g966b87eb. +The file was generated using packit 0.98.0. diff --git a/secrets.spec b/secrets.spec index 3764163..cf760d6 100644 --- a/secrets.spec +++ b/secrets.spec @@ -7,7 +7,7 @@ %global pyotp_version 2.4.0 Name: secrets -Version: 9.5 +Version: 9.6 Release: %autorelease Summary: Manage your passwords diff --git a/sources b/sources index b09a55b..d359c62 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (secrets-9.5.tar.bz2) = ac0960e692cfff084148370171d854729f5956a09611b3c9f3c9549c62644a23294d36274b2f092a5e00abfa034078300e4d44f39f8b9ea3f6c5a16e8419bf5f +SHA512 (secrets-9.6.tar.bz2) = e60049f5858c6494936548ffb45b1b608d15d357c33f209ce1a60f630c467f70374e071f5389aaa71bb28b65131611c938ec3a1f73837846a033c02ca9913e6f From c1d943990b95febc2980a326e8cbd85f135f31b2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 05:12:28 +0000 Subject: [PATCH 21/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 8238682fb4c85de52c3cfb1f048ed570a5c0654d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 10:22:11 +0000 Subject: [PATCH 22/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From d677e1484220a3588bbb320b7d8d3662aad84385 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Wed, 9 Apr 2025 18:34:09 -0500 Subject: [PATCH 23/23] Orphaned for 6+ weeks --- .gitignore | 9 --- .packit.yaml | 27 ------- 0001-Open-borked-databases.patch | 41 ----------- README.md | 3 - README.packit | 3 - changelog | 18 ----- dead.package | 1 + secrets.spec | 117 ------------------------------- sources | 1 - 9 files changed, 1 insertion(+), 219 deletions(-) delete mode 100644 .gitignore delete mode 100644 .packit.yaml delete mode 100644 0001-Open-borked-databases.patch delete mode 100644 README.md delete mode 100644 README.packit delete mode 100644 changelog create mode 100644 dead.package delete mode 100644 secrets.spec delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d6ebe8c..0000000 --- a/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/secrets-6.5.tar.bz2 -/secrets-7.0.tar.bz2 -/secrets-7.1.tar.bz2 -/secrets-7.2.tar.bz2 -/secrets-7.3.tar.bz2 -/secrets-8.0.tar.bz2 -/secrets-9.3.tar.bz2 -/secrets-9.5.tar.bz2 -/secrets-9.6.tar.bz2 diff --git a/.packit.yaml b/.packit.yaml deleted file mode 100644 index d36e7fa..0000000 --- a/.packit.yaml +++ /dev/null @@ -1,27 +0,0 @@ -copy_upstream_release_description: false -# downstream_package_name: foo # not mandatory -# upstream_package_name: Foo # not mandatory -upstream_project_url: https://gitlab.gnome.org/World/secrets -# upstream_tag_template: v{version} - -jobs: - - job: pull_from_upstream - trigger: release - dist_git_branches: - - fedora-rawhide - # - fedora-development - # - fedora-all - - - job: koji_build - trigger: commit - allowed_pr_authors: ["packit", "atim"] - allowed_committers: ["packit", "atim"] - dist_git_branches: - - fedora-all - # - epel-9 - - - job: bodhi_update - trigger: commit - dist_git_branches: - - fedora-branched - # - epel-9 diff --git a/0001-Open-borked-databases.patch b/0001-Open-borked-databases.patch deleted file mode 100644 index 405dca0..0000000 --- a/0001-Open-borked-databases.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 861e97445a11fcabe588b88b953be5350c6899f8 Mon Sep 17 00:00:00 2001 -From: Maximiliano Sandoval -Date: Sat, 6 Apr 2024 11:41:39 +0200 -Subject: [PATCH] Open borked databases - ---- - gsecrets/database_manager.py | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/gsecrets/database_manager.py b/gsecrets/database_manager.py -index af2d2658..06ac9def 100644 ---- a/gsecrets/database_manager.py -+++ b/gsecrets/database_manager.py -@@ -2,6 +2,7 @@ - from __future__ import annotations - - import io -+import os - import json - import logging - from pathlib import Path -@@ -99,10 +100,15 @@ class DatabaseManager(GObject.Object): - return - - try: -+ key = None -+ if composition_key: -+ key = io.BytesIO(composition_key) -+ key.seek(0, os.SEEK_END) -+ - db = PyKeePass( - self.path, - password, -- io.BytesIO(composition_key) if composition_key else None, -+ key, - ) - except Exception as err: # pylint: disable=broad-except - err = GLib.Error.new_literal(QUARK, str(err), 1) --- -2.44.0 - diff --git a/README.md b/README.md deleted file mode 100644 index 5cbcc3c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# secrets - -The secrets package diff --git a/README.packit b/README.packit deleted file mode 100644 index 2499381..0000000 --- a/README.packit +++ /dev/null @@ -1,3 +0,0 @@ -This repository is maintained by packit. -https://packit.dev/ -The file was generated using packit 0.98.0. diff --git a/changelog b/changelog deleted file mode 100644 index ab9b2d7..0000000 --- a/changelog +++ /dev/null @@ -1,18 +0,0 @@ -* Sun May 08 2022 Artem Polishchuk - 6.5-1 -- build(update): 6.5 - -* Wed Mar 30 2022 Artem Polishchuk - 6.3-1 -- build(update): 6.3 - -* Tue Mar 08 2022 Artem Polishchuk - 6.2-2 -- build: Drop python3-crypto dep | rh#2061745 -- build: Add runtime dep 'python3-pyotp >= 2.4.0' - -* Mon Feb 28 2022 Artem Polishchuk - 6.2-1 -- build(update): 6.2 - -* Thu Jan 13 2022 Artem Polishchuk - 6.0-0.1.beta.2 -- build(update): 6.0.beta.2 - -* Mon Dec 06 2021 Artem Polishchuk - 5.1-1 -- Initial package diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/secrets.spec b/secrets.spec deleted file mode 100644 index cf760d6..0000000 --- a/secrets.spec +++ /dev/null @@ -1,117 +0,0 @@ -%bcond_with tests - -%global sysname gsecrets -%global oldname gnome-passwordsafe -%global libadwaita_version 1.4.99 -%global pykeepass_version 4.0.7 -%global pyotp_version 2.4.0 - -Name: secrets -Version: 9.6 -Release: %autorelease -Summary: Manage your passwords - -License: GPL-3.0-only -URL: https://gitlab.gnome.org/World/secrets -Source0: %{url}/-/archive/%{version}/%{name}-%{version}.tar.bz2 -# https://gitlab.gnome.org/World/secrets/-/issues/537 -Patch: https://gitlab.gnome.org/World/secrets/uploads/7634fbc1777cce060724770e7c3a0aff/0001-Open-borked-databases.patch -BuildArch: noarch - -BuildRequires: desktop-file-utils -BuildRequires: intltool -BuildRequires: libappstream-glib -BuildRequires: meson >= 0.59 -BuildRequires: python3-devel >= 3.8 -BuildRequires: python3-yubico - -BuildRequires: python3dist(pykcs11) -BuildRequires: python3dist(pykeepass) >= %{pykeepass_version} -BuildRequires: python3dist(pyotp) >= %{pyotp_version} -BuildRequires: python3dist(setuptools) -BuildRequires: python3dist(validators) -BuildRequires: python3dist(zxcvbn) - -BuildRequires: pkgconfig(gio-2.0) >= 2.66 -BuildRequires: pkgconfig(glib-2.0) >= 2.73.1 -BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.66 -BuildRequires: pkgconfig(gtk4) >= 4.9 -BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version} - -%if %{with tests} -BuildRequires: python3-gobject -BuildRequires: python3dist(pytest) -%endif - -Requires: hicolor-icon-theme -Requires: libadwaita >= %{libadwaita_version} -Requires: python3-gobject -Requires: python3-pykcs11 -Requires: python3-pykeepass >= %{pykeepass_version} -Requires: python3-pyotp >= %{pyotp_version} -Requires: python3-validators -Requires: python3-yubico -Requires: python3-zxcvbn - -Provides: %{oldname} = %{version}-%{release} -Obsoletes: %{oldname} <= 5.1-6 - -%description -Secrets is a password manager which integrates perfectly with the GNOME -desktop and provides an easy and uncluttered interface for the management of -password databases. - -Features: - * Create or import KeePass safes - * Assign a color and additional attributes to entries - * Add attachments to your encrypted database - * Generate cryptographically strong passwords - * Change the password or keyfile of your database - * Quickly search your favorite entries - * Automatic database lock during inactivity - * Adaptive interface - * Support for two-factor authentication - - -%prep -%autosetup -p1 - - -%build -%meson \ - %if %{with tests} - -Dtests=true \ - %endif - %{nil} -%meson_build - - -%install -%meson_install -%find_lang %{name} - - -%check -appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml -desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop - -%if %{with tests} -%meson_test -%endif - - -%files -f %{name}.lang -%license LICENSE -%doc README.md -%{_bindir}/%{name} -%{_datadir}/%{name}/ -%{_datadir}/applications/*.desktop -%{_datadir}/glib-2.0/schemas/*.gschema.xml -%{_datadir}/icons/hicolor/*/*/*.svg -%{_datadir}/mime/packages/*.xml -%{_metainfodir}/*.xml -%{python3_sitelib}/%{sysname}/ - - -%changelog -%autochangelog diff --git a/sources b/sources deleted file mode 100644 index d359c62..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (secrets-9.6.tar.bz2) = e60049f5858c6494936548ffb45b1b608d15d357c33f209ce1a60f630c467f70374e071f5389aaa71bb28b65131611c938ec3a1f73837846a033c02ca9913e6f