Date: Sunday, December 16, 2018 @ 18:18:08 Author: archange Revision: 416456
archrelease: copy trunk to community-x86_64 Added: couchdb/repos/community-x86_64/PKGBUILD (from rev 416455, couchdb/trunk/PKGBUILD) couchdb/repos/community-x86_64/couchdb.install (from rev 416455, couchdb/trunk/couchdb.install) couchdb/repos/community-x86_64/couchdb.service (from rev 416455, couchdb/trunk/couchdb.service) couchdb/repos/community-x86_64/couchdb.sysusers (from rev 416455, couchdb/trunk/couchdb.sysusers) couchdb/repos/community-x86_64/couchdb.tmpfiles (from rev 416455, couchdb/trunk/couchdb.tmpfiles) couchdb/repos/community-x86_64/datadirs.ini (from rev 416455, couchdb/trunk/datadirs.ini) Deleted: couchdb/repos/community-x86_64/PKGBUILD couchdb/repos/community-x86_64/couchdb.install couchdb/repos/community-x86_64/couchdb.service couchdb/repos/community-x86_64/couchdb.sysusers couchdb/repos/community-x86_64/couchdb.tmpfiles couchdb/repos/community-x86_64/datadirs.ini ------------------+ PKGBUILD | 112 ++++++++++++++++++++++++++--------------------------- couchdb.install | 22 +++++----- couchdb.service | 48 +++++++++++++++------- couchdb.sysusers | 2 couchdb.tmpfiles | 6 +- datadirs.ini | 6 +- 6 files changed, 106 insertions(+), 90 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-12-16 18:17:51 UTC (rev 416455) +++ PKGBUILD 2018-12-16 18:18:08 UTC (rev 416456) @@ -1,56 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@archlinux.org> -# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua -# Contributor: Michael Fellinger <m.fellin...@gmail.com> - -pkgname=couchdb -pkgver=2.2.0 -pkgrel=3 -pkgdesc="A document-oriented database that can be queried and indexed in a MapReduce fashion using JSON" -arch=('x86_64') -url="https://couchdb.apache.org" -license=('APACHE') -depends=('icu' 'js185' 'zlib') -makedepends=('erlang-nox-20') -install=${pkgname}.install -backup=('etc/couchdb/local.ini' - 'etc/couchdb/vm.args') -source=("https://www-eu.apache.org/dist/couchdb/source/${pkgver}/apache-couchdb-${pkgver}.tar.gz"{,.asc} - 'couchdb.service' - 'couchdb.sysusers' - 'couchdb.tmpfiles' - 'datadirs.ini') -sha256sums=('0e3ceb8aab73af8e54a2e2c949f362495b1c938455a15e9a4e294901c6c67985' - 'SKIP' - 'e2976dbdd2fb63fe8d09bee0d9c9a97e8785533d9c323276b4030354cb6d8957' - '3ed1ad2a37a068ce194b03fb72eb35285d60fa7faf2d2c2bb710703d229108a8' - '0ce806cbc5e18e60b17be9fd2cdbd4c7f12cc84ca95b079efdede16ddb5f3efd' - '937ca3498aab47b3f2226d027fa8a1a95de55cbb463373099e28cb9a6c7046ac') -validpgpkeys=('2EC788AE3F239FA13E82D215CDE711289384AE37') # Joan Touzet (CODE SIGNING KEY) <woh...@apache.org> - -prepare() { - cd apache-couchdb-${pkgver} - sed -i 's|$ROOTDIR/etc/vm.args|/etc/couchdb/vm.args|' rel/overlay/bin/couchdb -} - -build() { - cd apache-couchdb-${pkgver} - ./configure - make release -} - -package() { - cd apache-couchdb-${pkgver} - install -dm755 "${pkgdir}"/usr/lib/ - install -dm755 "${pkgdir}"/etc/couchdb/ - - cp -r rel/couchdb "${pkgdir}"/usr/lib/couchdb - mv "${pkgdir}"/usr/lib/couchdb/etc/local.ini "${pkgdir}"/etc/couchdb/local.ini - mv "${pkgdir}"/usr/lib/couchdb/etc/vm.args "${pkgdir}"/etc/couchdb/vm.args - - cd "${srcdir}" - install -Dm644 ${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/ - install -Dm644 ${pkgname}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf - install -Dm644 ${pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf - install -Dm644 datadirs.ini -t "${pkgdir}"/usr/lib/couchdb/etc/ -} Copied: couchdb/repos/community-x86_64/PKGBUILD (from rev 416455, couchdb/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-12-16 18:18:08 UTC (rev 416456) @@ -0,0 +1,56 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> +# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua +# Contributor: Michael Fellinger <m.fellin...@gmail.com> + +pkgname=couchdb +pkgver=2.3.0 +pkgrel=1 +pkgdesc="A document-oriented database that can be queried and indexed in a MapReduce fashion using JSON" +arch=('x86_64') +url="https://couchdb.apache.org" +license=('APACHE') +depends=('icu' 'js185' 'zlib') +makedepends=('erlang-nox') +install=${pkgname}.install +backup=('etc/couchdb/local.ini' + 'etc/couchdb/vm.args') +source=("https://www-eu.apache.org/dist/couchdb/source/${pkgver}/apache-couchdb-${pkgver}.tar.gz"{,.asc} + 'couchdb.service' + 'couchdb.sysusers' + 'couchdb.tmpfiles' + 'datadirs.ini') +sha256sums=('0b3868d042b158d9fd2f504804abd93cd22681c033952f832ce846672c31f352' + 'SKIP' + 'aa487af362f1ff64333763615513a58cf710c41077413a364a2c60cb882f4be8' + '3ed1ad2a37a068ce194b03fb72eb35285d60fa7faf2d2c2bb710703d229108a8' + '0ce806cbc5e18e60b17be9fd2cdbd4c7f12cc84ca95b079efdede16ddb5f3efd' + '937ca3498aab47b3f2226d027fa8a1a95de55cbb463373099e28cb9a6c7046ac') +validpgpkeys=('2EC788AE3F239FA13E82D215CDE711289384AE37') # Joan Touzet (CODE SIGNING KEY) <woh...@apache.org> + +prepare() { + cd apache-couchdb-${pkgver} + sed -i 's|$ROOTDIR/etc/vm.args|/etc/couchdb/vm.args|' rel/files/couchdb.in +} + +build() { + cd apache-couchdb-${pkgver} + ./configure + make release +} + +package() { + cd apache-couchdb-${pkgver} + install -dm755 "${pkgdir}"/usr/lib/ + install -dm755 "${pkgdir}"/etc/couchdb/ + + cp -r rel/couchdb "${pkgdir}"/usr/lib/couchdb + mv "${pkgdir}"/usr/lib/couchdb/etc/local.ini "${pkgdir}"/etc/couchdb/local.ini + mv "${pkgdir}"/usr/lib/couchdb/etc/vm.args "${pkgdir}"/etc/couchdb/vm.args + + cd "${srcdir}" + install -Dm644 ${pkgname}.service -t "${pkgdir}"/usr/lib/systemd/system/ + install -Dm644 ${pkgname}.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/${pkgname}.conf + install -Dm644 ${pkgname}.sysusers "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf + install -Dm644 datadirs.ini -t "${pkgdir}"/usr/lib/couchdb/etc/ +} Deleted: couchdb.install =================================================================== --- couchdb.install 2018-12-16 18:17:51 UTC (rev 416455) +++ couchdb.install 2018-12-16 18:18:08 UTC (rev 416456) @@ -1,11 +0,0 @@ -post_upgrade() { - if [ $(vercmp $2 2.1.1-1) -lt 0 ] ; then - cat << EOF - -Be sure to read http://docs.couchdb.org/en/2.1.1/whatsnew/2.1.html#upgrade-notes. -Note that your /etc/couchdb/vm.args has been replaced by the new one if you -never edited it, so you might actually have to change it as advised. - -EOF - fi -} Copied: couchdb/repos/community-x86_64/couchdb.install (from rev 416455, couchdb/trunk/couchdb.install) =================================================================== --- couchdb.install (rev 0) +++ couchdb.install 2018-12-16 18:18:08 UTC (rev 416456) @@ -0,0 +1,11 @@ +post_upgrade() { + if [ $(vercmp $2 2.1.1-1) -lt 0 ] ; then + cat << EOF + +Be sure to read http://docs.couchdb.org/en/2.1.1/whatsnew/2.1.html#upgrade-notes. +Note that your /etc/couchdb/vm.args has been replaced by the new one if you +never edited it, so you might actually have to change it as advised. + +EOF + fi +} Deleted: couchdb.service =================================================================== --- couchdb.service 2018-12-16 18:17:51 UTC (rev 416455) +++ couchdb.service 2018-12-16 18:18:08 UTC (rev 416456) @@ -1,16 +0,0 @@ -[Unit] -Description=CouchDB Server - -[Service] -User=couchdb -Group=couchdb -Type=simple -Environment="ERL_FLAGS=-couch_ini /usr/lib/couchdb/etc/default.ini /usr/lib/couchdb/etc/datadirs.ini /etc/couchdb/local.ini" -ExecStart=/usr/lib/couchdb/bin/couchdb -ProtectSystem=true -ProtectHome=true -NoNewPrivileges=true -PrivateTmp=true - -[Install] -WantedBy=multi-user.target Copied: couchdb/repos/community-x86_64/couchdb.service (from rev 416455, couchdb/trunk/couchdb.service) =================================================================== --- couchdb.service (rev 0) +++ couchdb.service 2018-12-16 18:18:08 UTC (rev 416456) @@ -0,0 +1,32 @@ +[Unit] +Description=CouchDB Server + +[Service] +User=couchdb +Group=couchdb +Type=simple +WorkingDirectory=~ +StateDirectory=couchdb +Environment="ERL_FLAGS=-couch_ini /usr/lib/couchdb/etc/default.ini /usr/lib/couchdb/etc/datadirs.ini /etc/couchdb/local.ini" +ExecStart=/usr/lib/couchdb/bin/couchdb +Restart=always +RestartSec=2s +CapabilityBoundingSet= +NoNewPrivileges=True +PrivateUsers=true +PrivateDevices=true +PrivateTmp=true +ProtectHome=true +ProtectSystem=strict +ProtectControlGroups=yes +ProtectKernelTunables=true +ProtectKernelModules=yes +ReadWritePaths=/etc/couchdb/local.ini +LockPersonality=true +MemoryDenyWriteExecute=true +RestrictRealtime=true +SystemCallArchitectures=native +SystemCallFilter=@system-service + +[Install] +WantedBy=multi-user.target Deleted: couchdb.sysusers =================================================================== --- couchdb.sysusers 2018-12-16 18:17:51 UTC (rev 416455) +++ couchdb.sysusers 2018-12-16 18:18:08 UTC (rev 416456) @@ -1 +0,0 @@ -u couchdb - "CouchDB daemon" /var/lib/couchdb Copied: couchdb/repos/community-x86_64/couchdb.sysusers (from rev 416455, couchdb/trunk/couchdb.sysusers) =================================================================== --- couchdb.sysusers (rev 0) +++ couchdb.sysusers 2018-12-16 18:18:08 UTC (rev 416456) @@ -0,0 +1 @@ +u couchdb - "CouchDB daemon" /var/lib/couchdb Deleted: couchdb.tmpfiles =================================================================== --- couchdb.tmpfiles 2018-12-16 18:17:51 UTC (rev 416455) +++ couchdb.tmpfiles 2018-12-16 18:18:08 UTC (rev 416456) @@ -1,3 +0,0 @@ -d /var/lib/couchdb 0755 couchdb couchdb -x /var/lib/couchdb -z /etc/couchdb/local.ini - couchdb couchdb Copied: couchdb/repos/community-x86_64/couchdb.tmpfiles (from rev 416455, couchdb/trunk/couchdb.tmpfiles) =================================================================== --- couchdb.tmpfiles (rev 0) +++ couchdb.tmpfiles 2018-12-16 18:18:08 UTC (rev 416456) @@ -0,0 +1,3 @@ +d /var/lib/couchdb 0755 couchdb couchdb +x /var/lib/couchdb +z /etc/couchdb/local.ini - couchdb couchdb Deleted: datadirs.ini =================================================================== --- datadirs.ini 2018-12-16 18:17:51 UTC (rev 416455) +++ datadirs.ini 2018-12-16 18:18:08 UTC (rev 416456) @@ -1,3 +0,0 @@ -[couchdb] -database_dir = /var/lib/couchdb -view_index_dir = /var/lib/couchdb Copied: couchdb/repos/community-x86_64/datadirs.ini (from rev 416455, couchdb/trunk/datadirs.ini) =================================================================== --- datadirs.ini (rev 0) +++ datadirs.ini 2018-12-16 18:18:08 UTC (rev 416456) @@ -0,0 +1,3 @@ +[couchdb] +database_dir = /var/lib/couchdb +view_index_dir = /var/lib/couchdb