[File] [PATCH] Recognize Gentoo ebuild, eclass and metadata files

Christos Zoulas christos at zoulas.com
Sun Sep 11 21:04:43 UTC 2022


Committed, thanks!

christos

> On Sep 10, 2022, at 11:35 AM, Michał Górny <mgorny at gentoo.org> wrote:
> 
> ---
> magic/Magdir/gentoo | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
> 
> diff --git a/magic/Magdir/gentoo b/magic/Magdir/gentoo
> index 47f63b06..526f15a7 100644
> --- a/magic/Magdir/gentoo
> +++ b/magic/Magdir/gentoo
> @@ -33,3 +33,19 @@
> 0	name	gentoo-manifest
>> &0	regex	[[:space:]]+[[:print:]]+[[:space:]]+[[:digit:]]+[[:space:]]+[[:alnum:]]+[[:space:]]+[[:xdigit:]]{32}	Gentoo Manifest (GLEP 74)
> 
> +# Summary: Gentoo ebuild and eclass files
> +# Reference: https://projects.gentoo.org/pms/8/pms.html
> +# Submitted by: Michał Górny <mgorny at gentoo.org>
> +0	search/512	EAPI=
> +>0	regex		.*\n[\040\t]*EAPI=["']?	Gentoo ebuild
> +>>&0	regex		[[:alnum:]+_.-]+	\b, EAPI %s
> +
> +0	search/512	@ECLASS:\040		Gentoo eclass
> +>&0	string		x			%s
> +
> +# Summary: Gentoo supplementary package and category metadata files
> +# Reference: https://www.gentoo.org/glep/glep-0068.html
> +# Submitted by: Michał Górny <mgorny at gentoo.org>
> +0	string		\<?xml
> +>0	search/512	\<catmetadata		Gentoo category metadata file
> +>0	search/512	\<pkgmetadata		Gentoo package metadata file
> --
> 2.37.3
> 
> --
> 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/20220911/7ec957fd/attachment.asc>


More information about the File mailing list