From 4ca0a0f1ae1d83ab6cfe32478d03c7e321cd3034 Mon Sep 17 00:00:00 2001
From: "Kyle J. McKay" <mackyle@gmail.com>
Date: Tue, 21 Jun 2022 12:39:33 -0700
Subject: [PATCH] gitweb/indextext_readonly.html: update to match
 indextext.html

The repo.or.cz site has a custom indextext.html file.

Customize the new indextext_readonly.html file to match the
indextext.html file while retaining the read-only warning addition.
---
 gitweb/indextext_readonly.html | 71 +++++++++++++++++++++++++++++++-----------
 1 file changed, 53 insertions(+), 18 deletions(-)

diff --git a/gitweb/indextext_readonly.html b/gitweb/indextext_readonly.html
index 9fe0730..baf97af 100644
--- a/gitweb/indextext_readonly.html
+++ b/gitweb/indextext_readonly.html
@@ -1,24 +1,59 @@
-<p><strong>Congratulations!</strong> Welcome in your fresh Girocco instance.
-Edit gitweb/indextext.html in the source tree and re-run make install to
-modify this text. (Never modify anything in the final destination directories,
-it will get overwritten!) You can tweak gitweb/gitweb_config.perl to define
-whether to show project list on the front page, or e.g. to turn content tags off.
-You may want to have a look at the rorcz branch of
-<a href="http://repo.or.cz/w/girocco.git">girocco.git</a> to see how this hosting
-site (repo.or.cz) is configured.
-Enjoy setting up your Girocco! <a href="/h/about.html">(read more, terms&amp;conditions)</a></p>
-
-<p>Have you told <a href="mailto:pasky@suse.cz">Petr Baudis</a>
-about your Girocco usage? Of course you don't have to, but then you may
-find out that upgrading to newer Girocco version in the future is not as
-smooth as you would like...</p>
-
-<p>If your cgidir is not in site root, you will have to adjust the three
-links below manually:</p>
+<style type="text/css">
+.notice {
+	margin:1em 0em 2em;
+	padding:1ex 3ex;
+	background-color:#cdf;
+}
+</style>
+
+<div class="notice">
+<p>repo.or.cz switched to <a href="https://letsencrypt.org/">Let's Encrypt</a> for its TLS certificates.
+This means that we no longer issue the site's certificates ourselves.
+If you have configured your browser or your Git client to only trust the old CA,
+access to the site will be broken.
+Please configure your clients to trust the Let's Encrypt CA instead.
+SSH access should be unaffected by the change.</p>
+</div>
+
+<p><strong>repo.or.cz</strong> is a public <a href="http://git-scm.com/">Git</a> hosting site.
+Create a project in a snap, <strong>publish your development</strong>, give others push
+access and let anyone have a look and contribute.
+Alternatively, if you just see a random <code>git://</code> URL fly by and
+want to check it out, or you have limited bandwidth or want backup - just quickly
+<strong>set up a mirror</strong> of any project published
+elsewhere and we will provide pull and gitweb access for the project,
+or send you notifications when new stuff gets committed.
+<a href="/about.html">(read more, terms of use)</a> <a href="/pledge.html">(want to help?)</a></p>
+
+<p>The service is maintained by the <a href="/admins.html">admin team</a> as a public service for the Git community,
+please contact <a href="mailto:admin@repo.or.cz">admin@repo.or.cz</a> with any requests, proposals, issues or patches - the
+underlying engine is <a href="/girocco.git">fully open-source</a> and easy to deploy.
+Or you may be also interested in
+<a href="http://git.or.cz/gitwiki/GitHosting">other Git hosting sites</a>.</p>
+
+<!--
+<div style="margin-left: auto; margin-right: auto; border: 1pt solid; padding: 1em; width: 40em">
+<p><strong>We need your help!</strong>
+We need to buy new server hardware for the site and cannot afford to pay for it all
+ourselves. Please consider donating! We are also seeking volunteers
+to help run the site.
+<a href="/pledge.html">(read more)</a></p>
+
+<div align="center">
+<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
+	<input type="hidden" name="cmd" value="_s-xclick">
+	<input type="hidden" name="encrypted" value="-&#45;-&#45;-BEGIN PKCS7-&#45;-&#45;-MIIHLwYJKoZIhvcNAQcEoIIHIDCCBxwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBVsvI3kcQCVsmdoBsAGZm8B0/HJPk008SUqwdTwIYBhHHvwiUSklRSkqqqM5LXu3WKNhGP/LQc/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	<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
+	<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
+</form>
+</div>
+</div>
+-->
 
 <p align="center"><a href="/regproj.cgi">Register project</a> |
 <a href="/reguser.cgi">Register user</a> |
-<a href="/h/rootcert.html">Root certificate</a> |
+<a href="/rootcert.html">Root certificate</a> |
 <a href="/edituser.cgi">Update user email/SSH keys</a></p>
 
 <div class="forkinfo">
-- 
2.11.4.GIT