pkg.soopen package index

brew / 排名 14487

使用 Homebrew, apt, MacPorts 安装 tmpreaper

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tmpreaper

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install tmpreaper

MacPorts ports tree · sysutils/tmpreaper/Portfile · 来源: api.github.com

Linux

Debian apt已验证 · 92%
sudo apt install tmpreaper

Debian stable package indexes · tmpreaper · 来源: deb.debian.org

概览

软件包摘要

Clean up files in directories based on their age

命令和别名

  • tmpreaper

历史

项目历史与用法

tmpreaper is a long-lived Debian system-maintenance utility for removing old files from temporary directories based on access, modification, or change time.

项目历史

The Debian manpage describes tmpreaper as a tool that recursively removes files and empty directories that have not been accessed for a specified period, especially in temporary holding areas such as /tmp. It emphasizes security behavior: avoiding symlink traversal, avoiding chdir(".."), not switching file systems, and stopping after a default runtime limit to reduce race-condition exposure.

The manpage names Karl M. Hegbloom as author, says tmpreaper is mostly based on tmpwatch 1.2/1.4 by Erik Troan, and lists Paul Slootman as the Debian maintainer. The Debian changelog shows active maintenance going back to the late 1990s and continuing through the 2025 1.6.18 release.

采用历史

tmpreaper is historically rooted in Debian administration rather than in a GitHub-first CLI culture. Debian's package page places it in the admin section and documents the daily run configured through /etc/tmpreaper.conf.

The supplied source facts show availability through Homebrew, Debian, Ubuntu, and MacPorts. That spread reflects its appeal to users who want an established temp-file cleanup tool on both Linux distributions and macOS package ecosystems.

使用方式

System administrators use tmpreaper to clean directories such as /tmp with explicit age thresholds and protect patterns. The manpage documents dry-run behavior, verbose output, shell-command-style reporting of deletions, ctime and mtime modes, symlink handling, runtime limits, and protect patterns.

For package-focused users, tmpreaper is the classic installable answer to a recurring housekeeping problem: clean old temporary files without writing an ad hoc find command for every host, while retaining options shaped by multi-user Unix security concerns.

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

tmpreaper is significant because it embodies the older Debian package model: a small C utility, a manpage, a conffile, cron integration, and decades of changelog-driven maintenance. It is not trendy, but it is exactly the kind of durable system utility package nerds notice.

Its history is also a reminder that temp cleanup is security-sensitive. The changelog records fixes for directory traversal, bind-mount/race-condition issues, systemd PrivateTmp protection, default ignore patterns, and reproducible-build concerns.

时间线

  • 1998: Debian changelog entries show tmpreaper 1.4.x maintained by Karl M. Hegbloom.
  • 2001: Version 1.5.0 added autoconf support and portability work for Solaris and NetBSD.
  • 2002: Version 1.6.0 added ctime handling for Samba-share scenarios.
  • 2003: Version 1.6.1 made cron execution opt-in through /etc/tmpreaper.conf and added runtime limiting.
  • 2019: Version 1.6.14 fixed CVE-2019-3461-related bind-mount race-condition behavior.
  • 2025: Version 1.6.18 was accepted into Debian unstable and migrated to testing.

Related projects

  • tmpwatch is the older cleanup utility named by the tmpreaper manpage as the basis for tmpreaper.
  • Debian cron and /etc/tmpreaper.conf are the package integration points documented by Debian.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Linux
/etc/tmpreaper.conf

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tmpreaper可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.6.18
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:tmpreaper
版本1.6.18
软件包管理器Homebrew
主页https://packages.debian.org/sid/tmpreaper
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

tmpreaper 1.6.18

cleans up files in directories based on their age

sudo apt install tmpreaper
  • Section: admin
  • Architecture: amd64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Tmpreaper
Debian stable package indexes · deb.debian.org · Debian stable package indexes: tmpreaper from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

tmpreaper 1.6.17+nmu1build1

cleans up files in directories based on their age

sudo apt install tmpreaper
  • Section: universe/admin
  • Architecture: amd64
  • 4 依赖
  • normalized package name match
  • 匹配方式:Tmpreaper
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: tmpreaper from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts95%

tmpreaper

sudo port install tmpreaper
  • normalized package name match
  • 匹配方式:Tmpreaper
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/tmpreaper/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation