# 使用 Homebrew, MacPorts 安装 tnftpd

查看 tnftpd 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:tnftpd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tnftpd
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install tnftpd
```

  证据: MacPorts ports tree: net/tnftpd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:tnftpd
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tnftpd>
- **版本:** 20231001
- **来源摘要:** NetBSD's FTP server
- **主页:** <https://cdn.netbsd.org/pub/NetBSD/misc/tnftp/>
- **上游文档:** <https://cdn.netbsd.org/pub/NetBSD/misc/tnftp/>
- **许可证:** BSD-2-Clause AND BSD-3-Clause AND ISC
- **源码归档:** <https://cdn.netbsd.org/pub/NetBSD/misc/tnftp/tnftpd-20231001.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## macOS 提供的库

- libxcrypt

## 安装行为

- post-install 钩子: 未定义
- 注意事项: You may need super-user privileges to run this program properly. See the man page for more details.
- Bottle: 可用 于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 20231001
- 本地数据: OK
- 上游仓库: https://cdn.netbsd.org/pub/NetBSD/misc/tnftp/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

tnftpd is the portable packaging of NetBSD's FTP server. It packages the NetBSD `ftpd` userland daemon for non-NetBSD systems, carrying both Berkeley ftpd heritage and NetBSD configuration features.

### 项目历史

The NetBSD ftpd manual page shows Berkeley Regents ancestry from 1985, 1988, 1991, and 1993, plus NetBSD Foundation work beginning in 1997 contributed by Luke Mewburn. The current NetBSD source tree continues to host the server under `libexec/ftpd`, and its version header identifies a `NetBSD-ftpd 20230930` version.

The portable archive history mirrors tnftp but is smaller. NetBSD's directory message says tnftpd is a port of the enhanced NetBSD ftp server to other systems and notes that `lukemftpd` was renamed to `tnftpd`. Archived releases begin with `lukemftpd-1.0` in 2001, move through `tnftpd-2.0` beta tarballs in 2002 and 2003, and continue as date-stamped tnftpd tarballs through 2023.

### 采用历史

tnftpd has a narrower adoption footprint than tnftp because running FTP servers is a more specialized task than fetching files. The supplied package facts list Homebrew and MacPorts, which fits the niche: developers and administrators may install it when they specifically want NetBSD's ftpd behavior on a non-NetBSD Unix-like system.

Its documentation emphasizes traditional FTP server operations: daemon or inetd startup, anonymous login chroots, syslog/xferlog logging, virtual FTP server configuration, access checks through `ftpusers`, and class-based behavior through `ftpd.conf`.

### 使用方式

Administrators use tnftpd as an FTP server process, either run under inetd or as a daemon. The man page documents options for IPv4/IPv6 binding, anonymous directory selection, alternate configuration roots, advertised hostnames, transfer logs, session logging, privilege dropping, and version banners.

The companion `ftpd.conf` manual documents `/etc/ftpd.conf` as the post-authentication configuration file, with class-based directives for guest, chrooted, and real users. The server also consults files such as `/etc/ftpusers`, `/etc/ftpchroot`, `/etc/ftpwelcome`, and `/etc/motd`.

### 为什么软件包爱好者会关心

For package nerds, tnftpd is a portable slice of BSD base-system networking. It is significant because it exposes a well-documented NetBSD server implementation as an installable package for systems that do not ship that exact daemon.

Its smaller package footprint also reflects protocol history: FTP service is less commonly deployed now, but a maintained BSD ftpd remains useful for compatibility labs, legacy environments, and people comparing base-system daemons across Unix lineages.

### 时间线

- 1985-1994: Berkeley ftpd ancestry appears in the NetBSD manual page copyrights and SCCS marker.
- 1997: NetBSD Foundation ftpd work begins in the manual page copyright range.
- 2001: `lukemftpd-1.0.tar.gz` appears in the NetBSD archive.
- 2002-2003: `tnftpd-2.0` beta tarballs appear after the rename from lukemftpd to tnftpd.
- 2019-2020: NetBSD archive publishes date-stamped tnftpd tarballs.
- 2023: NetBSD source identifies `FTPD_VERSION` as `NetBSD-ftpd 20230930`, and the archive contains `tnftpd-20231001.tar.gz`.

### Related projects

- Related to NetBSD's base-system `ftpd` server in `libexec/ftpd`.
- Closely paired in the portable archive with tnftp, the corresponding NetBSD FTP client port.

### 来源

- <https://cdn.netbsd.org/pub/NetBSD/misc/tnftp/>
- <https://cdn.netbsd.org/pub/NetBSD/misc/tnftp/.message>
- <https://cdn.netbsd.org/pub/NetBSD/misc/tnftp/archive/>
- <https://github.com/NetBSD/src/tree/trunk/libexec/ftpd>
- <https://man.netbsd.org/ftpd.8>
- <https://man.netbsd.org/ftpd.conf.5>
- <https://raw.githubusercontent.com/NetBSD/src/trunk/libexec/ftpd/version.h>
- input source_facts.package-manager


## 安全说明

没有找到 tnftpd 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/ftpd.conf, /etc/ftpchroot, /etc/ftpusers, /etc/ftpwelcome, /etc/motd
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tnftpd
- **Aliases:** lukemftpd
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- MacPorts - tnftpd: normalized package name match | MacPorts ports tree: net/tnftpd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [tnftp](https://pkg.so/zh-hans/brew/tnftp/) - Shares the same upstream homepage.
- [vsftpd](https://pkg.so/zh-hans/brew/vsftpd/) - Shares pkgdb curated category or tags: cli, ftp, networking, server.
- [proftpd](https://pkg.so/zh-hans/brew/proftpd/) - Shares pkgdb curated category or tags: cli, ftp, networking, server.
- [openldap](https://pkg.so/zh-hans/brew/openldap/) - Shares pkgdb curated category or tags: cli, networking, server.
- [wget](https://pkg.so/zh-hans/brew/wget/) - Shares pkgdb curated category or tags: cli, ftp, networking.
- [aria2](https://pkg.so/zh-hans/brew/aria2/) - Shares pkgdb curated category or tags: cli, ftp, networking.
- [httpd](https://pkg.so/zh-hans/brew/httpd/) - Shares pkgdb curated category or tags: cli, networking, server.
- [rabbitmq](https://pkg.so/zh-hans/brew/rabbitmq/) - Shares pkgdb curated category or tags: cli, networking, server.

## Combined YAML source

View the package source record on GitHub. [combined/tnftpd.yml](https://github.com/mxcl/pkgdb/blob/main/combined/tnftpd.yml)


## 来源

- pkg.so package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
