Bug 148469 - fix config file path in port databases/innotop
Summary: fix config file path in port databases/innotop
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: Steven Kreuzer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-09 13:00 UTC by gebhart
Modified: 2010-07-13 22:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gebhart 2010-07-09 13:00:11 UTC
port databases/innotop looks for its global config file in /etc/innotop instead of ${PREFIX}/etc/innotop

Fix: my simple patch looks like this:



But the better solution would be to consider $PREFIX in some way.--AijoyHGY6RsrPP3Xa6j097BRCOWabqJR32dwYDrD1BRVbZUD
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

*** innotop.orig        Fri Jul  9 13:51:43 2010
--- innotop     Fri Jul  9 13:52:00 2010
***************
*** 28,34 ****
  
  # Configuration files
  our $default_home_conf = "$homepath/.innotop/innotop.conf";
! our $default_central_conf = "/etc/innotop/innotop.conf";
  our $conf_file = "";
  
  ## Begin packages ##
--- 28,34 ----
  
  # Configuration files
  our $default_home_conf = "$homepath/.innotop/innotop.conf";
! our $default_central_conf = "/usr/local/etc/innotop/innotop.conf";
  our $conf_file = "";
  
  ## Begin packages ##
How-To-Repeat: cd /usr/ports/databases/innotop
make
make install # (optional)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-07-09 13:01:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->skreuzer

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-07-13 22:44:49 UTC
skreuzer    2010-07-13 21:44:35 UTC

  FreeBSD ports repository

  Modified files:
    databases/innotop    Makefile 
  Log:
  Make PREFIX/etc the default location for innotop.conf
  
  PR:             ports/148469
  Submitted by:   Ralf Gebhart <gebhart@secnetix.de>
  
  Revision  Changes    Path
  1.11      +4 -1      ports/databases/innotop/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Steven Kreuzer freebsd_committer freebsd_triage 2010-07-13 22:45:01 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!