[File] [PATCH] Add more MIME types for Gentoo formats

Christos Zoulas christos at zoulas.com
Tue Nov 29 23:06:22 UTC 2022


Committed, thanks!

christos

> On Nov 29, 2022, at 12:47 AM, Michał Górny <mgorny at gentoo.org> wrote:
> 
> ---
> magic/Magdir/archive | 1 +
> magic/Magdir/gentoo  | 4 ++++
> 2 files changed, 5 insertions(+)
> 
> diff --git a/magic/Magdir/archive b/magic/Magdir/archive
> index 4d15ba26..843b818d 100644
> --- a/magic/Magdir/archive
> +++ b/magic/Magdir/archive
> @@ -2157,6 +2157,7 @@
> # https://gitweb.gentoo.org/proj/portage.git/tree/man/xpak.5
> -4	string	STOP
>> -16	string	XPAKSTOP	Gentoo binary package (XPAK)
> +!:mime	application/vnd.gentoo.xpak
> 
> # From:		Joerg Jenderek
> # URL:		https://kodi.wiki/view/TexturePacker
> diff --git a/magic/Magdir/gentoo b/magic/Magdir/gentoo
> index 241c7e59..4dbab9dc 100644
> --- a/magic/Magdir/gentoo
> +++ b/magic/Magdir/gentoo
> @@ -44,16 +44,20 @@
> 0	search/512	EAPI=
>> 0	regex		.*\n[\040\t]*EAPI=["']?	Gentoo ebuild
>>> &0	regex		[[:alnum:]+_.-]+	\b, EAPI %s
> +!:mime	application/vnd.gentoo.ebuild
> 
> 0	search/512	@ECLASS:\040		Gentoo eclass
>> &0	string		x			%s
> +!:mime	application/vnd.gentoo.eclass
> 
> # Summary: Gentoo supplementary package and category metadata files
> # Reference: https://www.gentoo.org/glep/glep-0068.html
> # Submitted by: Michal Gorny <mgorny at gentoo.org>
> 0	string		\<?xml
>> 0	search/512	\<catmetadata		Gentoo category metadata file
> +!:mime	application/vnd.gentoo.catmetadata+xml
>> 0	search/512	\<pkgmetadata		Gentoo package metadata file
> +!:mime	application/vnd.gentoo.pkgmetadata+xml
> 
> # Summary: Gentoo GLEP 78 binary package
> # Reference: https://www.gentoo.org/glep/glep-0078.html
> --
> 2.38.1
> 
> --
> File mailing list
> File at astron.com
> https://mailman.astron.com/mailman/listinfo/file

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP
URL: <https://mailman.astron.com/pipermail/file/attachments/20221129/79861191/attachment.asc>


More information about the File mailing list