Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Testing the changes
New package
I've been running this successfully on my x86_64-glibc server, and just tested it briefly on armv7l-glibc (rpi2) and it worked great.
This does require a PostgreSQL installation with the
postgresql*-contrib
package for it's version, but not a specific version, so I didn't want to enforce a specific version by putting it in depends.I patched the release to not include ERTS and instead use the ERTS included in the
erlang
package, which is one way to deal with cross-builds. Another would be (I think) instead of patching it asinclude_erts: false
, just doinclude_erts: /${XBPS_CROSS_BASE}/usr/lib/erlang/erts-*
or something similar depending on whether it's a cross-build or not.For the licenses, I included every license mentioned in COPYING. If this is too much, I think it would be possible to remove some of the assets without too much work.