summary refs log tree commit diff
path: root/OpenBSD/www/cgit-causal-agency/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'OpenBSD/www/cgit-causal-agency/pkg')
-rw-r--r--OpenBSD/www/cgit-causal-agency/pkg/DESCR2
-rw-r--r--OpenBSD/www/cgit-causal-agency/pkg/PLIST14
-rw-r--r--OpenBSD/www/cgit-causal-agency/pkg/README74
3 files changed, 0 insertions, 90 deletions
diff --git a/OpenBSD/www/cgit-causal-agency/pkg/DESCR b/OpenBSD/www/cgit-causal-agency/pkg/DESCR
deleted file mode 100644
index f85c78a..0000000
--- a/OpenBSD/www/cgit-causal-agency/pkg/DESCR
+++ /dev/null
@@ -1,2 +0,0 @@
-This is an attempt to create a fast web interface for the git scm,
-using a builtin cache to decrease server io-pressure.
diff --git a/OpenBSD/www/cgit-causal-agency/pkg/PLIST b/OpenBSD/www/cgit-causal-agency/pkg/PLIST
deleted file mode 100644
index aeb2763..0000000
--- a/OpenBSD/www/cgit-causal-agency/pkg/PLIST
+++ /dev/null
@@ -1,14 +0,0 @@
-@comment $OpenBSD: PLIST,v 1.6 2018/09/04 12:46:24 espie Exp $
-@conflict cgit-*
-@group daemon
-@bin bin/git
-@bin cgi-bin/cgit.cgi
-@bin cgi-bin/git-http-backend
-@group
-cgit/
-cgit/cgit.css
-cgit/cgit.png
-cgit/robots.txt
-@cwd ${LOCALBASE}
-@man man/man5/cgitrc.5
-share/doc/pkg-readmes/${PKGSTEM}
diff --git a/OpenBSD/www/cgit-causal-agency/pkg/README b/OpenBSD/www/cgit-causal-agency/pkg/README
deleted file mode 100644
index 816ad9e..0000000
--- a/OpenBSD/www/cgit-causal-agency/pkg/README
+++ /dev/null
@@ -1,74 +0,0 @@
-$OpenBSD: README,v 1.5 2018/09/04 12:46:24 espie Exp $
-
-+-----------------------------------------------------------------------
-| Running ${PKGSTEM} on OpenBSD
-+-----------------------------------------------------------------------
-
-Cgit config
-===========
-By default, the cgitrc config file is searched in ${PREFIX}/conf/cgitrc.
-Refer to cgitrc(5) for the syntax.
-
-Webserver config
-================
-
-OpenBSD httpd
--------------
-server "default" {
-	listen on egress port 80
-
-	# don't serve static files from cgit CGI: cgit.css and cgit.png
-	location "/cgit.*" {
-		root "/cgit"
-		no fastcgi
-	}
-	root "/cgi-bin/cgit.cgi"
-	fastcgi socket "/run/slowcgi.sock"
-}
-
-Nginx
------
-An example nginx config snippet is provided below, to run with
-slowcgi:
-
-server {
-	server_name cgit.example.com;
-	access_log logs/cgit-access main;
-	error_log logs/cgit-error warn;
-	location ~ /cgit.(png|css) {
-		root /var/www/htdocs;
-	}
-	location / {
-		rewrite /(.*) /cgi-bin/cgit.cgi/$1;
-	}
-	location /cgi-bin/ {
-		fastcgi_pass unix:run/slowcgi.sock;
-		fastcgi_split_path_info ^(/cgi-bin/[^/]+)(.*);
-		fastcgi_param  PATH_INFO $fastcgi_path_info;
-		include fastcgi_params;
-	}
-}
-
-Apache config
--------------
-
-This config snippet works with Apache:
-
-ScriptAlias /cgit /cgi-bin/cgit.cgi
-<Location "/cgit">
-	AllowOverride None
-	Options +ExecCGI
-	Order allow,deny
-	Allow from all
-</Location>
-
-
-snapshots
----------
-Nginx and OpenBSD httpd use chroot(2).
-
-For .tar.gz snapshot support a static binary in $chroot/bin/gzip is required.
-
-	cd /usr/src/usr.bin/compress
-	make clean && make LDFLAGS="-static -pie"
-	cp obj/compress $chroot/bin/gzip