From nobody Sun Aug 3 06:23:21 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bvqPx5Ph6z62vW7; Sun, 03 Aug 2025 06:23:33 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bvqPx3R3Wz3b5W; Sun, 03 Aug 2025 06:23:33 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754202213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LjV3Aaz8JnGm90bNGmip+Zx5kVXClPp2PV8O9di5asc=; b=Gt+FpQxJbCIyyGv3vYKrirhCBYVFUQOMY/wUElZUHS7pQA5G4+WKSu4YPczCVIkRKQixnp /k16umADzp2htnkbAT/+Q6/qvZybcuRaBhIBU6+MO3Lre39AGCOiPX5ofaN1AK+gbXDrJ9 VuE4WuhEJLXhz3YhSE1M3HeKlXJ6T2QeghZzmN54ENdHz3taicTP7s7CeZj6DoJKaLLCm8 ejwQ/J+IHTtSF3j+6exa4Z0tW3KPWiKdPnXevuYAm/eotrLOIiNBZq2nsGvUXMKkFiLtTK ih3NrmNVArADMxIUVD5S8An1DZQEzSEDLRdbEvYZ7s14Fkomi6wRkVosub8Vsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1754202213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=LjV3Aaz8JnGm90bNGmip+Zx5kVXClPp2PV8O9di5asc=; b=tnmRaT6GAxE9CK+lPUZcj/mBiNcvKQdBbuLDS47gfpRnC+FLZV0Lw0swR44Urpl7MhRPFy 6j4/2LSRhYlQtuxp1b1MnscX9yZKz/ybv/rQcea1jmX2j4VhcYmhprgxl89VjB3nBkJG4W 8JhsPy0zfFP1Xi6IUOhYn5TAonmBQdqyvo5LLTghpTKshxZNaY4onWzk4WWU7guLqD29NE YpIndNr2nYJOTTBDsTXtUP9P7diU3zLL5C6y0Ed3pWveQH/Hy7RuabJscwrYYma6siFHXS 7EuJQm/Vp+i+QG5fsHZn+3UZvH3LzIycLDOYtG+ljLMtr81cY3OnaWVkJRc86w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1754202213; a=rsa-sha256; cv=none; b=CpyilC9HI8NuXqhWsa7lKL0SVlA1k5ZXu+N3DzGObgk+x45HHdnT3Folcq/z1vPJOrm9om QCxS6JmImJXXZrYj1gyHdqVHmeigbP2+kYZmJCS58Vlw2jADnR9/gisshmhTEJoz0YSd5A GeWQHpeSH6D6whHSffjLTuLbSP0idi2MMy7UtUPmB0ufVfwnIcuF9FYVW9zVGvXj2j7SH/ xGjJ3HTfB4VYnQYaWovbjcL6I/y8Qo8PR4wVWT78ma8MnraQZBWjRgueRlPrdD52iPjmVy FNORWabJe58BGU10G/9qbebv+piJLCoaBjAWelcRE+lVSxld6EaVywRnV+vj6A== Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4bvqPx2kYLzxcF; Sun, 03 Aug 2025 06:23:33 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-4aa826d4b8eso7179141cf.0; Sat, 02 Aug 2025 23:23:33 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCVOR3GoGWCWIoWUQkGjn8Tamv+65hQ3AZvDBoprc1RFig38yHnI0rAsNFICIJUCWPECooWL7GEET6LF3tINT1DE+iFM@freebsd.org, AJvYcCXvl0pK+rLhalpOwpc9wVp3tSWbppj4dBV07mD2rTxZa4sQ8cgTW4zCq2WHIOc33yvz9z0+vNJps4NdMQ/scsbfxj+be28=@freebsd.org X-Gm-Message-State: AOJu0YwmHHVNZ3njSLfjTRHKt9ioO0h+5ubfjDSIBv86vSL4mxzYzcsE MqUY8kQrUm516xIdZ9zFUbOsf6QwY1Fv09unSK2Ds6en4exHGjqqwzWlICRPBK+cwQmZ7QBisMd 1JpwMZg3/nGcXQ2qbDXfTrmj1Aam3ZtU= X-Google-Smtp-Source: AGHT+IFtN/k4QknTszYasGcCj+T7s+YPPbYPpf/00L5FNFHS5aY9jBRsIET7aTg2q70SYIr8tBKuhOU41K0vHHZB7BI= X-Received: by 2002:a05:620a:2a03:b0:7e7:fd10:526 with SMTP id af79cd13be357-7e7fd100b19mr3353185a.8.1754202212747; Sat, 02 Aug 2025 23:23:32 -0700 (PDT) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 References: <202508021757.572Hv2Ox066248@gitrepo.freebsd.org> In-Reply-To: <202508021757.572Hv2Ox066248@gitrepo.freebsd.org> From: Nuno Teixeira Date: Sun, 3 Aug 2025 07:23:21 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: Ac12FXwVXZNW7ZOp0C-cX6sFIxoDW8daRTS70cdOFiufEcrpNZ3FXgu3ARICTzA Message-ID: Subject: Re: git: 8d8a745c456c - main - libutil: Drop auth_getval() To: =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Type: multipart/alternative; boundary="000000000000c14e23063b700719" --000000000000c14e23063b700719 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! Not sure if it is related but I've spoted that lang/ghc is failing on configure on main-n279255-95f8c3e1ed0c: Sat Aug 2: chmod 644 '/wrkdirs/usr/ports/lang/ghc/work/ghc-boot-install/lib/ghc-9.6.7/lib/packag= e.conf.d/template-haskell-2.20.0.0.conf' '/wrkdirs/usr/ports/lang/ghc/work/ghc-boot-install/lib/ghc-9.6.7/bin/ghc-pk= g' --global-package-db "/wrkdirs/usr/ports/lang/ghc/work/ghc-boot-install/lib/ghc-9.6.7/lib/packag= e.conf.d" recache ld-elf.so.1: Shared object "libutil.so.9" not found, required by "ghc-pkg" gmake: *** [Makefile:235: update_package_db] Error 1 Thanks, Dag-Erling Sm=C3=B8rgrav escreveu (s=C3=A1bado, 2/08/2025= =C3=A0(s) 18:57): > The branch main has been updated by des: > > URL: > https://cgit.FreeBSD.org/src/commit/?id=3D8d8a745c456cacf706689febee9639f= 5e8292fc8 > > commit 8d8a745c456cacf706689febee9639f5e8292fc8 > Author: Dag-Erling Sm=C3=B8rgrav > AuthorDate: 2025-08-02 17:56:16 +0000 > Commit: Dag-Erling Sm=C3=B8rgrav > CommitDate: 2025-08-02 17:56:35 +0000 > > libutil: Drop auth_getval() > > This function has been an empty stub for years; now that we're bumpin= g > the library version, we can finally get rid of it. > > Fixes: 0c381b7f0570 > Reviewed by: kib, emaste > Differential Revision: https://reviews.freebsd.org/D51704 > --- > lib/libutil/Makefile | 2 +- > lib/libutil/Symbol.map | 1 - > lib/libutil/auth.c | 44 -------------------------------------------- > lib/libutil/libutil.h | 1 - > 4 files changed, 1 insertion(+), 47 deletions(-) > > diff --git a/lib/libutil/Makefile b/lib/libutil/Makefile > index d445bc5dec3b..12ac623aec6b 100644 > --- a/lib/libutil/Makefile > +++ b/lib/libutil/Makefile > @@ -9,7 +9,7 @@ PACKAGE=3D runtime > LIB=3D util > SHLIB_MAJOR=3D 10 > > -SRCS=3D _secure_path.c auth.c cpuset.c expand_number.c flopen.c fparsel= n.c > \ > +SRCS=3D _secure_path.c cpuset.c expand_number.c flopen.c fparseln.c \ > ftime.c getlocalbase.c gr_util.c \ > hexdump.c humanize_number.c kinfo_getfile.c \ > kinfo_getallproc.c kinfo_getproc.c kinfo_getvmmap.c \ > diff --git a/lib/libutil/Symbol.map b/lib/libutil/Symbol.map > index d4bac5b5f53e..8c8fff451cd1 100644 > --- a/lib/libutil/Symbol.map > +++ b/lib/libutil/Symbol.map > @@ -2,7 +2,6 @@ FBSD_1.8 { > _secure_path; > auth_cat; > auth_checknologin; > - auth_getval; > auth_hostok; > auth_timeok; > auth_ttyok; > diff --git a/lib/libutil/auth.c b/lib/libutil/auth.c > deleted file mode 100644 > index 3414fc8e26e7..000000000000 > --- a/lib/libutil/auth.c > +++ /dev/null > @@ -1,44 +0,0 @@ > -/*- > - * SPDX-License-Identifier: BSD-2-Clause > - * > - * Simple authentication database handling code. > - * > - * Copyright (c) 1998 > - * Jordan Hubbard. All rights reserved. > - * > - * Redistribution and use in source and binary forms, with or without > - * modification, are permitted provided that the following conditions > - * are met: > - * 1. Redistributions of source code must retain the above copyright > - * notice, this list of conditions and the following disclaimer, > - * verbatim and that no modifications are made prior to this > - * point in the file. > - * 2. Redistributions in binary form must reproduce the above copyright > - * notice, this list of conditions and the following disclaimer in th= e > - * documentation and/or other materials provided with the distributio= n. > - * > - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR > - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE > - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR > PURPOSE > - * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR HIS PETS BE LIABLE > - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR > CONSEQUENTIAL > - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOO= DS > - * OR SERVICES; LOSS OF USE, DATA, LIFE OR PROFITS; OR BUSINESS > INTERRUPTION) > - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, > STRICT > - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY > WAY > - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY O= F > - * SUCH DAMAGE. > - */ > - > -#include > -#include > - > -#include > - > -char * > -auth_getval(const char *name) > -{ > - > - (void)name; > - return (NULL); > -} > diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h > index 6d36a0c291c6..d27262e44daf 100644 > --- a/lib/libutil/libutil.h > +++ b/lib/libutil/libutil.h > @@ -86,7 +86,6 @@ struct termios; > struct winsize; > > __BEGIN_DECLS > -char *auth_getval(const char *_name); > void clean_environment(const char * const *_white, > const char * const *_more_white); > int expand_number(const char *_buf, int64_t *_num); > > --=20 Nuno Teixeira FreeBSD UNIX: Web: https://FreeBSD.org --000000000000c14e23063b700719 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello!

Not sure if it is related bu= t I've spoted that lang/ghc is failing on configure on main-n279255-95f= 8c3e1ed0c: Sat Aug =C2=A02:

chmod 644 '/wrkdirs/usr/ports/lang/g= hc/work/ghc-boot-install/lib/ghc-9.6.7/lib/package.conf.d/template-haskell-= 2.20.0.0.conf'
'/wrkdirs/usr/ports/lang/ghc/work/ghc-boot-instal= l/lib/ghc-9.6.7/bin/ghc-pkg' --global-package-db "/wrkdirs/usr/por= ts/lang/ghc/work/ghc-boot-install/lib/ghc-9.6.7/lib/package.conf.d" re= cache
ld-elf.so.1: Shared object "libutil.so.9" not found, req= uired by "ghc-pkg"
gmake: *** [Makefile:235: update_package_db= ] Error 1

Thanks,

Dag-Erling Sm=C3=B8rgra= v <des@freebsd.org> escreveu (= s=C3=A1bado, 2/08/2025 =C3=A0(s) 18:57):
The branch main has been updated by des:

URL: https://cgit.= FreeBSD.org/src/commit/?id=3D8d8a745c456cacf706689febee9639f5e8292fc8
commit 8d8a745c456cacf706689febee9639f5e8292fc8
Author:=C2=A0 =C2=A0 =C2=A0Dag-Erling Sm=C3=B8rgrav <des@FreeBSD.org>=
AuthorDate: 2025-08-02 17:56:16 +0000
Commit:=C2=A0 =C2=A0 =C2=A0Dag-Erling Sm=C3=B8rgrav <des@FreeBSD.org>=
CommitDate: 2025-08-02 17:56:35 +0000

=C2=A0 =C2=A0 libutil: Drop auth_getval()

=C2=A0 =C2=A0 This function has been an empty stub for years; now that we&#= 39;re bumping
=C2=A0 =C2=A0 the library version, we can finally get rid of it.

=C2=A0 =C2=A0 Fixes:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0c381b7f0570
=C2=A0 =C2=A0 Reviewed by:=C2=A0 =C2=A0 kib, emaste
=C2=A0 =C2=A0 Differential Revision:=C2=A0 https://reviews.freebsd= .org/D51704
---
=C2=A0lib/libutil/Makefile=C2=A0 =C2=A0|=C2=A0 2 +-
=C2=A0lib/libutil/Symbol.map |=C2=A0 1 -
=C2=A0lib/libutil/auth.c=C2=A0 =C2=A0 =C2=A0| 44 --------------------------= ------------------
=C2=A0lib/libutil/libutil.h=C2=A0 |=C2=A0 1 -
=C2=A04 files changed, 1 insertion(+), 47 deletions(-)

diff --git a/lib/libutil/Makefile b/lib/libutil/Makefile
index d445bc5dec3b..12ac623aec6b 100644
--- a/lib/libutil/Makefile
+++ b/lib/libutil/Makefile
@@ -9,7 +9,7 @@ PACKAGE=3D=C2=A0 =C2=A0 =C2=A0 =C2=A0 runtime
=C2=A0LIB=3D=C2=A0 =C2=A0util
=C2=A0SHLIB_MAJOR=3D 10

-SRCS=3D=C2=A0 _secure_path.c auth.c cpuset.c expand_number.c flopen.c fpar= seln.c \
+SRCS=3D=C2=A0 _secure_path.c cpuset.c expand_number.c flopen.c fparseln.c = \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ftime.c getlocalbase.c gr_util.c \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 hexdump.c humanize_number.c kinfo_getfile.c \ =C2=A0 =C2=A0 =C2=A0 =C2=A0 kinfo_getallproc.c kinfo_getproc.c kinfo_getvmm= ap.c \
diff --git a/lib/libutil/Symbol.map b/lib/libutil/Symbol.map
index d4bac5b5f53e..8c8fff451cd1 100644
--- a/lib/libutil/Symbol.map
+++ b/lib/libutil/Symbol.map
@@ -2,7 +2,6 @@ FBSD_1.8 {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 _secure_path;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 auth_cat;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 auth_checknologin;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0auth_getval;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 auth_hostok;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 auth_timeok;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 auth_ttyok;
diff --git a/lib/libutil/auth.c b/lib/libutil/auth.c
deleted file mode 100644
index 3414fc8e26e7..000000000000
--- a/lib/libutil/auth.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/*-
- * SPDX-License-Identifier: BSD-2-Clause
- *
- * Simple authentication database handling code.
- *
- * Copyright (c) 1998
- *=C2=A0 =C2=A0 =C2=A0Jordan Hubbard.=C2=A0 All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *=C2=A0 =C2=A0 notice, this list of conditions and the following disclaim= er,
- *=C2=A0 =C2=A0 verbatim and that no modifications are made prior to this<= br> - *=C2=A0 =C2=A0 point in the file.
- * 2. Redistributions in binary form must reproduce the above copyright - *=C2=A0 =C2=A0 notice, this list of conditions and the following disclaim= er in the
- *=C2=A0 =C2=A0 documentation and/or other materials provided with the dis= tribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRE= SS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURP= OSE
- * ARE DISCLAIMED.=C2=A0 IN NO EVENT SHALL THE AUTHOR OR HIS PETS BE LIABL= E
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENT= IAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS=
- * OR SERVICES; LOSS OF USE, DATA, LIFE OR PROFITS; OR BUSINESS INTERRUPTI= ON)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STR= ICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY W= AY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF<= br> - * SUCH DAMAGE.
- */
-
-#include <sys/cdefs.h>
-#include <stdlib.h>
-
-#include <libutil.h>
-
-char *
-auth_getval(const char *name)
-{
-
-=C2=A0 =C2=A0 =C2=A0 =C2=A0(void)name;
-=C2=A0 =C2=A0 =C2=A0 =C2=A0return (NULL);
-}
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h
index 6d36a0c291c6..d27262e44daf 100644
--- a/lib/libutil/libutil.h
+++ b/lib/libutil/libutil.h
@@ -86,7 +86,6 @@ struct termios;
=C2=A0struct winsize;

=C2=A0__BEGIN_DECLS
-char=C2=A0 =C2=A0*auth_getval(const char *_name);
=C2=A0void=C2=A0 =C2=A0clean_environment(const char * const *_white,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 const char * const *_more_white);=
=C2=A0int=C2=A0 =C2=A0 expand_number(const char *_buf, int64_t *_num);



--
Nuno Teixeira
=
FreeBSD UNIX:=C2=A0 <eduardo@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 https://Fr= eeBSD.org
--000000000000c14e23063b700719--