From 3601b6b89aa18c52ff7b486f22faf7621fa636ab Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 11 Nov 2016 00:59:00 -0500 Subject: refactor --- config-service-git.PKGBUILD | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'config-service-git.PKGBUILD') diff --git a/config-service-git.PKGBUILD b/config-service-git.PKGBUILD index 607c519..689adfa 100644 --- a/config-service-git.PKGBUILD +++ b/config-service-git.PKGBUILD @@ -1,10 +1,10 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20160713.2 - -depends=(git cgit uwsgi-plugin-cgi config-uwsgi) +pkgver=20161106.2 package() { -cd "$pkgdir" +preamble + +depends+=(git) add-file -m755 etc/ssl/misc/certbot-get.d/10-git <&1" EOF - # ## transport: git protocol add-unit etc/systemd/system/sockets.target.wants/git-daemon.socket # ## transport: HTTPS +depends+=(cgit uwsgi-plugin-cgi config-mgmt-uwsgi nginx config-mgmt-certbot) + # The git web interface is cgit, which is managed by uWSGI speaking # uwsgi/modifier1=9, which is the variant of the uwsgi protocol for # CGI requests. -add-file etc/nginx/sites/server-git.parabola.nu.conf <