From e1f1521e6272a22f2c094e4ddbfc218a9ca3bdcf Mon Sep 17 00:00:00 2001 From: bill-auger Date: Fri, 22 Jul 2022 22:28:59 -0400 Subject: [gophernicus]: move to [pcr] --- .../xinetd-respect-custom-server-root.patch | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 pcr-testing/gophernicus/xinetd-respect-custom-server-root.patch (limited to 'pcr-testing/gophernicus/xinetd-respect-custom-server-root.patch') diff --git a/pcr-testing/gophernicus/xinetd-respect-custom-server-root.patch b/pcr-testing/gophernicus/xinetd-respect-custom-server-root.patch deleted file mode 100644 index b0106639b..000000000 --- a/pcr-testing/gophernicus/xinetd-respect-custom-server-root.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff --git a/configure b/configure -index 067affe..c78a9f6 100755 ---- a/configure -+++ b/configure -@@ -340,12 +340,14 @@ sed -i -e "s:@XINETD_CONF@:${XINETD_CONF}:" Makefile - - printf "done\\n" - --# Also sub in $HOSTNAME to the various init systems (whether or not we really --# use them, its just easier) -+# Also sub in $GOPHERROOT and $HOSTNAME to the various init systems -+# (whether or not we really use them, its just easier) - for f in gophernicus.env haiku_snippet org.gophernicus.server.plist \ - gophernicus.xinetd; do - printf "creating init/${f}... " -- sed -e "s:@HOSTNAME@:${HOSTNAME}:" "init/${f}.in" > "init/${f}" -+ cp init/${f}{.in,} -+ sed -i -e "s:@GOPHERROOT@:${GOPHERROOT}:" init/${f} -+ sed -i -e "s:@HOSTNAME@:${HOSTNAME}:" init/${f} - printf "done\\n" - done - -diff --git a/init/gophernicus.xinetd.in b/init/gophernicus.xinetd.in -index 4f2c921..a052375 100644 ---- a/init/gophernicus.xinetd.in -+++ b/init/gophernicus.xinetd.in -@@ -6,6 +6,6 @@ service gopher - wait = no - user = nobody - server = @BINARY@ -- server_args = -r/var/gopher -h@HOSTNAME@ -+ server_args = -r@GOPHERROOT@ -h@HOSTNAME@ - disable = no - } -- cgit v1.2.3