sync code with last improvements from OpenBSD

This commit is contained in:
purplerain 2023-09-20 17:54:12 +00:00
parent ba37adff3d
commit ab623d4fc7
Signed by: purplerain
GPG Key ID: F42C07F07E2E35B7
5 changed files with 17 additions and 14 deletions

View File

@ -1,11 +1,11 @@
/* $OpenBSD: opensslv.h,v 1.76 2023/05/27 13:54:46 tb Exp $ */ /* $OpenBSD: opensslv.h,v 1.77 2023/09/20 11:42:25 tb Exp $ */
#ifndef HEADER_OPENSSLV_H #ifndef HEADER_OPENSSLV_H
#define HEADER_OPENSSLV_H #define HEADER_OPENSSLV_H
/* These will change with each release of LibreSSL-portable */ /* These will change with each release of LibreSSL-portable */
#define LIBRESSL_VERSION_NUMBER 0x3080100fL #define LIBRESSL_VERSION_NUMBER 0x3080200fL
/* ^ Patch starts here */ /* ^ Patch starts here */
#define LIBRESSL_VERSION_TEXT "LibreSSL 3.8.1" #define LIBRESSL_VERSION_TEXT "LibreSSL 3.8.2"
/* These will never change */ /* These will never change */
#define OPENSSL_VERSION_NUMBER 0x20000000L #define OPENSSL_VERSION_NUMBER 0x20000000L

View File

@ -1,4 +1,4 @@
.\" $OpenBSD: bsd.port.mk.5,v 1.630 2023/09/16 08:01:31 op Exp $ .\" $OpenBSD: bsd.port.mk.5,v 1.631 2023/09/19 20:50:40 tb Exp $
.\" .\"
.\" Copyright (c) 2000-2008 Marc Espie .\" Copyright (c) 2000-2008 Marc Espie
.\" .\"
@ -24,7 +24,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.Dd $Mdocdate: September 16 2023 $ .Dd $Mdocdate: September 19 2023 $
.Dt BSD.PORT.MK 5 .Dt BSD.PORT.MK 5
.Os .Os
.Sh NAME .Sh NAME
@ -1661,7 +1661,7 @@ or
.Sq srht .Sq srht
at the moment at the moment
.Po see .Po see
.Pa ${PORTSDIR}/db/dist-tuple.pattern , .Pa ${PORTSDIR}/infrastructure/db/dist-tuple.pattern ,
additional additional
.Ev TEMPLATE_DISTFILES.<name> .Ev TEMPLATE_DISTFILES.<name>
and and

View File

@ -1,4 +1,4 @@
/* $OpenBSD: main.c,v 1.61 2023/09/18 19:32:19 millert Exp $ */ /* $OpenBSD: main.c,v 1.62 2023/09/20 16:57:12 millert Exp $ */
/**************************************************************** /****************************************************************
Copyright (C) Lucent Technologies 1997 Copyright (C) Lucent Technologies 1997
All Rights Reserved All Rights Reserved
@ -170,6 +170,10 @@ int main(int argc, char *argv[])
yyin = NULL; yyin = NULL;
symtab = makesymtab(NSYMTAB); symtab = makesymtab(NSYMTAB);
while (argc > 1 && argv[1][0] == '-' && argv[1][1] != '\0') { while (argc > 1 && argv[1][0] == '-' && argv[1][1] != '\0') {
if (strcmp(argv[1], "--version") == 0) {
printf("awk %s\n", version);
return 0;
}
if (strcmp(argv[1], "--") == 0) { /* explicit end of args */ if (strcmp(argv[1], "--") == 0) { /* explicit end of args */
argc--; argc--;
argv++; argv++;
@ -214,8 +218,7 @@ int main(int argc, char *argv[])
break; break;
case 'V': /* added for exptools "standard" */ case 'V': /* added for exptools "standard" */
printf("awk %s\n", version); printf("awk %s\n", version);
exit(0); return 0;
break;
default: default:
WARNING("unknown option %s ignored", argv[1]); WARNING("unknown option %s ignored", argv[1]);
break; break;

View File

@ -1,4 +1,4 @@
/* $OpenBSD: run.c,v 1.77 2023/09/18 19:32:19 millert Exp $ */ /* $OpenBSD: run.c,v 1.78 2023/09/20 16:49:13 millert Exp $ */
/**************************************************************** /****************************************************************
Copyright (C) Lucent Technologies 1997 Copyright (C) Lucent Technologies 1997
All Rights Reserved All Rights Reserved
@ -1981,7 +1981,7 @@ static char *nawk_convert(const char *s, int (*fun_c)(int),
const char *ps = NULL; const char *ps = NULL;
size_t n = 0; size_t n = 0;
wchar_t wc; wchar_t wc;
size_t sz = MB_CUR_MAX; const size_t sz = awk_mb_cur_max;
int unused; int unused;
if (sz == 1) { if (sz == 1) {

View File

@ -33,8 +33,8 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: sshd.8,v 1.324 2023/02/10 06:39:27 jmc Exp $ .\" $OpenBSD: sshd.8,v 1.325 2023/09/19 20:37:07 deraadt Exp $
.Dd $Mdocdate: February 10 2023 $ .Dd $Mdocdate: September 19 2023 $
.Dt SSHD 8 .Dt SSHD 8
.Os .Os
.Sh NAME .Sh NAME
@ -293,7 +293,7 @@ forwarding TCP connections, or forwarding the authentication agent
connection over the secure channel. connection over the secure channel.
.Pp .Pp
After this, the client either requests an interactive shell or execution After this, the client either requests an interactive shell or execution
or a non-interactive command, which of a non-interactive command, which
.Nm .Nm
will execute via the user's shell using its will execute via the user's shell using its
.Fl c .Fl c