devel/popt 1.19 NetBSD
Command line option parsing library
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel
- Package size
- 60.2 KiB, 249.0 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
popt is used by rpm, the Red Hat install program, and many other Red Hat utilities, all of which provide excellent examples of how to use popt. Complete documentation on popt is available in popt.ps (included in this tarball), which is excerpted with permission from the book "Linux Application Development" by Michael K. Johnson and Erik Troan (available from Addison Wesley in May, 1998).
Comments on popt should be addressed to [email protected].
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/popt | 1.19 |
| FreeBSD | devel/popt | 1.19,2 |
| OpenBSD | devel/popt | 1.16p4 |
| DragonFly | devel/popt | 1.19_1 |
| MidnightBSD | devel/popt | 1.19 |
| HardenedBSD | devel/popt | 1.19,2 |
| GhostBSD | devel/popt | 1.19_2,1 |
| OPNsense | devel/popt | 1.19_1 |
Install
Binary package:
pkgin install popt
From pkgsrc:
cd /usr/pkgsrc/devel/popt && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.19 |
| NetBSD 10.1 aarch64 | 1.19 |
| SmartOS / illumos x86_64 | 1.19 |
| macOS 15 arm64 | 1.19 |
Dependencies
Required by 63
- audio/flac123
- audio/shairport-sync
- benchmarks/dbench
- comms/pilot-link
- databases/ldapvi
- devel/coconut
- devel/distcc
- devel/distcc-pump
- devel/distccmon-gtk
- devel/dumpet
- devel/py-newt
- devel/vanessa_socket
- emulators/gpsim
- emulators/gpsim-devel
- fonts/chkfontpath
- graphics/exif
- graphics/gphoto2
- graphics/zphoto
- lang/sablevm
- mail/perdition
- mail/perdition-bdb
- mail/perdition-gdbm
- mail/perdition-ldap
- mail/perdition-mysql
- mail/perdition-odbc
- mail/perdition-postgresql
- misc/libcdio
- misc/rpm
- misc/sd-mux-ctrl
- multimedia/libassetml
- multimedia/libdv
- multimedia/libdv-tools
- net/echoping
- net/etherape
- net/librsync
- net/rabbitmq-c
- net/rsync
- net/samba
- net/samba4
- sysutils/burp
- sysutils/logrotate
- sysutils/openipmi
- sysutils/vcdimager
- textproc/ots
- wip/burp
- wip/efibootmgr
- wip/gdm2
- wip/gmrun
- wip/gptfdisk
- wip/gtkmathview
- wip/jabberd14
- wip/jc
- wip/logrotate-git
- wip/ltsmin
- wip/miktex
- wip/newt
- wip/nget
- wip/ots
- wip/rpm5
- wip/shairport-sync
- wip/swami
- wm/e16menuedit2
- x11/devilspie