sysutils/file 5.46 FreeBSD
Utility to determine file type
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- sysutils
- Package size
- 427.3 KiB, 10312.0 KiB installed
Description
File tests each argument in an attempt to classify it. There are three sets of tests, performed in the following order:
- filesystem tests
- magic number tests
- language tests
The first test that succeeds causes the file type to be printed.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | sysutils/file | 5.46 |
| NetBSD | sysutils/file | 5.42 |
| DragonFly | sysutils/file | 5.46 |
Install
Binary package:
pkg install file
From the ports tree:
cd /usr/ports/sysutils/file/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= file>0:sysutils/file
LIB_DEPENDS= libmagic.so:sysutils/file
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 5.46 | 5.46 | 5.39 | 5.46 | 5.46 |
| FreeBSD:14:quarterly | 5.46 | 5.46 | n/a | 5.46 | 5.46 |
| FreeBSD:15:latest | 5.46 | 5.46 | n/a | 5.46 | 5.46 |
| FreeBSD:15:quarterly | 5.46 | 5.46 | n/a | n/a | n/a |
| FreeBSD:16:latest | 5.46 | 5.46 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Configuration
No options to configure.
- USES
- cpe libtool
- Service scripts
- none
Files
Manual pages 3
- file(1)
- libmagic(3)
- magic(5)
pkg-plist 10
- bin/file
- include/magic.h
- lib/libmagic.so
- lib/libmagic.so.1
- lib/libmagic.so.1.0.0
- libdata/pkgconfig/libmagic.pc
- share/man/man1/file.1.gz
- share/man/man3/libmagic.3.gz
- share/man/man5/magic.5.gz
- share/file/magic.mgc
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| file-5.46.tar.gz | 1.312892e+06 | c9cc77c7c560c543135edc555af609d5619dbef011997e988ce40a3d75d86088 |
Master sites 4
- https://astron.com/pub/file/
- https://www.nic.funet.fi/pub/mirrors/ftp.astron.com/pub/file/
- https://ftp.icm.edu.pl/packages/file/
- ftp://ftp.fu-berlin.de/unix/tools/file/
Commit history 0
No commits in the history this site was built from.