./devel/popt, Command line option parsing library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.19, Package name: popt-1.19, Maintainer: pkgsrc-users

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 ewt@redhat.com.


Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 582.691 KB

Version history: (Expand)


CVS history: (Expand)


   2022-09-26 19:40:19 by Thomas Klausner | Files touched by this commit (5) | Package updated
Log message:
popt: update to 1.19.

Changes from popt 1.18

    Clarify license: we are not the X Consortium, use straight MIT license text
    Fix build without glob_pattern_p()
    Fix missing libiconv dependency for static linkage in popt.pc
    Fix segfault regression when NLS is enabled but libintl.h cannot be found (#32 )
    Fix the handling of superfluous args passed with =
    Fix iconv resource leak on errors
    Fix POPT_CONTEXT_KEEP_FIRST handling in poptResetContext()
    Fix '=' getting shown for short options
    Fix memory corruption issues with poptStuffArgs()
    Fix handling of large files in poptReadFile() on 32bit systems
    Fix build without wchar / mbstate_t
    Fix potential memory leak in poptReadConfigFile()
    Fix "Usage" string calculated length
    Fix memory leak regressions in popt 1.18
    Add --enable-werror configure option
    Add CREDITS file
    Improve random number handling
    Various code cleanups, const and type hygiene improvements
    Adjust test-suite expectations for libtool changes
    Various translation updates
    Various documentation improvements
    Various test-suite improvements
    Appease autoconf 2.70
    Update gettext to 1.98.8
    Run CI on fixed Fedora version (36 for now), use stricter compiler settings
    Drop unmaintained CHANGES file from tarballs
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-08-15 03:02:43 by Tobias Nygren | Files touched by this commit (9) | Package updated
Log message:
popt: update to 1.18

Replace HOMEPAGE and MASTER_SITE, the old rpm5.org site seems dead & broken

Changes from popt 1.16
  fix an ugly and ancient security issue with popt failing to
    drop privileges on alias exec from a SUID/SGID program
  perform rudimentary sanity checks when reading in popt config files
  collect accumulated misc fixes (memleaks etc) from distros
  convert translations to utf-8 encoding
  convert old postscript documentation to pdf
  dust off ten years worth of autotools sediment
  reorganize and clean up the source tree for clarity
  remove the obnoxious splint annotations from the sources
   2019-11-03 11:39:32 by Roland Illig | Files touched by this commit (274)
Log message:
devel: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
   2019-05-06 01:16:06 by Robert Swindells | Files touched by this commit (3)
Log message:
Fix compat symbol link warning.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-10-09 16:07:17 by Thomas Klausner | Files touched by this commit (1163)
Log message:
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.