11 Commits

Author SHA1 Message Date
Chris Rees
bf5bbb00fa - Update to 1.2.0
- OPTIONSngify

- Error out on build if older version installed with config file present; this
  must be backed up or it will be lost on deinstall.

- Shift default DB storage location from /var/lib/couchdb to
  /var/db/couchdb to make it consistent with other DB storage engine ports
  which use /var/db as their base (eg; mySQL).

PR:		ports/168923
Submitted by:	Adam Strohl <adams-ports@ateamsystems.com>
Approved by:	maintainer timeout (till@php.net, >14 days)
2012-07-02 21:31:27 +00:00
Doug Barton
a834d67e1a The problem previously reported on freebsd-ports@ hasn't been fixed,
and a user contacted me privately asking for a fix. This fix was
proposed on the list and tested by the user who contacted me privately.

The problem is that _flags can't be modified in start_precmd, and
shouldn't have been abused this way in the first place. The previous
version resulted in couchdb staying in the foreground.

This patch could be refined further, but it solves the immediate problem.
2012-01-26 06:31:26 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Martin Wilke
4a68e03ab7 - Update rc.d script
Submitted by:	dougb
Approved by:	maintainer via irc
Feature safe:	yes
2011-11-14 13:55:29 +00:00
Ashish SHUKLA
95619f23f1 - Remove extra USERS/GROUPS, which were accidentally added in previous commit[1]
- Fix rc.d script[1]
- Add option to depend on lang/erlang instead of lang/erlang-lite

Submitted by:	till@php.net[1]
Approved by:	till@php.net (maintainer)
2011-08-25 10:58:47 +00:00
Doug Barton
29813d5397 Remove painful examples of foo="", with particular prejudice against
constructions that parse out to [ -z "$foo" ] && foo=""

These are bad examples that get copied and pasted into new code, so the
hope is that with less bad examples there will be less need for me to
bring this up in review.

In a few of these files all that were changed were comments so that next
time I search for these patterns I won't trip on the file for no reason.

In a few places, add $FreeBSD$

No functional changes, so no PORTREVISION bumps
2011-05-15 02:49:17 +00:00
Wesley Shields
9683442a4f [1]: Update to 1.0.0
[2]: Fix bug in RC script
[3]: Add pre-fetch message about possibly needing to rebuild the views

PR:		[1]: ports/148803
		[2]: ports/149028
		[3]: ports/149030
Submitted by:	[1]: Tomas Sedovic <tomas@sedovic.cz>
		[2]: Till Klampaeckel <till@php.net> (maintainer)
		[3]: Till Klampaeckel <till@php.net> (maintainer)
Approved by:	[1]: Till Klampaeckel <till@php.net> (maintainer)
2010-08-18 00:08:12 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Pietro Cerutti
a404809c84 - Update to 0.10.1
- Fix RC script

PR:		143287
Submitted by:	gahr
Approved by:	till@php.net (maintainer), partly timeout
Feature safe:	yes
2010-02-22 11:21:18 +00:00
Vanilla I. Shu
7b544affc0 Fix rc.d startup script syntax error.
PR:		ports/139658
Submitted by:	ivan voras <ivoras.at.gmail.com>
Approved by:	maintainer
2009-10-21 09:55:15 +00:00
Wesley Shields
7622f83fd1 - Add an RC script.
- Cleanup messasges displayed by the port.
- Add a couchdb user and group.

PR:		ports/135256, ports/135259
Submitted by:	Till Klampaeckel <till@php.net> (maintainer)
2009-06-17 14:10:30 +00:00