From nobody Mon Mar 27 11:29:17 2023 X-Original-To: freebsd-git@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 4PlVw02z6Bz428QW for ; Mon, 27 Mar 2023 11:29:36 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PlVw01v9jz3NJg; Mon, 27 Mar 2023 11:29:36 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679916576; 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=LKv9t4dzJd0QyzD3Uff+asURQRgT0m93xskAiMGwbRc=; b=wrwWiWrooapqJIG8VJvtiZq7RG02IB5OpRHiQwiv+CrvoowEiwmzcRs1Z4rNPTPWxrPndB n11ThdonnxyvQIqNZVduE5X4f4knrUW/5+XohvqBJc+dl5ap6YjtxBJzc8JJV4r/8cTWNb hTmMLF5rEZkduH2Whab/v0NHsI1EtNN0ho0v3/Yj8IYqB7lXdwFnNd4MfnCWYwuEDS8qwV HEPtn7O2TRI7ZWaZlqULPPCKNAeUibaxRnzoQ83p8/JRaoZFTcFGW6CJuCOdPfjPk7tYWj 9uBFGoeIu2SdqpcjdR1UD244kJ3YhtkYNon22SeWuc5OCy+qhNQ2kdUMhD6shg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679916576; 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=LKv9t4dzJd0QyzD3Uff+asURQRgT0m93xskAiMGwbRc=; b=kB/Zt21dUoFmJmN5TITvD5/oHoQDCmOuwXX3/QiNBP6mDiOT1N0m8Paw/ErRsvtbyOkIqv 6xu8eoZyYiXzg0uuBrBdYO6mY8eMKuSCF2TVbGhMf2LWn1//44f0QLHq6N3gFmTAsjPDCb DejqMaB1z6dH74zbYPo4gBlMfPBFizCKefrMl444bQErA3nmIpJ5ru9dowy2v7D5kUL27H +X6+FpwTuQiNzpcH8p5CjPDAKL0ksjpe2Pm4BWJNTCfUv5W34YWBRvJqfdE+hrdyVYUfIp gb6SdUtuaO1+r55yTO2rkxnJWIc8DFKpar6Mloc5WQEGiq5k4MtBg5Fy0Q5wnA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679916576; a=rsa-sha256; cv=none; b=GCd1SFz3PPAKoYOLmuZC9envGxD8INpZNAdjIxx069btTB4edEhjJkACuOn4p5yAVDreui 5Yw5iFvWeqPwuH61nS2LRfCgGMYzN3VIhP2DjTzqTA6rdy++e/LOWJTwuVbzCNQwn+QpaB 9dHwGfgIgv5b71T2n/Dt7JkBKgHAX6hYB0WVIeGWKvWiRyyT6nVGmchd9/hrml6m2OYkN/ +kCSAKWdB4XzLVOd60PkeTIsprBTapS6FfHxMQHYM9UhiN9ayNwdXx8HBLDD+5/Exppz41 LvbkJeILRipAN6hRn2eI6J+5ZAYC5NCc0vIa9Lya9O33o6dA5oRW3V2oMBbkrA== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PlVvz4pkjz1NG1; Mon, 27 Mar 2023 11:29:35 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 389EA3115D; Mon, 27 Mar 2023 13:29:33 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_9F74F85C-1BDE-4DD8-AD07-7894F01294AD"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Discussion of git use in the FreeBSD project List-Archive: https://lists.freebsd.org/archives/freebsd-git List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-git@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: Getting __FreeBSD_version for a specific commit From: Dimitry Andric In-Reply-To: Date: Mon, 27 Mar 2023 13:29:17 +0200 Cc: freebsd-git Message-Id: <8CEBB312-FCC1-4B52-99FB-1DE7F94028FB@FreeBSD.org> References: To: Nuno Teixeira X-Mailer: Apple Mail (2.3731.400.51.1.1) X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_9F74F85C-1BDE-4DD8-AD07-7894F01294AD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 27 Mar 2023, at 13:14, Nuno Teixeira wrote: >=20 > I need to know what's the __FreeBSD_version for a stable/13 commit = https://cgit.freebsd.org/src/commit/?h=3Dstable/13&id=3D1dd126163b9448c2dc= fe27978fee50649548437c so I can patch a port for, e.g, OSVERSION < = 1301XXX. Go to: = https://cgit.freebsd.org/src/tree/sys/sys/param.h?h=3Dstable/13&id=3D1dd12= 6163b9448c2dcfe27978fee50649548437c and look for the "#define __FreeBSD_version" line. In this case, it has = value 1301511. -Dimitry --Apple-Mail=_9F74F85C-1BDE-4DD8-AD07-7894F01294AD Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZCF+DQAKCRCwXqMKLiCW o08EAJ9E88riyKF7OhWBQdX7x9DIRB4kQACgwwZPVt/6jpsFk1hlRLMist10u5g= =SoEe -----END PGP SIGNATURE----- --Apple-Mail=_9F74F85C-1BDE-4DD8-AD07-7894F01294AD--