]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: radosgw: add media-types packages as alternative for mime-support 63702/head
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 3 Jun 2025 20:32:05 +0000 (22:32 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 3 Jun 2025 20:43:59 +0000 (22:43 +0200)
Back in 2020 the '/etc/mime.types' file was split out into it's own
leaner 'media-types' Debian package [0], the previous 'mime-support'
was kept as transitional package to handle upgrades, but it did its
job and isn't included in Debian Trixie repos anymore.

So accept both, the new 'media-types' package or the legacy
'mime-support' one as valid dependency for radosgw, this ensures one
can install radosgw on newer Debian based releases while keeping it
also working for older ones.

[0]: https://salsa.debian.org/debian/media-types/-/commit/4d6ff19de5720196b40cf65f1173bd9333dfecf9

Fixes: https://tracker.ceph.com/issues/71545
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/control

index 6d3fa3263050a515c2a567b02205186f6d25afc7..0ae66243fa20d19eee97097b0287819a2831ed27 100644 (file)
@@ -1044,7 +1044,7 @@ Package: radosgw
 Architecture: linux-any
 Depends: ceph-common (= ${binary:Version}),
          librgw2 (= ${binary:Version}),
-         mime-support,
+         media-types | mime-support,
          ${misc:Depends},
          ${shlibs:Depends},
 Suggests: gawk,