I'm preparing a merge of this package now; I have the following differences to your version:
- based on 1.2.0-2 from Debian, not 1.2.0-1
- uses the Debian+Ubuntu changelog history
- Retains the Suggests: couchdb on couchdb-bin from Ubuntu (for now)
- debian/couchdb-bin.postinst: guard the chown handling with a version check, so that we don't apply these changes on every package upgrade and further annoy users who are doing something custom with their permissions
- retain debian/couchdb-bin.postrm. This package still needs to be responsible for trying to clean up the /etc/couchdb directory on purge.
- debian/couchdb.postrm: don't rm /etc/couchdb/local.ini, this is a conffile so already taken care of for us; and don't remove the couchdb user/group on purge. See endless discussions on debian-devel about this.
- debian/patches/var-run.patch is in Debian as debian/patches/couchdb_own_rundir.patch. Use the Debian name.
- debian/rules:
- erlang-depends doesn't need -pcouchdb-bin passed; it will dtrt without this delta from Debian (not your doing, this change was inherited from Ubuntu)
- calling dh_fixperms is pointless (and this is so in the Debian package, too), because cdbs already calls it for us.
Everything else looks good. I'll be uploading to quantal shortly - thanks!
I'm preparing a merge of this package now; I have the following differences to your version: couchdb- bin.postinst: guard the chown handling with a version check, so that we don't apply these changes on every package upgrade and further annoy users who are doing something custom with their permissions couchdb- bin.postrm. This package still needs to be responsible for trying to clean up the /etc/couchdb directory on purge. couchdb. postrm: don't rm /etc/couchdb/ local.ini, this is a conffile so already taken care of for us; and don't remove the couchdb user/group on purge. See endless discussions on debian-devel about this. patches/ var-run. patch is in Debian as debian/ patches/ couchdb_ own_rundir. patch. Use the Debian name.
- based on 1.2.0-2 from Debian, not 1.2.0-1
- uses the Debian+Ubuntu changelog history
- Retains the Suggests: couchdb on couchdb-bin from Ubuntu (for now)
- debian/
- retain debian/
- debian/
- debian/
- debian/rules:
- erlang-depends doesn't need -pcouchdb-bin passed; it will dtrt without this delta from Debian (not your doing, this change was inherited from Ubuntu)
- calling dh_fixperms is pointless (and this is so in the Debian package, too), because cdbs already calls it for us.
Everything else looks good. I'll be uploading to quantal shortly - thanks!