Automic VaultAutomic Vault

brew

lndir を Homebrew, MacPorts, Nix, zypper, dnf でインストール

lndir のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install lndir

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install lndir

MacPorts ports tree · x11/lndir/Portfile · ソース: api.github.com

Linux

Nix確認済み · 92%
nix profile install nixpkgs#lndir

nixpkgs package indexes · pkgs/by-name/ln/lndir/package.nix · ソース: api.github.com

openSUSE zypper確認済み · 92%
sudo zypper install lndir

openSUSE Tumbleweed package metadata · lndir · ソース: download.opensuse.org

Fedora dnf確認済み · 92%
sudo dnf install imake

Fedora Rawhide package metadata · imake · ソース: dl.fedoraproject.org

概要

パッケージ概要

Create a shadow directory of symbolic links to another directory tree

コマンドとエイリアス

  • lndir

履歴

プロジェクトの歴史と使われ方

lndir is an X.Org utility that creates a shadow directory tree made of symbolic links to another source tree. It is a small build-support tool from the X11/X.Org world, historically useful when building the same source checkout for multiple machines or configurations.

プロジェクトの歴史

The official manual describes lndir as a program that makes a shadow copy of a directory tree, where files are symbolic links back to the original source tree. X.Org build documentation for X11R6.8 recommended this shadow-tree workflow to keep source directories unmodified and support builds for different operating systems or architectures.

In the modular X.Org tree, lndir lives under util/lndir. X.Org's module guidelines describe the util module as a home for modular-tree build tools and legacy build tools from the monolithic tree, with lndir listed alongside utilities such as imake, gccmakedep, and makedepend.

採用の歴史

lndir's adoption is mostly historical and specialist: it mattered to X11 and X.Org builders, distro maintainers, and developers who wanted out-of-tree builds before modern build systems made that workflow routine. Its standalone packaging in Homebrew and other systems preserves that utility without requiring the larger imake package.

The X.Org release directory shows lndir split out as an individual util tarball beginning in the modular release era, with releases from 1.0.1 in 2006 through 1.0.5 in 2024. The freedesktop cgit mirror shows the active upstream mirror and recent maintenance commits.

使われ方

A user creates an empty build directory and runs lndir against the source tree. The result is a parallel directory tree where source files are links and generated objects can live separately. Re-running lndir adds new links and checks existing ones, but deleted source files can leave stale symlinks that may need cleanlinks or a fresh shadow tree.

The tool has no project-level configuration or credentials. Its behavior is driven by command-line options such as -silent, -ignorelinks, and -withrevinfo.

パッケージ好きにとっての重要性

lndir is interesting precisely because it is small and archaic in a useful way. It is a fossil from the X11 build culture that still does one filesystem job cleanly, and package managers keep it available for scripts and users that remember the shadow-directory workflow.

For package nerds, lndir also illustrates the X.Org modularization story: pieces that once lived inside a monolithic source tree became tiny independently released tarballs with their own version streams.

タイムライン

  • X11R6 era: lndir is documented as part of X source-tree build workflows.
  • 2004: X11R6.8 documentation recommends lndir-based shadow build trees.
  • 2006: X.Org publishes lndir 1.0.1 as an individual util release.
  • 2024: X.Org publishes lndir 1.0.5.
  • 2025: freedesktop cgit mirror shows recent maintenance commits for options and manual-page edits.

Related projects

  • X.Org util modules such as imake, makedepend, gccmakedep, and util-macros belong to the same historical build-tool family.
  • cleanlinks is commonly mentioned with lndir because it removes stale symbolic links in shadow trees.
  • Modern out-of-tree build systems such as CMake and Meson solve related build-directory separation problems without symlink forests.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 10 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 2 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
lndircliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-25
マネージャ版1.0.5
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://gitlab.freedesktop.org/xorg/util/lndir

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:lndir
バージョン1.0.5
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/lndir
ホームページhttps://gitlab.freedesktop.org/xorg/util/lndir
リポジトリhttps://gitlab.freedesktop.org/xorg/util/lndir
上流ドキュメントhttps://gitlab.freedesktop.org/xorg/util/lndir
ライセンスMIT-open-group
ソースアーカイブhttps://www.x.org/releases/individual/util/lndir-1.0.5.tar.xz
ビルド依存関係pkgconf, xorgproto
Bottle利用可能 (対象 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelndir
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Nix95%

lndir

nix profile install nixpkgs#lndir
  • normalized package name match
  • 一致条件: Lndir
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ln/lndir/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
dnf95%

imake 1.0.10-6.fc44

imake source code configuration and build system

http://www.x.org

sudo dnf install imake
  • License: MIT-open-group AND HPND
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: imake
  • 5 依存関係
  • 12 提供
  • normalized package name match
  • 一致条件: Lndir
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: imake from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

lndir 1.0.5-1.6

Utility to create a shadow directory of symbolic links to another directory tree

https://xorg.freedesktop.org/

sudo zypper install lndir
  • License: MIT
  • Category: Development/Tools/Building
  • Architecture: x86_64
  • Source Package: lndir
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Lndir
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: lndir from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

lndir

sudo port install lndir
  • normalized package name match
  • 一致条件: Lndir
MacPorts ports tree · api.github.com · MacPorts ports tree: x11/lndir/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment