From owner-freebsd-ports@freebsd.org Mon Mar 29 17:56:25 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8F97057EAFB for ; Mon, 29 Mar 2021 17:56:25 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8KyJ29G7z4T9w for ; Mon, 29 Mar 2021 17:56:23 +0000 (UTC) (envelope-from o.hartmann@walstatt.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1617040581; bh=MsF1X2nRALhALAZCG4uqZlLUueCOgHjPm0sEbodGNFg=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:In-Reply-To:References; b=kWtSEmNolef+tvoQ8CcCTcEi0Ksch0pW6q5rTfc6u058MXovmBi5E2/ayP2N6X7mE 45AQheBsRmqw+I0t10lCRHC0/gnxxms44c+aLGrp4BzoKVZkHf4Q/R4JpQX5qgS7Sm YbajdZv7aBpnVanZoMr/e5+x0LT0+TL1GM3E9IxU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from hermann.fritz.box ([77.191.13.80]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N5G9t-1lbLbk10j7-011Ais; Mon, 29 Mar 2021 19:56:21 +0200 Date: Mon, 29 Mar 2021 19:56:20 +0200 From: "Hartmann, O." To: Michael Gmelin Cc: FreeBSD Ports Subject: Re: devel/git: Git via Apache 2.4 HTTPS - info/refs not valid: could not determine hash algorithm Message-ID: <20210329195620.41d65832@hermann.fritz.box> In-Reply-To: <20210329114228.69fae81b@bsd64.grem.de> References: <20210328130819.01a1d7e6@hermann.fritz.box> <20210329114228.69fae81b@bsd64.grem.de> Organization: walstatt.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/4uxtILCT/N/E9m.QE7DHrV_"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Provags-ID: V03:K1:QyNUdW0dM2OmSBLtLhK6ga6c1YCuFlJ6rG62UVKE4xLjF4fG0RJ ZZAT5JfqKPNxDLrn2+FZZtu7sfnjHnWxjAl36QvFUiy6TgZwXrmoWDHpdCBQVwP9NOsZ/6L LrXH3U6KtWTarZTWIanxxdQ2XvUedI/Ac8kwaVQyHdP6aPvKvvsuEbt1iAOASO1ePgftcQk GxL+KsPUE/7hkxSP2v3uw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Ya4DHxNSg7Y=:Yj+U3DjYgKUzlSml6mXg1l 5ITYsHzXG6ABY0fOXxnOA+M7iuNVX6xDFZlFSpVnGrc43yXFZBc+GhUKgqvKfmqYgBFb1g7Ob q83aNP1wWSZm27iQQ6YWDVNu8N1zHsvZSsEMUaixbZ7R/YTmVg4KKxfPzhD7O6T7ego/1BcWN B5wZLQ5Dy1IhFh+1fho7ZvnhZjLRMyH4lEyLCssGffVOCiBL8gIbNRDGdqENFhHNYd1LG+cEK GrokpuxsLc/S8h9f/ihRc4B3EDeIkzCCk+mAJg3iLrzL4vLGAGbC2Xw6dCwr1PJ+wAr6BQ2sw FcPTRMtJHzrkIm48btaqz1HZ9rqf7UpWbsP7p1i1Asopesd5qoi1CB5fateG9PTXonfSAhpYA fmXUUkOafj/eDis+jmewcWXJc2PFXbXoGlAKF4NgwkqXnKeAVTOuZ4RmdFdAyDKxLsX/Yb2TA KFFbtLnxc7muOCo6DDFQQEBXaMaSy3qdN7dVsa6YwiKsLGUq+j2Qx1bb8KfH2JYuLHV1nphE4 tzX8ybfceEU5V+KQDsh3JcbcoWV4TaqYSafDMqCaWkrXr51ATjbQ9pogAU2z5wAYgVClI+/W+ HcHVzrmlxWks+0+RyY59wCAwlgwAPAHwAqwJscdSku4HHSKG/CRuVmL/fcDTU8B7kxzisfyyZ UVB9XjsmnZWWX/m7V/mLmrfIN2QZiuVnKVDzBAt3i6VYnD2UyCZbh0c3kjr2ObB78j76f9Qd2 /GI/lPZuF3tXPfhzYQHnnv2KuafgjCQlkrmCQTrXlW6+36RH7u6fibtQRNF/jET23EuZDpLDm Bun7l6E8+lrfvWse+raVYY7S7CNOJvH3zYgSYu7ShpuloTWEaohA+nMHlC+XbEcSCyFJ0Ayks BSPaM4fYbJUmusmsoGnWFV74KXU2/rvYrw/4fYFQKtIbYBoAR/8os6PDoLooxhlXwy95R2PIA xU6q8efolJKXRYG6CWi8XeScuaVWADS+veiAndSgv9hL9KjYFtEGF3EJlKiPZ2KErgogz7MI9 lcmFM5WMX0Gw7LlMtZPdvX/ZUJNOQaWNwMdsmAX7tTpRLeMLKwgr34Pb5p/ewmHoWgZ3My1GI jwjGrfBUUscQb0t75QLKMUqS+2mh7/0UOWYNE7EZQa7A+0UsjFNic+kV2dCDJTy/WGKvccKDZ gywF814TB3eWE9QRhFwCeiY0zFTGqN2u+rAfEYwwN31EsrpSqaN9mwbI54hLKpSSe5aZo4C81 ffCvI0iQ14cyM8WUp X-Rspamd-Queue-Id: 4F8KyJ29G7z4T9w X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=kWtSEmNo; dmarc=none; spf=none (mx1.freebsd.org: domain of o.hartmann@walstatt.org has no SPF policy when checking 212.227.17.22) smtp.mailfrom=o.hartmann@walstatt.org X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmx.net:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[77.191.13.80:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.17.22:from]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.22:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[walstatt.org]; SPAMHAUS_ZRD(0.00)[212.227.17.22:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[no SPF record]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.22:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports] X-Mailman-Approved-At: Mon, 29 Mar 2021 19:13:45 +0000 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 17:56:25 -0000 --Sig_/4uxtILCT/N/E9m.QE7DHrV_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 29 Mar 2021 11:42:28 +0200 Michael Gmelin wrote: > On Sun, 28 Mar 2021 13:08:19 +0200 > "Hartmann, O." wrote: >=20 > > What am I missing here? > > =20 >=20 > The man page of git-http-backend has an apache2 example[0]. > Also, the top answer to this stackoverflow question might give you a > hint: https://stackoverflow.coo-set-up-git-over-http >=20 > Best, > Michael >=20 > [0]https://www.freebsd.org/cgi/man.cgi?query=3Dgit-http-backend&apropos= =3D0&sektion=3D0&manpath=3DFreeBSD+12.2-RELEASE+and+Ports&arch=3Ddefault&fo= rmat=3Dhtml >=20 >=20 Hello Michael, thanks for responding. The first tip I came across was the Stackoverflow HowTo - whatever I did an= d do, it doesn't work. I also tried the several variants shown in [0], starting with= the simplest towards more complex ones. Following strictly the reference at=20 https://stackoverflow.com/questions/26734933/how-to-set-up-git-over-http with minor local adaptions (for FreeBSD and the Git base folder), even with= anonymous access allowed the failure is the same as with some Basic authentication vi= a LDAP. As decribed in my initial email: first access with a "git push -u origin ma= ster" is logged by Apache with 401, requesting credentials. If provided, the line (httpd-access.log): xx.xx.xx.xx - USERNAME [29/Mar/2021:17:44:55 +0000] "GET \ /git/test.git/info/refs?service=3Dgit-upload-pack HTTP/1.1" 200 1689032 "-"= "git/2.31.0" \ 323 1691601 status code 200 indicates OK - so authetication is all right and I should p= roceed, but I get on the client fatal: https://[url]/git/test.git/info/refs not valid: could not determine hash algorithm; is this a git repository? On both sides, I had disabled sslVerify (due to self signed cert issue with= git, another pitfall) and according to stackoverflow howto, hooks are also prepared and = the root folder and its subsequent folders /pool/gitbase (PROJECT_ROOT) is owned by = www:www and has ACL 0775 set. And this is why it gets desperate to me ... Kind regards, O. Hartmann --Sig_/4uxtILCT/N/E9m.QE7DHrV_ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCYGIUxAAKCRA4N1ZZPba5 R/tdAQCNJKehjKVw1YLUnQ95Up14YgjEfC4cDGqOqb5lEVZXSgEA7q8st+k3I1Jj mmyMkwd2EaH3DWLFKSITCQMadQIuUAc= =9j0j -----END PGP SIGNATURE----- --Sig_/4uxtILCT/N/E9m.QE7DHrV_--