From 5c7efd60e227ebd92f2078fb049502a64f3b3924 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 27 Sep 2021 02:17:27 +0000 Subject: Extract chroot.tar with -p, install to WEBROOT --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 61e5df2..0f940ed 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ CHROOT_USER = torus CHROOT_GROUP = ${CHROOT_USER} +WEBROOT = /var/www/ascii.town CFLAGS += -std=c11 -Wall -Wextra -Wpedantic LDFLAGS = -static @@ -46,12 +47,11 @@ chroot.tar: client image server default8x16.psfu tar -c -f chroot.tar -C root bin home usr var install: chroot.tar rc.torus explore.html index.html - tar -x -f chroot.tar -C /home/${CHROOT_USER} - install rc.torus /usr/local/etc/rc.d/torus + tar -px -f chroot.tar -C /home/${CHROOT_USER} + if test -d /usr/local/etc/rc.d; then \ + install rc.torus /usr/local/etc/rc.d/torus; fi install -o ${CHROOT_USER} -g ${CHROOT_GROUP} -m 644 \ - explore.html \ - index.html \ - /usr/local/www/ascii.town + explore.html index.html ${WEBROOT} clean: rm -fr ${OBJS} ${BINS} tags root chroot.tar -- cgit 1.4.1 ss='right' method='get' action='/pounce/log/listen.c'>
path: root/listen.c (unfollow)
Commit message (Expand)Author
2020-11-23Unlink existing UNIX socket if it can't be connected to 2.1June McEnroe
2020-11-21Clean up main loop loopsJune McEnroe
2020-11-20Add lazy client registration timeoutJune McEnroe
2020-11-16Only allow clients to AUTHENTICATE if using a certJune McEnroe
2020-11-16Set client sockets non-blockingJune McEnroe
2020-11-14Swap localAccept parameter orderJune McEnroe
2020-11-14Only send shutdown QUIT and ERROR to registered clientsJune McEnroe
2020-11-14Make struct Client publicJune McEnroe
2020-11-13Wait for POLLIN to do client tls_handshakeJune McEnroe
2020-11-13Use a fixed size pollfd array in calicoJune McEnroe
2020-11-13Disallow / anywhere in server nameJune McEnroe
2020-11-12Check bounds of ClientHello extensions lengthJune McEnroe
2020-11-10Report paths in unveil errorsJune McEnroe
2020-10-24contrib/palaver: Use open_memstream instead of fmemopenJune McEnroe
2020-10-11Handle signals before the main loopJune McEnroe
2020-09-09Fix possibliy uninitialized error 2.0June McEnroe
2020-08-31Refactor reserialization and client self-producingJune McEnroe
2020-08-30Add chmod+chown to certbot exampleJune McEnroe
2020-08-30Rearrange bounce.c, move non-main mains below mainJune McEnroe
2020-08-30Sandbox pounce with unveil(2)June McEnroe
2020-08-28Refactor certificate loading and load all certs from config pathsJune McEnroe
2020-08-27Sandbox pounce with pledge(2)June McEnroe
2020-08-27Sandbox calico with pledge(2) and unveil(2)June McEnroe
2020-08-27Add support for OpenBSDJune McEnroe
2020-08-27Remove rc scriptsJune McEnroe
2020-08-27contrib/palaver: Fix documented database pathJune McEnroe
2020-08-27contrib/palaver: Remove rc scriptJune McEnroe
2020-08-27contrib/palaver: Fix database search and creationJune McEnroe
2020-08-27contrib/palaver: Use pounce's XDG directoryJune McEnroe
2020-08-27contrib/palaver: Only allow HTTPSJune McEnroe
2020-08-25Support the pounce_env rc variableJune McEnroe
2020-08-25Remove deprecated option namesJune McEnroe
2020-08-25Document configuration and data file searchJune McEnroe
2020-08-24Use dataOpen for save fileJune McEnroe
2020-08-24Use configOpen to load localCAJune McEnroe
2020-08-24Use configPath to load client cert/privJune McEnroe
2020-08-24Use configOpen in getopt_configJune McEnroe
2020-08-24Import xdg.c from catgirlJune McEnroe
2020-08-23Replace “RAND_bytes” by “getentropy”Issam E. Maghni
2020-08-16contrib/palaver: Add no message preview flagsJune McEnroe
2020-08-13contrib/palaver: Don't set channel for PMsJune McEnroe
2020-08-13Fix unintended interception of NICK after registrationJune McEnroe
2020-08-12Add Additional Components section to READMEJune McEnroe
2020-08-12Document -L / palaver optionJune McEnroe
2020-08-11contrib/palaver: Document service configurationJune McEnroe
2020-08-11contrib/palaver: Add install target and rc scriptJune McEnroe
2020-08-11contrib/palaver: Implement command and notificationsJune McEnroe