Skip to content

packaging: add setcap/getcap requirements#2374

Merged
BareosBot merged 4 commits intobareos:bareos-24from
bruno-at-bareos:backport/bareos-24/add-missing-requires-setcap-getcap
Sep 30, 2025
Merged

packaging: add setcap/getcap requirements#2374
BareosBot merged 4 commits intobareos:bareos-24from
bruno-at-bareos:backport/bareos-24/add-missing-requires-setcap-getcap

Conversation

@bruno-at-bareos
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos commented Sep 22, 2025

Backport of PR #2347 to bareos-24

Added updated copyright year to bareos.spec

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
  • Correct milestone is set
Source code quality (if there were changes to the original PR)
  • 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

Backport quality

@bruno-at-bareos bruno-at-bareos added bugfix dependencies Pull requests that update a dependency file is a backport to 24 labels Sep 22, 2025
@bruno-at-bareos bruno-at-bareos self-assigned this Sep 24, 2025
@bruno-at-bareos bruno-at-bareos added this to the 24.0.6 milestone Sep 24, 2025
Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you very much!

bruno-at-bareos and others added 4 commits September 30, 2025 10:37
bareos-config-libs is used to add capabilities to binaries to be used
during tape encryption.

We add the requirements to ``bareos-config`` package instead of
``bareos-storage-tape`` package as we have all requirements declared
in this package.

use Requires: %{_sbindir}/getcap, setcap in spec.

fix bareos/internal#416

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
(cherry picked from commit ce60272)
Fix bareos/issue/bareos#2348

In case of disaster tools should be able to extract data from volumes
without having to install a whole bareos-storage package.

plugin/autoxflate-sd.so
backend/libbareossd-file.so

are now packaged in bareos-common.

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
(cherry picked from commit 085db68)
@BareosBot BareosBot force-pushed the backport/bareos-24/add-missing-requires-setcap-getcap branch from 727e408 to 61abebb Compare September 30, 2025 10:38
@BareosBot BareosBot merged commit eb50bdb into bareos:bareos-24 Sep 30, 2025
@bruno-at-bareos bruno-at-bareos deleted the backport/bareos-24/add-missing-requires-setcap-getcap branch November 26, 2025 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file is a backport to 24

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants