From nobody Wed Aug 3 10:38:26 2022 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 4LySyV4tDyz4YFf3 for ; Wed, 3 Aug 2022 10:38:58 +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 4LySyT6q5hz3NxK for ; Wed, 3 Aug 2022 10:38:57 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from hub2.goneo.de (hub2.goneo.de [85.220.129.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by smtp6.goneo.de (Postfix) with ESMTPS id 5429710A330A for ; Wed, 3 Aug 2022 12:38:56 +0200 (CEST) Received: from hub2.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 (2048 bits)) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPS id 7542110A1E85 for ; Wed, 3 Aug 2022 12:38:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1659523134; 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=C+HljFRhGE1/4Hp1gRqTHiMRxzjDYU0dZk7UvkAjthw=; b=rUkz/pqEUeLvcySaw39yyU/9UhzzUVdIlpuqsRhPzO8KDE1MXwl//DaqARgWqhWMxvh9Jb pis1eJlQBYtgyeG6vEDZz0vE1l/zN9X8vIWlElUIkzG6BkScilkGMq2ZY0tKS2M+LqkgB1 E+WXZi3zs5UiM3YMOHzrkvZbPVjHk7RqDBMRl85ce3Wzpqdce5J6DdA9b0VR8QfHjqjzEP DfSHlrg4SGYJUWn8t4+XFcTUNwEj/eKn+KIBCtEHK0U2wm9qYCkPTYGRofDaqNcue9IhWI ILAClWLt0tMfVhFq7xRY0a8TDhfBTAtCXLlYOhLAgbfwdNkNiQ2yf4LH95tCkA== Received: from thor.intern.walstatt.dynvpn.de (dynamic-077-013-184-212.77.13.pool.telefonica.de [77.13.184.212]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hub2.goneo.de (Postfix) with ESMTPSA id 4932E10A3308 for ; Wed, 3 Aug 2022 12:38:54 +0200 (CEST) Date: Wed, 3 Aug 2022 12:38:26 +0200 From: FreeBSD User To: FreeBSD Ports Subject: poudriere overlay: passing down git ENV variables (problem: self signed certificates) Message-ID: <20220803123853.760e9543@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: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-UID: 660138 X-Rspamd-UID: 187090 X-Rspamd-Queue-Id: 4LySyT6q5hz3NxK X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=walstatt-de.de header.s=DKIM001 header.b="rUkz/pqE"; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@walstatt-de.de has no SPF policy when checking 85.220.129.31) smtp.mailfrom=freebsd@walstatt-de.de X-Spamd-Result: default: False [-3.40 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[walstatt-de.de:s=DKIM001]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[85.220.129.31:from]; DKIM_TRACE(0.00)[walstatt-de.de:+]; ASN(0.00)[asn:25394, ipnet:85.220.128.0/17, country:DE]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; MIME_TRACE(0.00)[0:+]; R_SPF_NA(0.00)[no SPF record]; TO_DN_ALL(0.00)[]; HAS_ORG_HEADER(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[walstatt-de.de]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hello, I try to acconplish tasks in maintaining ports via poudriere-devel's OVERLAY option. First of all: it is a pain in the a... not having ANY suitable hint how to perform this, a single line like that I found after a couple of hours searching here: https://github.com/decke/ports would have been of help, really. So, I'm facing the all-time-present problem of having my own git server based on HTTPS with self signed certificate. git rejects connecting to those servers in the default configuration setting. Usually, I've to set via git config http.sslVerify false to not verify the certificate. Following the instructions given at https://github.com/decke/ports with my existing poudriere setup incorporating a ports folder, adjusting the URI with the one appropriate for my case, like: env GIT_NO_SSL_VERIFY=true poudriere ports -c -U https://myname@my.server.de/git/ports.git -m "git+https" -B master -p ov-freebsd fails with the well known "... problem: self signed certificate". Obviously poudriere is spawning its own environment within git operates (so it seems to me) and is not passing the given environment variable GIT_NO_SSL_VERIFY=true down to git. Now, I'm stuck here. I tried, anticpating that the "overlay port's folder" will be located at the same root as my "head" foleder for the port's collection will be rooted at, creating an folder "ov-freebsd" and creating the .git folder and config file with git init --bare ov-freebsd and then manually config this according to the specifications given by the initial poudriere command as seen above - does NOT WORK. It seems git is called to early or never access the given preexisting folder - or I'm wrong in the assumption of the location of the overlay folder. Also, checking out the "personal" git repo at the anticipated correct location and configuring "http.sslVerify false" does not succeed as expected. I guess this problem must be very common amongst those having their own git repository servers backed via a webserver secured via SSL self signed certificates, so I wonder whether there is a solution or not. Can someone enlighten my? How can I pass the specified env varibale down poudriere to git to achive the desired task? Assuming this procedure is correct. If not, what is the proper way to achive that task? Many thanks in advance. Kind regards oh -- O. Hartmann