summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Brückl <ib@oddnet.de>2024-01-02 16:07:52 +0100
committerIngo Brückl <ib@oddnet.de>2024-01-28 20:36:14 +0100
commit7b03ab8b5bd077b70300e21b978ede117fd6218f (patch)
tree0db77af9c2d7b4122e29b2e242c63d53abc8610b
parent9fad810b3f205eed438f262dac1c8820fd25ecf4 (diff)
Add application/x-rzip
https://rzip.samba.org/ Also add application/x-rzip-compressed-tar.
-rw-r--r--data/freedesktop.org.xml.in15
-rw-r--r--tests/mime-detection/list4
-rw-r--r--tests/mime-detection/test.rzbin0 -> 99 bytes
-rw-r--r--tests/mime-detection/test.tar.rzbin0 -> 227 bytes
4 files changed, 19 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 5156a11..1e3fbc9 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -1807,6 +1807,21 @@ command to generate the output files.
<glob pattern="*.cbz"/>
<alias type="application/x-cbz"/>
</mime-type>
+ <mime-type type="application/x-rzip">
+ <comment>Rzip archive</comment>
+ <generic-icon name="package-x-generic"/>
+ <magic>
+ <match type="string" value="RZIP" offset="0"/>
+ </magic>
+ <glob pattern="*.rz"/>
+ </mime-type>
+ <mime-type type="application/x-rzip-compressed-tar">
+ <comment>Tar archive (rzip-compressed)</comment>
+ <generic-icon name="package-x-generic"/>
+ <sub-class-of type="application/x-rzip"/>
+ <glob pattern="*.tar.rz"/>
+ <glob pattern="*.trz"/>
+ </mime-type>
<mime-type type="application/x-lrzip">
<comment>Lrzip archive</comment>
<acronym>Lrzip</acronym>
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index 7467afc..4bd203c 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -575,6 +575,10 @@ test.lz application/x-lzip
test.tar.lz application/x-lzip-compressed-tar ox
# Created using lzop 1.02rc1, lzo 2.03
test.lzo application/x-lzop
+# Created using rzip 2.1
+test.rz application/x-rzip
+# Created using GNU tar 1.35 and rzip 2.1
+test.tar.rz application/x-rzip-compressed-tar ox
# Created using lrzip 0.45
archive.lrz application/x-lrzip
# Created using lz4 r110
diff --git a/tests/mime-detection/test.rz b/tests/mime-detection/test.rz
new file mode 100644
index 0000000..b60539d
--- /dev/null
+++ b/tests/mime-detection/test.rz
Binary files differ
diff --git a/tests/mime-detection/test.tar.rz b/tests/mime-detection/test.tar.rz
new file mode 100644
index 0000000..1aec4c8
--- /dev/null
+++ b/tests/mime-detection/test.tar.rz
Binary files differ