summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2024-01-07 18:44:19 +0100
committerYorhel <git@yorhel.nl>2024-01-07 18:44:19 +0100
commit139a3aed722efcf3e77adb0913cfec6f56c8c650 (patch)
treeb7649b24e9b866a5a42e7eeae52b38c890e2a78c
parent3e94ba2c0043cbeec3e8cb484ec51963bc93d329 (diff)
Version 1.24 + static binary updates + get rid of copyright yearHEAD1.24master
-rw-r--r--COPYING2
-rw-r--r--ChangeLog7
-rw-r--r--README4
-rw-r--r--configure.ac2
-rw-r--r--doc/gendoc.c2
-rw-r--r--doc/ncdc.pod.in2
-rw-r--r--src/bloom.c2
-rw-r--r--src/cc.c2
-rw-r--r--src/commands.c2
-rw-r--r--src/db.c2
-rw-r--r--src/dl.c2
-rw-r--r--src/dlfile.c2
-rw-r--r--src/doc.h2
-rw-r--r--src/fl_load.c2
-rw-r--r--src/fl_local.c2
-rw-r--r--src/fl_save.c2
-rw-r--r--src/fl_util.c2
-rw-r--r--src/geoip.c2
-rw-r--r--src/hub.c2
-rw-r--r--src/listen.c2
-rw-r--r--src/main.c2
-rw-r--r--src/ncdc.h2
-rw-r--r--src/net.c2
-rw-r--r--src/proto.c2
-rw-r--r--src/search.c2
-rw-r--r--src/strutil.c2
-rw-r--r--src/tth.c2
-rw-r--r--src/ui.c2
-rw-r--r--src/ui_colors.c2
-rw-r--r--src/ui_listing.c2
-rw-r--r--src/ui_logwindow.c2
-rw-r--r--src/ui_textinput.c2
-rw-r--r--src/uit_conn.c2
-rw-r--r--src/uit_dl.c2
-rw-r--r--src/uit_fl.c2
-rw-r--r--src/uit_hub.c2
-rw-r--r--src/uit_main.c2
-rw-r--r--src/uit_msg.c2
-rw-r--r--src/uit_search.c2
-rw-r--r--src/uit_userlist.c2
-rw-r--r--src/util.c2
-rw-r--r--src/vars.c2
-rwxr-xr-xstatic/build.sh26
43 files changed, 62 insertions, 55 deletions
diff --git a/COPYING b/COPYING
index b1ac9b0..4837e29 100644
--- a/COPYING
+++ b/COPYING
@@ -1,4 +1,4 @@
-Copyright (c) 2011-2022 Yoran Heling
+Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/ChangeLog b/ChangeLog
index 9b783ca..dec3089 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+1.24 - 2024-01-07
+ - Add 'u' key to file browser to sort non-local files first
+ - Fix active mode sometimes breaking on FreeBSD
+ - Fix possible crash on aarch64 when connected to an ADC hub
+ - Slightly improve ADC protocol compliance
+ - Slightly improve C compiler compatibility
+
1.23.1 - 2022-09-27
- Fix buffer overflow on connections tab for incoming IPv6 connections in handshake phase
diff --git a/README b/README
index b7e3ee0..a50c4da 100644
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
-ncdc 1.23.1
-===========
+ncdc 1.24
+=========
DESCRIPTION
diff --git a/configure.ac b/configure.ac
index 4fcc96d..a6e2c78 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,5 +1,5 @@
-AC_INIT([ncdc],[1.23.1],[projects@yorhel.nl])
+AC_INIT([ncdc],[1.24],[projects@yorhel.nl])
AC_CONFIG_SRCDIR([src/ncdc.h])
AC_CONFIG_HEADERS([config.h])
m4_include([deps/lean.m4])
diff --git a/doc/gendoc.c b/doc/gendoc.c
index 4f684b3..7310ff3 100644
--- a/doc/gendoc.c
+++ b/doc/gendoc.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2019 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/doc/ncdc.pod.in b/doc/ncdc.pod.in
index 62d42f2..0e21fc9 100644
--- a/doc/ncdc.pod.in
+++ b/doc/ncdc.pod.in
@@ -388,7 +388,7 @@ see the same uploaded file several times with a different file offset.
=head1 LICENSE
-Copyright (C) 2011-2019 Yoran Heling <projects@yorhel.nl>
+Copyright (C) Yoran Heling <projects@yorhel.nl>
ncdc is distributed under the MIT license, please read the COPYING file for
more information.
diff --git a/src/bloom.c b/src/bloom.c
index 9f7bf24..a72b6ae 100644
--- a/src/bloom.c
+++ b/src/bloom.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/cc.c b/src/cc.c
index bec36db..d5bbf83 100644
--- a/src/cc.c
+++ b/src/cc.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/commands.c b/src/commands.c
index bd6c9d6..c6274a6 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/db.c b/src/db.c
index 7995659..af8640c 100644
--- a/src/db.c
+++ b/src/db.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/dl.c b/src/dl.c
index 04d453e..141175a 100644
--- a/src/dl.c
+++ b/src/dl.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/dlfile.c b/src/dlfile.c
index 3698836..bd42558 100644
--- a/src/dlfile.c
+++ b/src/dlfile.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/doc.h b/src/doc.h
index 941f444..38aa199 100644
--- a/src/doc.h
+++ b/src/doc.h
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/fl_load.c b/src/fl_load.c
index 499068d..d085db3 100644
--- a/src/fl_load.c
+++ b/src/fl_load.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/fl_local.c b/src/fl_local.c
index 7300b40..0ea9feb 100644
--- a/src/fl_local.c
+++ b/src/fl_local.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/fl_save.c b/src/fl_save.c
index 7ee5ed4..a7803f0 100644
--- a/src/fl_save.c
+++ b/src/fl_save.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/fl_util.c b/src/fl_util.c
index d69b196..8ecc35d 100644
--- a/src/fl_util.c
+++ b/src/fl_util.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/geoip.c b/src/geoip.c
index f3a3dbf..82060b5 100644
--- a/src/geoip.c
+++ b/src/geoip.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/hub.c b/src/hub.c
index d08ee1a..ace89b2 100644
--- a/src/hub.c
+++ b/src/hub.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/listen.c b/src/listen.c
index 69c0a2b..19ac6de 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/main.c b/src/main.c
index 15740c5..d41eccc 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/ncdc.h b/src/ncdc.h
index 8cd266b..a15205a 100644
--- a/src/ncdc.h
+++ b/src/ncdc.h
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/net.c b/src/net.c
index 88dfdac..47c3787 100644
--- a/src/net.c
+++ b/src/net.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/proto.c b/src/proto.c
index b9323c3..17b52cf 100644
--- a/src/proto.c
+++ b/src/proto.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/search.c b/src/search.c
index 16a4a79..7ea5697 100644
--- a/src/search.c
+++ b/src/search.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/strutil.c b/src/strutil.c
index 1930ee6..35dd325 100644
--- a/src/strutil.c
+++ b/src/strutil.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/tth.c b/src/tth.c
index ff64b6b..e84983c 100644
--- a/src/tth.c
+++ b/src/tth.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/ui.c b/src/ui.c
index ad9431f..3fbd3f7 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/ui_colors.c b/src/ui_colors.c
index eb0d840..c0eaa9a 100644
--- a/src/ui_colors.c
+++ b/src/ui_colors.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/ui_listing.c b/src/ui_listing.c
index cb7a713..ba4617f 100644
--- a/src/ui_listing.c
+++ b/src/ui_listing.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/ui_logwindow.c b/src/ui_logwindow.c
index 759414a..f0006f6 100644
--- a/src/ui_logwindow.c
+++ b/src/ui_logwindow.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/ui_textinput.c b/src/ui_textinput.c
index eb2c038..112a536 100644
--- a/src/ui_textinput.c
+++ b/src/ui_textinput.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/uit_conn.c b/src/uit_conn.c
index 6831e26..f0fa171 100644
--- a/src/uit_conn.c
+++ b/src/uit_conn.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/uit_dl.c b/src/uit_dl.c
index bc92b2d..118f323 100644
--- a/src/uit_dl.c
+++ b/src/uit_dl.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/uit_fl.c b/src/uit_fl.c
index 5fca629..f078b85 100644
--- a/src/uit_fl.c
+++ b/src/uit_fl.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/uit_hub.c b/src/uit_hub.c
index a669660..028f0ff 100644
--- a/src/uit_hub.c
+++ b/src/uit_hub.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/uit_main.c b/src/uit_main.c
index 3f8ce73..e3fdfad 100644
--- a/src/uit_main.c
+++ b/src/uit_main.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/uit_msg.c b/src/uit_msg.c
index 0b220c1..735806e 100644
--- a/src/uit_msg.c
+++ b/src/uit_msg.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/uit_search.c b/src/uit_search.c
index 5a9d8a3..e8591a5 100644
--- a/src/uit_search.c
+++ b/src/uit_search.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/uit_userlist.c b/src/uit_userlist.c
index 788d164..3984737 100644
--- a/src/uit_userlist.c
+++ b/src/uit_userlist.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/util.c b/src/util.c
index 89b4e15..78c2668 100644
--- a/src/util.c
+++ b/src/util.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/src/vars.c b/src/vars.c
index fa6bc17..e561c36 100644
--- a/src/vars.c
+++ b/src/vars.c
@@ -1,6 +1,6 @@
/* ncdc - NCurses Direct Connect client
- Copyright (c) 2011-2022 Yoran Heling
+ Copyright (c) Yoran Heling
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/static/build.sh b/static/build.sh
index e4a8678..fcc9acc 100755
--- a/static/build.sh
+++ b/static/build.sh
@@ -27,16 +27,16 @@
MUSL_CROSS_PATH=/opt/cross
-ZLIB_VERSION=1.2.12
+ZLIB_VERSION=1.3
BZIP2_VERSION=1.0.8
-SQLITE_VERSION=3390300
-GMP_VERSION=6.2.1
-NETTLE_VERSION=3.8.1
-IDN_VERSION=2.3.3
-GNUTLS_VERSION=3.7.7
-NCURSES_VERSION=6.3
-GLIB_VERSION=2.74.0
-MAXMIND_VERSION=1.6.0
+SQLITE_VERSION=3440200
+GMP_VERSION=6.3.0
+NETTLE_VERSION=3.9.1
+IDN_VERSION=2.3.4
+GNUTLS_VERSION=3.8.2
+NCURSES_VERSION=6.4
+GLIB_VERSION=2.78.0
+MAXMIND_VERSION=1.7.1
# We don't actually use pkg-config at all. Setting this variable to 'true'
@@ -129,7 +129,7 @@ getbzip2() {
getsqlite() {
- fem https://sqlite.org/2022/ sqlite-autoconf-$SQLITE_VERSION.tar.gz sqlite
+ fem https://sqlite.org/2023/ sqlite-autoconf-$SQLITE_VERSION.tar.gz sqlite
prebuild sqlite || return
$srcdir/configure --prefix=$PREFIX --disable-readline --disable-dynamic-extensions\
--disable-fts4 --disable-fts5 --disable-rtree\
@@ -173,8 +173,8 @@ getgnutls() {
prebuild gnutls || return
$srcdir/configure --prefix=$PREFIX --disable-gtk-doc-html --disable-shared --disable-silent-rules\
--enable-static --disable-cxx --disable-srp-authentication --disable-openssl-compatibility\
- --disable-guile --disable-tools --with-included-libtasn1 --without-p11-kit\
- --with-included-unistring --host=$HOST\
+ --disable-guile --disable-tools --with-included-libtasn1 --without-p11-kit --without-brotli\
+ --without-zstd --without-tpm --without-tpm2 --with-included-unistring --host=$HOST\
CPPFLAGS="-I$PREFIX/include" LDFLAGS="-L$PREFIX/lib -Wl,--start-group -lnettle -lhogweed -lgmp -lidn2" || exit
make || exit
make -C gl install || exit
@@ -236,7 +236,7 @@ getncdc() {
CPPFLAGS="-I$PREFIX/include -D_GNU_SOURCE -Wno-deprecated-declarations" LDFLAGS="-static -L$PREFIX/lib -L$PREFIX/lib64 -lz -lbz2"\
SQLITE_LIBS=-lsqlite3 GEOIP_LIBS=-lmaxminddb GNUTLS_LIBS="-lgnutls -lz -lhogweed -lnettle -lgmp -lidn2"\
NCURSES_CFLAGS="-I$PREFIX/include/ncursesw" NCURSES_LIBS="-lncursesw"\
- GLIB_LIBS="-pthread -lglib-2.0 -lgthread-2.0" GLIB_CFLAGS="-I$PREFIX/include/glib-2.0 -I$PREFIX/lib/glib-2.0/include" || exit
+ GLIB_LIBS="-pthread -lglib-2.0 -lgthread-2.0 -lpcre2-8 -lintl" GLIB_CFLAGS="-I$PREFIX/include/glib-2.0 -I$PREFIX/lib/glib-2.0/include" || exit
# Make sure that the Makefile dependencies for makeheaders and gendoc are "up-to-date"
mkdir -p deps deps/.deps doc doc/.deps
touch deps/.dirstamp deps/.deps/.dirstamp deps/makeheaders.o doc/.dirstamp doc/.deps/.dirstamp doc/gendoc.o