Bug 41815 - security/logcheck fails on 4.6.2-RELEASE
Summary: security/logcheck fails on 4.6.2-RELEASE
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ollivier Robert
Depends on:
Reported: 2002-08-20 13:30 UTC by Dan Langille
Modified: 2002-09-10 15:53 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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.


patch in pre-configure section of Makefile needs to be modified:

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

        ${REINPLACE_CMD} -e "s@/usr/local/etc/tmp@${PREFIX}/var/tmp@g; \
                s@/usr/local@${PREFIX}@" ${WRKSRC}/Makefile \

${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:
Comment 2 Ollivier Robert freebsd_committer 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 2002-09-10 15:53:27 UTC
State Changed
From-To: open->closed

/tmp will be used instead. Thanks !