[arch-commits] Commit in couchdb/repos/community-x86_64 (9 files)
Bruno Pagani
archange at gemini.archlinux.org
Fri Apr 22 22:21:13 UTC 2022
Date: Friday, April 22, 2022 @ 22:21:12
Author: archange
Revision: 1187444
archrelease: copy trunk to community-x86_64
Added:
couchdb/repos/community-x86_64/PKGBUILD
(from rev 1187442, couchdb/trunk/PKGBUILD)
couchdb/repos/community-x86_64/couchdb.service
(from rev 1187442, couchdb/trunk/couchdb.service)
couchdb/repos/community-x86_64/couchdb.sysusers
(from rev 1187442, couchdb/trunk/couchdb.sysusers)
couchdb/repos/community-x86_64/couchdb.tmpfiles
(from rev 1187442, couchdb/trunk/couchdb.tmpfiles)
Deleted:
couchdb/repos/community-x86_64/PKGBUILD
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 | 116 ++++++++++++++++++++++++++---------------------------
couchdb.service | 84 +++++++++++++++++++-------------------
couchdb.sysusers | 2
couchdb.tmpfiles | 6 +-
datadirs.ini | 3 -
5 files changed, 104 insertions(+), 107 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-22 22:21:08 UTC (rev 1187443)
+++ PKGBUILD 2022-04-22 22:21:12 UTC (rev 1187444)
@@ -1,58 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua
-# Contributor: Michael Fellinger <m.fellinger at gmail.com>
-
-pkgname=couchdb
-pkgver=3.2.1
-pkgrel=2
-pkgdesc="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 js78 zlib)
-optdepends=('erlang-nox: for weatherreport')
-makedepends=(erlang-nox)
-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=('11de2d1c3a5b317017a7459ec3f76230d5c43aba427a1e71ca3437845874acf8'
- 'SKIP'
- '38f3e489c031b8c6eacd8b9da3ca91362d7929e8f5e3c8b0e4cf5401c67bf7bb'
- '3ed1ad2a37a068ce194b03fb72eb35285d60fa7faf2d2c2bb710703d229108a8'
- '0ce806cbc5e18e60b17be9fd2cdbd4c7f12cc84ca95b079efdede16ddb5f3efd'
- '937ca3498aab47b3f2226d027fa8a1a95de55cbb463373099e28cb9a6c7046ac')
-validpgpkeys=(2EC788AE3F239FA13E82D215CDE711289384AE37 # Joan Touzet (CODE SIGNING KEY) <wohali at apache.org>
- D2B17F9DA23C0A10991AF2E3D9EE01E47852AEE4 # Jan Lehnardt <jan at apache.org>
- 0BD7A98499C4AB41C910EE65FC04DFBC9657A78E) # Nick Vatamaniuc <vatamane at gmail.com>
-
-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 --spidermonkey-version 78
- 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 1187442, couchdb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-22 22:21:12 UTC (rev 1187444)
@@ -0,0 +1,58 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua
+# Contributor: Michael Fellinger <m.fellinger at gmail.com>
+
+pkgname=couchdb
+pkgver=3.2.2
+pkgrel=1
+pkgdesc="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 js91 zlib)
+optdepends=('erlang-nox: for weatherreport')
+makedepends=(erlang-nox)
+backup=(etc/couchdb/local.ini
+ etc/couchdb/vm.args)
+source=("https://archive.apache.org/dist/${pkgname}/source/${pkgver}/apache-${pkgname}-${pkgver}.tar.gz"{,.asc}
+ couchdb.service
+ couchdb.sysusers
+ couchdb.tmpfiles)
+sha256sums=(69c9fd6f80133557f68a02e92dda72a4fd646d646f429f45bb8329a30f82f20e SKIP
+ 745754da596c2451352a21ed6e9ade92b2fbd111f9957ddba1209a20bd9eff1d
+ 3ed1ad2a37a068ce194b03fb72eb35285d60fa7faf2d2c2bb710703d229108a8
+ 7331b9675e3668c5f0d632bee5d154c061cc3e60d451bef3dc0d0ab2dadfa006)
+validpgpkeys=(2EC788AE3F239FA13E82D215CDE711289384AE37 # Joan Touzet (CODE SIGNING KEY) <wohali at apache.org>
+ D2B17F9DA23C0A10991AF2E3D9EE01E47852AEE4 # Jan Lehnardt <jan at apache.org>
+ 0BD7A98499C4AB41C910EE65FC04DFBC9657A78E) # Nick Vatamaniuc <vatamane at gmail.com>
+
+prepare() {
+ cd apache-couchdb-${pkgver}
+ sed -i 's|./data|/var/lib/couchdb|' configure
+}
+
+build() {
+ cd apache-couchdb-${pkgver}
+ ./configure --spidermonkey-version 91
+ 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/{default.ini,local.ini,vm.args} "${pkgdir}"/etc/couchdb/
+
+ 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
+
+ # Remove some cruft
+ rm -r "${pkgdir}"/usr/lib/couchdb/erts-12.3/{doc,include,lib,man,src}
+ rm -rv "${pkgdir}"/usr/lib/couchdb/etc/
+ rm -rv "${pkgdir}"/usr/lib/couchdb/lib/couch-${pkgver}/priv/couch_{ejson_compare,js}
+}
Deleted: couchdb.service
===================================================================
--- couchdb.service 2022-04-22 22:21:08 UTC (rev 1187443)
+++ couchdb.service 2022-04-22 22:21:12 UTC (rev 1187444)
@@ -1,42 +0,0 @@
-[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
-ReadWritePaths=/etc/couchdb/local.ini
-Restart=always
-RestartSec=2s
-AmbientCapabilities=
-CapabilityBoundingSet=
-LockPersonality=true
-# Not compatible with the use of JS
-#MemoryDenyWriteExecute=true
-NoNewPrivileges=True
-PrivateDevices=true
-PrivateTmp=true
-PrivateUsers=true
-ProtectClock=true
-ProtectControlGroups=yes
-ProtectHome=true
-ProtectHostname=true
-ProtectKernelLogs=true
-ProtectKernelModules=yes
-ProtectKernelTunables=true
-ProtectProc=invisible
-ProtectSystem=strict
-RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX
-RestrictNamespaces=true
-RestrictRealtime=true
-RestrictSUIDSGID=true
-SystemCallArchitectures=native
-SystemCallFilter=@system-service
-SystemCallErrorNumber=EPERM
-
-[Install]
-WantedBy=multi-user.target
Copied: couchdb/repos/community-x86_64/couchdb.service (from rev 1187442, couchdb/trunk/couchdb.service)
===================================================================
--- couchdb.service (rev 0)
+++ couchdb.service 2022-04-22 22:21:12 UTC (rev 1187444)
@@ -0,0 +1,42 @@
+[Unit]
+Description=CouchDB Server
+
+[Service]
+User=couchdb
+Group=couchdb
+Type=simple
+WorkingDirectory=~
+StateDirectory=couchdb
+Environment=COUCHDB_ARGS_FILE=/etc/couchdb/vm.args "COUCHDB_INI_FILES=/etc/couchdb/default.ini /etc/couchdb/local.ini"
+ExecStart=/usr/lib/couchdb/bin/couchdb
+ReadWritePaths=/etc/couchdb/local.ini
+Restart=always
+RestartSec=2s
+AmbientCapabilities=
+CapabilityBoundingSet=
+LockPersonality=true
+# Not compatible with the use of JS
+#MemoryDenyWriteExecute=true
+NoNewPrivileges=True
+PrivateDevices=true
+PrivateTmp=true
+PrivateUsers=true
+ProtectClock=true
+ProtectControlGroups=yes
+ProtectHome=true
+ProtectHostname=true
+ProtectKernelLogs=true
+ProtectKernelModules=yes
+ProtectKernelTunables=true
+ProtectProc=invisible
+ProtectSystem=strict
+RestrictAddressFamilies=AF_INET AF_INET6 AF_NETLINK AF_UNIX
+RestrictNamespaces=true
+RestrictRealtime=true
+RestrictSUIDSGID=true
+SystemCallArchitectures=native
+SystemCallFilter=@system-service
+SystemCallErrorNumber=EPERM
+
+[Install]
+WantedBy=multi-user.target
Deleted: couchdb.sysusers
===================================================================
--- couchdb.sysusers 2022-04-22 22:21:08 UTC (rev 1187443)
+++ couchdb.sysusers 2022-04-22 22:21:12 UTC (rev 1187444)
@@ -1 +0,0 @@
-u couchdb - "CouchDB daemon" /var/lib/couchdb
Copied: couchdb/repos/community-x86_64/couchdb.sysusers (from rev 1187442, couchdb/trunk/couchdb.sysusers)
===================================================================
--- couchdb.sysusers (rev 0)
+++ couchdb.sysusers 2022-04-22 22:21:12 UTC (rev 1187444)
@@ -0,0 +1 @@
+u couchdb - "CouchDB daemon" /var/lib/couchdb
Deleted: couchdb.tmpfiles
===================================================================
--- couchdb.tmpfiles 2022-04-22 22:21:08 UTC (rev 1187443)
+++ couchdb.tmpfiles 2022-04-22 22:21:12 UTC (rev 1187444)
@@ -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 1187442, couchdb/trunk/couchdb.tmpfiles)
===================================================================
--- couchdb.tmpfiles (rev 0)
+++ couchdb.tmpfiles 2022-04-22 22:21:12 UTC (rev 1187444)
@@ -0,0 +1,3 @@
+z /etc/couchdb/local.ini - couchdb couchdb
+d /var/lib/couchdb 0755 couchdb couchdb
+x /var/lib/couchdb
Deleted: datadirs.ini
===================================================================
--- datadirs.ini 2022-04-22 22:21:08 UTC (rev 1187443)
+++ datadirs.ini 2022-04-22 22:21:12 UTC (rev 1187444)
@@ -1,3 +0,0 @@
-[couchdb]
-database_dir = /var/lib/couchdb
-view_index_dir = /var/lib/couchdb
More information about the arch-commits
mailing list