forked from Lainports/freebsd-ports
The comms/qpage port has a few minor problems. A default installation gives the following errors when the /usr/local/etc/rc.d/qpage.sh script is execute: qpage[68438]: cannot open /etc/qpage.cf: No such file or directory qpage[68438]: cannot access LockDir(/var/spool/lock): Permission denied qpage[68438]: cannot access QueueDir(/var/spool/qpage): No such file or directory qpage[68438]: cannot chdir to QueueDir(/var/spool/qpage): No such file or directory In short: 1) qpage looks for its configuration file in /etc instead of /usr/local/etc 2) It setuid()'s to a user (daemon) without permission to access /var/spool/lock but does not document this anywhere outside of the source. 3) It's queue directory is not created by installing the port. PR: ports/48059 Submitted by: Kirk Strauser <kirk@strauser.com>
20 lines
483 B
Text
20 lines
483 B
Text
--- config.input.orig Sat Jan 10 00:43:26 2004
|
|
+++ config.input Sat Jan 10 00:44:05 2004
|
|
@@ -20,7 +20,7 @@
|
|
# See the QuickPage documentation for complete details about
|
|
# the syntax of the configuration file.
|
|
#
|
|
-QPAGE_CONFIG="/etc/qpage.cf"
|
|
+QPAGE_CONFIG="%%PREFIX%%/etc/qpage.cf"
|
|
|
|
|
|
#
|
|
@@ -41,7 +41,7 @@
|
|
# copies of the configuration file. Only one filename
|
|
# may be specified.
|
|
#
|
|
-SNPP_SERVER_FILE="/etc/qpage.servers"
|
|
+SNPP_SERVER_FILE="%%PREFIX%%/etc/qpage.servers"
|
|
|
|
|
|
#
|