Nouveau script générant le cgitrc. Avec des jolies fonctions sql.

This commit is contained in:
Mysaa Java
2021-06-17 01:12:14 +02:00
parent 760b2cd08a
commit dbfdab99e6
5 changed files with 214 additions and 1 deletions
+4 -1
View File
@@ -1,6 +1,6 @@
.PHONY: all install
all: bash-gitonly pam_oath_key.so auth-keys-gen
all: bash-gitonly pam_oath_key.so auth-keys-gen cgit-config-gen
argvt.o: nargv/nargv.c
gcc -c nargv/nargv.c -o argvt.o
@@ -12,6 +12,8 @@ pam_oath_key.so: pam_oath_key.c
auth-keys-gen: authKeysPg.c
gcc authKeysPg.c -o auth-keys-gen -L/usr/server/postgresql/lib -I/usr/server/postgresql/include -lpq
cgit-config-gen: cgit-config-gen.c
gcc cgit-config-gen.c -o cgit-config-gen -L/usr/server/postgresql/lib -I/usr/server/postgresql/include -lpq $(CFLAGS)
install: all
@@ -19,3 +21,4 @@ install: all
cp pam_oath_key.so /usr/libraries/lib/security/
cp bash-gitonly /srv/git/bin
cp auth-keys-gen /srv/etc/auth-git-keys
cp cgit-config-gen /srv/etc/cgit-config-gen