Subject: Re: squid is not building
To: None <perry@piermont.com>
From: Takahiro Kambe <taca@back-street.net>
List: tech-pkg
Date: 09/06/2005 23:33:07
In message <87slwixp3b.fsf@snark.piermont.com>
on Tue, 06 Sep 2005 10:12:08 -0400,
"Perry E. Metzger" <perry@piermont.com> wrote:
> I just tried re-building my squid pkg (since the old one had a
> security hole) and I got this error message:
Hi, Perry.
> Creating user: Web-Cache
...
I've just seen the same situation with my private case: "pkgsrc-2005Q2
branch + update to squid-2.5.10nb2". The change below should be fix
the problem.
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/squid/Makefile,v
retrieving revision 1.156
retrieving revision 1.155
diff -u -u -r1.156 -r1.155
--- Makefile 23 Aug 2005 11:48:51 -0000 1.156
+++ Makefile 9 Aug 2005 15:48:29 -0000 1.155
@@ -58,7 +58,7 @@
RCD_SCRIPTS= squid
PKG_GROUPS= ${SQUID_GROUP}
-PKG_USERS= ${SQUID_USER}:${SQUID_GROUP}::Squid\ Web-Cache\ pseudo-user
+PKG_USERS= ${SQUID_USER}:${SQUID_GROUP}::Squid\\ Web-Cache\\ pseudo-user
CONF_FILES+= ${EXAMPLESDIR}/mime.conf ${PKG_SYSCONFDIR}/mime.conf
CONF_FILES+= ${EXAMPLESDIR}/squid.conf ${PKG_SYSCONFDIR}/squid.conf
CONF_FILES+= ${EXAMPLESDIR}/msntauth.conf ${PKG_SYSCONFDIR}/msntauth.conf
This change was introduced by:
-----------------------------------------------------------------------
revision 1.156
date: 2005/08/23 11:48:51; author: rillig; state: Exp; lines: +2 -2
The real user name in PKG_USERS does not need to be escaped with double
backslashes anymore. A single backslash is enough. Changed the
definition in all affected packages. For those that are not caught, an
additional check is placed into bsd.pkginstall.mk.
-----------------------------------------------------------------------
In the case of my "pkgsrc-2005Q2 branch + update to squid-2.5.10nb2",
bsd.pkginstall.mk still use old one, so I need to add doulbe
backslash. I don't know this change depends on pkg_install(8)'s
version or not.
Do you use pkgsrc-current? And what is your pkg_install(8)'s version?
--
Takahiro Kambe <taca@back-street.net>