Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dictd for openSUSE:Factory checked 
in at 2024-11-17 16:41:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dictd (Old)
 and      /work/SRC/openSUSE:Factory/.dictd.new.2017 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dictd"

Sun Nov 17 16:41:55 2024 rev:8 rq:1224569 version:1.13.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/dictd/dictd.changes      2024-03-15 
20:31:02.459550794 +0100
+++ /work/SRC/openSUSE:Factory/.dictd.new.2017/dictd.changes    2024-11-17 
16:41:59.181195526 +0100
@@ -1,0 +2,29 @@
+Fri Nov 15 12:58:53 UTC 2024 - Matej Cepl <[email protected]>
+
+- Update to 1.13.2:
+  - Remove config.{sub,guess}
+  - Update version to 1.13.2
+  - Rename configure.in to configure.ac
+  - dictP.h: remove #include <sys/time.h>
+  - configure.in: fix obsolete code
+  - Fix compilation issues with gcc-14
+  - Update configure script and the like (autoconf-2.72)
+- Remove upstreamed patches:
+  - gcc-14.patch
+- Add index-buf-ovrflw.patch to fix a buffer overflow in index.c
+  (courtesy of the upstream author).
+
+-------------------------------------------------------------------
+Sat Nov 02 21:08:57 UTC 2024 - [email protected]
+
+- Update to version 1.13.1+git.1730572217.cccab00:
+  * dictd: listen to ipv6 and ipv4 by default
+  * remove use of deprecated inet_aton and inet_ntoa
+  * dictd: install dictd*.conf files to ${DATADIR}/examples/dictd by default
+  * Fix problems with DICT_CONFIG_PATH and other defined came from Makefile
+  * dict/Makefile: do not copy man page to ${BINDIR} :-)
+  * dict/Makefile: formatting
+  * dict: install samples dict.conf and dict2.conf to ${EGDIR}
+  * Move examples/dict1.conf to dict/
+
+-------------------------------------------------------------------

Old:
----
  dictd-1.13.1.tar.gz

New:
----
  _scmsync.obsinfo
  _service.NO
  _servicedata
  build.specials.obscpio
  dictd-1.13.2.tar.gz
  index-buf-ovrflw.patch

BETA DEBUG BEGIN:
  New:  - gcc-14.patch
- Add index-buf-ovrflw.patch to fix a buffer overflow in index.c
  (courtesy of the upstream author).
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dictd.spec ++++++
--- /var/tmp/diff_new_pack.P4wmtd/_old  2024-11-17 16:42:01.125276277 +0100
+++ /var/tmp/diff_new_pack.P4wmtd/_new  2024-11-17 16:42:01.125276277 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           dictd
-Version:        1.13.1
+Version:        1.13.2
 Release:        0
 Summary:        DICT protocol (RFC 2229) server and command-line client
 License:        BSD-3-Clause AND GPL-1.0-or-later AND GPL-2.0-only AND 
GPL-2.0-or-later AND GPL-3.0-or-later AND MIT AND SUSE-Public-Domain
@@ -28,11 +28,16 @@
 Source2:        dictd.service
 Source99:       dictd-rpmlintrc
 Patch0:         dictd-1.12.1-unused-return.patch
+# PATCH-FIX-UPSTREAM index-buf-ovrflw.patch [email protected]
+# A buffer overflow
+Patch1:         index-buf-ovrflw.patch
+# BuildRequires:  mk-configure
 BuildRequires:  autoconf
 BuildRequires:  bison
 BuildRequires:  flex
 BuildRequires:  gawk
 BuildRequires:  gcc
+BuildRequires:  judy-devel
 BuildRequires:  libdbi-devel
 BuildRequires:  libmaa-devel
 BuildRequires:  libtool
@@ -52,12 +57,6 @@
 execute `dict grunt` at a command line. See the man pages of dict and
 dictd for details.
 
-%prep
-%setup -q
-%autopatch -p1
-
-autoreconf -fv
-
 %package devel
 Summary:        Development files for dictd
 Group:          Development/Languages/C and C++
@@ -73,14 +72,30 @@
 
 This package contains development files for the dictd package.
 
+%prep
+%autosetup -p1
+
+autoreconf --force --install --verbose
+
 %build
 export LDFLAGS="%{?__global_ldflags}" CPPFLAGS="%{optflags} -fPIC"
+# export USE_PLUGIN=1
+# export PREFIX="%%{_prefix}"
+# export MANDIR="%%{_mandir}"
+# export SYSCONFDIR="%%{_sysconfdir}"
+# export CC="%%{__cc}"
+# export DESTDIR="%%{buildroot}"
+# export COPTS="%%{optflags} -fPIC"
+# mkc_compiler_settings
+# mkcmake all
+export LEXLIB="-fl"
 %configure --enable-dictorg --with-plugin-dbi
 # --disable-plugin
 %make_build
 
 %install
 %make_install
+# mkcmake install
 install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/colorit.conf
 cat <<EOF >%{buildroot}/%{_sysconfdir}/dictd.conf
 global {
@@ -110,6 +125,9 @@
 fi
 rm -fv %{buildroot}%{_libdir}/*.{la,a}
 
+%check
+%make_build test
+
 %pre
 %service_add_pre dictd.service
 

++++++ _scmsync.obsinfo ++++++
mtime: 1731758819
commit: e0a55a24366a25dbc91aaa2188ec20fb913c26a2be4a29949e7703dd3590a7e1
url: https://src.opensuse.org/mcepl/dictd.git
revision: e0a55a24366a25dbc91aaa2188ec20fb913c26a2be4a29949e7703dd3590a7e1

++++++ _service.NO ++++++
<services>
  <service name="obs_scm" mode="manual">
    <param name="scm">git</param>
    <param name="url">https://github.com/cheusov/dictd.git</param>
    <param name="versionprefix">1.13.1+git</param>
    <param name="revision">dictd-1.13</param>
    <param name="changesgenerate">enable</param>
    <param name="changesauthor">[email protected]</param>
  </service>
  <service name="tar" mode="buildtime"/>
  <service name="recompress" mode="buildtime">
    <param name="file">*.tar</param>
    <param name="compression">gz</param>
  </service>
  <service name="set_version" mode="manual"/>
</services>

++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
                <param name="url">https://github.com/cheusov/dictd.git</param>
              <param 
name="changesrevision">cccab00fe9eea071f35474c0f7d1c95daa5eeb22</param></service></servicedata>
(No newline at EOF)

++++++ dictd-1.13.1.tar.gz -> dictd-1.13.2.tar.gz ++++++
++++ 4601 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/dictd-1.13.1/NEWS new/dictd-1.13.2/NEWS
--- old/dictd-1.13.1/NEWS       2021-11-21 13:49:10.000000000 +0100
+++ new/dictd-1.13.2/NEWS       2024-11-15 10:22:36.000000000 +0100
@@ -1,4 +1,11 @@
 ----------------------------------------------------------------------
+Version 1.13.2, by Aleksey Cheusov, Fri, 15 Nov 2024 09:08:42 +0400
+
+  Modernize configure.in and rename it configure.ac
+
+  Fix build failures with gcc-14
+
+----------------------------------------------------------------------
 Version 1.13.1, by Aleksey Cheusov, Sun, 21 Nov 2021 15:46:08 +0300
 
   Remove the last call of gethostbyname(3)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/dictd-1.13.1/clientparse.y new/dictd-1.13.2/clientparse.y
--- old/dictd-1.13.1/clientparse.y      2021-11-21 13:49:10.000000000 +0100
+++ new/dictd-1.13.2/clientparse.y      2024-11-15 10:22:36.000000000 +0100
@@ -24,6 +24,8 @@
 #define YYERROR_VERBOSE
 
 static dictServer *s;
+extern int yylex(void);
+extern void yyerror(const char *message);
 %}
 
 %union {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/dictd-1.13.1/configure.ac new/dictd-1.13.2/configure.ac
--- old/dictd-1.13.1/configure.ac       1970-01-01 01:00:00.000000000 +0100
+++ new/dictd-1.13.2/configure.ac       2024-11-15 10:22:36.000000000 +0100
@@ -0,0 +1,248 @@
+dnl Process this file with autoconf to produce a configure script for dict.
+dnl
+dnl Created: Wed Apr 24 14:11:05 1996 by [email protected]
+dnl Copyright 1996-1999, 2001-2002 Rickard E. Faith ([email protected])
+dnl Copyright 2002-2008 Aleksey Cheusov ([email protected])
+dnl
+dnl This program is free software; you can redistribute it and/or modify it
+dnl under the terms of the GNU General Public License as published by the
+dnl Free Software Foundation; either version 1, or (at your option) any
+dnl later version.
+dnl
+dnl This program is distributed in the hope that it will be useful, but
+dnl WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+dnl General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License along
+dnl with this program; if not, write to the Free Software Foundation, Inc.,
+dnl 675 Mass Ave, Cambridge, MA 02139, USA.
+dnl
+dnl Flag conventions:
+dnl     CFLAGS and LDFLAGS should be settable on the make commandline
+dnl             for optimization and stripping.
+dnl     LIBOBJS is an automatically-generated list of extra objects we need
+
+
+define(VERSION, 1.13.2)
+
+
+AC_PREREQ([2.72])
+AC_REVISION($Revision: 1.144 $)
+
+AC_INIT([dict],[VERSION],[[email protected]])
+
+AC_CONFIG_SRCDIR([dictd.c])
+AC_CONFIG_HEADERS([config.h])
+
+echo Configuring for dict
+echo .
+
+DICT_VERSION=VERSION
+
+AC_CANONICAL_HOST
+
+AC_PROG_CC
+AC_PROG_CPP
+AC_PROG_CXX
+
+AC_SEARCH_LIBS([strerror],[cposix])
+
+REALCC="$CC"
+if test "$CC" = gcc; then
+    CFLAGS="$CFLAGS -Wall"
+    CFLAGS="$CFLAGS -Wwrite-strings -Wcast-align -Wmissing-prototypes"
+    CFLAGS="$CFLAGS -Wshadow -Wnested-externs -Waggregate-return"
+fi
+
+AC_ARG_ENABLE([plugin],[  --disable-plugin        without plugin support])
+if test "x${enableval}" != xno; then
+    AC_CHECK_LIB(c, dlopen,
+        [USE_PLUGIN=2],
+        AC_CHECK_LIB(dl, dlopen,
+            [LIBS="$LIBS -ldl"; USE_PLUGIN=2],
+            AC_CHECK_LIB(ltdl,lt_dlopen,
+                [LIBS="$LIBS -lltdl"; USE_PLUGIN=1])))
+fi
+
+dnl Checks for programs.
+echo Checking for programs
+
+AC_PROG_AWK
+AC_PROG_INSTALL
+AC_PROG_RANLIB
+AC_PROG_MAKE_SET
+AC_PROG_YACC
+AC_PROG_LEX(yywrap)
+
+AC_CHECK_PROG(LIBTOOL,libtool,libtool)
+
+AC_CHECK_PROGS(NROFF,gnroff nroff)
+AC_CHECK_PROGS(TROFF,groff troff)
+AC_CHECK_PROGS(COL,col cat)
+AC_CHECK_PROGS(EXPAND,expand cat)
+
+echo .
+echo Checking for libraries
+
+AC_CHECK_LIB(maa,maa_shutdown, [LIBMAA=-lmaa],
+       [AC_MSG_ERROR([Libmaa not found])])
+
+AC_ARG_WITH(plugin-dbi,
+[  --with-plugin-dbi       build libdbi plugin (plugin support should be 
enabled)],
+[
+if test "x${withval}" != xno; then
+       AC_CHECK_LIB(dbi,  dbi_shutdown,
+           [PLUGINS="$PLUGINS dictdplugin_dbi.la"],
+           [AC_MSG_ERROR([libdbi not found, cannot continue])])
+       AC_CHECK_HEADER([dbi/dbi.h],,
+           [AC_MSG_ERROR([dbi/dbi.h not found, cannot continue])])
+fi
+])
+
+AC_ARG_WITH(plugin-judy,
+[  --with-plugin-judy      build judy plugin (plugin support should be 
enabled)],
+[
+if test "x${withval}" != xno; then
+       AC_CHECK_LIB(Judy, JudySLNext,
+           [PLUGINS="$PLUGINS dictdplugin_judy.la"],
+           [AC_MSG_ERROR([libJudy not found, cannot continue])])
+       AC_CHECK_HEADER([Judy.h],,
+           [AC_MSG_ERROR([Judy.h not found, cannot continue])])
+fi
+])
+
+AC_CHECK_LIB(c,getnameinfo,
+       [true],
+       [AC_CHECK_LIB(socket,getnameinfo)])
+
+AC_CHECK_LIB(c,inet_ntop,
+       [true],
+       [AC_CHECK_LIB(nsl,inet_ntop)])
+
+echo .
+echo Checking for header files
+
+AC_PROG_EGREP
+
+if test "x${USE_PLUGIN}" = "x2"; then
+   # We use native dlopen
+   AC_CHECK_HEADERS(dlfcn.h, [CFLAGS="$CFLAGS -DUSE_PLUGIN"], [USE_PLUGIN=])
+fi
+if test "x${USE_PLUGIN}" = "x1"; then
+   # We use libltdl
+   AC_CHECK_HEADERS(ltdl.h, [CFLAGS="$CFLAGS -DUSE_PLUGIN"], [USE_PLUGIN=])
+fi
+
+AC_CHECK_HEADER([zlib.h], ,
+    [AC_MSG_ERROR([zlib.h is required for dictd])])
+
+echo .
+echo Checking for system constants
+
+AC_C_CONST
+AC_C_INLINE
+
+echo .
+echo Checking for library functions
+
+AC_CHECK_FUNCS(dlopen)
+
+AC_CHECK_FUNC(daemon,, [AC_LIBOBJ([daemon3])])
+
+AC_FUNC_ALLOCA
+
+AC_REPLACE_FUNCS(setenv)
+AC_CHECK_FUNCS(putenv)
+
+AC_LIBOBJ([wcrtomb])
+AC_LIBOBJ([wctomb])
+AC_LIBOBJ([mbrlen])
+AC_LIBOBJ([mbrtowc])
+AC_LIBOBJ([mbstowcs])
+AC_LIBOBJ([mbtowc])
+AC_LIBOBJ([iswspace])
+AC_LIBOBJ([iswalnum])
+AC_LIBOBJ([towlower])
+#      AC_LIBOBJ([wcwidth])
+
+AC_REPLACE_FUNCS(strlcpy strlcat)
+
+echo .
+echo Making output files
+
+CC="$REALCC"
+
+test "_$exec_prefix" = _NONE && exec_prefix='${prefix}'
+
+eval3 () { eval echo $(eval echo $(eval echo $@)); }
+
+SYSCONFDIR=`eval3 $sysconfdir`
+BINDIR=`eval3 $bindir`
+SBINDIR=`eval3 $sbindir`
+LIBEXECDIR=`eval3 $libexecdir`
+DATADIR=`eval3 $datadir`
+
+AC_SUBST(DICT_VERSION)
+AC_SUBST(USE_PLUGIN)
+AC_SUBST(EXEEXT)
+AC_SUBST(allsubdirs)
+AC_SUBST(LIBTOOL)
+
+AC_SUBST(PLUGINS)
+
+AC_SUBST(SYSCONFDIR)
+AC_SUBST(BINDIR)
+AC_SUBST(SBINDIR)
+AC_SUBST(LIBEXECDIR)
+AC_SUBST(DATADIR)
+
+AC_SUBST(LIBMAA)
+AC_SUBST(srcdir)
+
+AC_CONFIG_FILES([Makefile doc/Makefile])
+AC_CONFIG_FILES([dictdplugin-config], [chmod +x dictdplugin-config])
+AC_CONFIG_FILES([dictl], [chmod +x dictl])
+AC_CONFIG_FILES([colorit], [chmod +x colorit])
+AC_CONFIG_FILES([dictunformat], [chmod +x dictunformat])
+AC_CONFIG_FILES([dictfmt_index2suffix], [chmod +x dictfmt_index2suffix])
+AC_CONFIG_FILES([dictfmt_index2word], [chmod +x dictfmt_index2word])
+AC_CONFIG_FILES([examples/dictd_popen.conf])
+
+AC_CONFIG_FILES(colorit.1)
+AC_CONFIG_FILES(dict.1)
+AC_CONFIG_FILES(dictfmt.1)
+AC_CONFIG_FILES(dictfmt_index2suffix.1)
+AC_CONFIG_FILES(dictfmt_index2word.1)
+AC_CONFIG_FILES(dictl.1)
+AC_CONFIG_FILES(dict_lookup.1)
+AC_CONFIG_FILES(dictunformat.1)
+AC_CONFIG_FILES(dictzip.1)
+AC_CONFIG_FILES(dictd.8)
+
+AC_CONFIG_FILES(test/dictd_test)
+AC_CONFIG_FILES(test/dictzip_test)
+
+AC_OUTPUT
+
+printf '\n\n'
+
+# PLUGIN SUPPORT
+printf "plugin support:  "
+if test "_$USE_PLUGIN" = "_"; then
+  echo disabled
+else
+  case "$USE_PLUGIN" in
+    1) echo libltdl;;
+    2) echo native
+  esac
+
+  printf " enabled plugins: %s\n" "$PLUGINS"
+fi
+
+printf '\n\n'
+
+touch stamp-h.in
+touch stamp-h
+#echo .
+#echo Done
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/dictd-1.13.1/configure.in new/dictd-1.13.2/configure.in
--- old/dictd-1.13.1/configure.in       2021-11-21 13:49:10.000000000 +0100
+++ new/dictd-1.13.2/configure.in       1970-01-01 01:00:00.000000000 +0100
@@ -1,249 +0,0 @@
-dnl Process this file with autoconf to produce a configure script for dict.
-dnl
-dnl Created: Wed Apr 24 14:11:05 1996 by [email protected]
-dnl Copyright 1996-1999, 2001-2002 Rickard E. Faith ([email protected])
-dnl Copyright 2002-2008 Aleksey Cheusov ([email protected])
-dnl
-dnl This program is free software; you can redistribute it and/or modify it
-dnl under the terms of the GNU General Public License as published by the
-dnl Free Software Foundation; either version 1, or (at your option) any
-dnl later version.
-dnl
-dnl This program is distributed in the hope that it will be useful, but
-dnl WITHOUT ANY WARRANTY; without even the implied warranty of
-dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-dnl General Public License for more details.
-dnl
-dnl You should have received a copy of the GNU General Public License along
-dnl with this program; if not, write to the Free Software Foundation, Inc.,
-dnl 675 Mass Ave, Cambridge, MA 02139, USA.
-dnl
-dnl Flag conventions:
-dnl     CFLAGS and LDFLAGS should be settable on the make commandline
-dnl             for optimization and stripping.
-dnl     LIBOBJS is an automatically-generated list of extra objects we need
-
-
-define(VERSION, 1.13.1)
-
-
-AC_PREREQ(2.53)
-AC_REVISION($Revision: 1.144 $)
-
-AC_INIT([dict],[VERSION],[[email protected]])
-
-AC_CONFIG_SRCDIR([dictd.c])
-AC_CONFIG_HEADER(config.h)
-
-echo Configuring for dict
-echo .
-
-DICT_VERSION=VERSION
-
-AC_CANONICAL_HOST
-
-AC_PROG_CC
-AC_PROG_CPP
-AC_PROG_CXX
-
-AC_ISC_POSIX
-
-REALCC="$CC"
-if test "$CC" = gcc; then
-    CFLAGS="$CFLAGS -Wall"
-    CFLAGS="$CFLAGS -Wwrite-strings -Wcast-align -Wmissing-prototypes"
-    CFLAGS="$CFLAGS -Wshadow -Wnested-externs -Waggregate-return"
-fi
-
-AC_ARG_ENABLE([plugin],[  --disable-plugin        without plugin support])
-if test "x${enableval}" != xno; then
-    AC_CHECK_LIB(c, dlopen,
-        [USE_PLUGIN=2],
-        AC_CHECK_LIB(dl, dlopen,
-            [LIBS="$LIBS -ldl"; USE_PLUGIN=2],
-            AC_CHECK_LIB(ltdl,lt_dlopen,
-                [LIBS="$LIBS -lltdl"; USE_PLUGIN=1])))
-fi
-
-dnl Checks for programs.
-echo Checking for programs
-
-AC_PROG_AWK
-AC_PROG_INSTALL
-AC_PROG_RANLIB
-AC_PROG_MAKE_SET
-AC_PROG_YACC
-AC_PROG_LEX
-
-AC_CHECK_PROG(LIBTOOL,libtool,libtool)
-
-AC_CHECK_PROGS(NROFF,gnroff nroff)
-AC_CHECK_PROGS(TROFF,groff troff)
-AC_CHECK_PROGS(COL,col cat)
-AC_CHECK_PROGS(EXPAND,expand cat)
-
-echo .
-echo Checking for libraries
-
-AC_CHECK_LIB(maa,maa_shutdown, [LIBMAA=-lmaa],
-       [AC_MSG_ERROR([Libmaa not found])])
-
-AC_ARG_WITH(plugin-dbi,
-[  --with-plugin-dbi       build libdbi plugin (plugin support should be 
enabled)],
-[
-if test "x${withval}" != xno; then
-       AC_CHECK_LIB(dbi,  dbi_shutdown,
-           [PLUGINS="$PLUGINS dictdplugin_dbi.la"],
-           [AC_MSG_ERROR([libdbi not found, cannot continue])])
-       AC_CHECK_HEADER([dbi/dbi.h],,
-           [AC_MSG_ERROR([dbi/dbi.h not found, cannot continue])])
-fi
-])
-
-AC_ARG_WITH(plugin-judy,
-[  --with-plugin-judy      build judy plugin (plugin support should be 
enabled)],
-[
-if test "x${withval}" != xno; then
-       AC_CHECK_LIB(Judy, JudySLNext,
-           [PLUGINS="$PLUGINS dictdplugin_judy.la"],
-           [AC_MSG_ERROR([libJudy not found, cannot continue])])
-       AC_CHECK_HEADER([Judy.h],,
-           [AC_MSG_ERROR([Judy.h not found, cannot continue])])
-fi
-])
-
-AC_CHECK_LIB(c,getnameinfo,
-       [true],
-       [AC_CHECK_LIB(socket,getnameinfo)])
-
-AC_CHECK_LIB(c,inet_ntop,
-       [true],
-       [AC_CHECK_LIB(nsl,inet_ntop)])
-
-echo .
-echo Checking for header files
-
-AC_HEADER_STDC
-AC_HEADER_TIME
-
-if test "x${USE_PLUGIN}" = "x2"; then
-   # We use native dlopen
-   AC_CHECK_HEADERS(dlfcn.h, [CFLAGS="$CFLAGS -DUSE_PLUGIN"], [USE_PLUGIN=])
-fi
-if test "x${USE_PLUGIN}" = "x1"; then
-   # We use libltdl
-   AC_CHECK_HEADERS(ltdl.h, [CFLAGS="$CFLAGS -DUSE_PLUGIN"], [USE_PLUGIN=])
-fi
-
-AC_CHECK_HEADER([zlib.h], ,
-    [AC_MSG_ERROR([zlib.h is required for dictd])])
-
-echo .
-echo Checking for system constants
-
-AC_C_CONST
-AC_C_INLINE
-
-echo .
-echo Checking for library functions
-
-AC_CHECK_FUNCS(dlopen)
-
-AC_CHECK_FUNC(daemon,, [AC_LIBOBJ([daemon3])])
-
-AC_FUNC_ALLOCA
-
-AC_REPLACE_FUNCS(setenv)
-AC_CHECK_FUNCS(putenv)
-
-AC_LIBOBJ([wcrtomb])
-AC_LIBOBJ([wctomb])
-AC_LIBOBJ([mbrlen])
-AC_LIBOBJ([mbrtowc])
-AC_LIBOBJ([mbstowcs])
-AC_LIBOBJ([mbtowc])
-AC_LIBOBJ([iswspace])
-AC_LIBOBJ([iswalnum])
-AC_LIBOBJ([towlower])
-#      AC_LIBOBJ([wcwidth])
-
-AC_REPLACE_FUNCS(strlcpy strlcat)
-
-echo .
-echo Making output files
-
-CC="$REALCC"
-
-test "_$exec_prefix" = _NONE && exec_prefix='${prefix}'
-
-eval3 () { eval echo $(eval echo $(eval echo $@)); }
-
-SYSCONFDIR=`eval3 $sysconfdir`
-BINDIR=`eval3 $bindir`
-SBINDIR=`eval3 $sbindir`
-LIBEXECDIR=`eval3 $libexecdir`
-DATADIR=`eval3 $datadir`
-
-AC_SUBST(DICT_VERSION)
-AC_SUBST(USE_PLUGIN)
-AC_SUBST(EXEEXT)
-AC_SUBST(allsubdirs)
-AC_SUBST(LIBTOOL)
-
-AC_SUBST(PLUGINS)
-
-AC_SUBST(SYSCONFDIR)
-AC_SUBST(BINDIR)
-AC_SUBST(SBINDIR)
-AC_SUBST(LIBEXECDIR)
-AC_SUBST(DATADIR)
-
-AC_SUBST(LIBMAA)
-AC_SUBST(srcdir)
-
-AC_CONFIG_FILES([Makefile doc/Makefile])
-AC_CONFIG_FILES([dictdplugin-config], [chmod +x dictdplugin-config])
-AC_CONFIG_FILES([dictl], [chmod +x dictl])
-AC_CONFIG_FILES([colorit], [chmod +x colorit])
-AC_CONFIG_FILES([dictunformat], [chmod +x dictunformat])
-AC_CONFIG_FILES([dictfmt_index2suffix], [chmod +x dictfmt_index2suffix])
-AC_CONFIG_FILES([dictfmt_index2word], [chmod +x dictfmt_index2word])
-AC_CONFIG_FILES([examples/dictd_popen.conf])
-
-AC_CONFIG_FILES(colorit.1)
-AC_CONFIG_FILES(dict.1)
-AC_CONFIG_FILES(dictfmt.1)
-AC_CONFIG_FILES(dictfmt_index2suffix.1)
-AC_CONFIG_FILES(dictfmt_index2word.1)
-AC_CONFIG_FILES(dictl.1)
-AC_CONFIG_FILES(dict_lookup.1)
-AC_CONFIG_FILES(dictunformat.1)
-AC_CONFIG_FILES(dictzip.1)
-AC_CONFIG_FILES(dictd.8)
-
-AC_CONFIG_FILES(test/dictd_test)
-AC_CONFIG_FILES(test/dictzip_test)
-
-AC_OUTPUT
-
-printf '\n\n'
-
-# PLUGIN SUPPORT
-printf "plugin support:  "
-if test "_$USE_PLUGIN" = "_"; then
-  echo disabled
-else
-  case "$USE_PLUGIN" in
-    1) echo libltdl;;
-    2) echo native
-  esac
-
-  printf " enabled plugins: %s\n" "$PLUGINS"
-fi
-
-printf '\n\n'
-
-touch stamp-h.in
-touch stamp-h
-#echo .
-#echo Done
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/dictd-1.13.1/dictP.h new/dictd-1.13.2/dictP.h
--- old/dictd-1.13.1/dictP.h    2021-11-21 13:49:10.000000000 +0100
+++ new/dictd-1.13.2/dictP.h    2024-11-15 10:22:36.000000000 +0100
@@ -151,7 +151,6 @@
 #endif
 
 /* Get time functions */
-#include <sys/time.h>
 #include <time.h>
 
 /* Include some standard header files. */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/dictd-1.13.1/servparse.y new/dictd-1.13.2/servparse.y
--- old/dictd-1.13.1/servparse.y        2021-11-21 13:49:10.000000000 +0100
+++ new/dictd-1.13.2/servparse.y        2024-11-15 10:22:36.000000000 +0100
@@ -48,6 +48,10 @@
       src_parse_error( stderr, s.src, #field "already set" ); \
    db->field = t.string;                                      \
 } while(0);
+
+extern int yylex(void);
+extern void yyerror(const char *message);
+
 %}
 
 %union {

++++++ dictd.obsinfo ++++++
--- /var/tmp/diff_new_pack.P4wmtd/_old  2024-11-17 16:42:01.573294887 +0100
+++ /var/tmp/diff_new_pack.P4wmtd/_new  2024-11-17 16:42:01.577295053 +0100
@@ -1,6 +1,5 @@
 name: dictd
-version: 1.12.1.git.1520674574.9a2f53e
-mtime: 1520674574
-commit: 9a2f53ec26ec7eb1880437f1cafae6291634c98d
-
+version: 1.13.1+git.1730572217.cccab00
+mtime: 1730572217
+commit: cccab00fe9eea071f35474c0f7d1c95daa5eeb22
 

++++++ index-buf-ovrflw.patch ++++++
diff --git a/index.c b/index.c
index ced1459..883a12d 100644
--- a/index.c
+++ b/index.c
@@ -1505,7 +1505,7 @@ static int dict_search_suffix(
    assert (database);

    if (database->index_suffix){
-      buf = (char *) alloca (strlen (word));
+      buf = (char *) alloca (strlen (word) + 1);
       strcpy (buf, word);

       PRINTF(DBG_SEARCH, ("anagram: '%s' ==> ", buf));
@@ -1549,7 +1549,7 @@ static int dict_search_last (
    assert (database);

    if (database->index_suffix){
-      buf = (char *) alloca (strlen (word));
+      buf = (char *) alloca (strlen (word) + 1);
       strcpy (buf, word);

       PRINTF(DBG_SEARCH, ("anagram: '%s' ==> ", buf));

Reply via email to