ef90f616b0
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>
11 lines
362 B
C
11 lines
362 B
C
--- config.h.in.orig Sat Jan 10 00:42:55 2004
|
|
+++ config.h.in Sat Jan 10 00:43:14 2004
|
|
@@ -17,7 +17,7 @@
|
|
#undef SNPP_SERVER_FILE
|
|
|
|
/* Define as the location of the qpage configuration file. */
|
|
-#define QPAGE_CONFIG "/etc/qpage.cf"
|
|
+#define QPAGE_CONFIG "%%PREFIX%%/etc/qpage.cf"
|
|
|
|
/* Define as the location of the lock directory. */
|
|
#undef DEFAULT_LOCKDIR
|