Nick Vatamaniuc [Mon, 16 May 2022 15:50:14 +0000 (11:50 -0400)]
Improve cookie setup for RPMs
Previously, with an embedded prompt, it was hard to automatically
provision nodes.
Avoid the interactive TTY prompt by setting a random 48 character (285
bits of entropy) cookie from /dev/urandom instead. This should help
automating standalone setups.
Improve clustered setups by allowing users to specify the cookie as an
environment variable. In this way the cookie may be automaticaly
provisioned on all the nodes of the cluster during the initial
install.
Fixes https://github.com/apache/couchdb-pkg/issues/94
Nick Vatamaniuc [Thu, 5 May 2022 17:53:55 +0000 (13:53 -0400)]
Update to handle Rocky Linux 8
Nick Vatamaniuc [Thu, 5 May 2022 05:03:35 +0000 (01:03 -0400)]
Update Erlang to 23.3.4.14
Robert Newson [Wed, 20 Apr 2022 19:43:29 +0000 (20:43 +0100)]
Fix cookie preseeding
Nick Vatamaniuc [Mon, 18 Apr 2022 18:56:18 +0000 (14:56 -0400)]
On RPM upgrade prompt for cookie only if previously set "monster"
diannasoreil [Wed, 13 Apr 2022 15:24:59 +0000 (17:24 +0200)]
feat: patch rpmspec to prompt for cookie value
Robert Newson [Thu, 24 Feb 2022 15:12:05 +0000 (15:12 +0000)]
tighten file permissions for vm.args
Robert Newson [Thu, 24 Feb 2022 14:01:36 +0000 (14:01 +0000)]
Don't allow 'monster' as cookie value in debconf
Robert Newson [Tue, 8 Feb 2022 16:19:40 +0000 (16:19 +0000)]
Bind epmd and distribution port to loopback interface only for standalone
Will Young [Mon, 25 Apr 2022 19:42:04 +0000 (19:42 +0000)]
Merge pull request #91 from lostnet/dropstretch
Drop support for Debian 9 (stretch)
Will Young [Mon, 25 Apr 2022 18:03:04 +0000 (20:03 +0200)]
Drop support for Debian 9 (stretch)
Adam Kocoloski [Mon, 7 Feb 2022 14:32:49 +0000 (09:32 -0500)]
Use --platform to select container arch at runtime
The bugs seem to have been worked out here, so we can use multi-platform
container images like the ones we've generated for CI and still select
the runtime architecture we want if we need to build packages via QEMU.
Adam Kocoloski [Sun, 6 Feb 2022 20:46:10 +0000 (15:46 -0500)]
Default to Erlang 23 + Debian 11
mokou [Wed, 2 Feb 2022 14:22:08 +0000 (15:22 +0100)]
chore: create rpm subfolder for js68
mokou [Wed, 12 Jan 2022 13:12:47 +0000 (14:12 +0100)]
feat: add aarch64-rhel build support
mokou [Wed, 12 Jan 2022 10:59:55 +0000 (11:59 +0100)]
feat: initial js68 support
Adam Kocoloski [Sat, 5 Feb 2022 16:36:29 +0000 (11:36 -0500)]
Add bullseye to distributions
Adam Kocoloski [Sat, 15 Jan 2022 12:56:43 +0000 (07:56 -0500)]
Drop support for Ubuntu 16.04
Joan Touzet [Fri, 8 Oct 2021 22:55:28 +0000 (22:55 +0000)]
Minor bugfixes encountered in the 3.2.0 release (#85)
Joan Touzet [Thu, 30 Sep 2021 22:57:24 +0000 (18:57 -0400)]
Switch from bintray to artifactory; remove build.sh support for SM (#84)
Glynn Bird [Thu, 26 Aug 2021 13:23:11 +0000 (14:23 +0100)]
protect main branch with .asf.yaml config (#75)
Joan Touzet [Wed, 21 Apr 2021 18:02:13 +0000 (11:02 -0700)]
Fixes for bullseye
Joan Touzet [Wed, 14 Apr 2021 02:01:43 +0000 (19:01 -0700)]
bump detect-os for centos 8 (from couchdb-ci)
Joan Touzet [Tue, 13 Apr 2021 22:39:25 +0000 (15:39 -0700)]
Update for new apache hosted containers, drop CentOS 6
Nick Vatamaniuc [Mon, 25 Jan 2021 20:09:12 +0000 (15:09 -0500)]
Merge pull request #76 from big-r81/patch-1
Update README.md
Ronny [Mon, 25 Jan 2021 19:52:25 +0000 (20:52 +0100)]
Update README.md
fix link after branch rename (master -> main)
Joan Touzet [Wed, 25 Nov 2020 20:09:42 +0000 (20:09 +0000)]
[snap] bump to 3.1.1 (#74)
Joan Touzet [Fri, 30 Oct 2020 15:01:56 +0000 (11:01 -0400)]
Remove unrecognized -c option to configure
Jan Lehnardt [Thu, 9 Jul 2020 11:03:50 +0000 (13:03 +0200)]
Merge pull request #70 from apache/bump-file-limit
Bump default service fd limit to erlang +Q default of 65536
Jan Lehnardt [Thu, 9 Jul 2020 08:21:17 +0000 (10:21 +0200)]
chore: bump CouchDB version
Joan Touzet [Thu, 9 Jul 2020 00:24:51 +0000 (20:24 -0400)]
Bump fd limit to erlang +Q default of 65536
Joan Touzet [Mon, 4 May 2020 02:33:21 +0000 (19:33 -0700)]
Auto-build focal, script cleanup
Joan Touzet [Thu, 30 Apr 2020 05:03:02 +0000 (22:03 -0700)]
Add focal to distributions
Joan Touzet [Wed, 29 Apr 2020 19:30:26 +0000 (12:30 -0700)]
Add automagic `make all` target for CI
Joan Touzet [Tue, 28 Apr 2020 19:21:54 +0000 (12:21 -0700)]
Support Ubuntu 20.04; drop erlang-os-mon dep
Joan Touzet [Mon, 6 Apr 2020 15:58:26 +0000 (11:58 -0400)]
fix(rpm): tag vm.args as config (#67)
Simon Klassen [Thu, 26 Mar 2020 18:19:56 +0000 (02:19 +0800)]
[snap] smaller snap, improve cluster examples (#64)
* Added configure hook 'snap set couchdb admin=[password]'
* Added port to the list of snap configured parameters
* Split packages into build and stage to reduce snap size
* Some formatting cleanups
* Rewrote cluster HOWTO with new snap functionality without using LXC
Co-authored-by: Joan Touzet <wohali@apache.org>
Co-authored-by: Simon Klassen <>
Simon Klassen [Tue, 10 Mar 2020 02:03:04 +0000 (10:03 +0800)]
Added configure hook 'snap set couchdb admin=[password]' (#63)
Co-authored-by: Joan Touzet <wohali@apache.org>
Joan Touzet [Fri, 28 Feb 2020 05:22:30 +0000 (21:22 -0800)]
fixes for snapcraft
Joan Touzet [Thu, 27 Feb 2020 18:51:13 +0000 (10:51 -0800)]
bump to couchdb 3.0.0 for travis
Joan Touzet [Thu, 27 Feb 2020 17:15:05 +0000 (09:15 -0800)]
Ensure correct SM version substitution
Joan Touzet [Thu, 13 Feb 2020 23:19:34 +0000 (15:19 -0800)]
fix wrongly committed version
Joan Touzet [Thu, 13 Feb 2020 22:05:50 +0000 (14:05 -0800)]
fix CI package builds for centos
Joan Touzet [Thu, 13 Feb 2020 18:46:06 +0000 (10:46 -0800)]
Switch to SM60 for CentOS 8
Joan Touzet [Fri, 31 Jan 2020 07:47:44 +0000 (23:47 -0800)]
Parametrise SM ver for dpkg builds
Now picks SM60 for debian-buster (except on arm64)
Still uses SM 1.8.5 for all other dpkg + rpm builds
Joan Touzet [Thu, 30 Jan 2020 23:26:31 +0000 (15:26 -0800)]
[deb] remove couchup, update references
Joan Touzet [Thu, 30 Jan 2020 22:49:36 +0000 (14:49 -0800)]
Bump Erlang ver dep, drop nodejs dep [deb]
Joan Touzet [Tue, 28 Jan 2020 19:44:37 +0000 (11:44 -0800)]
Remove python dep for 3.0.0
Joan Touzet [Sat, 25 Jan 2020 07:18:51 +0000 (23:18 -0800)]
ppc64el apparently, not ppc64le (repo, deb
Joan Touzet [Thu, 16 Jan 2020 16:58:08 +0000 (08:58 -0800)]
deb: add buster, arch defs to repo def
Joan Touzet [Mon, 16 Dec 2019 16:00:03 +0000 (08:00 -0800)]
disable arm on Travis, too slow
Joan Touzet [Fri, 13 Dec 2019 20:21:44 +0000 (12:21 -0800)]
one more try for xplat travis
Joan Touzet [Fri, 13 Dec 2019 19:42:24 +0000 (11:42 -0800)]
lintian will no longer break a build; travis fix
Joan Touzet [Fri, 13 Dec 2019 18:48:07 +0000 (10:48 -0800)]
BUmp Erlang version in .travis.yml
Joan Touzet [Fri, 13 Dec 2019 18:28:04 +0000 (10:28 -0800)]
Rework Travis matrix (for now)
Will Holley [Fri, 13 Dec 2019 18:26:11 +0000 (18:26 +0000)]
Whitelist ppc64le in the CouchDB rpm (#59)
The Couchdb rpm builds correctly on/for ppc64le. This change adds
ppc64le to the whitelisted architectures in the rpm spec.
Joan Touzet [Wed, 23 Oct 2019 07:04:34 +0000 (03:04 -0400)]
Add a couple more documentation links (#58)
Joan Touzet [Fri, 11 Oct 2019 03:08:08 +0000 (03:08 +0000)]
Minor cleanup for better multiarch support (#57)
Joan Touzet [Thu, 10 Oct 2019 16:22:47 +0000 (16:22 +0000)]
Improve multi-platform package building (#56)
Robert Newson [Thu, 3 Oct 2019 18:16:48 +0000 (19:16 +0100)]
Merge pull request #52 from apache/postrm_remove_databases
Add extra protection to databases during package purge
Robert Newson [Tue, 3 Sep 2019 13:44:09 +0000 (14:44 +0100)]
Add extra protection to databases during package purge
Adrien Vergé [Tue, 1 Oct 2019 16:48:23 +0000 (18:48 +0200)]
rpm: Support Fedora 31+ and CentOS 8+ (#55)
Simon Klassen [Tue, 24 Sep 2019 05:09:03 +0000 (13:09 +0800)]
Snap improvements
* Added warning on snap remove
* data now points to SNAP_COMMON with pre-refresh hook to migrate users
Joan Touzet [Mon, 26 Aug 2019 05:41:50 +0000 (01:41 -0400)]
fix etc/default.d/* ownership (#51)
Joan Touzet [Sat, 24 Aug 2019 04:27:58 +0000 (00:27 -0400)]
Update snap for 2.3.1 + core18 (#50)
Joan Touzet [Thu, 22 Aug 2019 22:20:24 +0000 (18:20 -0400)]
Add debian buster, drop debian jessie, lintian fixes (#49)
Joan Touzet [Fri, 3 May 2019 17:44:36 +0000 (13:44 -0400)]
Add aarch64-debian-stretch platform (#45)
lag-linaro [Fri, 21 Dec 2018 22:27:06 +0000 (22:27 +0000)]
Detect Arch Support (#40)
* Provide helper to detect the current architecture
* Use new 'detect-arch' helper when building JS
* build.sh: Ensure package directories are writable to user 'jenkins'
* Makefile: Trivial: Correct DIST name for ubuntu-bionic
Joan Touzet [Thu, 6 Dec 2018 07:47:58 +0000 (02:47 -0500)]
Refactor pkg build process to not rely on couchdb-ci (#39)
Rolf Niepraschk [Fri, 30 Nov 2018 09:21:59 +0000 (10:21 +0100)]
Modifications for openSUSE support (#36)
* Modifications for openSUSE support
Simon Klassen [Fri, 30 Nov 2018 07:29:55 +0000 (15:29 +0800)]
Improve snap creation (#38)
* Added --edge to installation
* Changed couchdb.ini from local.d to default.d
* Switched config order to standard: default.ini, default.d, local.ini, local.d
* couchdb.ini has been moved from local.d to default.d
* Re-wrote configuration section to reflect standard order.
* Added a 90-override.ini file to ensure HTTP changes go in the last file
* Pared back the list of settable options to bare min
* Emphasized the q=1 parameter
* On fresh installation, copy the local.ini from the rel directory
* Add sequence number to couchdb.ini
* snap set now only configures vm.args; updated HOWTO to use HTTP configure
Joan Touzet [Wed, 28 Nov 2018 08:20:44 +0000 (03:20 -0500)]
[debian] python2 -> python3
Simon Klassen [Fri, 2 Nov 2018 19:41:19 +0000 (03:41 +0800)]
snap file rework by @sklassen (#27)
snap improvements;
* Split the DATA directory into log and etc; added vm.args; coded snap configuration hook for name and setcookie; bumped version number to 2.2; and added a description how to install and set options
* Moved snap.ini into local.d; configure now can manage both vm.args and (small subset of) local.d/*.ini; snap does not touch local.ini, so as not to interfer with web configuration interface; Reverted root README.md and added snap/README.md
* Removed the log directory as default writer=stderr is best
* Removed unrequired home plug in for hooks
* Empty rather than Nil plug-ins
* Renamed common subdirectory 2.x
* Removed hooks from snacraft.yaml: no special plugs needed
* Update README.md
* Single data directory suffices
* Unified data and index directory
* Removed user name from snap name
* Expanded the Snap Configuration
* Removed erlang from snapcraft; snap now 70M smaller
* prepare and build have been replaced by single override-build
* Added back explicit essential packages; excluded share/doc
* Added a HOWTO file
* Tidy up the md
* Added new line
lag-linaro [Fri, 2 Nov 2018 19:36:48 +0000 (19:36 +0000)]
debian: Relax Erlang dependencies when building Debian packages on ARM (#34)
Erlang is built and installed from source on ARM based platforms.
Joan Touzet [Tue, 23 Oct 2018 02:59:31 +0000 (19:59 -0700)]
Don't use dh_python, static declare 2x python deps
Joan Touzet [Mon, 22 Oct 2018 17:14:55 +0000 (10:14 -0700)]
Explicitly depend on both python2 and python3
Joan Touzet [Mon, 22 Oct 2018 17:14:55 +0000 (10:14 -0700)]
Explicitly depend on both python2 and python3
Joan Touzet [Fri, 19 Oct 2018 17:10:19 +0000 (10:10 -0700)]
Update to Erlang 19.3.6 across the board
Sébastien Prud'homme [Sun, 7 Oct 2018 09:04:23 +0000 (11:04 +0200)]
Fix init script exit code #28
Joan Touzet [Sun, 5 Aug 2018 15:52:46 +0000 (11:52 -0400)]
Fix non-armv7l builds
Joan Touzet [Sat, 4 Aug 2018 20:59:04 +0000 (16:59 -0400)]
Skip symbol check on armv7l
Adrien Vergé [Mon, 16 Jul 2018 12:20:30 +0000 (14:20 +0200)]
rpm: Add missing build requirement libffi-devel
The libffi files are needed to compile js on CentOS 7.
Adrien Vergé [Mon, 16 Jul 2018 13:00:39 +0000 (15:00 +0200)]
rpm: Add missing build requirement perl
The perl interpreter is needed to compile js on Fedora 26 / 27 / 28.
Joan Touzet [Mon, 11 Jun 2018 23:31:34 +0000 (16:31 -0700)]
fix logrotate for deb, change retention policy to 1w, closes #12
Joan Touzet [Mon, 11 Jun 2018 22:34:34 +0000 (15:34 -0700)]
[deb] Fix unattended node name configuration, closes #21
Joan Touzet [Mon, 11 Jun 2018 21:48:12 +0000 (14:48 -0700)]
Fix init.d script, closes #22
Joan Touzet [Mon, 11 Jun 2018 17:38:02 +0000 (10:38 -0700)]
[deb] Set n=1 on singlenode, closes #15
Joan Touzet [Tue, 29 May 2018 07:18:34 +0000 (00:18 -0700)]
Add more Makefile alias targets
Joan Touzet [Tue, 29 May 2018 05:17:30 +0000 (05:17 +0000)]
debian: fix pkg x2
1. Do not fail postinst script if installing standalone and CouchDB
fails to start (e.g., in Docker, where there is no init). Print
a warning about being unable to create _users/_replicator instead.
2. Do not double-depend on libmozjs185-1.0 (was preventing successful
installation.)
Joan Touzet [Tue, 29 May 2018 02:00:47 +0000 (19:00 -0700)]
rpm: don't fail preun if can't stop epmd
Joan Touzet [Mon, 28 May 2018 22:31:39 +0000 (15:31 -0700)]
deb: Add bionic repo definition
Joan Touzet [Mon, 28 May 2018 21:28:37 +0000 (14:28 -0700)]
Stop removing js pkgs for centos7
Joan Touzet [Mon, 28 May 2018 20:55:19 +0000 (13:55 -0700)]
rpm: remove erlang version pinning
Joan Touzet [Mon, 28 May 2018 15:22:01 +0000 (08:22 -0700)]
Remove shunit2 dependency, add bionic
Joan Touzet [Mon, 28 May 2018 06:33:34 +0000 (23:33 -0700)]
Use our own couch-js/couch-libmozjs185 pkgs
Joan Touzet [Sun, 27 May 2018 18:31:50 +0000 (11:31 -0700)]
remove 32-bit symbols
Joan Touzet [Sun, 27 May 2018 17:02:12 +0000 (17:02 +0000)]
rename debian control files correctly
Joan Touzet [Sat, 26 May 2018 00:04:36 +0000 (17:04 -0700)]
Use gz compression for bintray's sake
Joan Touzet [Fri, 25 May 2018 06:28:29 +0000 (23:28 -0700)]
Unify SpiderMonkey1.8.5 build across .deb and .rpm
Joan Touzet [Fri, 25 May 2018 00:45:57 +0000 (17:45 -0700)]
Don't bother with JIT tests on Debian