Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2002 05:21:06 -0700 (PDT)
From:      Dan Langille <danl@freebsddiary.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/41815: security/logcheck fails on 4.6.2-RELEASE
Message-ID:  <200208201221.g7KCL6ID045040@www.freebsd.org>

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

>Number:         41815
>Category:       ports
>Synopsis:       security/logcheck fails on 4.6.2-RELEASE
>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:   Tue Aug 20 05:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dan Langille
>Release:        4.6.2-RELEASE
>Organization:
The FreeBSD Diary
>Environment:
FreeBSD scott.unixathome.org 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: Wed Aug 14 21:23:26 GMT 2002     murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC  i386     
>Description:
security/logcheck fails after being installed.  It refers to /usr/local/var/tmp, which does not exist.
>How-To-Repeat:
# pkg_add -r logcheck
# /bin/sh /usr/local/etc/logcheck.sh
/usr/local/etc/logcheck.sh: cannot create /usr/local/var/tmp/check.53108: directory nonexistent
/usr/local/etc/logcheck.sh: cannot create /usr/local/var/tmp/check.53108: directory nonexistent     
>Fix:
patch in pre-configure section of Makefile needs to be modified:

NOTE: followed was pasted and will contain spaces not tabs.

pre-configure:
        ${REINPLACE_CMD} -e "s@/usr/local/etc/tmp@${PREFIX}/var/tmp@g; \
                s@/usr/local@${PREFIX}@" ${WRKSRC}/Makefile \
                ${WRKSRC}/systems/freebsd/logcheck.sh


${PREFIX}/var/tmp is the problem.
>Release-Note:
>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?200208201221.g7KCL6ID045040>