Bug 135259 - databases/couchdb: port update (user, dbdir, post/pre install messages, etc.)
Summary: databases/couchdb: port update (user, dbdir, post/pre install messages, etc.)
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: Wesley Shields
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-04 16:00 UTC by Till Klampaeckel
Modified: 2009-06-17 15:20 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 Till Klampaeckel 2009-06-04 16:00:11 UTC
This update adds the following:

 * configurable user, db dir, etc.
 * automatically creating the selected db dir
 * pre-fetch and post-install messages for compatibility
 * permission-fix (chown) to /var/log/couchdb

For the user to create, here are additons to UIDs and GIDs:

ports/UIDs:
couchdb:*:919:919::0:0:CouchDB Database server:/var/db/couchdb:/sbin/nologin

ports/GIDs:
couchdb:*:919

Here is a new pkg-install file:
http://github.com/till/couchdb-freebsd/blob/c517e48cd98fbc18026404385661b8ef5c667450/patches/pkg-install

Additionally, there is a new pkg-message with extended compatibility info:
http://github.com/till/couchdb-freebsd/blob/c517e48cd98fbc18026404385661b8ef5c667450/patches/pkg-message

And last but not least the patch to the Makefile:
http://github.com/till/couchdb-freebsd/blob/c517e48cd98fbc18026404385661b8ef5c667450/patches/Makefile.patch
Comment 1 Wesley Shields freebsd_committer freebsd_triage 2009-06-04 16:10:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wxs

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-06-17 15:10:47 UTC
wxs         2009-06-17 14:10:30 UTC

  FreeBSD ports repository

  Modified files:
    databases/couchdb    Makefile 
  Added files:
    databases/couchdb    pkg-install pkg-message 
    databases/couchdb/files couchdb.in 
  Log:
  - 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)
  
  Revision  Changes    Path
  1.6       +21 -0     ports/databases/couchdb/Makefile
  1.1       +64 -0     ports/databases/couchdb/files/couchdb.in (new)
  1.1       +32 -0     ports/databases/couchdb/pkg-install (new)
  1.1       +8 -0      ports/databases/couchdb/pkg-message (new)
_______________________________________________
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 dfilter service freebsd_committer freebsd_triage 2009-06-17 15:11:12 UTC
wxs         2009-06-17 14:11:00 UTC

  FreeBSD ports repository

  Modified files:
    .                    GIDs UIDs 
  Log:
  - Add couchdb user and group.
  
  PR:             ports/135259
  Submitted by:   Till Klampaeckel <till@php.net>
  
  Revision  Changes    Path
  1.72      +2 -1      ports/GIDs
  1.83      +2 -1      ports/UIDs
_______________________________________________
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 Wesley Shields freebsd_committer freebsd_triage 2009-06-17 15:11:17 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!