Skip site navigation (1)Skip section navigation (2)
Date:      29 Mar 1998 13:21:18 -0000
From:      woju@freebsd.ntu.edu.tw
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/6170: another squid ports
Message-ID:  <19980329132118.15250.qmail@freebsd.ntu.edu.tw>

next in thread | raw e-mail | index | archive | help

>Number:         6170
>Category:       ports
>Synopsis:       another squid ports
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 29 19:44:31 PST 1998
>Last-Modified:
>Originator:     woju
>Organization:
National Taiwan University
>Release:        FreeBSD 2.2.5-STABLE i386
>Environment:
        FreeBSD 2.2.5-STABLE #0: Thu Feb 26 13:15:52 CST 1998
        CPU: AMD-K6tm w/ multimedia extensions (199.90-MHz 586-class CPU)
          Origin = "AuthenticAMD"  Id = 0x562  Stepping=2
          Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
        real memory  = 134217728 (131072K bytes)

>Description:
	The current squid* packages seem not easy enough for installing :-) I 
have some scripts to make squid more "plug and play".

>How-To-Repeat:
	pkg_add squid-1.1.21.tgz (or any other squid* packages)
	/usr/local/etc/squid.sh
=>
	Lots of error messages arise: (zmore /var/log/messages)
squid: Squid is not safe to run as root! ...

>Fix:
#!/bin/sh
# mksquid.sh
# make squid
export CFLAGS="-O3 -s"; ./configure
make all
chmod -R a+r icons
install -d -g nogroup -o nobody /usr/local/squid
echo make install | su -fm nobody

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980329132118.15250.qmail>