commit f29724ddb21338a19111c7599f4b9615eb74ab1f from: Stefan Sperling date: Tue Jan 28 09:40:28 2020 UTC create dir for public repos during 'make web-install'; avoids an unveil error commit - e09ede37f2a3450e66423242c5cde139bb72e1e5 commit + f29724ddb21338a19111c7599f4b9615eb74ab1f blob - cb06f08fd8e10fe4e6ea9b8f786fe932df721220 blob + 13f04a9e897037ffca1371e95db65f0755fb7a36 --- Makefile.inc +++ Makefile.inc @@ -41,6 +41,7 @@ TMP_DIR = ${CHROOT_DIR}/tmp PROG_DIR = ${HTTPD_DIR}/${PROG} CGI_DIR = ${CHROOT_DIR}${GOTWEB_DIR} TMPL_DIR = ${CGI_DIR}/gw_tmpl +PUB_REPOS_DIR = ${CHROOT_DIR}/got/public WWWUSR ?= www WWWGRP ?= www .endif blob - aa9e7e60b2e68ab91da464a74212dd97035cd821 blob + 4f2ae4e195ade91c8aff6f94cd3d4d5745e7a979 --- gotweb/Makefile +++ gotweb/Makefile @@ -26,6 +26,9 @@ realinstall: if [ ! -d ${CGI_DIR}/. ]; then \ ${INSTALL} -d -o root -g daemon -m 755 ${CGI_DIR}; \ fi + if [ ! -d ${PUB_REPOS_DIR}/. ]; then \ + ${INSTALL} -d -o root -g daemon -m 755 ${PUB_REPOS_DIR}; \ + fi ${INSTALL} -c -o ${WWWUSR} -g ${WWWGRP} -m 0755 ${PROG} \ ${CGI_DIR}/${PROG} if [ ! -d ${TMPL_DIR}/. ]; then \