diff options
author | Christos Zoulas <christos@zoulas.com> | 2022-11-29 23:06:09 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2022-11-29 23:06:09 +0000 |
commit | 72a736eb991d023176981d76ab54e635c93be5db (patch) | |
tree | d7e2cf237e0c3b53f121f6d4d512809a7139d749 | |
parent | 2072b558395d738bf116947a73ca5f095c617dd7 (diff) | |
download | file-git-72a736eb991d023176981d76ab54e635c93be5db.tar.gz |
Add more MIME types for gentoo formats (Michal Gorny)
-rw-r--r-- | magic/Magdir/archive | 3 | ||||
-rw-r--r-- | magic/Magdir/gentoo | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/magic/Magdir/archive b/magic/Magdir/archive index 4d15ba26..ad1b5aa5 100644 --- a/magic/Magdir/archive +++ b/magic/Magdir/archive @@ -1,5 +1,5 @@ #------------------------------------------------------------------------------ -# $File: archive,v 1.175 2022/11/21 22:25:37 christos Exp $ +# $File: archive,v 1.176 2022/11/29 23:06:09 christos Exp $ # archive: file(1) magic for archive formats (see also "msdos" for self- # extracting compressed archives) # @@ -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..af1dbf8a 100644 --- a/magic/Magdir/gentoo +++ b/magic/Magdir/gentoo @@ -1,5 +1,5 @@ #------------------------------------------------------------------------------ -# $File: gentoo,v 1.3 2022/10/07 18:15:56 christos Exp $ +# $File: gentoo,v 1.4 2022/11/29 23:06:09 christos Exp $ # gentoo: file(1) magic for gentoo specific formats # # Summary: Gentoo ebuild Manifest files (GLEP 74) @@ -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@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 |