diff options
Diffstat (limited to 'public/fs')
-rwxr-xr-x | public/fs/etc/cgit.d/cgitrc-cfg.sh | 16 | ||||
-rw-r--r-- | public/fs/etc/cgit.d/cgitrc.foss21.org | 76 | ||||
-rw-r--r-- | public/fs/etc/cgit.d/cgitrc.midipix.org | 176 | ||||
-rw-r--r-- | public/fs/etc/cgit.d/cgitrc.zone | 40 |
4 files changed, 56 insertions, 252 deletions
diff --git a/public/fs/etc/cgit.d/cgitrc-cfg.sh b/public/fs/etc/cgit.d/cgitrc-cfg.sh new file mode 100755 index 0000000..8dae045 --- /dev/null +++ b/public/fs/etc/cgit.d/cgitrc-cfg.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +set -eu + +sitezone="$1" + +source /root/config/private/config/hostinfo/${sitezone} + +sed -e 's/@sitename@/'"${sitename}"'/g' \ + -e 's/@sitezone@/'"${sitezone}"'/g' \ + -e 's/@sitemoto@/'"${sitemoto}"'/g' \ + -e 's/@sitedesc@/'"${sitedesc}"'/g' \ + -e '/@@@/,$d' \ + "$1" + +cat /root/config/private/config/cgit/cgitrc.${sitezone}.conf diff --git a/public/fs/etc/cgit.d/cgitrc.foss21.org b/public/fs/etc/cgit.d/cgitrc.foss21.org deleted file mode 100644 index 4871e81..0000000 --- a/public/fs/etc/cgit.d/cgitrc.foss21.org +++ /dev/null @@ -1,76 +0,0 @@ -virtual-root=/ -source-filter=/usr/lib/cgit/filters/syntax-highlighting.py - -css=/cgit/cgit.css -logo=/cgit/cgit.png - -root-title=foss21 -root-desc=Quality FOSS for the 21st Century -clone-url=https://git.foss21.org/$CGIT_REPO_URL - -enable-http-clone=0 -enable-git-config=1 -section-from-path=1 -snapshots=tar.bz2 tar.xz - -enable-index-links=1 -enable-log-filecount=1 -enable-log-linecount=1 - -mimetype.git=image/git -mimetype.html=text/html -mimetype.jpg=image/jpeg -mimetype.jpeg=image/jpeg -mimetype.pdf=application/pdf -mimetype.png=image/png -mimetype.svg=image/svg+xml - -section=workflow -################ -repo.url=srcdist -repo.path=/srv/git/srcdist -repo.desc=scripts for reproducible generation of source tarballs -repo.owner=zgilboa - -section=cross -################ -repo.url=apimagic -repo.path=/srv/git/apimagic -repo.desc=cparser-based API normalization utility -repo.owner=zgilboa - -repo.url=mdso -repo.path=/srv/git/mdso -repo.desc=dso scavenger -repo.owner=zgilboa - -repo.url=perk -repo.path=/srv/git/perk -repo.desc=PE Resource Kit -repo.owner=zgilboa - -repo.url=slibtool -repo.path=/srv/git/slibtool -repo.desc=a surrogate libtool implementation, written in C -repo.owner=zgilboa - -repo.url=sltdl -repo.path=/srv/git/sltdl -repo.desc=a surrogate ltdl implementation -repo.owner=zgilboa - -repo.url=tpax -repo.path=/srv/git/tpax -repo.desc=a topological pax implementation -repo.owner=zgilboa - -section=zippy -################ -repo.url=sofort -repo.path=/srv/git/sofort -repo.desc=portable software project template -repo.owner=zgilboa - -section=other - -scan-path=/srv/git diff --git a/public/fs/etc/cgit.d/cgitrc.midipix.org b/public/fs/etc/cgit.d/cgitrc.midipix.org deleted file mode 100644 index 8abcaef..0000000 --- a/public/fs/etc/cgit.d/cgitrc.midipix.org +++ /dev/null @@ -1,176 +0,0 @@ -virtual-root=/ -source-filter=/usr/lib/cgit/filters/syntax-highlighting.py - -css=/cgit/cgit.css -logo=/cgit/midipix.png - -root-title=write once with confidence -root-desc=[ real-time mirror of dev.midipix.org ] -clone-url=https://git.midipix.org/$CGIT_REPO_URL - -enable-http-clone=0 -enable-git-config=1 -section-from-path=1 -snapshots=tar.bz2 tar.xz - -enable-index-links=1 -enable-log-filecount=1 -enable-log-linecount=1 - -mimetype.git=image/git -mimetype.html=text/html -mimetype.jpg=image/jpeg -mimetype.jpeg=image/jpeg -mimetype.pdf=application/pdf -mimetype.png=image/png -mimetype.svg=image/svg+xml - -section=base -############### -repo.url=mmglue -repo.path=/srv/git/mmglue -repo.desc=midipix architecture- and target-specific files for musl libc -repo.owner=midipix -repo.homepage=https://dev.midipix.org/base/mmglue - -repo.url=psxstub -repo.path=/srv/git/psxstub -repo.desc=stub for toolchain build -repo.owner=midipix -repo.homepage=https://dev.midipix.org/base/psxstub - -section=distro -################# -repo.url=mpackage -repo.path=/srv/git/mpackage -repo.desc=configuration files and installation scripts -repo.owner=midipix -repo.homepage=https://dev.midipix.org/distro/mpackage - -section=framework -#################### -repo.url=w32lib -repo.path=/srv/git/w32lib -repo.desc=custom import libraries for OS user-space interfaces -repo.owner=midipix -repo.homepage=https://dev.midipix.org/framework/w32lib - -section=native -################# -repo.url=ntux -repo.path=/srv/git/ntux -repo.desc=native translation und extension -repo.owner=midipix -repo.homepage=https://dev.midipix.org/native/ntux - -repo.url=ptycon -repo.path=/srv/git/ptycon -repo.desc=pty-console bridge -repo.owner=midipix -repo.homepage=https://dev.midipix.org/native/ptycon - -section=cross -################ -repo.url=apimagic -repo.path=/srv/git/apimagic -repo.desc=cparser-based API normalization utility -repo.owner=midipix -repo.homepage=https://dev.midipix.org/cross/apimagic - -repo.url=mdso -repo.path=/srv/git/mdso -repo.desc=dso scavenger -repo.owner=midipix -repo.homepage=https://dev.midipix.org/cross/mdso - -repo.url=perk -repo.path=/srv/git/perk -repo.desc=PE Resource Kit -repo.owner=midipix -repo.homepage=https://dev.midipix.org/cross/perk - -repo.url=slibtool -repo.path=/srv/git/slibtool -repo.desc=a surrogate libtool implementation, written in C -repo.owner=midipix -repo.homepage=https://dev.midipix.org/cross/slibtool - -repo.url=sltdl -repo.path=/srv/git/sltdl -repo.desc=a surrogate ltdl implementation -repo.owner=midipix -repo.homepage=https://dev.midipix.org/cross/sltdl - -repo.url=tpax -repo.path=/srv/git/tpax -repo.desc=a topological pax implementation -repo.owner=midipix -repo.homepage=https://dev.midipix.org/cross/tpax - -section=runtime -################## -repo.url=psxtypes -repo.path=/srv/git/psxtypes -repo.desc=portable type definitions for a free-standing environment -repo.owner=midipix -repo.homepage=https://dev.midipix.org/runtime/psxtypes - -repo.url=dalist -repo.path=/srv/git/dalist -repo.desc=a zero-dependency book-keeping library -repo.owner=midipix -repo.homepage=https://dev.midipix.org/runtime/dalist - -repo.url=pemagine -repo.path=/srv/git/pemagine -repo.desc=a (virtual) tour into portable bits and executable bytes -repo.owner=midipix -repo.homepage=https://dev.midipix.org/runtime/pemagine - -repo.url=ntapi -repo.path=/srv/git/ntapi -repo.desc=Native API core library -repo.owner=midipix -repo.homepage=https://dev.midipix.org/runtime/ntapi - -repo.url=ntcon -repo.path=/srv/git/ntcon -repo.desc=free-standing console interface definitions -repo.owner=midipix -repo.homepage=https://dev.midipix.org/runtime/ntcon - -section=build -################ -repo.url=midipix_build -repo.path=/srv/git/mirror/midipix_build -repo.desc=a comprehensive midipix distro build script -repo.owner=lalbornoz -repo.homepage=https://dev.midipix.org/build/midipix_build - -section=ports -################ -repo.url=u16ports -repo.path=/srv/git/u16ports -repo.desc=u16 variants of wide character string functions -repo.owner=midipix -repo.homepage=https://dev.midipix.org/ports/u16ports - -section=workflow -################ -repo.url=srcdist -repo.path=/srv/git/srcdist -repo.desc=scripts for reproducible generation of source tarballs -repo.owner=zgilboa -repo.homepage=https://dev.midipix.org/workflow/srcdist - -section=zippy -################ -repo.url=sofort -repo.path=/srv/git/sofort -repo.desc=portable software project template -repo.owner=midipix -repo.homepage=https://dev.midipix.org/zippy/sofort - -section=other - -scan-path=/srv/git diff --git a/public/fs/etc/cgit.d/cgitrc.zone b/public/fs/etc/cgit.d/cgitrc.zone new file mode 100644 index 0000000..45ed8dd --- /dev/null +++ b/public/fs/etc/cgit.d/cgitrc.zone @@ -0,0 +1,40 @@ +virtual-root=/ +source-filter=/usr/lib/cgit/filters/syntax-highlighting.py + +css=/cgit/cgit.css +logo=/cgit/@sitename@.png + +root-title=@sitemoto@ +root-desc=@sitedesc@ +clone-url=https://git.@sitezone@/$CGIT_REPO_URL + +enable-http-clone=0 +enable-git-config=1 +section-from-path=1 +snapshots=tar.bz2 tar.xz + +enable-index-links=1 +enable-log-filecount=1 +enable-log-linecount=1 + +mimetype.git=image/git +mimetype.html=text/html +mimetype.jpg=image/jpeg +mimetype.jpeg=image/jpeg +mimetype.pdf=application/pdf +mimetype.png=image/png +mimetype.svg=image/svg+xml + +@@@ [sed mark] + +section=name +############### +repo.url=foo +repo.path=/srv/git/foo +repo.desc=something something +repo.owner=someone +repo.homepage=https://dev.@sitezone@/path/to/foo + +section=other +############### +scan-path=/srv/git |