Opened 8 years ago

Last modified 2 years ago

#39527 assigned defect

logsentry - Fix path references

Reported by: vallon (Justin) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port: logsentry

Description (last modified by larryv (Lawrence Velázquez))

The installed /opt/local/bin/logcheck.sh uses prefix=/usr/local. This patch changes the following:

# diff /opt/local/bin/logcheck.sh /opt/local/bin/logcheck.sh.new
34c34
< PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/ucb:/usr/local/bin
---
> PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/ucb:/opt/local/bin
47c47
< LOGTAIL=/usr/local/bin/logtail
---
> LOGTAIL=/opt/local/bin/logtail
55c55
< TMPDIR=/usr/local/etc/tmp
---
> TMPDIR=/opt/local/var/tmp
92c92
< HACKING_FILE=/usr/local/etc/logcheck.hacking
---
> HACKING_FILE=/opt/local/etc/logsentry/logcheck.hacking
101c101
< VIOLATIONS_FILE=/usr/local/etc/logcheck.violations
---
> VIOLATIONS_FILE=/opt/local/etc/logsentry/logcheck.violations
118c118
< VIOLATIONS_IGNORE_FILE=/usr/local/etc/logcheck.violations.ignore
---
> VIOLATIONS_IGNORE_FILE=/opt/local/etc/logsentry/logcheck.violations.ignore
125c125
< IGNORE_FILE=/usr/local/etc/logcheck.ignore
---
> IGNORE_FILE=/opt/local/etc/logsentry/logcheck.ignore

Attachments (1)

logsentry.patch (761 bytes) - added by vallon (Justin) 8 years ago.
Portfile patch

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by vallon (Justin)

Attachment: logsentry.patch added

Portfile patch

comment:1 Changed 8 years ago by vallon (Justin)

Cc: JustinVallon@… added

Cc Me!

comment:2 Changed 8 years ago by larryv (Lawrence Velázquez)

Cc: JustinVallon@… removed
Description: modified (diff)
Keywords: haspatch added
Owner: changed from macports-tickets@… to julien.touche@…

Thanks for the ticket. In the future, please Cc relevant port maintainers and use WikiFormatting in ticket descriptions. You also don’t have to Cc yourself.

comment:3 Changed 2 years ago by chrstphrchvz (Christopher Chavez)

Port is abandoned: #52039

comment:4 Changed 2 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:5 Changed 2 years ago by mf2k (Frank Schima)

Owner: julien.touche@… deleted
Status: newassigned

comment:6 Changed 2 years ago by mf2k (Frank Schima)

Keywords: haspatch removed
Note: See TracTickets for help on using tickets.