Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve FreeBSD dependencies #1670

Merged

Conversation

arogge
Copy link
Member

@arogge arogge commented Jan 22, 2024

This PR tries to improve the existing FreeBSD dependencies.

Remove USES=pgsql

An explicit dependency on pgsql would make the resulting packages require the exact PostgreSQL version that was used during the build. As we only really require the library and a few tool to be present, the library dependency seems to be sufficient.
So now the use can finally use any PostgreSQL version from ports with Bareos.

Remove DEFAULT_VERSIONS+=ssl=openssl

Previously we forced using openssl from ports. As OpenSSL is already in base it should be possible to build against that (which our binary packages will do in the future) while still retaining support for custom builds with OpenSSL from ports.

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

Make sure you check/merge the PR using devtools/pr-tool to have some simple automated checks run and a proper changelog record added.

General
  • Is the PR title usable as CHANGELOG entry?
  • Purpose of the PR is understood
  • Commit descriptions are understandable and well formatted
  • Check backport line
  • Required backport PRs have been created
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR

arogge and others added 3 commits January 26, 2024 17:16
USES+=pgsql will pin us to a specific version of PostgreSQL, which is
probably not a great idea, so we remove it.
This will retain the (automatic) requirement to libpq, so a compatible
postgresql client will be required by the binary package.
as we already have openssl in base, it is probably easier to just use
that one instead of the one from ports.
@BareosBot BareosBot force-pushed the dev/arogge/master/freebsd-dependencies branch from 540ad11 to 41c5434 Compare January 26, 2024 17:16
@BareosBot BareosBot merged commit c9e032e into bareos:master Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants