From ac456ecc881ec34d441d255a0f130eb54ee6a6652a05cd7cc7accfacfae5a05d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 20 Feb 2022 02:01:24 +0000 Subject: [PATCH 1/2] - Update to 1.13.1: - Remove the last call of gethostbyname(3) - Fixes by Huy-Ngo in dictfmt help message. - Remove ProtectHome from the systemd service file, because data files can be stored in $HOME and indexes need to written to. OBS-URL: https://build.opensuse.org/package/show/Education/dictd?expand=0&rev=24 --- dictd-1.13.0.tar.gz | 3 --- dictd-1.13.1.tar.gz | 3 +++ dictd.changes | 9 +++++++++ dictd.service | 1 - dictd.spec | 4 ++-- 5 files changed, 14 insertions(+), 6 deletions(-) delete mode 100644 dictd-1.13.0.tar.gz create mode 100644 dictd-1.13.1.tar.gz diff --git a/dictd-1.13.0.tar.gz b/dictd-1.13.0.tar.gz deleted file mode 100644 index 74f41e0..0000000 --- a/dictd-1.13.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c714b87056a3a78ecaeb70eaf86d526033fe688352222c9ada00f0f1c2b46ada -size 338542 diff --git a/dictd-1.13.1.tar.gz b/dictd-1.13.1.tar.gz new file mode 100644 index 0000000..9936e29 --- /dev/null +++ b/dictd-1.13.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a00bfa802354217d355bef2846b69bf81628af9a137651da74a8366ef55ecc16 +size 338581 diff --git a/dictd.changes b/dictd.changes index b53db23..c946fd3 100644 --- a/dictd.changes +++ b/dictd.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sun Feb 20 01:51:47 UTC 2022 - Matej Cepl + +- Update to 1.13.1: + - Remove the last call of gethostbyname(3) + - Fixes by Huy-Ngo in dictfmt help message. +- Remove ProtectHome from the systemd service file, because data + files can be stored in $HOME and indexes need to written to. + ------------------------------------------------------------------- Mon Sep 13 13:57:00 UTC 2021 - Johannes Segitz diff --git a/dictd.service b/dictd.service index 739f801..35da2f0 100644 --- a/dictd.service +++ b/dictd.service @@ -6,7 +6,6 @@ After=network.target # added automatically, for details please see # https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort ProtectSystem=full -ProtectHome=true PrivateDevices=true ProtectHostname=true ProtectClock=true diff --git a/dictd.spec b/dictd.spec index 2f794f6..f23e9b1 100644 --- a/dictd.spec +++ b/dictd.spec @@ -1,7 +1,7 @@ # # spec file for package dictd # -# Copyright (c) 2020 SUSE LLC +# 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 @@ -17,7 +17,7 @@ Name: dictd -Version: 1.13.0 +Version: 1.13.1 Release: 0 Summary: DICT protocol (RFC 2229) server and command-line client License: GPL-1.0-or-later AND Zlib AND MIT From 33d64dea78f9a1670b73683b803e0e5ab4af53afebeb1abdcbd9307346e519ca Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 20 Feb 2022 23:13:23 +0000 Subject: [PATCH 2/2] - Add dictd-rpmlintrc ... potential bashismus is completely innocent (gh#cheusov/dictd#13). OBS-URL: https://build.opensuse.org/package/show/Education/dictd?expand=0&rev=25 --- dictd-rpmlintrc | 2 ++ dictd.changes | 6 ++++++ dictd.spec | 1 + 3 files changed, 9 insertions(+) create mode 100644 dictd-rpmlintrc diff --git a/dictd-rpmlintrc b/dictd-rpmlintrc new file mode 100644 index 0000000..f3d605b --- /dev/null +++ b/dictd-rpmlintrc @@ -0,0 +1,2 @@ +# gh#martanne/vis#990 +addFilter("potential-bashisms.*/usr/bin/dictfmt_index2.*") diff --git a/dictd.changes b/dictd.changes index c946fd3..435f624 100644 --- a/dictd.changes +++ b/dictd.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Feb 20 23:12:10 UTC 2022 - Matej Cepl + +- Add dictd-rpmlintrc ... potential bashismus is completely + innocent (gh#cheusov/dictd#13). + ------------------------------------------------------------------- Sun Feb 20 01:51:47 UTC 2022 - Matej Cepl diff --git a/dictd.spec b/dictd.spec index f23e9b1..8a4690a 100644 --- a/dictd.spec +++ b/dictd.spec @@ -26,6 +26,7 @@ URL: https://github.com/cheusov/dictd Source0: https://github.com/cheusov/dictd/archive/%{version}.tar.gz#/dictd-%{version}.tar.gz Source1: colorit.conf Source2: dictd.service +Source99: dictd-rpmlintrc Patch0: dictd-1.12.1-unused-return.patch BuildRequires: autoconf BuildRequires: bison