Blob
- Date:
- Message:
- introduce gotsysd and related utilities gotsysd makes it possible to manage gotd servers without direct shell access. Configuration settings are committed to a special gotsys.git repostitory, and gotsysd applies this configuration to the running system: adding user accounts, creating user home directories, installing authorized ssh keys, creating repositories, and creating a new gotd.conf file. gotd is then restarted and runs with the updated configuration. gotsysd tries to do all the above securely. However, a lot of these steps require root access. The primary reason for gotsysd's existence is that it is a necessary evil required to provide gotd-based Git repository hosting without giving users of such a service shell access to servers. gotsysd can also make self-hosted gotd setups more convenient to manage. But admins who are comfortable maintaining a gotd server manually will not need gotsysd. See the TODO file for a list of planned features which are still missing.
- Actions:
- History | Blame | Raw File
1 CPPFLAGS += -DGOT_LIBEXECDIR=${LIBEXECDIR} -DGOT_SBINDIR=${SBINDIR}2 CPPFLAGS += -DGOT_VERSION=${GOT_VERSION}3 #CFLAGS += -DGOT_PACK_NO_MMAP4 #CFLAGS += -DGOT_NO_OBJ_CACHE5 #CFLAGS += -DGOT_NO_DELTA_CACHE6 #CFLAGS += -DGOT_OBJ_CACHE_DEBUG7 #CFLAGS += -DGOT_DELTA_CACHE_DEBUG8 #CFLAGS += -DGOT_DIFF_NO_MMAP10 .if "${GOT_RELEASE}" == "Yes"11 PREFIX ?= /usr/local12 BINDIR ?= ${PREFIX}/bin13 SBINDIR ?= ${PREFIX}/sbin14 LIBEXECDIR ?= ${PREFIX}/libexec15 MANDIR ?= ${PREFIX}/man/man16 .else17 CFLAGS += -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes18 CFLAGS += -Wwrite-strings -Wunused-variable19 PREFIX ?= ${HOME}20 BINDIR ?= ${PREFIX}/bin21 LIBEXECDIR ?= ${BINDIR}22 SBINDIR ?= ${BINDIR}24 BINOWN ?= ${USER}25 .if !defined(BINGRP)26 BINGRP != id -g -n27 .endif29 .if defined(PROFILE)30 CPPFLAGS += -DPROFILE31 DEBUG = -O0 -pg -g -static32 .else33 DEBUG = -O0 -g34 .endif36 .endif