Accepting request 789765 from home:mcepl:branches:Education

- 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

OBS-URL: https://build.opensuse.org/request/show/789765
OBS-URL: https://build.opensuse.org/package/show/Education/dictd?expand=0&rev=21
This commit is contained in:
Lars Vogdt 2020-04-01 12:34:51 +00:00 committed by Git OBS Bridge
parent ca4b7da854
commit ce4f914a25
7 changed files with 42 additions and 31 deletions

View File

@ -1,15 +0,0 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="versionprefix">1.12.1+git</param>
<param name="url">https://github.com/cheusov/dictd</param>
<param name="scm">git</param>
<param name="exclude">.git*</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">Matej Cepl &lt;mcepl@cepl.eu&gt;</param>
</service>
<service name="recompress" mode="disabled">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@ -1,4 +0,0 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/cheusov/dictd</param>
<param name="changesrevision">78aa097ad20e4ff14f8b73b8c546d57507932a1f</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:397c12049f4d8592ed2047c492005142874147e80b5da4cb6da4145daa65164c
size 237784

View File

@ -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 */

3
dictd-1.13.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c714b87056a3a78ecaeb70eaf86d526033fe688352222c9ada00f0f1c2b46ada
size 338542

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Mon Mar 30 12:37:41 UTC 2020 - Matej Cepl <mcepl@suse.com>
- 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 <mcepl@cepl.eu>

View File

@ -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