From 93e4f015f23d42bccbe306bf02fef17fe47f0f59 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Mon, 5 Aug 2024 03:46:19 -0400 Subject: 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 --- cgit/Dockerfile | 6 +++--- cgit/cgitrc | 4 ++-- cgit/httpd.conf | 4 ++-- cgit/logo.png | Bin 5923 -> 1459 bytes 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'cgit') 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 "
$(apk version cgit | awk '/cgit/{print $1}') | $NORMALMODE_VERSION
" >/footer +RUN echo "
$(apk version cgit | awk '/cgit/{print $1}') | $SRCNODE_VERSION
" >/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 - + AllowOverride None Require all granted @@ -33,7 +33,7 @@ LogLevel warn Require all granted -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 Binary files a/cgit/logo.png and b/cgit/logo.png differ -- cgit v1.2.3