From 1e213cb3c4ce8acca2c3d834157496a52d677293 Mon Sep 17 00:00:00 2001 From: Liav A Date: Sat, 15 Oct 2022 17:51:03 +0300 Subject: [PATCH] Ports: Add file utility port --- Ports/AvailablePorts.md | 1 + Ports/file/package.sh | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100755 Ports/file/package.sh diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 3bc56ab06c..072e4fd97a 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -56,6 +56,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`ffmpeg`](ffmpeg/) | ffmpeg | 5.0 | https://ffmpeg.org | | [`fheroes2`](fheroes2/) | Free Heroes of Might and Magic II | 0.9.13 | https://github.com/ihhub/fheroes2 | | [`figlet`](figlet/) | FIGlet | 2.2.5 | http://www.figlet.org/ | +| [`file`](file/) | file (determine file type) | 5.43 | https://www.darwinsys.com/file/ | | [`findutils`](findutils/) | GNU findutils | 4.9.0 | https://www.gnu.org/software/findutils/ | | [`fio`](fio/) | fio - Flexible I/O tester | 3.30 | https://fio.readthedocs.io/en/latest/ | | [`flatbuffers`](flatbuffers/) | Flatbuffers | 2.0.0 | https://github.com/google/flatbuffers | diff --git a/Ports/file/package.sh b/Ports/file/package.sh new file mode 100755 index 0000000000..040755bb35 --- /dev/null +++ b/Ports/file/package.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port='file' +version='5.43' +useconfigure='true' +use_fresh_config_sub='true' +config_sub_paths=('config.sub') +files="http://ftp.astron.com/pub/file/file-${version}.tar.gz file-${version}.tar.gz 8c8015e91ae0e8d0321d94c78239892ef9dbc70c4ade0008c0e95894abfb1991" +auth_type='sha256'