macOS
brew install gengetoptlocal Homebrew formula metadata
sudo port install gengetoptMacPorts ports tree · devel/gengetopt/Portfile · ソース: api.github.com
brew
gengetopt のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install gengetoptlocal Homebrew formula metadata
sudo port install gengetoptMacPorts ports tree · devel/gengetopt/Portfile · ソース: api.github.com
sudo apk add gengetoptAlpine Linux edge package indexes · gengetopt · ソース: dl-cdn.alpinelinux.org
sudo apt install gengetoptDebian stable package indexes · gengetopt · ソース: deb.debian.org
sudo dnf install gengetoptFedora Rawhide package metadata · gengetopt · ソース: dl.fedoraproject.org
nix profile install nixpkgs#gengetoptnixpkgs package indexes · pkgs/by-name/ge/gengetopt/package.nix · ソース: api.github.com
sudo pacman -S gengetoptArch Linux sync databases · gengetopt · ソース: geo.mirror.pkgbuild.com
sudo zypper install gengetoptopenSUSE Tumbleweed package metadata · gengetopt · ソース: download.opensuse.org
概要
Generate C code to parse command-line arguments via getopt_long
履歴
GNU Gengetopt is a GNU programming tool that generates C command-line option parsers from declarative option descriptions. Its generated code uses getopt_long and fills a struct, saving C and C++ programmers from hand-writing the same option parsing, validation, help, and configuration-file plumbing.
The Savannah README says Gengetopt was originally written by Roberto Arturo Tena Sanchez and later maintained by Tomas Volf. The manual positions it as a tool for C and C++ programmers and documents .ggo input files, generated parsers, generated help output, configuration-file parsing, multiple parsers, and operation on systems without getopt_long.
Gengetopt's adoption came through the GNU toolchain ecosystem: GNU FTP hosted regular tarball releases from the early 2000s through the 2.23 release in 2019, and the tool appears in Unix package managers as a code generator for projects that want generated C parsers without taking on a larger framework.
Practitioners write a .ggo file describing short and long options, defaults, required values, groups, modes, and help text, then run gengetopt to produce C source and header files. Autoconf and Automake projects use it when generated parser code is preferable to a hand-maintained getopt_long loop.
Gengetopt is a classic small GNU build dependency: it is rarely the star of a system, but it sits in source-release and distribution workflows where reproducible generated C code is easier to audit and package than bespoke argument parsers.
セキュリティ状態
narrow executable package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
gengetopt | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://www.gnu.org/software/gengetopt/
インストールメタデータ
| パッケージキー | brew:gengetopt |
|---|---|
| バージョン | 2.23 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/gengetopt |
| ホームページ | https://www.gnu.org/software/gengetopt/ |
| 上流ドキュメント | https://www.gnu.org/software/gengetopt |
| ライセンス | GPL-3.0-or-later |
| ソースアーカイブ | https://ftpmirror.gnu.org/gnu/gengetopt/gengetopt-2.23.tar.xz |
| ビルド依存関係 | texinfo |
| Bottle | 利用可能 (対象 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gengetopt |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
gengetopt 2.23+dfsg1-1
skeleton main.c generator
https://www.gnu.org/software/gengetopt/
sudo apt install gengetoptgengetopt
nix profile install nixpkgs#gengetoptgengetopt 2.23+dfsg1-1
skeleton main.c generator
https://www.gnu.org/software/gengetopt/
sudo apt install gengetoptgengetopt 2.23-r2
Tool to write command line option parsing code for C programs
https://www.gnu.org/software/gengetopt/
sudo apk add gengetoptgengetopt-dev 2.23-r2
Tool to write command line option parsing code for C programs (development files)
https://www.gnu.org/software/gengetopt/
sudo apk add gengetopt-devgengetopt-doc 2.23-r2
Tool to write command line option parsing code for C programs (documentation)
https://www.gnu.org/software/gengetopt/
sudo apk add gengetopt-docgengetopt 2.23-17.fc44
Tool to write command line option parsing code for C programs
http://www.gnu.org/software/gengetopt/
sudo dnf install gengetoptgengetopt 2.23-4
A tool to write command line option parsing code for C programs
https://www.gnu.org/software/gengetopt/gengetopt.html
sudo pacman -S gengetoptgengetopt 2.23-1.24
Commandline parser generator
https://www.gnu.org/software/gengetopt/
sudo zypper install gengetoptgengetopt
sudo port install gengetoptソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.