diff --git a/_service b/_service deleted file mode 100644 index 00c9ae1..0000000 --- a/_service +++ /dev/null @@ -1,15 +0,0 @@ - - - 1.12.1+git - https://github.com/cheusov/dictd - git - .git* - enable - Matej Cepl <mcepl@cepl.eu> - - - xz - *.tar - - - diff --git a/_servicedata b/_servicedata deleted file mode 100644 index 90bf94d..0000000 --- a/_servicedata +++ /dev/null @@ -1,4 +0,0 @@ - - - https://github.com/cheusov/dictd - 78aa097ad20e4ff14f8b73b8c546d57507932a1f \ No newline at end of file diff --git a/dictd-1.12.1+git.1579902294.78aa097.tar.xz b/dictd-1.12.1+git.1579902294.78aa097.tar.xz deleted file mode 100644 index e24b107..0000000 --- a/dictd-1.12.1+git.1579902294.78aa097.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:397c12049f4d8592ed2047c492005142874147e80b5da4cb6da4145daa65164c -size 237784 diff --git a/dictd-1.12.1-unused-return.patch b/dictd-1.12.1-unused-return.patch index 12b1d56..8df4c7f 100644 --- a/dictd-1.12.1-unused-return.patch +++ b/dictd-1.12.1-unused-return.patch @@ -1,7 +1,6 @@ -diff -purN dictd-1.12.1/dictd.c dictd-1.12.1_new/dictd.c ---- dictd-1.12.1/dictd.c 2011-01-09 17:53:27.000000000 +0100 -+++ dictd-1.12.1_new/dictd.c 2014-02-25 16:12:49.752301674 +0100 -@@ -329,6 +329,7 @@ static void xsigprocmask (int how, const +--- a/dictd.c ++++ b/dictd.c +@@ -332,6 +332,7 @@ static void xsigprocmask (int how, const } } @@ -9,7 +8,7 @@ diff -purN dictd-1.12.1/dictd.c dictd-1.12.1_new/dictd.c static void block_signals (void) { sigset_t set; -@@ -350,6 +351,7 @@ static void unblock_signals (void) +@@ -353,6 +354,7 @@ static void unblock_signals (void) xsigprocmask (SIG_UNBLOCK, &set, NULL); } @@ -17,7 +16,7 @@ diff -purN dictd-1.12.1/dictd.c dictd-1.12.1_new/dictd.c static void handler( int sig ) { -@@ -1264,21 +1266,22 @@ static void release_root_privileges( voi +@@ -1266,21 +1268,22 @@ static void release_root_privileges( voi * -- Bob Hilliard */ { @@ -75,7 +74,7 @@ diff -purN dictd-1.12.1/dictd.c dictd-1.12.1_new/dictd.c const char * default_strategy_arg = "???"; -@@ -1696,7 +1701,7 @@ int main (int argc, char **argv, char ** +@@ -1707,7 +1712,7 @@ int main (int argc, char **argv, char ** if (detach){ /* become a daemon */ diff --git a/dictd-1.13.0.tar.gz b/dictd-1.13.0.tar.gz new file mode 100644 index 0000000..74f41e0 --- /dev/null +++ b/dictd-1.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c714b87056a3a78ecaeb70eaf86d526033fe688352222c9ada00f0f1c2b46ada +size 338542 diff --git a/dictd.changes b/dictd.changes index 4e161b8..bcc8dec 100644 --- a/dictd.changes +++ b/dictd.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Mon Mar 30 12:37:41 UTC 2020 - Matej Cepl + +- Update to 1.13.0: + - dictd: + * add support for IPv6 (the default is IPv4) + - Add global configuration option "address_family" and + command line options --address-family + - Options "listen_to" and --listen-to accepts host name + in addition to IP address, "*" means "bind to all interfaces". + - dict: + * add support for IPv6. + - New command line options -4 and -6. + - dict + dict:// URL: add support for IPv6 address + surrounded by [ and ] symbols + - dictfmt: + * fix overlap of source and destination buffers in memcpy(3). + Use memmove(3) instead. This fixes failures on Linux/musl. + * DICTFMT_SORT environment variable may be used for + setting non-default sort(1) + - Fix build on recent Solaris/IllumOS (missing -lnsl at link + time) + - Remove support for --use-dictorg and socks5. Clean-ups for build + system. + - Remove support for non-utf8 dictionaries. + - tests: + * new test for dictd as a daemon + * always use @AWK@ + * test/dictzip_test.in: avoid printing binary \0. This fixes test on + some systems + ------------------------------------------------------------------- Wed Feb 19 11:15:40 UTC 2020 - Matej Cepl diff --git a/dictd.spec b/dictd.spec index 0ab2cad..2f794f6 100644 --- a/dictd.spec +++ b/dictd.spec @@ -17,13 +17,13 @@ Name: dictd -Version: 1.12.1+git.1579902294.78aa097 +Version: 1.13.0 Release: 0 Summary: DICT protocol (RFC 2229) server and command-line client License: GPL-1.0-or-later AND Zlib AND MIT Group: Productivity/Office/Dictionary URL: https://github.com/cheusov/dictd -Source0: %{name}-%{version}.tar.xz +Source0: https://github.com/cheusov/dictd/archive/%{version}.tar.gz#/dictd-%{version}.tar.gz Source1: colorit.conf Source2: dictd.service Patch0: dictd-1.12.1-unused-return.patch