Bug 114305 - [patch] sysutils/bsdstats - bsdstats.sh does not get started after port install
Summary: [patch] sysutils/bsdstats - bsdstats.sh does not get started after port install
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: scrappy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-04 21:50 UTC by Volker
Modified: 2007-12-20 04:40 UTC (History)
0 users

See Also:


Attachments
file.diff (301 bytes, patch)
2007-07-04 21:50 UTC, Volker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Volker 2007-07-04 21:50:01 UTC
At the end of the installation process pkg-install asks the user for running bsdstats. pkg-install is unable to start the script as ${LOCALBASE} isn't set in the environment.

As a workaround, the following patch makes sure ${LOCALBASE} is at least there with a default value (not that clever will work as long as /usr/local is the default).

How-To-Repeat:  make install clean
===>  Extracting for bsdstats-5.3_4
===>  Patching for bsdstats-5.3_4
===>  Configuring for bsdstats-5.3_4
===>  Installing for bsdstats-5.3_4

..

********************
Would you like to activate monthly reporting in /etc/periodic.conf [n]? y
Would you like to send a list of installed hardware as well [n]? y
Would you like to send a list of installed ports as well [n]? y
Would you like to run it now [y]? y
/usr/ports/sysutils/bsdstats/pkg-install: /etc/periodic/monthly/300.statistics: not found
*** Error code 127

Stop in /usr/ports/sysutils/bsdstats.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-07-04 22:17:45 UTC
Responsible Changed
From-To: freebsd-ports-bugs->scrappy

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-12-20 04:39:15 UTC
scrappy     2007-12-20 04:39:11 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/bsdstats    Makefile pkg-install 
  Log:
  Set LOCALBASE if not already set
  
  PR:             ports/114305
  Submitted by:   Volker Werth <volker@vwsoft.com>
  
  Revision  Changes    Path
  1.55      +1 -0      ports/sysutils/bsdstats/Makefile
  1.11      +1 -0      ports/sysutils/bsdstats/pkg-install
_______________________________________________
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 scrappy freebsd_committer freebsd_triage 2007-12-20 04:39:16 UTC
State Changed
From-To: open->closed


patch applied