diff --git a/dictd.changes b/dictd.changes index aee65ff..8d3150c 100644 --- a/dictd.changes +++ b/dictd.changes @@ -1,8 +1,15 @@ +------------------------------------------------------------------- +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 - 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. ------------------------------------------------------------------- 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