Bug 41815

Summary: security/logcheck fails on 4.6.2-RELEASE
Product: Ports & Packages Reporter: Dan Langille <danl>
Component: Individual Port(s)Assignee: Ollivier Robert <roberto>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Dan Langille 2002-08-20 13:30:01 UTC
security/logcheck fails after being installed.  It refers to /usr/local/var/tmp, which does not exist.

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.
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
Comment 1 Dan Langille 2002-09-10 15:31:59 UTC
Oh, I'd forgotten this one was waiting.
-- 
Dan Langille
I'm looking for a computer job:
http://www.freebsddiary.org/dan_langille.php
Comment 2 Ollivier Robert freebsd_committer freebsd_triage 2002-09-10 15:44:48 UTC
Responsible Changed
From-To: freebsd-ports->roberto

I'm taking this one.
Comment 3 Ollivier Robert freebsd_committer freebsd_triage 2002-09-10 15:53:27 UTC
State Changed
From-To: open->closed

/tmp will be used instead. Thanks !