109 Commits

Author SHA1 Message Date
Simon Josefsson
05fcaa89a7 maint: Bump GNULIB_REVISION
* bootstrap.conf (GNULIB_REVISION): Use b3518f60173c907453ee5c7d439f967342de6d0c.
2025-12-06 21:29:55 +01:00
Simon Josefsson
dcbd0b26ed maint: Drop xz tarballs to reduce maintainer QA
* configure.ac (AM_INIT_AUTOMAKE): Remove dist-xz.
* README-alpha: Don't mention xz.
* bootstrap.conf (buildreq): Drop xz.
2025-12-06 21:08:33 +01:00
Simon Josefsson
e279e6a6b7 maint: Bump GNULIB_REVISION.
* bootstrap.conf (GNULIB_REVISION): Use be6027b468.
* gl/top/README-release.diff: Update according to changes in the Gnulib
file.
2025-11-27 00:31:14 +01:00
Collin Funk
f6b14c9afe maint: Bump GNULIB_REVISION.
* bootstrap.conf (GNULIB_REVISION): Use 91aacb5536.
* gl/top/README-release.diff: Update according to changes in the Gnulib
file.
2025-07-21 12:19:59 -07:00
Collin Funk
1ebea32933 maint: Add the vasprintf-posix module.
This module provides the asprintf function that is needed by Inetutils
but is missing on many platforms. Found on AIX 7.3.

* NEWS: Mention the change.
* bootstrap.conf (gnulib_modules): Add vasprintf-posix.
2025-07-09 22:15:50 -07:00
Simon Josefsson
7295d48da2 maint: Use non-deprecated gnulib module names.
* bootstrap.conf (gnulib_modules): Update per ./bootstrap output.
2025-07-08 21:23:50 +02:00
Simon Josefsson
9c2a07aeba maint: Bump GNULIB_REVISION.
* bootstrap.conf (GNULIB_REVISION): Use 92977490.
2025-07-08 21:15:36 +02:00
Collin Funk
9ab1f527c1 Revert "maint: Distribute help2man script."
This reverts commit 4511e4a193.
2025-04-19 11:18:28 -07:00
Collin Funk
4511e4a193 maint: Distribute help2man script.
* .x-update-copyright: New file.
* bootstrap.conf (buildreq): Remove help2man.
* configure.ac: Fallback to distributed help2man if it is not installed.
* man/Makefile.am (EXTRA_DIST): Add help2man.
* man/help2man: Import file.
2025-04-18 20:14:24 -07:00
Collin Funk
8e88c32cfe maint: Fix link errors on Solaris 11 OmniOS.
* bootstrap.conf (gnulib_modules): Add hostent and socket.
* ftp/Makefile.am (ftp_LDADD): New variable.
* ftpd/Makefile.am (ftpd_LDADD): New variable.
* ifconfig/Makefile.am (ifconfig_LDADD): New variable.
* ping/Makefile.am (ping_LDADD): Add $(LIBSOCKET), $(HOSTENT_LIB),
$(LIBINTL), and $(GETADDRINFO_LIB).
(ping6_LDADD): New variable.
* src/Makefile.am (hostname_LDADD, rlogin_LDADD, rsh_LDADD): Add
$(HOSTENT_LIB).
(tftp_LDADD, rexecd_LDADD): Add $(LIBSOCKET).
(rexec_LDADD, dnsdomainname_LDADD, logger_LDADD, inetd_LDADD)
(tftpd_LDADD): New variables.
(rlogind_LDADD): Add $(LIBSOCKET), $(LIBINTL), and $(GETADDRINFO_LIB).
(rshd_LDADD): Add $(HOSTENT_LIB), $(LIBINTL), and $(GETADDRINFO_LIB).
(syslogd_LDADD): Add $(LIBSOCKET), $(HOSTENT_LIB), $(LIBINTL), and
$(GETADDRINFO_LIB).
(uucpd_LDADD): Add $(LIBSOCKET) and $(HOSTENT_LIB).
* talk/Makefile.am (talk_LDADD): New variable.
* talkd/Makefile.am (talkd_LDADD): New variable.
* telnet/Makefile.am (telnet_LDADD): New variable.
* telnetd/Makefile.am (telnetd_LDADD): New variable.
* tests/Makefile.am (localhost_LDADD, runtime_ipv6_LDADD)
(addrpeek_LDADD, tcpget_LDADD): New variables.
* whois/Makefile.am (whois_LDADD): New variable.
2025-02-25 22:36:20 -08:00
Simon Josefsson
b6a6f286d3 maint: Re-run automake to improve reproducible tarballs.
* bootstrap.conf (bootstrap_epilogue): Run automake --no-force.
2025-02-20 15:16:54 +01:00
Simon Josefsson
e335fac5d0 maint: Use AC_CONFIG_MACRO_DIRS instead of ACLOCAL_AMFLAGS.
Also arrange order of directories so that am__aclocal_m4_deps
in Makefile.in is generated the same by ./bootstrap and
autoreconf.  The latter is invoked by 'make release' (via the
_version rule in GNUmakefile) to change the version number.
We want am__aclocal_m4_deps to be identical so that the
"make dist" and "make release" tarballs are identical.

* Makefile.am (ACLOCAL_AMFLAGS): Remove.
configure.ac (AC_CONFIG_MACRO_DIRS): Add.
bootstrap.conf (ACLOCAL_AMFLAGS): Remove.
2025-02-20 15:16:07 +01:00
Simon Josefsson
983e07bd44 maint: Bump GNULIB_REVISION for new maint.mk.
* bootstrap.conf (GNULIB_REVISION): Update.
2025-02-20 15:04:25 +01:00
Simon Josefsson
75a217ac5e maint: Update gnulib revision. 2025-01-01 18:23:35 +01:00
Simon Josefsson
04c3738a6c maint: Run 'make update-copyright'. 2025-01-01 18:21:25 +01:00
Bruno Haible
d88c4ac6c6 maint: Use realloc-posix instead of realloc-gnu.
* bootstrap.conf (gnulib_modules): Update.

Signed-off-by: Simon Josefsson <simon@josefsson.org>
2024-10-31 13:27:21 +01:00
Simon Josefsson
af6a878be1 Update gnulib revision.
* bootstrap.conf (GNULIB_REVISION): Update.
2024-09-03 08:38:39 +02:00
Collin Funk
4b73be3eb2 maint: Use stat-time from Gnulib.
* bootstrap.conf (gnulib_modules): Add stat-time.
* configure.ac: Prefer Gnulib checks for struct stat.
* libls/cmp.c (off_cmp): New function.
(modcmp, acccmp, statcmp, sizecmp): Use functions from stat-time.
* src/rcp.c (write_stat_time): Likewise.
2024-09-02 20:34:54 -07:00
Collin Funk
a6d9848a32 telnet: Handle integer overflow gracefully.
* bootstrap.conf (gnulib_modules): Add inttypes and xstrtoimax.
* telnet/commands.c (send_tncmd): Don't allow the integer argument to
'send dont' to overflow.
2024-08-23 22:48:30 -07:00
Collin Funk
e29e76b37b ftp: Cleanup port number to string conversion.
* bootstrap.conf (gnulib_modules): Add intprops.
* ftp/ftp.c: Include intprops.h.
(portstr): Size buffer to fit exactly 'in_port_t' and a NUL byte.
(hookup): Use 'in_port_t' to represent the port instead of int. Use
sprintf since the buffer size is safe.
* ftp/extern.h (hookup): Adjust deceleration.
* ftp/ftp_var.h: Include netinet/in.h for type definitions.
2024-08-02 22:58:56 -07:00
Collin Funk
b694830a33 ping, ping6: Modernize time functions.
* bootstrap.conf (gnulib_modules): Add timespec-add.
* ping/Makefile.am (LDADD): Add $(CLOCK_TIME_LIB),
$(PTHREAD_SIGMASK_LIB), and $(SELECT_LIB).
* ping/libping.c (ping_init): Use current_timespec instead of
gettimeofday.
* ping/ping_common.c (tvsub): Remove function.
(ping_timeout_p): Return a bool. Use timespec_sub and
current_timespec.
* ping/ping_common.h (PING_SET_INTERVAL): Expect a timespec instead of
a timeval.
(struct ping_data): Store the start time in a timespec instead of a
timeval.
(tvsub): Remove declaration.
(ping_timeout_p): Adjust prototype.
* ping/ping.c (send_echo): Use current_timespec.
(ping_init): Likewise.
(ping_run): Likewise. Use pselect.
* ping/ping6.c (send_echo): Use current_timespec.
(print_echo): Likewise.
(ping_init): Likewise.
(ping_run): Likewise. Use pselect.
* ping/ping_echo.c (print_echo): Use current_timespec.
2024-06-26 20:43:41 -07:00
Collin Funk
550ad69881 traceroute: Modernize time functions.
* bootstrap.conf (gnulib_modules): Add gettime, pselect, timespec, and
timespec-sub.
* src/Makefile.am (traceroute_LDADD): Add $(CLOCK_TIME_LIB),
$(PTHREAD_SIGMASK_LIB), and $(SELECT_LIB).
* src/traceroute.c (trace_t): Use a timespec instead of timeval.
(do_try): Use pselect instead of select. Use current_timespec instead
of gettimeofday. Use timespec_sub.
(trace_write): Use current_timespec instead of gettimeofday.
2024-06-26 16:23:59 -07:00
Simon Josefsson
534e8a29a6 maint: Use GNULIB_REVISION instead of git submodule. 2024-05-06 17:29:58 +02:00
Simon Josefsson
aba8d6528e maint: Run 'make update-copyright'. 2024-01-01 11:28:59 +01:00
Simon Josefsson
e0cec975f6 Remove dummy README-hacking and README-prereq files. 2023-07-31 14:32:28 +02:00
Simon Josefsson
4bfe18d36f maint: Run 'make update-copyright'. 2023-01-01 01:37:41 +01:00
Alfred M. Szmidt
6d519229fa Happy GNU 2022 year! 2022-01-01 17:23:02 +01:00
Simon Josefsson
1d5c923528 maint: Use copyright year ranges for readability.
* cfg.mk (update-copyright-env): Add, from coreutils.
(VC_LIST_ALWAYS_EXCLUDE_REGEX): Add, for update-copyright exceptions.
* README: Add info about copyright year ranges.
* *: Update copyright notices.
2021-09-03 18:41:09 +02:00
Simon Josefsson
215de12d09 maint: Include license text FDL as suggested by bootstrap.
* doc/fdl-1.3.texi: New file, from gnulib.
* bootstrap.conf (gnulib_modules): Remove fdl-1.3.
2021-09-02 10:33:19 +02:00
Simon Josefsson
0ceee23262 Use gnulib module 'attribute' instead of obsolete 'snippets/unused-parameters'.
* */*.c: Use MAYBE_UNUSED instead of _GL_UNUSED_PARAMETER.
* */*.c: Include attribute.h instead of unused-parameters.h.
2021-09-01 22:49:18 +02:00
Simon Josefsson
ec7169ac63 Use gnulib module socklen.
* bootstrap.conf (gnulib_modules): Add it.
* configure.ac: Don't look for it.
2021-07-24 22:24:23 +02:00
Simon Josefsson
75efa1973f Use gnulib modules stdarg, stdlib and string.
* bootstrap.conf (gnulib_modules): Add them.
* configure.ac: Don't look for them.
2021-07-24 22:19:33 +02:00
Simon Josefsson
7476bb2b9a Use gnulib environ module.
* bootstrap.conf (gnulib_modules): Add environ.
* configure.ac: Don't look for environ.
2021-07-24 22:14:17 +02:00
Simon Josefsson
c32b2c4280 Use gnulib errno module.
* bootstrap.conf (gnulib_modules): Add errno.
* configure.ac: Don't look for errno.h.
2021-07-24 22:06:11 +02:00
Simon Josefsson
80b12181a4 Use gnulib getpeername module.
* bootstrap.conf (gnulib_modules): Add getpeername.
* configure.ac: Don't look for getpeername.
2021-07-24 22:01:38 +02:00
Simon Josefsson
353812a5d9 Use gnulib's fts code instead of custom libls/ version.
* bootstrap.conf (gnulib_modules): Add fts.
* libls/fts.h, libls/fts.c: Remove files.
* NEWS: Mention change.
* configure.ac: Drop fchdir test.
2021-07-24 16:06:03 +02:00
Simon Josefsson
23065b1faf Drop old or unnecessary build rules.
* Makefile.am (DISTCLEANFILES): Remove inetutils*.tar*.
(snapshot): Remove rule.
* bootstrap.conf (bootstrap_sync): Remove, causes unnecessary *-dirty
version number if bootstrap changes in gnulib.
(.bootstrap): Remove custom code.
* configure.ac: Remove no-op comments about old systems.
2021-07-24 15:14:40 +02:00
Simon Josefsson
bd972a3995 doc: Improve README-release.
* bootstrap.conf (bootstrap_epilogue): Remove.
* gl/top/README-release.diff: Update.
2021-07-24 15:06:27 +02:00
Simon Josefsson
e395bb93f1 Use gitlog-to-changelog.
* bootstrap.conf (gnulib_modules): Add gitlog-to-changelog.
(bootstrap_post_import_hook): Create ChangeLog, for automake.
* Makefile.am (gen-ChangeLog): New rule.
(dist-hook): Depend on gen-ChangeLog.
(EXTRA_DIST): Distribute ChangeLog.1.
* THANKS: Refer to version control logs too.
* ChangeLog: Renamed to ChangeLog.1.
* NEWS: Mention change.
2021-05-25 17:54:37 +02:00
Simon Josefsson
957d8794d7 Use gnulib sys_types module so we can assume sys/types.h.
* tests/waitdaemon.c, tests/runtime-ipv6.c, tests/readutmp.c: Drop
HAVE_SYS_TYPES_H test.
* bootstrap.conf (gnulib_modules): Add explicit sys_types.
2021-02-05 20:26:59 +01:00
Simon Josefsson
3cba48fb44 bootstrap.conf (buildreq): Add gzip and xz. 2021-01-27 15:17:56 +01:00
Simon Josefsson
b67fc898e6 Sync release process with gnulib approach.
* NEWS: Fix syntax to conform to gnulib release-prep rules.
* cfg.mk: Drop news-check-regexp.
* bootstrap.conf (gnulib_modules): Use readme-release.  Drop now
implicit announce-gen, gnupload and maintainer-makefile.
* bootstrap.conf (bootstrap_epilogue): Add function, fixing
README-release.
* gl/top/README-release.diff: Add file.
* .gitignore: Add README-release.
* cfg.mk (exclude_file_name_regexp--sc_trailing_blank): Add, for
README-release.diff.
* configure.ac (AC_INIT): Don't use sed-expression, it is
incompatible with gnulib's do-release-commit-and-tag.
* cfg.mk (git-version-gen-tag-sed-script): Drop.
* .prev-version: Add file, indicating 1.9.4 as previous release.
* README-alpha (Release procedures): Removed, replaced by
README-release.
* cfg.mk (release-prep-hook): Don't disable it, we now support it.
2021-01-26 16:29:03 +01:00
Simon Josefsson
1c5d700a48 Don't use deprecated gnulib module 'gettext' and replace
readline.m4 with gnulib readline module.

* bootstrap.conf (gnulib_modules): Remove gettext.  Add readline.
* am/readline.m4: Remove file.
2021-01-25 11:35:54 +01:00
Alfred M. Szmidt
911413ea57 Happy GNU 2021 year! 2021-01-01 11:35:27 +01:00
Simon Josefsson
d8de4587f2 Update copyright years to use intervals up to 2020. 2020-01-01 13:21:37 +01:00
Mats Erik Andersson
3d64a8c728 Update copyright years to 2017. (silent change) 2017-02-21 14:25:23 +01:00
Mats Erik Andersson
84dcf08568 Update copyright years to 2016. (silent change) 2016-01-22 19:09:49 +01:00
Alfred M. Szmidt
e83fba6291 Makefile.am (ACLOCAL_AMFLAGS): New variable.
bootstrap.conf (ACLOCAL_AMFLAGS): Add 'm4' to search list.
2015-06-09 09:45:35 +02:00
Alfred M. Szmidt
c824b6fb9c * bootstrap.conf (gnulib_modules): Add announce-gen. 2015-05-12 12:42:04 +00:00
Mats Erik Andersson
d3c9b1b8fa Update copyright years with 2015. (silent change) 2015-01-16 14:09:44 +01:00