From nobody Wed Jan 01 21:11:35 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 4YNjFM5rjVz5jCx4; Wed, 01 Jan 2025 21:11:35 +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 4YNjFM4VmVz4k2m; Wed, 1 Jan 2025 21:11:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735765895; 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=nOvqtfVsAztWgutarC191r2j0bz0DKV89Tr0BpAdSWw=; b=w9C0ppjj7ZtLPk4S8BqWYjwc6N/K6o7KWinHuA8Wt7I4p9vNJxFI40StYPAaAhWiGqP/oy ZhlqwwXY0jiye0SkJPYkzBpcYgbGKb8dYwjLYNKzIDkeevMS5d2t33cjH4WwEHCdZ4bv0o 7XezUukufO1/FpT7tFrBgxTaB4Yp0ebnPE7h6EL8skTrzTWlPFt9W4g/LgUu9HDZiKLYuP Zt576qS894VVxmOjgwv7kNX9n9Yk7UwGUMGx/ZRgTHzbn088jeXfyzQ8QY+T3k9EOod+3w f3tU/W6pZqAahJxEwdWI1fYUSoUQypsElLxu15P64jkioM1tV1lFZQv3gCL8JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735765895; 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=nOvqtfVsAztWgutarC191r2j0bz0DKV89Tr0BpAdSWw=; b=WpQjE8BHjWLhubVpdHiSGteYsGat1yD3hZdT5LUoFlDTIQGQmYgPJlUy//mRQ7jGkgoPje CKwrAd0ha6MnpQO5nEfCHi043mrrbt2dnjRRTiO4I3kbRSlIgZBKxCAVGIedSwXnZfuNOP iavFSSJVgLuawQTebxtl7Lcfhlr29cFnUOrN9kYzuHlfHPEARG1GHMM44pXMwbRhrPLF3p HSwI7DH5Ofk9842jfaAEHDvDEzynpy7KYCOOBTd5PcmQMPOD8vzV8/cm+AN4QnVL81mOcT 211RnitB0nxInAy+HJGCba1VqukDAzA4GIID48KwqEHV9RzxLpbh66CGEfJV4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735765895; a=rsa-sha256; cv=none; b=J9HbsSwurqnWtm/JR78AkA6jKeqS9NmKt7/oqH98vInLLG5w7h24tHsLTi/K2Ldzcmcu/S +7IhMgWiSvQINXBfhoue/JfI6uZQcRXXXUUpwFj0gibX1jPMqp96fiDGwyoPWo6wKDh/kH XfO4REWyWO9LH1QlJG4GVGURcRsfg6Ju1RyJJGnuEDFWKwukFDiVpg11YXfM5++a2U6jEz SMyhND0zOOaH8volhp+6P9R5qWslENiNsuUKLcyKfT3+z2e8NQTzuX/DlUvc28ZIGGRq3R lbzXKrg3P3TTnmY2mR4T7tW42c5D5/72hlJtpeOy8TuRYX0xVlLVn0BLIly3Jw== 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 4YNjFM46Xpzgg6; Wed, 1 Jan 2025 21:11:35 +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 501LBZCL079880; Wed, 1 Jan 2025 21:11:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 501LBZdG079877; Wed, 1 Jan 2025 21:11:35 GMT (envelope-from git) Date: Wed, 1 Jan 2025 21:11:35 GMT Message-Id: <202501012111.501LBZdG079877@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kyle Evans Subject: git: f59bb61e1eb4 - main - lib: hook libder up to the build 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kevans X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f59bb61e1eb4d1e4fc3c60cc14779d0668267cb2 Auto-Submitted: auto-generated The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=f59bb61e1eb4d1e4fc3c60cc14779d0668267cb2 commit f59bb61e1eb4d1e4fc3c60cc14779d0668267cb2 Author: Kyle Evans AuthorDate: 2025-01-01 21:10:27 +0000 Commit: Kyle Evans CommitDate: 2025-01-01 21:11:06 +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. Differential Revision: https://reviews.freebsd.org/D48116 --- 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 af0079978075..1f69b4208738 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -15,6 +15,7 @@ SUBDIR_BOOTSTRAP= \ libc++ \ libc++experimental \ libcxxrt \ + libder \ libdiff \ libelf \ libssp \ 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 786ad9a6f9a5..f693e3ae7c16 100644 --- a/share/mk/src.libnames.mk +++ b/share/mk/src.libnames.mk @@ -44,6 +44,7 @@ _INTERNALLIBS= \ bsnmptools \ c_nossp_pic \ cron \ + der \ diff \ elftc \ fdt \ @@ -614,6 +615,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