Bug 212591

Summary: [patch] www/awstats: fix path in awstats_updateall.pl
Product: Ports & Packages Reporter: Vidar Karlsen <vidar>
Component: Individual Port(s)Assignee: Adam Weinberger <adamw>
Status: Closed FIXED    
Severity: Affects Some People CC: vidar
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (adamw)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Small fix none

Description Vidar Karlsen 2016-09-11 21:31:38 UTC
Created attachment 174667 [details]
Small fix

The awstats_updateall.pl script looks for the awstats config files in /etc.
I have attached a patch to make it look in /usr/local/etc instead.
Comment 1 Adam Weinberger freebsd_committer freebsd_triage 2016-09-11 22:55:07 UTC
Hardcoding /usr/local is wrong. It needs to be a REINPLACE_CMD (sed) to ${LOCALBASE}.
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-09-12 18:22:07 UTC
A commit references this bug:

Author: adamw
Date: Mon Sep 12 18:21:47 UTC 2016
New revision: 421948
URL: https://svnweb.freebsd.org/changeset/ports/421948

Log:
  Fix path to config file location in an ancillary script,
  bump PORTREVISION.

  PR:		212591
  Submitted by:	Vidar Karlsen

Changes:
  head/www/awstats/Makefile
Comment 3 Adam Weinberger freebsd_committer freebsd_triage 2016-09-12 18:23:50 UTC
Committed, thanks Vidar. I only recently took over this port, so if you find any other places where I missed the correct path please file another PR!