From nobody Tue Apr 18 15:36:14 2023 X-Original-To: ports@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 4Q17LV4XTyz45GM6 for ; Tue, 18 Apr 2023 15:36:18 +0000 (UTC) (envelope-from freebsd@quinteiro.org) Received: from mx2.quinteiro.org (mx2.quinteiro.org [71.19.154.200]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Q17LT5dWZz4QSn for ; Tue, 18 Apr 2023 15:36:17 +0000 (UTC) (envelope-from freebsd@quinteiro.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=quinteiro.org header.s=default header.b=HqgeEk1A; spf=pass (mx1.freebsd.org: domain of freebsd@quinteiro.org designates 71.19.154.200 as permitted sender) smtp.mailfrom=freebsd@quinteiro.org; dmarc=none Received: from www.quinteiro.org (www.quinteiro.org [204.109.56.22]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx2.quinteiro.org (Postfix) with ESMTPS id BEDD721D9C0 for ; Tue, 18 Apr 2023 15:36:16 +0000 (UTC) (envelope-from freebsd@quinteiro.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=quinteiro.org; s=default; t=1681832176; bh=vvwc3BR037Nx6TX9BvAm/C6m6uu2oej6dyYqdv7iTLQ=; h=Date:Subject:To:References:From:In-Reply-To; b=HqgeEk1APMhI2GRps3cSWdZZDTdchguyy38VsYGplxWwd09jhFoCI3RD5oSc4yKU7 aNxWqBRSiUIUOqgYYa0kNAJiimuGY4rl3VQUdgv1k0xgysood9+1FNfVCYarDH2in+ /snzD25UHMgMjnqG1RZ1UY7TXltoPdxytAGykDdw= Received: from [172.16.1.231] (157-131-78-27.fiber.dynamic.sonic.net [157.131.78.27]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by www.quinteiro.org (Postfix) with ESMTPSA id AB82D2E838 for ; Tue, 18 Apr 2023 15:36:15 +0000 (UTC) Message-ID: <0474f51c-ea36-3023-6821-7f4c9ba5a763@quinteiro.org> Date: Tue, 18 Apr 2023 08:36:14 -0700 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: Get ${OSREL} at install time Content-Language: en-US To: ports@freebsd.org References: From: Jose Quinteiro In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-2.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_HAS_CURRENCY(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[quinteiro.org:s=default]; R_SPF_ALLOW(-0.20)[+mx:c]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[quinteiro.org]; MLMMJ_DEST(0.00)[ports@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[quinteiro.org:+]; ASN(0.00)[asn:47066, ipnet:71.19.154.0/24, country:US]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Q17LT5dWZz4QSn X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On 4/18/23 03:03, Eugene Grosbein wrote: > 18.04.2023 16:51, Felix Palmen wrote: > >> With lua scripts, you can't even use freebsd-version because execution >> is very restricted for them in pkg. And for some features (like e.g. >> dynamically creating a pkg-message output), you need lua... > > You don't need lua to create pkg-message dynamically or do many other things. > It was possible long before invention of lua itself :-) > Sorry for the off-topic reply, but this is unlikely. Lua: 1993 https://www.lua.org/history.html Ports system: 1994 https://klarasystems.com/articles/a-quick-look-at-the-history-of-package-management-on-freebsd/ Thanks, Jose