summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/cgitrc139
-rwxr-xr-xetc/letsencrypt/hook.sh13
-rw-r--r--etc/portage/make.conf3
-rw-r--r--etc/portage/package.accept_keywords/conf1
-rw-r--r--root/.bash_aliases9
-rwxr-xr-x[-rw-r--r--]var/lib/git/sijanec/config5
6 files changed, 167 insertions, 3 deletions
diff --git a/etc/cgitrc b/etc/cgitrc
new file mode 100644
index 0000000..b68c53a
--- /dev/null
+++ b/etc/cgitrc
@@ -0,0 +1,139 @@
+#
+# cgit config
+# see cgitrc(5) for details
+virtual-root=/
+css=/cgit-css/cgit.css
+logo=/cgit-css/cgit.png
+about-filter=exec:/usr/lib/cgit/filters/about-formatting.sh
+# auth-filter=lua:/usr/lib/cgit/filters/file-authentication.lua
+branch-sort=age
+clone-url=http://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL https://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL
+clone-url=http://$HTTP_HOST/$CGIT_REPO_URL https://$HTTP_HOST/$CGIT_REPO_URL
+commit-filter=exec:/usr/lib/cgit/filters/commit-links.sh
+# embedded=1
+enable-blame=1
+enable-commit-graph=1
+enable-filter-overrides=1
+enable-follow-links=1
+enable-git-config=1
+enable-html-serving=1
+enable-index-links=1
+enable-log-filecount=1
+enable-log-linecount=1
+enable-remote-branches=1
+enable-subject-links=1
+# head-include=/tmp/b
+# header=/tmp/a
+local-time=1
+max-atom-items=1000
+max-commit-count=5000
+max-message-length=800
+max-repo-count=5000
+max-repodesc-length=800
+max-stats=year
+mimetype-file=/etc/mime.types
+# noheader=1
+readme=README
+readme=README.md
+readme=README.html
+readme=README.man
+readme=README.rst
+readme=README.roff
+readme=README.groff
+readme=README.txt
+readme=README.MD
+readme=README.HTML
+readme=README.MAN
+readme=README.RST
+readme=README.ROFF
+readme=README.GROFF
+readme=README.TXT
+readme=readme
+readme=readme.md
+readme=readme.html
+readme=readme.man
+readme=readme.rst
+readme=readme.roff
+readme=readme.groff
+readme=readme.txt
+readme=readme.MD
+readme=readme.HTML
+readme=readme.MAN
+readme=readme.RST
+readme=readme.ROFF
+readme=readme.GROFF
+readme=readme.TXT
+readme=Readme
+readme=Readme.md
+readme=Readme.html
+readme=Readme.man
+readme=Readme.rst
+readme=Readme.roff
+readme=Readme.groff
+readme=Readme.txt
+readme=Readme.MD
+readme=Readme.HTML
+readme=Readme.MAN
+readme=Readme.RST
+readme=Readme.ROFF
+readme=Readme.GROFF
+readme=Readme.TXT
+readme=BERIME
+readme=BERIME.md
+readme=BERIME.html
+readme=BERIME.man
+readme=BERIME.rst
+readme=BERIME.roff
+readme=BERIME.groff
+readme=BERIME.txt
+readme=BERIME.MD
+readme=BERIME.HTML
+readme=BERIME.MAN
+readme=BERIME.RST
+readme=BERIME.ROFF
+readme=BERIME.GROFF
+readme=BERIME.TXT
+readme=berime
+readme=berime.md
+readme=berime.html
+readme=berime.man
+readme=berime.rst
+readme=berime.roff
+readme=berime.groff
+readme=berime.txt
+readme=berime.MD
+readme=berime.HTML
+readme=berime.MAN
+readme=berime.RST
+readme=berime.ROFF
+readme=berime.GROFF
+readme=berime.TXT
+readme=Berime
+readme=Berime.md
+readme=Berime.html
+readme=Berime.man
+readme=Berime.rst
+readme=Berime.roff
+readme=Berime.groff
+readme=Berime.txt
+readme=Berime.MD
+readme=Berime.HTML
+readme=Berime.MAN
+readme=Berime.RST
+readme=Berime.ROFF
+readme=Berime.GROFF
+readme=Berime.TXT
+# remove-suffix=.git
+renamelimit=100
+repository-sort=age
+root-desc=spletni dostop do sistema za nadzor inačic Antona Luke Šijanca
+root-readme=/var/lib/git/indextext.html
+root-title=nadzor inačic :: Anton Luka Šijanec
+# side-by-side-diffs=1 # to nastavi default vrednost
+snapshots=all
+source-filter=/usr/lib/cgit/filters/syntax-highlighting.sh
+sumary-branches=100
+summary-log=100
+summary-tags=100
+
+scan-path=/var/lib/git
diff --git a/etc/letsencrypt/hook.sh b/etc/letsencrypt/hook.sh
new file mode 100755
index 0000000..5355a71
--- /dev/null
+++ b/etc/letsencrypt/hook.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+CREATE_DOMAIN="certbot.rfc2136.sijanec.eu."
+# update delete $CREATE_DOMAIN TXT
+echo "
+server 127.0.0.1
+update add $CREATE_DOMAIN 1 TXT $CERTBOT_VALIDATION
+send
+" | tee /dev/stderr | nsupdate -k /etc/bind/keyfile-rfc2136.conf
+if [ $CERTBOT_REMAINING_CHALLENGES -eq 0 ]
+then
+ rndc reload
+ sleep 30
+fi
diff --git a/etc/portage/make.conf b/etc/portage/make.conf
index c7fc7c7..be47c61 100644
--- a/etc/portage/make.conf
+++ b/etc/portage/make.conf
@@ -62,7 +62,8 @@ USE="$USE vhost-net qemu parted" # za qemu / libvirt
USE="$USE qml positioning quick" # za freecad
USE="$USE gstreamer" # za dino
USE="$USE jack-sdk sound-server elogind" # za pipewire
-USE="$USE enable-driver"
+USE="$USE enable-driver" # za www-client/ungoogled-chromium iz pf4public
+USE="$USE v4l" # za motion
CALLIGRA_FEATURES="stage words sheets"
PALEMOON_ENABLE_UNSUPPORTED_COMPILERS=1 # uradno gcc 11 ni podprt
diff --git a/etc/portage/package.accept_keywords/conf b/etc/portage/package.accept_keywords/conf
index 9e14815..0944e06 100644
--- a/etc/portage/package.accept_keywords/conf
+++ b/etc/portage/package.accept_keywords/conf
@@ -52,3 +52,4 @@ app-misc/qlcplus **
net-analyzer/masscan ~*
dev-util/android-studio ~*
net-vpn/iodine ~*
+app-emulation/libguestfs ~*
diff --git a/root/.bash_aliases b/root/.bash_aliases
index 9d1b336..07114ac 100644
--- a/root/.bash_aliases
+++ b/root/.bash_aliases
@@ -1,3 +1,12 @@
+function fancyindex_files () {
+ for i in `curl -k $1 | grep link | grep -v '<td class="size">-</td>' | cut -d\" -f 4 `
+ do
+ echo $2$i
+ done
+}
+function fancyindex_play () {
+ mpv `fancyindex_files $1 $1/`
+}
export CT_ALLOW_BUILD_AS_ROOT_SURE=1
function register () {
n=`curl -s https://www.register.si | grep nonce | head -n 1 | cut -d\" -f8`
diff --git a/var/lib/git/sijanec/config b/var/lib/git/sijanec/config
index c8f67c6..047cba5 100644..100755
--- a/var/lib/git/sijanec/config
+++ b/var/lib/git/sijanec/config
@@ -2,9 +2,10 @@
repositoryformatversion = 0
filemode = true
bare = true
+ sharedRepository = true
[gitweb]
- category = etc
- owner = Anton Luka Šijanec <anton@sijanec.eu>
+ category = etc
+ owner = Anton Luka Šijanec <anton@sijanec.eu>
[receive]
denyNonFastForwards = true
denyDeletes = true