Bug 95061 - [patch] www/c-icap: overwriting of /var/log/access.log and /var/log/server.log
Summary: [patch] www/c-icap: overwriting of /var/log/access.log and /var/log/server.log
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: Sergey Matveychuk
Depends on:
Reported: 2006-03-29 05:40 UTC by Elisey Savateev
Modified: 2006-03-30 17:11 UTC (History)
0 users

See Also:

c-icap-220505_1.patch (3.85 KB, patch)
2006-03-29 05:40 UTC, Elisey Savateev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Elisey Savateev 2006-03-29 05:40:14 UTC
Fixed serious bug in pkg-install.in:

elif [ "$2" = "POST-INSTALL" ]; then
        touch "$LOG_PATH/access.log" "$LOG_PATH/server.log" || exit 1
        chown -R "$CICAP_USER:$CICAP_GROUP" "$LOG_PATH" || exit 1

where $LOG_PATH=/var/log!

Plus fixed incorrect stopping of c-icap in pkg-plist.
Comment 1 Sergey Matveychuk freebsd_committer 2006-03-29 07:42:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sem

Take it.
Comment 2 Sergey Matveychuk freebsd_committer 2006-03-29 07:43:13 UTC
State Changed
From-To: open->feedback

Ask for maintainer fix.
Comment 3 Sergey Matveychuk freebsd_committer 2006-03-30 17:11:25 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!