summaryrefslogtreecommitdiffstats
path: root/cgit
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-08-05 03:46:19 -0400
committerMalfurious <m@lfurio.us>2024-08-07 20:56:16 -0400
commit93e4f015f23d42bccbe306bf02fef17fe47f0f59 (patch)
treed8d0a47b95f7712cc55a9180eeb9a16ec6f5594e /cgit
parentf1969957af9cb23c47a464d7eccff02d766357c7 (diff)
downloadsrcnode-93e4f015f23d42bccbe306bf02fef17fe47f0f59.tar.gz
srcnode-93e4f015f23d42bccbe306bf02fef17fe47f0f59.zip
Rename project to srcnode
"Normalmode" is the name of the hosted platform that this software package was constructed to power. To better distinguish between the two and to give this project more of a standalone identity, it is rebranded with a new name. Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'cgit')
-rw-r--r--cgit/Dockerfile6
-rw-r--r--cgit/cgitrc4
-rw-r--r--cgit/httpd.conf4
-rw-r--r--cgit/logo.pngbin5923 -> 1459 bytes
4 files changed, 7 insertions, 7 deletions
diff --git a/cgit/Dockerfile b/cgit/Dockerfile
index 28891c7..904712f 100644
--- a/cgit/Dockerfile
+++ b/cgit/Dockerfile
@@ -1,16 +1,16 @@
# https://git.zx2c4.com/cgit/
FROM alpine
-ARG NORMALMODE_VERSION
+ARG SRCNODE_VERSION
RUN apk --no-cache upgrade
RUN apk --no-cache add apache2 cgit
COPY httpd.conf /etc/apache2/
COPY cgitrc /etc/
-COPY logo.png /usr/share/normalmode/
+COPY logo.png /usr/share/srcnode/
-RUN echo "<div class=\"footer\">$(apk version cgit | awk '/cgit/{print $1}') | $NORMALMODE_VERSION</div>" >/footer
+RUN echo "<div class=\"footer\">$(apk version cgit | awk '/cgit/{print $1}') | $SRCNODE_VERSION</div>" >/footer
EXPOSE 80
CMD ["/usr/sbin/httpd", "-DFOREGROUND"]
diff --git a/cgit/cgitrc b/cgit/cgitrc
index c5a09f3..f835eaa 100644
--- a/cgit/cgitrc
+++ b/cgit/cgitrc
@@ -6,8 +6,8 @@ logo=/logo.png
logo-link=/
footer=/footer
-root-title=NormalMode.org Repositories
-root-desc=Public repositories hosted on normalmode.org
+root-title=Srcnode
+root-desc=Git repositories hosted on srcnode
clone-url=https://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL ssh://git@$HTTP_HOST/$CGIT_REPO_URL
diff --git a/cgit/httpd.conf b/cgit/httpd.conf
index 6ffe913..fb49add 100644
--- a/cgit/httpd.conf
+++ b/cgit/httpd.conf
@@ -22,7 +22,7 @@ LogLevel warn
Require all denied
</Directory>
-<Directory "/usr/share/normalmode/">
+<Directory "/usr/share/srcnode/">
AllowOverride None
Require all granted
</Directory>
@@ -33,7 +33,7 @@ LogLevel warn
Require all granted
</Directory>
-Alias /logo.png "/usr/share/normalmode/logo.png"
+Alias /logo.png "/usr/share/srcnode/logo.png"
Alias /cgit.css "/usr/share/webapps/cgit/cgit.css"
Alias /cgit.png "/usr/share/webapps/cgit/cgit.png"
diff --git a/cgit/logo.png b/cgit/logo.png
index 4746a72..2b28fed 100644
--- a/cgit/logo.png
+++ b/cgit/logo.png
Binary files differ