freebsd-ports/comms/qpage/files/patch-qpage.man
Edwin Groothuis ef90f616b0 Nitpicks for the comms/qpage port
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>
2004-01-10 08:48:29 +00:00

12 lines
277 B
Groff

--- qpage.man.orig Sat Jan 10 00:44:16 2004
+++ qpage.man Sat Jan 10 00:44:47 2004
@@ -867,7 +867,7 @@
must be able to detect when it's safe to send dial commands to the modem.
.LP
.SH FILES
-/etc/qpage.cf
+%%PREFIX%%/etc/qpage.cf
.SH SEE ALSO
.B RFC-1861
.SH KNOWN BUGS