Opened 12 years ago

Closed 12 years ago

#31820 closed defect (fixed)

couchdb 1.1.0_1 Local configuration is lost on upgrades

Reported by: jeff-macports@… Owned by: jyrkiwahlstedt
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: couchdb

Description

Local configuration for couchdb is kept in .../etc/couchdb/local.ini. This file is part of the build of couchdb and so is being installed like any other file. It should be writable by the couchdb user, and not removed/replaced on upgrades or deactivations.

Patch file modeled after how the apache2 port handles configuration files is attached.

Attachments (1)

couchdb-keep-local-ini.patch (1.1 KB) - added by jeff-macports@… 12 years ago.
Update patch file for 1.2.0

Download all attachments as: .zip

Change History (3)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jwa@… removed
Keywords: haspatch added
Owner: changed from macports-tickets@… to jwa@…

The file shouldn't be installed as ".stock.local.ini"; a name more like what we've been using in other ports would be "local.ini.sample".

Changed 12 years ago by jeff-macports@…

Update patch file for 1.2.0

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.