From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from outbound.soverin.net (outbound.soverin.net [116.202.65.215]) by sourceware.org (Postfix) with ESMTPS id E40293858D28 for ; Sun, 17 Oct 2021 13:28:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E40293858D28 Received: from smtp.soverin.net (unknown [10.10.3.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 040E060047; Sun, 17 Oct 2021 13:28:14 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.142]) by soverin.net Received: by reform (Postfix, from userid 1000) id 5CFF32E8022A; Sun, 17 Oct 2021 15:28:10 +0200 (CEST) Date: Sun, 17 Oct 2021 15:28:10 +0200 From: Mark Wielaard To: Overseers mailing list Cc: "Frank Ch. Eigler" , Julian Seward Subject: Re: Hosting www.valgrind.org on sourceware Message-ID: References: <0075c3ee018be22b506fc0469b0cf07f2c7150f9.camel@klomp.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: overseers@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Overseers mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2021 13:28:17 -0000 Hi, On Wed, Sep 22, 2021 at 08:27:24AM -0400, Frank Ch. Eigler via Overseers wrote: > > Would it be OK for me to set this up? I can create the valgrind- > > htdoc.git and hooks myself. Julian can update DNS to make valgrind.org > > and www.valgrind.org a CNAME for sourceware.org. I might need some help > > with apache vhost and the Let's Encrypt for https setup. > > Who can say no to someone volunteering to do the work! Welcome. I finally managed to do this. I added valgrind-htdocs.git with hooks to checkout the tree in /sourceware/projects/htdocs on post-update. https://sourceware.org/git/valgrind-htdocs.git It has all the commits from the old svn repo except for the various tar.bz2 archives under downloads because they bloated the repo and most of them are under https://sourceware.org/pub/valgrind/ those which weren't are now under https://sourceware.org/pub/valgrind/archive/ they are very old. I added /etc/httpd/conf.d/sourceware-vhost-valgrind.conf which mainly contains redirects from http to https and www.valgrind.org to valgrind.org. I bootstrapped a valgrind.org certbot certificate using valgrind.wildebeest.org (the test site), once DNS are changed we can add valgrind.org and www.valgrind.org to it. Because php is used inside .html pages and there is a header.php and footer.php that are required to be included in every page I also created a separate php-fpm pool as /etc/php-fpm.d/valgrind.conf. This creates a valgrind.sock that the vhost uses so it doesn't interfere with any other vhost using php. The results can be seen at https://valgrind.wildebeest.org/ Julian, if you think this looks good, could you set valgrind.org and www.valgrind.org as CNAMEs to sourceware.org ? Then I'll update the letsencrypt certificates so https works as expected. Cheers, Mark