From nobody Sat Jan 11 02:48:36 2025 X-Original-To: dev-commits-src-all@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 4YVNJ46lrcz5l4Y4; Sat, 11 Jan 2025 02:48:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YVNJ44J8Wz4HQp; Sat, 11 Jan 2025 02:48:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736563716; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xJTlqZZQl4LO9n7vwWIhTn/ayroXlujoV2j5CWiSpMM=; b=MXH12EPdaqCmfU4ajiJ5s9zcXvdj/6RgTWTmsYWF/lASpFlGYnPcpQ1MkpcMxjF4DnZpxJ o92zxnorxEUYtPj4DcdbiSstRZXQ7HXqjLfw8qjsHq1a7ulFbb264BtOOTm/Y3TbORhqjp xLlFaSV9fJdoLguJWDP/6el0ue2OdRFBxTj3bx0GlrO+nkmnr4LD3s1DHBKkKnxhjK22Z5 d3V2ZzGJk1Kku656N4qD/qax1qnMb6oTAsLU8Yn44XJVW4yO5+dp74qg4gT6GYFz2shVcR 6EvNuJpiiNkIe0ujqVNs+A9aBtcEMLswMY0Ejv6qLvBANwfAyWaDmMPTfnbyzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736563716; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=xJTlqZZQl4LO9n7vwWIhTn/ayroXlujoV2j5CWiSpMM=; b=gPCPT1LQWEJrUZjwbbCvKMOkHiVOThKyXqTmAw/P9nIIggwbh7ChS1sZU/zT3nvYljTx9D NX0QLZOx2KIwv4uFHrhDAPvVbZYLpUNCuEcWMoW+QgEUoL8tGUbBWzfrLnqzcK1g7AQ6S9 AlT+ljnY5F49Q4hAf28X160moR9VZymBH1/Wfktcm4eSjyrkrB86O5drz2G8pvVglvGIoQ bhZz6QQgQlb1pTwJDmPHqscSnjmdm39qbrY2KrQUhN8psBeF8oZ/GDDilPdR/A4bei2OrA YjJd0PGp4Dgvn/8IMACgF0yPcoKTkL/nwWjIgAlbyKBUyeH6PY0zUk5hv3X2RA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736563716; a=rsa-sha256; cv=none; b=NQ1lu4EzPaUBqeJXVxxcEMDGRbdc+EPVnS+x+nlRfANJaEMiFJr3tPF/FDO+ilSRxx4kvO WdxtlQlezW0aqH5NI+2CmYvqd3Cvj+9EBe9uk3YKEh016xXg4eDcBHavgoOBHwlzEez7at JakSTSqTfdzv2ER+Vjj98caIetQV36xo61qzehapC226gUhn7BtrnMvMJyxPnPuqPiIF6c FfRKJ3nsD3b+F4p39X9fE5KpdXwAEmMVDzbuhObjgzajhkN5+viAYT2Zluqf9xi4YICqfa PdsiZJQLZpw6WVtxcfsQUAkoxONZgnQb/6IH0lJZB0rvR+VBoSa+Wpx4+RkLkw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YVNJ43ssRzfT9; Sat, 11 Jan 2025 02:48:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50B2manp065710; Sat, 11 Jan 2025 02:48:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50B2mafA065707; Sat, 11 Jan 2025 02:48:36 GMT (envelope-from git) Date: Sat, 11 Jan 2025 02:48:36 GMT Message-Id: <202501110248.50B2mafA065707@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kyle Evans Subject: git: c876932bbafd - stable/14 - lib: hook libder up to the build List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: c876932bbafdd20c6d5a1f733c45fc7bc0d67e0c Auto-Submitted: auto-generated The branch stable/14 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=c876932bbafdd20c6d5a1f733c45fc7bc0d67e0c commit c876932bbafdd20c6d5a1f733c45fc7bc0d67e0c Author: Kyle Evans AuthorDate: 2025-01-01 21:10:27 +0000 Commit: Kyle Evans CommitDate: 2025-01-11 02:48:22 +0000 lib: hook libder up to the build libder will be used in upcoming ECC support in the pkg(7) bootstrap to read DER-encoded keys and signatures. (cherry picked from commit f59bb61e1eb4d1e4fc3c60cc14779d0668267cb2) --- lib/Makefile | 1 + lib/libder/Makefile | 13 +++++++++++++ share/mk/src.libnames.mk | 4 ++++ 3 files changed, 18 insertions(+) diff --git a/lib/Makefile b/lib/Makefile index 294e2b695bdc..6c5edfdc8f76 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -17,6 +17,7 @@ SUBDIR_BOOTSTRAP= \ libc++ \ libc++experimental \ libcxxrt \ + libder \ libelf \ libssp \ libssp_nonshared \ diff --git a/lib/libder/Makefile b/lib/libder/Makefile new file mode 100644 index 000000000000..bdd2225f0ff3 --- /dev/null +++ b/lib/libder/Makefile @@ -0,0 +1,13 @@ + +LIB= der +INTERNALLIB= + +.PATH: ${SRCTOP}/contrib/libder/libder +SRCS+= libder.c \ + libder_error.c \ + libder_obj.c \ + libder_read.c \ + libder_type.c \ + libder_write.c + +.include diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk index d7350ce5c049..9cba6c8cc7c3 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -43,6 +43,7 @@ _INTERNALLIBS= \ bsnmptools \ c_nossp_pic \ cron \ + der \ elftc \ fdt \ fifolog \ @@ -586,6 +587,9 @@ LIBTELNET?= ${LIBTELNETDIR}/libtelnet${PIE_SUFFIX}.a LIBCRONDIR= ${_LIB_OBJTOP}/usr.sbin/cron/lib LIBCRON?= ${LIBCRONDIR}/libcron${PIE_SUFFIX}.a +LIBDERDIR= ${_LIB_OBJTOP}/lib/libder +LIBDER?= ${LIBDERDIR}/libder${PIE_SUFFIX}.a + LIBNTPDIR= ${_LIB_OBJTOP}/usr.sbin/ntp/libntp LIBNTP?= ${LIBNTPDIR}/libntp${PIE_SUFFIX}.a