Bug 156559 - www/perlbal: init script needs updating because `-f' flag is no longer used
Summary: www/perlbal: init script needs updating because `-f' flag is no longer used
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: Baptiste Daroussin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-22 02:50 UTC by Dean Matzkov
Modified: 2011-04-23 08:40 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 Dean Matzkov 2011-04-22 02:50:09 UTC
It seems that perlbal no longer accepts the `-f' flag. Instead, it now expects `--config' to be used when specifying a configuration file.

Here's the output I get when starting the script using the default perlbal_flags:

---SNIP---
Unknown option: f
Usage: perlbal [OPTS]
  --help           This usage info
  --version        Print perlbal release version
  --config=[file]  Specify Perlbal config file
                   (default: /etc/perlbal/perlbal.conf)
  --daemon         Daemonize
---SNIP---

Fix: 

Change the `-f' flag to `--config' in perlbal's init script.
How-To-Repeat: Install www/perlbal.
# /usr/local/etc/rc.d/perlbal onestart
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-04-22 02:50:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->perl

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Dean Matzkov 2011-04-23 02:59:29 UTC
And while we're at it, we'd probably also want to properly background
perlbal using the --daemon flag.
Comment 3 dfilter service freebsd_committer freebsd_triage 2011-04-23 08:33:11 UTC
bapt        2011-04-23 07:32:55 UTC

  FreeBSD ports repository

  Modified files:
    www/perlbal          Makefile 
    www/perlbal/files    perlbal.in 
  Log:
  - fix rc script: use --config instead of -f and --daemon instead of & [1]
  while here:
  - move configuration to perlbal subdirectory (as upstream recommands)
  - s,/etc/perlbal,${PREFIX}/etc/perlbal,g in doc and code for consistency
  - add a new dependency on p5-IO-AIO
  
  PR:             ports/156559
  Submitted by:   Dean Matzkov <bapabooiee _at_ gmail.com>
  
  Revision  Changes    Path
  1.24      +16 -5     ports/www/perlbal/Makefile
  1.3       +4 -2      ports/www/perlbal/files/perlbal.in
_______________________________________________
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 4 Baptiste Daroussin freebsd_committer freebsd_triage 2011-04-23 08:33:47 UTC
Responsible Changed
From-To: perl->bapt

I'll take it.
Comment 5 Baptiste Daroussin freebsd_committer freebsd_triage 2011-04-23 08:34:07 UTC
State Changed
From-To: open->closed

Committed. Thanks!