Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 304753
Collapse All | Expand All

(-)file-5.03/magic/Magdir/archive (-52 / +74 lines)
Lines 562-638 Link Here
562
562
563
# ZIP archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu)
563
# ZIP archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu)
564
0	string		PK\003\004
564
0	string		PK\003\004
565
>4	byte		0x00		Zip archive data
565
>30	ubelong		!0x6d696d65
566
>>4	byte		0x00		Zip archive data
566
!:mime	application/zip
567
!:mime	application/zip
567
>4	byte		0x09		Zip archive data, at least v0.9 to extract
568
>>4	byte		0x09		Zip archive data, at least v0.9 to extract
568
!:mime	application/zip
569
!:mime	application/zip
569
>4	byte		0x0a		Zip archive data, at least v1.0 to extract
570
>>4	byte		0x0a		Zip archive data, at least v1.0 to extract
570
!:mime	application/zip
571
!:mime	application/zip
571
>4	byte		0x0b		Zip archive data, at least v1.1 to extract
572
>>4	byte		0x0b		Zip archive data, at least v1.1 to extract
572
!:mime	application/zip
573
!:mime	application/zip
573
>0x161	string		WINZIP          Zip archive data, WinZIP self-extracting
574
>>0x161	string		WINZIP          Zip archive data, WinZIP self-extracting
574
!:mime	application/zip
575
!:mime	application/zip
575
>4	byte		0x14
576
>>4	byte		0x14		Zip archive data, at least v2.0 to extract
576
>>30	ubelong		!0x6d696d65	Zip archive data, at least v2.0 to extract
577
!:mime	application/zip
577
!:mime	application/zip
578
578
579
# OpenOffice.org / KOffice / StarOffice documents
579
# OpenOffice.org / KOffice / StarOffice documents
580
# Listed here because they ARE zip files
580
# Listed here because they ARE zip files
581
#
581
#
582
# From: Abel Cheung <abel@oaka.org>
582
# From: Abel Cheung <abel@oaka.org>
583
>4	byte		0x14
583
>30	string		mimetype
584
>>30	string		mimetype
585
584
586
# KOffice (1.2 or above) formats
585
# KOffice (1.2 or above) formats
587
>>>50	string	vnd.kde.		KOffice (>=1.2)
586
>>50	string	vnd.kde.		KOffice (>=1.2)
588
>>>>58	string	karbon			Karbon document
587
>>>58	string	karbon			Karbon document
589
>>>>58	string	kchart			KChart document
588
>>>58	string	kchart			KChart document
590
>>>>58	string	kformula		KFormula document
589
>>>58	string	kformula		KFormula document
591
>>>>58	string	kivio			Kivio document
590
>>>58	string	kivio			Kivio document
592
>>>>58	string	kontour			Kontour document
591
>>>58	string	kontour			Kontour document
593
>>>>58	string	kpresenter		KPresenter document
592
>>>58	string	kpresenter		KPresenter document
594
>>>>58	string	kspread			KSpread document
593
>>>58	string	kspread			KSpread document
595
>>>>58	string	kword			KWord document
594
>>>58	string	kword			KWord document
596
595
597
# OpenOffice formats (for OpenOffice 1.x / StarOffice 6/7)
596
# OpenOffice formats (for OpenOffice 1.x / StarOffice 6/7)
598
>>>50	string	vnd.sun.xml.		OpenOffice.org 1.x
597
>>50	string	vnd.sun.xml.		OpenOffice.org 1.x
599
>>>>62	string	writer			Writer
598
>>>62	string	writer			Writer
600
>>>>>68	byte	!0x2e			document
599
>>>>68	byte	!0x2e			document
601
>>>>>68	string	.template		template
600
>>>>68	string	.template		template
602
>>>>>68	string	.global			global document
601
>>>>68	string	.global			global document
603
>>>>62	string	calc			Calc
602
>>>62	string	calc			Calc
604
>>>>>66	byte	!0x2e			spreadsheet
603
>>>>66	byte	!0x2e			spreadsheet
605
>>>>>66	string	.template		template
604
>>>>66	string	.template		template
606
>>>>62	string	draw			Draw
605
>>>62	string	draw			Draw
607
>>>>>66	byte	!0x2e			document
606
>>>>66	byte	!0x2e			document
608
>>>>>66	string	.template		template
607
>>>>66	string	.template		template
609
>>>>62	string	impress			Impress
608
>>>62	string	impress			Impress
610
>>>>>69	byte	!0x2e			presentation
609
>>>>69	byte	!0x2e			presentation
611
>>>>>69	string	.template		template
610
>>>>69	string	.template		template
612
>>>>62	string	math			Math document
611
>>>62	string	math			Math document
613
>>>>62	string	base			Database file
612
>>>62	string	base			Database file
614
613
615
# OpenDocument formats (for OpenOffice 2.x / StarOffice >= 8)
614
# OpenDocument formats (for OpenOffice 2.x / StarOffice >= 8)
616
# http://lists.oasis-open.org/archives/office/200505/msg00006.html
615
# http://lists.oasis-open.org/archives/office/200505/msg00006.html
617
>>>50	string	vnd.oasis.opendocument.	OpenDocument
616
>>50	string	vnd.oasis.opendocument.	OpenDocument
618
>>>>73	string	text
617
>>>73	string	text
619
>>>>>77	byte	!0x2d			Text
618
>>>>77	byte	!0x2d			Text
620
!:mime	application/vnd.oasis.opendocument.text
619
!:mime	application/vnd.oasis.opendocument.text
621
>>>>>77	string	-template		Text Template
620
>>>>77	string	-template		Text Template
622
>>>>>77	string	-web			HTML Document Template
621
!:mime	application/vnd.oasis.opendocument.text-template
623
>>>>>77	string	-master			Master Document
622
>>>>77	string	-web			HTML Document Template
624
>>>>73	string	graphics		Drawing
623
!:mime	application/vnd.oasis.opendocument.text-web
625
>>>>>81	string	-template		Template
624
>>>>77	string	-master			Master Document
626
>>>>73	string	presentation		Presentation
625
!:mime	application/vnd.oasis.opendocument.text-master
627
>>>>>85	string	-template		Template
626
>>>73	string	graphics
628
>>>>73	string	spreadsheet		Spreadsheet
627
>>>>81	byte	!0x2d			Drawing
629
>>>>>84	string	-template		Template
628
!:mime	application/vnd.oasis.opendocument.graphics
630
>>>>73	string	chart			Chart
629
>>>>81	string	-template		Template
631
>>>>>78	string	-template		Template
630
!:mime	application/vnd.oasis.opendocument.graphics-template
632
>>>>73	string	formula			Formula
631
>>>73	string	presentation
633
>>>>>80	string	-template		Template
632
>>>>85	byte	!0x2d			Presentation
634
>>>>73	string	database		Database
633
!:mime	application/vnd.oasis.opendocument.presentation
635
>>>>73	string	image			Image
634
>>>>85	string	-template		Template
635
!:mime	application/vnd.oasis.opendocument.presentation-template
636
>>>73	string	spreadsheet
637
>>>>84	byte	!0x2d			Spreadsheet
638
!:mime	application/vnd.oasis.opendocument.spreadsheet
639
>>>>84	string	-template		Template
640
!:mime	application/vnd.oasis.opendocument.spreadsheet-template
641
>>>73	string	chart
642
>>>>78	byte	!0x2d			Chart
643
!:mime	application/vnd.oasis.opendocument.chart
644
>>>>78	string	-template		Template
645
!:mime	application/vnd.oasis.opendocument.chart-template
646
>>>73	string	formula
647
>>>>80	byte	!0x2d			Formula
648
!:mime	application/vnd.oasis.opendocument.formula
649
>>>>80	string	-template		Template
650
!:mime	application/vnd.oasis.opendocument.formula-template
651
>>>73	string	database		Database
652
!:mime	application/vnd.oasis.opendocument.database
653
>>>73	string	image
654
>>>>78	byte	!0x2d			Image
655
!:mime	application/vnd.oasis.opendocument.image
656
>>>>78	string	-template		Template
657
!:mime	application/vnd.oasis.opendocument.image-template
636
658
637
# Zoo archiver
659
# Zoo archiver
638
20	lelong		0xfdc4a7dc	Zoo archive data
660
20	lelong		0xfdc4a7dc	Zoo archive data

Return to bug 304753