From 1c2f14581d90c2718897ddfca0a5c017afd3b379 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Fri, 23 Jun 2023 22:53:06 +0300
Subject: [PATCH] cgit: Remove the Apache status patch.

Not sure why I needed to begin with.
---
 cgit/Dockerfile |  4 ----
 cgit/patch.diff | 11 -----------
 2 files changed, 15 deletions(-)
 delete mode 100644 cgit/patch.diff

diff --git a/cgit/Dockerfile b/cgit/Dockerfile
index 9751a96..10b8a45 100644
--- a/cgit/Dockerfile
+++ b/cgit/Dockerfile
@@ -6,7 +6,6 @@ RUN apt-get update && \
     DEBIAN_FRONTEND=noninteractive apt-get install -y \
         cgit \
         groff-base \
-        patch \
         python3-docutils \
         python3-markdown \
         python3-pygments \
@@ -15,8 +14,5 @@ RUN apt-get update && \
     a2enconf cgit && \
     install -d -o www-data -g www-data -m 755 /var/cache/cgit && \
     rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*
-COPY --chown=root:root patch.diff /root/
 COPY --chown=root:root cgitrc /etc/
-RUN patch --strip 0 --verbose --directory /etc/apache2 --input /root/patch.diff && \
-    apache2 -t
 USER www-data
diff --git a/cgit/patch.diff b/cgit/patch.diff
deleted file mode 100644
index 7b9e2f8..0000000
--- a/cgit/patch.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- mods-available/status.conf	2019-04-03 00:13:44.000000000 +0300
-+++ mods-available/status.conf	2019-11-09 19:59:09.642896703 +0200
-@@ -5,7 +5,7 @@
- 
- 	<Location /server-status>
- 		SetHandler server-status
--		Require local
-+		#Require local
- 		#Require ip 192.0.2.0/24
- 	</Location>
- 
-- 
GitLab