BSD Ports

devel/popt 1.19,2 FreeBSD

C library for parsing command line parameters

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
8d861e20a3
License
MIT
Categories
devel
Package size
42.8 KiB, 86.5 KiB installed

Description

This is the popt command line option parsing library. While it is similar to getopt(3), it contains a number of enhancements, including:

    1) popt is fully reentrant
    2) popt can parse arbitrary argv\[\] style arrays while
       getopt(2) makes this quite difficult
    3) popt allows users to alias command line arguments
    4) popt provides convenience functions for parsing strings
       into argv\[\] style arrays

In the other systems

SystemPortVersion
FreeBSDdevel/popt1.19,2
OpenBSDdevel/popt1.16p4
NetBSDdevel/popt1.19
DragonFlydevel/popt1.19_1
MidnightBSDdevel/popt1.19

Install

Binary package:

pkg install popt

From the ports tree:

cd /usr/ports/devel/popt/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	popt>0:devel/popt
LIB_DEPENDS=	libpopt.so:devel/popt

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.19,21.19,21.191.19_11.19,2
FreeBSD:14:quarterly1.19,21.19,2n/a1.19_11.19,2
FreeBSD:15:latest1.19,21.19,2n/a1.19_11.19_1
FreeBSD:15:quarterly1.19,21.19,2n/an/an/a
FreeBSD:16:latest1.19,21.19,2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 15
Required by 221

The first 100 are listed.

Configuration

Options name: devel_popt

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
cmake:testing cpe iconv
Service scripts
none

Files

Manual pages 1
  • popt(3)
pkg-plist 13
  • include/popt.h
  • lib/cmake/popt/poptConfig.cmake
  • lib/cmake/popt/poptConfigVersion.cmake
  • lib/cmake/popt/poptTargets-.cmake
  • lib/cmake/popt/poptTargets.cmake
  • lib/libpopt.so
  • lib/libpopt.so.0
  • lib/libpopt.so.
  • libdata/pkgconfig/popt.pc
  • share/doc/popt/COPYING
  • share/doc/popt/CREDITS
  • share/doc/popt/README
  • share/man/man3/popt.3.gz
distinfo 1
FileSizeSHA256
rpm-software-management-popt-1.19-14c42b4_GH0.tar.gz13401026b41ba003ed8a755b87bc912109d62eb9b593b38a07d56b458010cc53fca7ca

Commit history 6

DateCommitCreditsLog message
8d861e20a3 Po-Chuan Hsieh devel/popt: Bump PORTEPOCH and reset PORTREVISION
b856e1e6aa Po-Chuan Hsieh devel/popt: Update to newer snapshot (14c42b4)
- Update COMMENT - Use complete arguments/options - Adjust options: - Add DOCS - Remove NLS - Bump PORTREVISION for package change PR: 298326 Reported by: diizzy Security: CVE-2026-18743, CVE-2026-18739
396aadfda9 Po-Chuan Hsieh devel/popt: Revert 456bba5654ded8fc8b077236d12e105a1560cb53
PR: 298326
456bba5654 Daniel Engberg devel/popt: Update to latest commit upstream
Bug fixes and also fixes for following CVEs: CVE-2026-18743, CVE-2026-18739 Changelog: https://github.com/rpm-software-management/popt/compare/popt-1.19-release...14c42b4 PR: 298326 Approved by: maintainer timeout, 2+ weeks Security: CVE-2026-18743 CVE-2026-18739
9b6004f57a Daniel Engberg devel/popt: Revert update to latest commit
This wasn't supposed to go in yet due to still waiting on timeout PR: 298326 Pointy hat to: myself

The latest 5 of 6 in the history this site was built from.