From 73b9ec83aff2243185c6903afb1b70240b314ee9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 15:44:14 +0000 Subject: [PATCH 1/6] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- dictd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dictd.spec b/dictd.spec index 0aeb7ed..340b653 100644 --- a/dictd.spec +++ b/dictd.spec @@ -7,7 +7,7 @@ Summary: DICT protocol (RFC 2229) server and command-line client Name: dictd Version: 1.13.1 -Release: 4%{?dist} +Release: 5%{?dist} License: GPL-2.0-only AND GPL-2.0-or-later AND GPL-1.0-or-later AND GPL-3.0-or-later AND MIT AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain Source0: https://github.com/cheusov/dictd/archive/%{version}/%{name}-%{version}.tar.gz Source1: dictd.service @@ -142,6 +142,9 @@ exit 0 %{_datadir}/selinux/*/dictd2.pp %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 1.13.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Jul 17 2024 Fedora Release Engineering - 1.13.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 9d42e6db82adca49673bb61c4248937f2277f7fd Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez-Fernandez Date: Wed, 29 Jan 2025 22:40:33 -0700 Subject: [PATCH 2/6] Set default client configuration to use dict.org --- dict.conf | 1 + dictd.spec | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 dict.conf diff --git a/dict.conf b/dict.conf new file mode 100644 index 0000000..1f0b681 --- /dev/null +++ b/dict.conf @@ -0,0 +1 @@ +server dict.org diff --git a/dictd.spec b/dictd.spec index 340b653..43d7f46 100644 --- a/dictd.spec +++ b/dictd.spec @@ -7,12 +7,13 @@ Summary: DICT protocol (RFC 2229) server and command-line client Name: dictd Version: 1.13.1 -Release: 5%{?dist} +Release: 6%{?dist} License: GPL-2.0-only AND GPL-2.0-or-later AND GPL-1.0-or-later AND GPL-3.0-or-later AND MIT AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain Source0: https://github.com/cheusov/dictd/archive/%{version}/%{name}-%{version}.tar.gz Source1: dictd.service Source2: dictd2.te Source3: dictd.conf +Source4: dict.conf Patch0: 0001-Fix-C99-compatibility-issues-in-lexer-parser-integra.patch Patch1: 0001-remove-use-of-deprecated-inet_aton-and-inet_ntoa.patch URL: http://www.dict.org/ @@ -81,6 +82,7 @@ mkdir -p %{buildroot}%{_unitdir} install -m 755 %{SOURCE1} %{buildroot}%{_unitdir}/dictd.service mkdir -p %{buildroot}%{_sysconfdir} install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/dictd.conf +install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/dict.conf for selinuxvariant in %{selinux_variants} do @@ -111,6 +113,7 @@ exit 0 %doc examples/dict1.conf %{_bindir}/dict %{_mandir}/man1/dict.1* +%config(noreplace) %{_sysconfdir}/dict.conf %files server %doc ANNOUNCE COPYING INSTALL README doc/rfc2229.txt doc/security.doc @@ -142,6 +145,9 @@ exit 0 %{_datadir}/selinux/*/dictd2.pp %changelog +* Wed Jan 29 2025 Carlos Rodriguez-Fernandez - 1.13.1-6 +- Set default client configuration to use dict.org + * Thu Jan 16 2025 Fedora Release Engineering - 1.13.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 4958d0ad6ced200dd4b39a041025051778164934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 11 Feb 2025 14:36:24 +0100 Subject: [PATCH 3/6] Add sysusers.d config file to allow rpm to create users/groups automatically See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers. The sysusers file is now in server subpackage, even though the %pre scriptlet was previously attached to the main subpackage. --- dictd.spec | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/dictd.spec b/dictd.spec index 43d7f46..b9e517f 100644 --- a/dictd.spec +++ b/dictd.spec @@ -7,7 +7,7 @@ Summary: DICT protocol (RFC 2229) server and command-line client Name: dictd Version: 1.13.1 -Release: 6%{?dist} +Release: 7%{?dist} License: GPL-2.0-only AND GPL-2.0-or-later AND GPL-1.0-or-later AND GPL-3.0-or-later AND MIT AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain Source0: https://github.com/cheusov/dictd/archive/%{version}/%{name}-%{version}.tar.gz Source1: dictd.service @@ -32,7 +32,6 @@ BuildRequires: gcc BuildRequires: pkgconfig(systemd) BuildRequires: checkpolicy, selinux-policy-devel -Requires(pre): shadow-utils %description Command-line client for the DICT protocol. The Dictionary Server @@ -62,6 +61,11 @@ autoreconf -fv mkdir SELinux cp -p %{SOURCE2} SELinux +# Create a sysusers.d config file +cat >dictd.sysusers.conf </dev/null || groupadd -r %{username} -getent passwd %{username} >/dev/null || \ - useradd -r -g %{username} -d %{homedir} -s /sbin/nologin \ - -c "dictd dictionary server" %{username} -exit 0 %files %doc ANNOUNCE COPYING README doc/rfc2229.txt doc/security.doc @@ -139,12 +139,16 @@ exit 0 %{_mandir}/man1/dictzip.1* %{_mandir}/man8/dictd.8* %attr(0644,root,root) %{_unitdir}/dictd.service +%{_sysusersdir}/dictd.conf %{homedir} %config(noreplace) %{_sysconfdir}/dictd.conf %doc SELinux %{_datadir}/selinux/*/dictd2.pp %changelog +* Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 1.13.1-7 +- Add sysusers.d config file to allow rpm to create users/groups automatically + * Wed Jan 29 2025 Carlos Rodriguez-Fernandez - 1.13.1-6 - Set default client configuration to use dict.org From abfd3092b0806a5d9892db45fbdf39e8ff0ceb60 Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez-Fernandez Date: Wed, 12 Feb 2025 21:28:10 -0700 Subject: [PATCH 4/6] Disable broken check from known issue --- gating.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gating.yaml b/gating.yaml index fefdc9f..5c82166 100644 --- a/gating.yaml +++ b/gating.yaml @@ -13,7 +13,7 @@ product_versions: decision_context: bodhi_update_push_stable subject_type: koji_build rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} +# - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpmdeplint.functional} # known issue rhbz#2268949 - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.rpminspect.static-analysis} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.installability.functional} - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} From 9672054974e8042a1600807cfafeeacc412a2a31 Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez-Fernandez Date: Thu, 17 Apr 2025 21:57:10 -0700 Subject: [PATCH 5/6] Update to 1.13.3 --- dictd.spec | 10 +++++++--- sources | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/dictd.spec b/dictd.spec index b9e517f..8fe7fbd 100644 --- a/dictd.spec +++ b/dictd.spec @@ -6,8 +6,8 @@ Summary: DICT protocol (RFC 2229) server and command-line client Name: dictd -Version: 1.13.1 -Release: 7%{?dist} +Version: 1.13.3 +Release: 1%{?dist} License: GPL-2.0-only AND GPL-2.0-or-later AND GPL-1.0-or-later AND GPL-3.0-or-later AND MIT AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain Source0: https://github.com/cheusov/dictd/archive/%{version}/%{name}-%{version}.tar.gz Source1: dictd.service @@ -19,6 +19,7 @@ Patch1: 0001-remove-use-of-deprecated-inet_aton-and-inet_ntoa.patch URL: http://www.dict.org/ BuildRequires: flex +BuildRequires: flex-devel Buildrequires: autoconf BuildRequires: bison BuildRequires: libtool @@ -57,7 +58,7 @@ More information can be found in the INSTALL file in this package. %prep %autosetup -p1 -autoreconf -fv +autoreconf -fiv mkdir SELinux cp -p %{SOURCE2} SELinux @@ -146,6 +147,9 @@ install -m0644 -D dictd.sysusers.conf %{buildroot}%{_sysusersdir}/dictd.conf %{_datadir}/selinux/*/dictd2.pp %changelog +* Thu Apr 17 2025 Carlos Rodriguez-Fernandez - 1.13.3-1 +- Update to 1.13.3 + * Tue Feb 11 2025 Zbigniew Jędrzejewski-Szmek - 1.13.1-7 - Add sysusers.d config file to allow rpm to create users/groups automatically diff --git a/sources b/sources index 92ea5d3..e522365 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dictd-1.13.1.tar.gz) = 5e4b67e8d74cec174e9c36b0ccecf1363eed324ec6216307b03f68571155c98bd94e5d3b7fc0b096585172c687aca832fd4110849a403da8c722eba9a4e74fa3 +SHA512 (dictd-1.13.3.tar.gz) = fb118a7594566a8e4e3fdff9bf79c37ed29f1f2eb3a9f380ba7c57740839b723537a0ed8864c0b425774b564f78ae50624756c3ca3a372a971002bcaca7fb934 From 8fa2c2cc9b220810422ee037a8e3db572ec7374a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 19:16:18 +0000 Subject: [PATCH 6/6] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- dictd.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dictd.spec b/dictd.spec index 8fe7fbd..71ad2ca 100644 --- a/dictd.spec +++ b/dictd.spec @@ -7,7 +7,7 @@ Summary: DICT protocol (RFC 2229) server and command-line client Name: dictd Version: 1.13.3 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-2.0-only AND GPL-2.0-or-later AND GPL-1.0-or-later AND GPL-3.0-or-later AND MIT AND BSD-3-Clause AND LicenseRef-Fedora-Public-Domain Source0: https://github.com/cheusov/dictd/archive/%{version}/%{name}-%{version}.tar.gz Source1: dictd.service @@ -147,6 +147,9 @@ install -m0644 -D dictd.sysusers.conf %{buildroot}%{_sysusersdir}/dictd.conf %{_datadir}/selinux/*/dictd2.pp %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 1.13.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu Apr 17 2025 Carlos Rodriguez-Fernandez - 1.13.3-1 - Update to 1.13.3