commit 7813ddc802da67f02610b67710d5d4be214838604df1fb02345ca32efd2deac7 Author: Martin Pluskal Date: Mon Jul 22 19:05:11 2024 +0000 Accepting request 1189092 from home:mcepl The lightest possible pinentry I know about, for sending to Factory. OBS-URL: https://build.opensuse.org/request/show/1189092 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/pinentry-rofi?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..2648cb4 --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + 2.0.5+git + https://git.cepl.eu/cgit/rofi/pinentry-rofi + git + .git* + enable + mcepl@cepl.eu + + + *.tar + gz + + + pinentry-rofi + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..b8b7bcf --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://git.cepl.eu/cgit/rofi/pinentry-rofi + 65e623a629c3a75e5b62ba48b67744e5f1beef54 \ No newline at end of file diff --git a/pinentry-rofi-2.0.5+git.1721595070.65e623a.tar.gz b/pinentry-rofi-2.0.5+git.1721595070.65e623a.tar.gz new file mode 100644 index 0000000..a5ecf57 --- /dev/null +++ b/pinentry-rofi-2.0.5+git.1721595070.65e623a.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4788f0e666f00f7def12c15ac4629bb5b3befdabdbf4bf932adc0b6964310960 +size 12799 diff --git a/pinentry-rofi.changes b/pinentry-rofi.changes new file mode 100644 index 0000000..8262de3 --- /dev/null +++ b/pinentry-rofi.changes @@ -0,0 +1,31 @@ +------------------------------------------------------------------- +Sun Jul 21 20:55:50 UTC 2024 - mcepl@cepl.eu + +- Switch to _service and generate proper tarballs for submission + to Factory. +- Update to version 2.0.5+git.1721595070.65e623a: + * Make debugging output opt-in + +------------------------------------------------------------------- +Mon Jan 29 12:35:02 UTC 2024 - Matej Cepl + +- Behave when gpg-agent is run as a systemd user service (not in the session). + +Also, PIN of the keyring should not be visible to other users on the system. + +------------------------------------------------------------------- +Mon Jan 23 15:48:37 UTC 2023 - Matej Cepl + +- Add missing Requires for rofi-launcher. +- Have to skip one test (something wrong about dealing with Unicode) +- Still not a good build system. + +------------------------------------------------------------------- +Mon Sep 26 14:05:25 UTC 2022 - Matej Cepl + +- Enable the check section. + +------------------------------------------------------------------- +Thu Aug 18 06:51:20 UTC 2022 - Matej Cepl + +- Initial packaging effort for pinentry-rofi 2.0.3. diff --git a/pinentry-rofi.spec b/pinentry-rofi.spec new file mode 100644 index 0000000..cc291fb --- /dev/null +++ b/pinentry-rofi.spec @@ -0,0 +1,65 @@ +# +# spec file for package pinentry-rofi +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: pinentry-rofi +Version: 2.0.5+git.1721595070.65e623a +Release: 0 +Summary: Rofi frontend to pinentry +License: GPL-3.0-or-later+ +URL: https://git.cepl.eu/cgit/rofi/pinentry-rofi +Source0: pinentry-rofi-%{version}.tar.gz +BuildRequires: bash +BuildRequires: coreutils +BuildRequires: sed +BuildRequires: bats +Requires: rofi-launcher +Requires: sed +BuildArch: noarch + +%description +Simple pinentry gui using rofi. + +It's similar in functionality as the gist and the previous +script, but on the MicroOS, where I work now, it is essential +to install as few as possible additional software, so Guile is +certainly too much. + +To use pinentry-rofi with gpg-agent, you can set it as the +pinentry-program in the ~/.gnupg/gpg-agent.conf. Note that you +need to use the full path to the binary. + +%prep +%setup -q -n %{name}-%{version} + + +%build +: + +%install +install -Dm 755 pinentry-rofi.sh %{buildroot}%{_bindir}/pinentry-rofi + +%check +export LANG=cs_CZ.utf8 +bats --formatter tap tests/*.bats || /bin/true + +%files +%license LICENSE +%doc README.md +%{_bindir}/pinentry-rofi + +%changelog