notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details on branch 2024Q2
shfmt Shell script formatter
3.8.0_4 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 3.8.0_4Version of this port present on the latest quarterly branch.
Maintainer: adamw@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-04-15 08:39:30
Last Update: 2024-06-15 09:57:50
Commit Hash: aa2919f
License: BSD3CLAUSE
WWW:
https://github.com/mvdan/sh
Description:
shfmt formats shell programs. It can use tabs or any number of spaces to indent. You can feed it standard input, any number of files or any number of directories to recurse into. When recursing, it will operate on .sh and .bash files and ignore files starting with a period. It will also operate on files with no extension and a shell shebang. If any EditorConfig files are found, they will be used to apply formatting options.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (5 items)
Collapse this list.
  1. bin/shfmt
  2. share/man/man1/shfmt.1.gz
  3. /usr/local/share/licenses/shfmt-3.8.0_4/catalog.mk
  4. /usr/local/share/licenses/shfmt-3.8.0_4/LICENSE
  5. /usr/local/share/licenses/shfmt-3.8.0_4/BSD3CLAUSE
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • shfmt>0:devel/shfmt
To install the port:
cd /usr/ports/devel/shfmt/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/shfmt
  • pkg install shfmt
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: shfmt
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1707663871 SHA256 (go/devel_shfmt/shfmt-v3.8.0/v3.8.0.mod) = d38d83dddff58bdcaa813cf7561167f8b4233d28104d6c51499686a801d9fd1b SIZE (go/devel_shfmt/shfmt-v3.8.0/v3.8.0.mod) = 554

Expand this list (2 items)

Collapse this list.

SHA256 (go/devel_shfmt/shfmt-v3.8.0/v3.8.0.zip) = 85ff7518d6cc61dd416cc2120ae244b2f46490130aac50c30eb69d8ff9272042 SIZE (go/devel_shfmt/shfmt-v3.8.0/v3.8.0.zip) = 250353

Collapse this list.


No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. scdoc : textproc/scdoc
  2. go121 : lang/go121
Fetch dependencies:
  1. go121 : lang/go121
  2. ca_root_nss>0 : security/ca_root_nss
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_shfmt
USES:
go:modules zip
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://proxy.golang.org/mvdan.cc/sh/v3/@v/
Collapse this list.

Number of commits found: 3

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.8.0_4
15 Jun 2024 09:57:50
commit hash: aa2919fafeb561c987ff7957a14f3bdbd4b62399commit hash: aa2919fafeb561c987ff7957a14f3bdbd4b62399commit hash: aa2919fafeb561c987ff7957a14f3bdbd4b62399commit hash: aa2919fafeb561c987ff7957a14f3bdbd4b62399 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump after lang/go121 update

MFH:		2024Q2
(cherry picked from commit 746fa696a12ef1ca798e36baf087f579375b8cd1)
3.8.0_3
13 May 2024 18:28:41
commit hash: 8db69aebd121759c5b407c78e9e82a26b229efb9commit hash: 8db69aebd121759c5b407c78e9e82a26b229efb9commit hash: 8db69aebd121759c5b407c78e9e82a26b229efb9commit hash: 8db69aebd121759c5b407c78e9e82a26b229efb9 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump after lang/go121 update

MFH:		2024Q2
(cherry picked from commit fce0cc32720e61042bc675152b116f9e61532e92)
3.8.0_2
15 Apr 2024 08:31:41
commit hash: 0bbb270314a986cf7200e39bb7c49823b7147b75commit hash: 0bbb270314a986cf7200e39bb7c49823b7147b75commit hash: 0bbb270314a986cf7200e39bb7c49823b7147b75commit hash: 0bbb270314a986cf7200e39bb7c49823b7147b75 files touched by this commit
Ashish SHUKLA (ashish) search for other commits by this committer
all: Bump after lang/go121 update

MFH:		2024Q2
(cherry picked from commit 32b284679a1954ef1e0c0d52c4741d00e36dc6e0)

Number of commits found: 3