210 Commits

Author SHA1 Message Date
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
8e9d7c933a doc: Fix codespell nits 2025-11-27 00:33:35 +01: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
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
845868e84e maint: Use tar --format=ustar.
* configure.ac (AM_INIT_AUTOMAKE): Add tar-ustar.
cfg.mk (TAR_OPTIONS): Fix NEWS path.
NEWS: Document it.
2025-02-20 15:15:27 +01:00
Simon Josefsson
bfa8a82e0c Disable rexecd/uucpd on systems without crypt().
* configure.ac: Do it.
2025-01-02 01:33:04 +01:00
Simon Josefsson
04c3738a6c maint: Run 'make update-copyright'. 2025-01-01 18:21:25 +01: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
Simon Josefsson
aba8d6528e maint: Run 'make update-copyright'. 2024-01-01 11:28:59 +01: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
035fc188a3 maint: Autoupdate for autoconf 2.71.
* configure.ac: Don't use AC_TRY_LINK or AC_TRY_COMPILE.
* am/libcurses.m4: Ditto.
* am/krb5.m4: Ditto.
2021-09-03 17:08:10 +02:00
Simon Josefsson
880dbcf7ef Drop obsolete/unused AC_HEADER_DIRENT, AC_FUNC_CLOSEDIR_VOID and AC_FUNC_STRCOLL.
* configure.ac: Remove calls.
2021-09-01 23:35:03 +02:00
Simon Josefsson
a23230a6ff Drop unused IU_CHECK_WEAK_REFS.
* configure.ac: Remove IU_CHECK_WEAK_REFS.
* am/check_weak_refs.m4: Remove file.
2021-09-01 23:12:20 +02:00
Simon Josefsson
fc310f059c Don't use obsolete AC_TYPE_SIGNAL.
* configure.ac: Remove call to AC_TYPE_SIGNAL.
2021-09-01 22:51:24 +02:00
Simon Josefsson
c42e1472ee Don't check for getopt_long, no longer used anywhere.
* configure.ac: Remove check.
2021-07-24 22:44:29 +02:00
Simon Josefsson
1631c62b77 Don't check for getpass, getusershell, and poll (gnulib modules already imported).
* configure.ac: Remove checks.
2021-07-24 22:40:16 +02:00
Simon Josefsson
f4ae6d8891 Don't check for memcmp, memcpy, memmove, memset and strdup (no gnulib module needed).
* configure.ac: Remove checks.
2021-07-24 22:35:57 +02:00
Simon Josefsson
0b8e380b70 Drop AC_C_CONST (obsolete).
* configure.ac: Remove it.
2021-07-24 22:25:14 +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
6d0c8ac203 Remove tests obsoleted by gnulib.
* configure.ac (poll.h, HAVE_SNPRINTF, HAVE_VSNPRINTF, strerror): Drop tests.
2021-07-24 15:34:54 +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
dfe97d186e Fix some autoreconf 2.71 warnings.
configure.ac: Remove obsolete AC_HEADER_STDC, AC_HEADER_TIME,
AC_FUNC_SETVBUF_REVERSED, and AC_DECL_SYS_SIGLIST.  Don't check
for sys/time.h, we never use the test result.
2021-02-05 20:20:48 +01:00
Simon Josefsson
54303616f8 configure.ac: Don't call gl_FUNC_READLINE.
Not needed since we now use readline gnulib module.
2021-01-28 09:16:13 +01:00
Simon Josefsson
b6bfaf9630 Fix link failure with absent -lutil on Solaris 10.
* configure.ac (LIBUTIL): Prefer PTY_LIBS in Makefile.am over
adding -lutil for pty-functions.
* src/Makefile.am (LDADD): Add PTY_LIB.
* telnetd/Makefile.am (LDADD): Likewise.
* tests/Makefile.am (identify_LDADD): Likewise.
2021-01-28 09:01:47 +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
6f98bd80d2 configure.ac: Warn when rcmd is missing. 2021-01-24 17:28:15 +01:00
Simon Josefsson
12d65ad3eb configure.ac: Fix disabling when all rcmd is missing. 2021-01-24 16:45:53 +01:00
Alfred M. Szmidt
911413ea57 Happy GNU 2021 year! 2021-01-01 11:35:27 +01:00
Mats Erik Andersson
b5827bab0c Autoconf 2.64 is now required by Gnulib. 2020-11-10 23:17:43 +01:00
Mats Erik Andersson
705750b8b4 Support for libidn2 in addition to libidn.
Prefer libidn2 when both are present and usable.
2020-04-05 16:21:30 +02:00
Mats Erik Andersson
44e30cc781 Separation of test cases as IPv4 and IPv6.
Existing tests are now made available as separate collections/tasks
for the two address families, selectable at testing time.
2020-01-24 17:21:24 +01:00
Mats Erik Andersson
3c908f3420 Test robustly in absence of IPv6.
A system like Raspbian can be configured without IPv6 at runtime.
Suppress IPv6 addresses in test scripts, whenever IPv6 is auto-inserted
and a check at test execution time fails for `::1'.  Issue was reported
by Bruno Haible.
2020-01-20 16:38:05 +01:00
Mats Erik Andersson
0f16be18ba Attempt to build correctly on Cygwin.
Solution suggested by Bruno Haible for release candidate 1.9.5 rc1.
2020-01-13 20:33:58 +01:00
Mats Erik Andersson
1a12dcb381 Confirm that rcmd functionality is present at all.
Imbedded systems like Alpine Linux with musl libc see no reason
to offer any rcmd variant.  Adapt to this fact, as reported by
Assaf Gordon and by Bruno Haible.
2020-01-12 01:15:44 +01:00
Mats Erik Andersson
522101f499 Consistent use of grep tools in scripts.
Lack of consistency surfaced as a portability issue for Solaris 11.
Reported by Bruno Haible for release candidate.
2020-01-11 12:01:02 +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
80e18f8aea Gnulib requires autoconf 2.63, forced by libtool. 2018-11-09 23:40: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
5ab869ff3f Properly disable the generation of ping6. 2016-02-09 22:42:00 +01:00
Mats Erik Andersson
84dcf08568 Update copyright years to 2016. (silent change) 2016-01-22 19:09:49 +01:00
Mats Erik Andersson
31714fe8bf Build failures while IPv6 is disabled. 2015-03-14 16:45:05 +01:00
Mats Erik Andersson
c590657f6a Fully configure testing without IPv6.
Set non-standard testing addresses at configuration time.
2015-02-28 22:52:40 +01:00