From 305d37fb9d7b87734fe631806d935e661f4cdfc2609c94ecaa24deab454d9874 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Sat, 23 Nov 2024 00:06:39 +0100 Subject: [PATCH 1/2] Update changelog --- dictd.changes | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dictd.changes b/dictd.changes index aee65ff..f62f5da 100644 --- a/dictd.changes +++ b/dictd.changes @@ -2,7 +2,8 @@ Mon Nov 18 11:00:22 UTC 2024 - Matej Cepl - Update to 1.13.3: - - dictd: fix buffer overflow in first/last search strategies. + - dictd: fix buffer overflow in first/last search strategies + (bsc#1233442). - Remove upstreamed index-buf-ovrflw.patch. ------------------------------------------------------------------- From bd69a03d7c94e2efe28f22911d7effcfa6cede957e6fbbefc54b5b2234191060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Wed, 29 Jan 2025 18:16:18 +0100 Subject: [PATCH 2/2] Add default /etc/dict.conf so that dict client works by default as it used to (rh#2342818). --- dictd.changes | 6 ++++++ dictd.spec | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/dictd.changes b/dictd.changes index f62f5da..8d3150c 100644 --- a/dictd.changes +++ b/dictd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 29 17:14:30 UTC 2025 - Matej Cepl + +- Add default /etc/dict.conf so that dict client works by default + as it used to (rh#2342818). + ------------------------------------------------------------------- Mon Nov 18 11:00:22 UTC 2024 - Matej Cepl diff --git a/dictd.spec b/dictd.spec index 0581975..332fe35 100644 --- a/dictd.spec +++ b/dictd.spec @@ -107,6 +107,11 @@ database_exit EOF +cat <%{buildroot}/%{_sysconfdir}/dict.conf +# This is an example, you should define your own servers +server dict.org +EOF + install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/dictd.service ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcdictd @@ -151,6 +156,7 @@ chmod 644 %{_localstatedir}/log/dictd %attr(0644,root,root) %{_unitdir}/dictd.service %config(noreplace) %{_sysconfdir}/colorit.conf %config(noreplace) %{_sysconfdir}/dictd.conf +%config(noreplace) %{_sysconfdir}/dict.conf %files devel %license COPYING