aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralane <alane@FreeBSD.org>2003-01-25 15:20:52 +0800
committeralane <alane@FreeBSD.org>2003-01-25 15:20:52 +0800
commitd9e93fcd001212dbe50209b17d1aaa52d058334f (patch)
tree755ea6cad90f188aa04b1378d6c240e504939cfa
parentc775af90fbb87e09c1147cb2c187c51f364ba304 (diff)
downloadfreebsd-ports-gnome-d9e93fcd001212dbe50209b17d1aaa52d058334f.tar.gz
freebsd-ports-gnome-d9e93fcd001212dbe50209b17d1aaa52d058334f.tar.zst
freebsd-ports-gnome-d9e93fcd001212dbe50209b17d1aaa52d058334f.zip
add workaround for borked Print Test Page to pkg-message file
-rw-r--r--print/cups-base/Makefile2
-rw-r--r--print/cups-base/pkg-message14
2 files changed, 14 insertions, 2 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index 299fe851844e..390a205885aa 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -9,7 +9,7 @@
PORTNAME= cups-base
PORTVERSION= ${CUPS_PORTVER}
-PORTREVISION= 2
+PORTREVISION= ${CUPS_PORTREV}
PORTEPOCH= ${CUPS_PORTEPOCH}
CATEGORIES= print
MASTER_SITES= ${CUPS_MASTER_SITES}
diff --git a/print/cups-base/pkg-message b/print/cups-base/pkg-message
index a1d30ff53ace..fa6aff0f5305 100644
--- a/print/cups-base/pkg-message
+++ b/print/cups-base/pkg-message
@@ -1,7 +1,7 @@
**********************************************************************
**********************************************************************
This package does not create the spool directory, due to limitations in
-the packaging mechanism.
+the packaging mechanism, or my knowledge of it.
Once the package is installed, please do the following (as root):
@@ -9,6 +9,18 @@ Once the package is installed, please do the following (as root):
mkdir -p cups/tmp
chown -R root:daemon cups
+There's another problem: in the installed configuration, the "Print Test
+Page" function in the web interface does not work. This is due to a bug in
+the URL constructed for it.
+
+To work around this bug, edit the file /usr/local/etc/cups/cupsd.conf
+(as root). Find the line that says "Allow From 127.0.0.1". After that
+line, insert a line that reads "Allow From <myhost>.<mydomain>", filling
+in your own hostname and domainname where I have written <myhost> and
+<mydomain>. Restart cupsd. The "Print Test Page" function will now work.
+
+I'll try to have a code patch to fix the errant URL soon.
+
Thanks.
--