pkg.sopackage field notes

brew / 排名 92

使用 Homebrew 安装 libevent

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libevent

provider-native install command

概览

软件包摘要

Asynchronous event library

命令和别名

  • event_rpcgen.py

历史

项目历史与用法

libevent is a portable C event-notification library for scalable network servers and event-driven programs.

项目历史

The libevent site describes the library as a replacement for hand-written event loops in network servers: programs register callbacks for file-descriptor readiness, timers, signals, and higher-level buffered I/O rather than hard-coding select or poll loops. The site credits maintenance to Nick Mathewson, Azat Khuzhin, and Niels Provos.

The project grew around the C10K-era problem of serving many simultaneous connections portably across backends such as select, poll, epoll, kqueue, /dev/poll, Solaris event ports, and Windows APIs. Over time it added buffered network I/O, DNS, HTTP, RPC, SSL-capable bufferevents, thread hooks, and extensive portability code.

采用历史

The official site lists widely used downstreams including Chromium, memcached, Transmission, NTP's SNTP code, tmux, Tor, Prosody, PgBouncer, and coturn. That breadth made libevent one of the standard C event-loop dependencies in Unix package collections.

使用方式

Typical applications create an event_base, register events or bufferevents, and run event_base_dispatch. The official documentation covers setup, event bases, timers, buffered I/O, asynchronous DNS, embedded HTTP servers, and RPC support.

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

libevent is package-nerd-famous because it abstracts the messy portability matrix behind scalable C networking. It is old enough to show up in classic daemons and new enough to have ABI/API reports, split libraries, CMake and autotools history, and long-lived 1.4, 2.0, and 2.1 release lines.

时间线

  • 2009: Niels Provos announced libevent 1.4.12-stable and libevent 2.0.2-alpha on July 29, 2009.
  • 2010: The libevent site lists libevent-1.4.14b-stable released June 7, 2010.
  • 2012: The libevent site lists the first 2.1.x alpha release on April 3, 2012 and libevent-2.0.21-stable released November 18, 2012.
  • 2014: The libevent site lists libevent-2.0.22-stable released January 5, 2014.
  • 2017: The libevent site lists libevent-2.1.8-stable released January 22, 2017.
  • 2020: The libevent site lists libevent-2.1.12-stable released July 5, 2020.
  • 2023: The libevent site lists libevent-2.2.1-alpha-dev released May 21, 2023.

Related projects

  • Related event-loop and networking projects include libev, libuv, Boost.Asio, and downstream users such as Tor, memcached, tmux, Transmission, Chromium, PgBouncer, and coturn.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

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

安装元数据

软件包元数据

软件包键brew:libevent
版本2.1.13
软件包管理器Homebrew
主页https://libevent.org/
仓库https://github.com/libevent/libevent
Bottle未记录
服务未声明

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation