Commit Graph

2967 Commits

Author SHA1 Message Date
Simon Josefsson
6f10dcf937 version 2.1
* NEWS: Record release date.
v2.1
2021-07-24 21:37:46 +02:00
Simon Josefsson
b36ba18479 Really try to fix gnulib fts usage.
* libls/ls.c (ls_main): Use FTS_NOCHDIR.
2021-07-24 20:29:58 +02:00
Simon Josefsson
3dcdf66cd6 Fix gnulib fts usage.
* libls/cmp.c: Include fts_.h instead of fts.h.
* libls/ls.c: Likewise.
* libls/print.c: Likewise.
* libls/util.c: Likewise.
2021-07-24 18:12:40 +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
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
01047ced3a Depend on .version instead of configure.ac (for version number changes).
man/Makefile.am: Fix *.1 dependencies.
2021-07-24 15:00:22 +02:00
Simon Josefsson
686b1c287f Reorganize NEWS entries.
* NEWS: Update.
2021-07-24 14:59:01 +02:00
Simon Josefsson
08f9b29654 doc: Remove completed TODO item. 2021-07-20 10:33:05 +02:00
Simon Josefsson
42f436e0d6 Sync bootstrap with gnulib.
* bootstrap: Update.
2021-05-26 19:30:31 +02:00
Simon Josefsson
ef2060d535 ftp: Fix usage under Emacs AngeFTP on Mac OS.
* NEWS: Doc fix.
* doc/inetutils.texi (ftp invocation): Improve --no-edit.
* ftp/main.c (main): Disable readline when TERM unset or dumb,
inspired by trivial patch from Alex Bochannek <alex@bochannek.com>.
2021-05-26 15:29:26 +02:00
Simon Josefsson
c2e4ed31ef Mention 'whois' fixes.
* NEWS: Add.
2021-05-25 17:54:39 +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
Alfred M. Szmidt
d71775f0e2 README: Update. 2021-05-03 17:39:43 +02:00
Simon Josefsson
f70b506e37 telnet: Support --bind (-b) for NetKit compatibility.
* NEWS: Add.
* doc/inetutils.texi (telnet invocation): Add --bind (-b).
* telnet/commands.c (tn): New variables hostaddr and srchostp.
Parse -b parameter.  Update usage string.  If -b is set, call
getaddrinfo on it and pass that ai_addr on to bind.
* telnet/main.c (srcaddr): New global variable.
(argp_options): Add --bind (-b).
(parse_opt): Set srcaddr to -b value.
(main): Propagate -b value to tn function.
2021-04-28 20:14:52 +02:00
Ashish SHUKLA
4587969cf6 whois: Update whois server for .IN
Signed-off-by: Simon Josefsson <simon@josefsson.org>
2021-04-26 21:28:32 +02:00
Ashish SHUKLA
6360616c53 whois: .ORG is not handled by InterNIC anymore
See https://www.iana.org/domains/root/db/org.html

Signed-off-by: Simon Josefsson <simon@josefsson.org>
2021-04-26 21:27:06 +02:00
Simon Josefsson
4ad0b48bcb TODO: Add items discussed on mailing list. 2021-02-11 15:04:32 +01: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
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
ea26ff8166 Fix last commit. 2021-02-05 15:58:12 +01:00
Simon Josefsson
b704e57bc8 maint: post-release administrivia
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
2021-02-05 15:26:21 +01:00
Simon Josefsson
427778551b version 2.0
* NEWS: Record release date.
v2.0
2021-02-05 15:22:30 +01:00
Alfred M. Szmidt
91ad03852a Fix possible buffer overflow in ftp.
* ftp/ftp.c (getreply): Fix possible buffer overflow (backport
from OpenBSD); reported by O. Bittner, D. Maier, M. Munier,
J. Beier of SecT, TU Berlin.
2021-02-01 11:28:47 +01:00
Simon Josefsson
c35057c837 Revert NEWS header after release candidate. 2021-01-29 09:43:07 +01:00
Simon Josefsson
5ae041ece2 version 1.9.4.91
* NEWS: Record release date.
v1.9.4.91
2021-01-29 09:36:02 +01:00
Simon Josefsson
a5532103e3 Add NEWS entry for telnetd vulnerability. 2021-01-29 09:27:23 +01:00
Michal Ruprich
cd7e7e685d telnetd: Fix arbitrary remote code execution via short writes or urgent data
Fixes: CVE-2020-10188
Closes: #956084
Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10188
Patch-Origin: Fedora / RedHat
Patch-URL: https://src.fedoraproject.org/rpms/telnet/raw/master/f/telnet-0.17-overflow-exploit.patch
Signed-off-by: Simon Josefsson <simon@josefsson.org>
2021-01-29 09:24:40 +01:00
Simon Josefsson
a68717a4e5 ping6: Don't allow unprivileged users to flood ping.
* ping/ping6.c (parse_opt): For non-root users, limit interval
like ping.c to avoid DoS.  Reported in
<https://bugs.debian.org/926750>.
* ping/ping_common.h (PING_MIN_USER_INTERVAL): Add.
* ping/ping.c (MIN_USER_INTERVAL): Remove, replaced by
PING_MIN_USER_INTERVAL.
(parse_opt): Update use.
2021-01-29 09:06:56 +01:00
Simon Josefsson
d92d17e98a telnet/commands.c (logoutcmd): Renamed from logout.
Conflicts with system utmp.h's logout(3).
(cmdtab): Use logoutcmd instead of logout.
2021-01-28 17:13:17 +01:00
Simon Josefsson
1175f48255 tests/libls.sh (LSDIR): Fix parallel testing.
Found on Guix and Debian, solution is to not use CWD as test directory
for libls.  Inspired by trivial patch by Guillem Jover
<guillem@hadrons.org>.
2021-01-28 15:55:25 +01:00
Simon Josefsson
3ce348e63c Use error instead of exit. Add ChangeLog entry for previous commit. 2021-01-28 15:40:40 +01:00
Jay
02a379763b patching unchecked setuid in ping.c and ping6.c
Signed-off-by: Simon Josefsson <simon@josefsson.org>
2021-01-28 15:38:19 +01:00
Simon Josefsson
4c8e569dd0 Fix last commit. 2021-01-28 10:29:00 +01:00
Simon Josefsson
6677c12024 tests/hostname.sh: Use uname as fallback if system lack hostname command.
Only require mktemp when running root test.
2021-01-28 10:00:27 +01:00
Simon Josefsson
f88570bae1 tests/hostname.sh: Use system hostname, not system uname, for comparison. 2021-01-28 09:27:14 +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
0b897f624d Fix last commit. 2021-01-27 15:21:09 +01:00
Simon Josefsson
3cba48fb44 bootstrap.conf (buildreq): Add gzip and xz. 2021-01-27 15:17:56 +01:00
Simon Josefsson
17a7db2f35 * .gitignore: Rewrite to use leading / for most top-level files, and general update. 2021-01-27 11:11:30 +01:00
Simon Josefsson
d3e9cb348b Revert post-release administrivia, it was only a pre-release. 2021-01-27 10:32:59 +01:00
Simon Josefsson
0d59c7d350 maint: post-release administrivia
* NEWS: Add header line for next release.
* .prev-version: Record previous version.
* cfg.mk (old_NEWS_hash): Auto-update.
2021-01-26 17:06:36 +01:00
Simon Josefsson
50ecdbfda7 version 1.9.4.90
* NEWS: Record release date.
v1.9.4.90
2021-01-26 16:56:08 +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
141bea0d30 Silence 'make syntax-check'.
* libls/ls.c: Don't include <intprops.h> if we are not using it.
2021-01-25 12:17:41 +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
Simon Josefsson
e8e49253b0 Only do what git-version-gen recommends regarding .version.
* Makefile.am (DISTCLEANFILES): Don't distclean
$(top_builddir)/.version.
2021-01-25 11:10:11 +01:00
Simon Josefsson
efd6bc4abd Fix hostname.sh to not call system hostname, and improve
diagnostics.

* tests/hostname.sh: Fix typo.  Improve output on failures.
2021-01-25 10:23:01 +01:00