From nobody Sun Apr 21 07:36:37 2024 X-Original-To: freebsd-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 4VMgFS5FRkz5HhqD for ; Sun, 21 Apr 2024 07:37:16 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp6.goneo.de (smtp6.goneo.de [85.220.129.31]) (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 4VMgFR6966z4d2G for ; Sun, 21 Apr 2024 07:37:15 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=walstatt-de.de header.s=DKIM001 header.b=DcdO2y9R; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@walstatt-de.de designates 85.220.129.31 as permitted sender) smtp.mailfrom=freebsd@walstatt-de.de Received: from hub1.goneo.de (hub1.goneo.de [85.220.129.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp6.goneo.de (Postfix) with ESMTPS id 6B299240A82 for ; Sun, 21 Apr 2024 09:37:07 +0200 (CEST) Received: from hub1.goneo.de (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPS id CE8D624028F for ; Sun, 21 Apr 2024 09:37:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1713685025; 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=P088Q/DHpkUxwgvMqF1BkYKPLydFQdo4e9QGOnD5Iz0=; b=DcdO2y9RHJ+wD3/VUDV2iibhVLkTDPpUhHXhZJv/Yh1LibitLqpQm2qgxKVgYPINkLB+WV NcMDvoaSljH7KdP1F07ElhLILzSK4HBq/ar0y0puvnJdBu24Fm9P9bQqADXjj9edzupCBT hOPuUKdTnJdj7tegNwkfIXosCuovrlOpm3rOl2fwnAu+CCBJjY2x98zW2FDP0hPVwSh29z k1vd5rCEObDKlz9h3tUcDcB2qPOpaxlXQP0XteZNMSnRb4mbw1GDoct/peU79qW8TPHxc9 IQ/gEswzKZw7W/ngtQtpJiZrMD3Bn2daad33EIRSG7dYTNe8IqoxGi85HBAfjg== Received: from thor.intern.walstatt.dynvpn.de (dynamic-077-011-157-189.77.11.pool.telefonica.de [77.11.157.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPSA id A507A240036 for ; Sun, 21 Apr 2024 09:37:05 +0200 (CEST) Date: Sun, 21 Apr 2024 09:36:37 +0200 From: FreeBSD User To: FreeBSD Ports Subject: Port maintenance: How to add extra source files to ports tree framework? Message-ID: <20240421093704.31ca081f@thor.intern.walstatt.dynvpn.de> Organization: walstatt-de.de List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-UID: 40f41e X-Rspamd-UID: 415f88 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[walstatt-de.de:s=DKIM001]; R_SPF_ALLOW(-0.20)[+ip4:85.220.129.0/25]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:25394, ipnet:85.220.128.0/17, country:DE]; MIME_TRACE(0.00)[0:+]; HAS_ORG_HEADER(0.00)[]; MISSING_XM_UA(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[walstatt-de.de]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; DKIM_TRACE(0.00)[walstatt-de.de:+] X-Rspamd-Queue-Id: 4VMgFR6966z4d2G Hello, I maintain in private a port (in fact, it is Espressif ESP-IDF for ESP chips). The port itself is hosted via GITHUB. Download and installing of the sources has been performed successfuly. The port has several Python based scripts which start accessing the internet reeling in several additions, but prior to that scripts check the system for meeting some compliance criteria. For that reason the Python script downloads "runtime" a "contraints" file from GitHUB, palces it usually into a local folder (usually ~/esp-idf/...) and checks Python modules upon the content of that file, where several modules are listed with their required versions. A general setup tool fails checking for Python's py-cryptography module, since the provided FreeBSD port is advanced, while the requirement is behind. Commenting out that requirment makes the Python script happy. The main aim is to avoid permanent internet access when setup the IDF and preparing a package for FreeBSD development hosts cut off the line. For that reason I'd like to do the following, without preparing another extra port: - additionally download the constraints file from another source - placing the file in the propper staging/wrksrc folder - editing that file according Python requirements - placing the file in pkg-plist Somehow I do not find a way to "extra" download from a different MASTERSITE and place the file in the proper staging place before patching, then patch the file and so prepare the port and the proper pkg-plist file. Thanks in advance, oh -- O. Hartmann