Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libite for openSUSE:Factory checked 
in at 2022-12-03 12:48:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libite (Old)
 and      /work/SRC/openSUSE:Factory/.libite.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libite"

Sat Dec  3 12:48:33 2022 rev:9 rq:1039769 version:2.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libite/libite.changes    2021-12-03 
20:35:58.372097195 +0100
+++ /work/SRC/openSUSE:Factory/.libite.new.1835/libite.changes  2022-12-03 
12:48:36.510145181 +0100
@@ -1,0 +2,9 @@
+Sat Dec  3 09:50:44 UTC 2022 - Dirk Müller <dmuel...@suse.com>
+
+- update to 2.5.2:
+  * Add printf format attribute hint to all vararg functions.  This will
+    help users of these functions by telling CC what to look for
+  * Fix `fisdir()` segfault on GNU/Hurd
+  * Fix `touch)` on Debian/kFreeBSD, use `creat()` instad of `mknod()`
+
+-------------------------------------------------------------------

Old:
----
  libite-2.5.0.tar.gz

New:
----
  libite-2.5.2.tar.gz

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

Other differences:
------------------
++++++ libite.spec ++++++
--- /var/tmp/diff_new_pack.KLfNnz/_old  2022-12-03 12:48:37.010147974 +0100
+++ /var/tmp/diff_new_pack.KLfNnz/_new  2022-12-03 12:48:37.018148019 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libite
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2018-2021, Martin Hauke <mar...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
 
 %define sover 5
 Name:           libite
-Version:        2.5.0
+Version:        2.5.2
 Release:        0
 Summary:        BSD function library
 License:        MIT AND X11
@@ -66,7 +66,7 @@
 autoreconf -fiv
 %configure \
   --disable-static
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install

++++++ libite-2.5.0.tar.gz -> libite-2.5.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libite-2.5.0/ChangeLog.md 
new/libite-2.5.2/ChangeLog.md
--- old/libite-2.5.0/ChangeLog.md       2021-11-30 07:01:09.000000000 +0100
+++ new/libite-2.5.2/ChangeLog.md       2022-04-17 14:19:11.000000000 +0200
@@ -4,6 +4,28 @@
 All notable changes to the project are documented in this file.
 
 
+[v2.5.2][] - 2022-04-17
+-----------------------
+
+### Changes
+- Add printf format attribute hint to all vararg functions.  This will
+  help users of these functions by telling CC what to look for
+
+### Fixes
+- Fix `fisdir()` segfault on GNU/Hurd
+- Fix `touch)` on Debian/kFreeBSD, use `creat()` instad of `mknod()`
+
+
+[v2.5.1][] - 2021-12-02
+-----------------------
+
+Debian-only fix.
+
+### Fixes
+- Use `dh_link(1)` to install `/usr/include/lite -> libite/`.  The
+  symlink created by libite installer itself is not kept.
+
+
 [v2.5.0][] - 2021-11-30
 -----------------------
 
@@ -453,7 +475,9 @@
 Initial extraction of frog DNA from [Finit][].  See [README][] for API details.
 
 
-[UNRELEASED]: https://github.com/troglobit/libite/compare/v2.4.1...HEAD
+[UNRELEASED]: https://github.com/troglobit/libite/compare/v2.5.2...HEAD
+[v2.5.2]: https://github.com/troglobit/libite/compare/v2.5.1...v2.5.2
+[v2.5.1]: https://github.com/troglobit/libite/compare/v2.5.0...v2.5.1
 [v2.5.0]: https://github.com/troglobit/libite/compare/v2.4.1...v2.5.0
 [v2.4.1]: https://github.com/troglobit/libite/compare/v2.4.0...v2.4.1
 [v2.4.0]: https://github.com/troglobit/libite/compare/v2.3.1...v2.4.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libite-2.5.0/configure.ac 
new/libite-2.5.2/configure.ac
--- old/libite-2.5.0/configure.ac       2021-11-30 07:01:09.000000000 +0100
+++ new/libite-2.5.2/configure.ac       2022-04-17 14:19:11.000000000 +0200
@@ -1,4 +1,4 @@
-AC_INIT(libite, 2.5.0, https://github.com/troglobit/libite/issues)
+AC_INIT(libite, 2.5.2, https://github.com/troglobit/libite/issues)
 AC_CONFIG_AUX_DIR(aux)
 AM_INIT_AUTOMAKE([1.11 foreign dist-xz])
 AM_SILENT_RULES([yes])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libite-2.5.0/debian/changelog 
new/libite-2.5.2/debian/changelog
--- old/libite-2.5.0/debian/changelog   2021-11-30 07:01:09.000000000 +0100
+++ new/libite-2.5.2/debian/changelog   2022-04-17 14:19:11.000000000 +0200
@@ -1,3 +1,9 @@
+libite (2.5.1) stable; urgency=medium
+
+  * Use dh_link(1) to install `/usr/include/lite -> libite/`.
+
+ -- Joachim Wiberg <troglo...@gmail.com>  Thu, 02 Dec 2021 00:08:41 +0100
+
 libite (2.5.0) stable; urgency=medium
 
   * Header files have moved from `lite/*.h` to `libite/*.h` to prevent
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libite-2.5.0/debian/libite-dev.install 
new/libite-2.5.2/debian/libite-dev.install
--- old/libite-2.5.0/debian/libite-dev.install  2021-11-30 07:01:09.000000000 
+0100
+++ new/libite-2.5.2/debian/libite-dev.install  2022-04-17 14:19:11.000000000 
+0200
@@ -1,5 +1,4 @@
 usr/include/libite/*.h
-usr/include/lite
 usr/lib/*/lib*.a
 usr/lib/*/lib*.so
 usr/lib/*/pkgconfig/lib*.pc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libite-2.5.0/debian/libite-dev.links 
new/libite-2.5.2/debian/libite-dev.links
--- old/libite-2.5.0/debian/libite-dev.links    1970-01-01 01:00:00.000000000 
+0100
+++ new/libite-2.5.2/debian/libite-dev.links    2022-04-17 14:19:11.000000000 
+0200
@@ -0,0 +1 @@
+/usr/include/libite    /usr/include/lite
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libite-2.5.0/debian/rules 
new/libite-2.5.2/debian/rules
--- old/libite-2.5.0/debian/rules       2021-11-30 07:01:09.000000000 +0100
+++ new/libite-2.5.2/debian/rules       2022-04-17 14:19:11.000000000 +0200
@@ -6,6 +6,9 @@
 %:
        dh $@ --with autoreconf
 
+override_dh_auto_configure:
+       dh_auto_configure -- --without-symlink
+
 override_dh_installchangelogs:
        dh_installchangelogs ChangeLog.md
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libite-2.5.0/src/Makefile.am 
new/libite-2.5.2/src/Makefile.am
--- old/libite-2.5.0/src/Makefile.am    2021-11-30 07:01:09.000000000 +0100
+++ new/libite-2.5.2/src/Makefile.am    2022-04-17 14:19:11.000000000 +0200
@@ -2,7 +2,7 @@
 
 libite_la_CPPFLAGS    = -D_GNU_SOURCE
 libite_la_CFLAGS      = -W -Wall -Wextra
-libite_la_LDFLAGS     = $(AM_LDFLAGS) -version-info 8:1:3
+libite_la_LDFLAGS     = $(AM_LDFLAGS) -version-info 8:2:3
 libite_la_SOURCES     = chomp.c                copyfile.c                      
\
                        conio.c         conio.h         dir.c           \
                        erasef.c        fopenf.c        fremove.c       \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libite-2.5.0/src/fisdir.c 
new/libite-2.5.2/src/fisdir.c
--- old/libite-2.5.0/src/fisdir.c       2021-11-30 07:01:09.000000000 +0100
+++ new/libite-2.5.2/src/fisdir.c       2022-04-17 14:19:11.000000000 +0200
@@ -41,7 +41,7 @@
 {
        struct stat sb;
 
-       if (!stat(path, &sb) && S_ISDIR(sb.st_mode))
+       if (path && !stat(path, &sb) && S_ISDIR(sb.st_mode))
                return 1;
 
        return 0;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libite-2.5.0/src/lite.h new/libite-2.5.2/src/lite.h
--- old/libite-2.5.0/src/lite.h 2021-11-30 07:01:09.000000000 +0100
+++ new/libite-2.5.2/src/lite.h 2022-04-17 14:19:11.000000000 +0200
@@ -72,21 +72,21 @@
 
 char   *chomp      (char *str);
 
-int     erasef     (const char *fmt, ...);
+int     erasef     (const char *fmt, ...) __attribute__ ((format (printf, 1, 
2)));
        
 char   *fparseln   (FILE *, size_t *, size_t *, const char[3], int);
 
 int     fexist     (const char *file);
 int     fisdir     (const char *path);
 
-FILE   *fopenf     (const char *mode, const char *fmt, ...);
-int     fremove    (const char *fmt, ...);
+FILE   *fopenf     (const char *mode, const char *fmt, ...) __attribute__ 
((format (printf, 2, 3)));
+int     fremove    (const char *fmt, ...) __attribute__ ((format (printf, 1, 
2)));
 FILE   *tempfile   (void);
 ssize_t copyfile   (const char *src, const char *dst, int len, int opt);
 int     movefile   (const char *src, const char *dst);
 int     fcopyfile  (FILE *src, FILE *dst);
 ssize_t fsendfile  (FILE *src, FILE *dst, size_t len);
-int     truncatef  (off_t length, const char *fmt, ...);
+int     truncatef  (off_t length, const char *fmt, ...) __attribute__ ((format 
(printf, 2, 3)));
 
 int     ifconfig   (const char *ifname, const char *addr, const char *mask, 
int up);
 
@@ -97,7 +97,7 @@
 int     lfgetint   (lfile_t *lf, const char *key);
 int     fgetint    (const char *file, const char *sep, const char *key);
 
-int     fmkpath    (mode_t mode, const char *fmt, ...);
+int     fmkpath    (mode_t mode, const char *fmt, ...) __attribute__ ((format 
(printf, 2, 3)));
 int     mkpath     (const char *dir, mode_t mode);
 int     makepath   (const char *dir);
 
@@ -114,16 +114,16 @@
 void    progress       (int percent, int max_width);
 void    progress_simple(int percent);
 
-int     systemf        (const char *fmt, ...);
+int     systemf        (const char *fmt, ...) __attribute__ ((format (printf, 
1, 2)));
 
 sdbuf_t*telnet_open    (int addr, short port);
 int     telnet_close   (sdbuf_t *ctx);
 int     telnet_expect  (sdbuf_t *ctx, char *script[], FILE *output);
 int     telnet_session (int addr, short port, char *script[], FILE *output);
 
-int     touchf         (const char *fmt, ...);
+int     touchf         (const char *fmt, ...) __attribute__ ((format (printf, 
1, 2)));
 
-int     yorn       (const char *fmt, ...);
+int     yorn       (const char *fmt, ...) __attribute__ ((format (printf, 1, 
2)));
 
 char   *which      (const char *cmd);
 int     whichp     (const char *cmd);
@@ -139,10 +139,15 @@
  */
 static inline int touch(const char *path)
 {
+       int fd;
+
        if (utimensat(AT_FDCWD, path, NULL, 0)) {
-               if (errno == ENOENT)
-                       return mknod((path), S_IFREG|0644, 0);
-               return -1;
+               if (errno != ENOENT)
+                       return -1;
+               fd = creat(path, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
+               if (fd < 0)
+                       return -1;
+               close(fd);
        }
        return 0;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libite-2.5.0/test/pidfile.c 
new/libite-2.5.2/test/pidfile.c
--- old/libite-2.5.0/test/pidfile.c     2021-11-30 07:01:09.000000000 +0100
+++ new/libite-2.5.2/test/pidfile.c     2022-04-17 14:19:11.000000000 +0200
@@ -41,7 +41,7 @@
        char buf[80];
 
        /* Must sleep a while here otherwise we execute too fast => no mtime 
change :-( */
-       usleep(10000);
+       sleep(2);
 
        PRINT("Calling pidfile() again to update mtime ...\n");
        if (pidfile(pidfile_arg))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libite-2.5.0/test/touch.c 
new/libite-2.5.2/test/touch.c
--- old/libite-2.5.0/test/touch.c       2021-11-30 07:01:09.000000000 +0100
+++ new/libite-2.5.2/test/touch.c       2022-04-17 14:19:11.000000000 +0200
@@ -23,7 +23,7 @@
        stat(file, &before);
 
        /* Must sleep a while here otherwise we execute too fast => no mtime 
change :-( */
-       usleep(10000);
+       sleep(2);
 
        PRINT("Calling touch() again to update mtime ...\n");
        if (touch(file)) {

Reply via email to