Bug 53174

Summary: [NEW PORT] misc/getopt: A getopt(1) replacement that supports GNU-style long options
Product: Ports & Packages Reporter: Sergei Kolobov <sergei>
Component: Individual Port(s)Assignee: Sergey A. Osokin <osa>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
getopt.shar none

Description Sergei Kolobov 2003-06-11 01:10:09 UTC
Rewrite of getopt(1) with the following features:

* It can do anything that the GNU getopt(3) routines can do.
* It can cope with spaces and shell metacharacters within arguments.
* It can parse long parameters.
* It can shuffle parameters, so you can mix options and other parameters
  on the command-line.
* It can be easily identified as an enhanced getopt(1) from within shell
  scripts.
* It can report parse errors as coming from the shell script.
* It compiles cleanly with both libc-5 and glibc-2.

Author:	Frodo Looijaard <frodol@dds.nl>
WWW:	http://huizen.dds.nl/~frodol/getopt.html

This port is required for upcoming textproc/xmlto port (to be submitted separately)
which is, in turn, required for an update to devel/makeplus port.

Tested (compiles and run) on 4.8-STABLE and 5.1-CURRENT (i386).
Comment 1 Sergey A. Osokin freebsd_committer freebsd_triage 2003-06-14 00:50:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->osa

I'll handle this.
Comment 2 Sergey A. Osokin freebsd_committer freebsd_triage 2003-06-14 01:06:08 UTC
State Changed
From-To: open->closed

Committed, thanks!