Cloning getopt (and getopt_long) into popt?

2008-12-19 Thread Jeff Johnson
popt competes for mind share with getopt, and particularly with GNU getopt_long, the Debian added borkedness (jmnsho). Should I add a getopt(3)/getopt_long(3) wrapper onto popt to lower the barrier to converting from getopt_long(3)? I personally don't care a bit because I use popt instead of get

Re: Adding poptSecuritySaneFile to popt-1.15?

2008-12-19 Thread Jeff Johnson
On Dec 19, 2008, at 11:13 AM, Jeff Johnson wrote: Any other opinions? As long as the particular security check (here rpmSecuritySaneFile for RPM_VENDOR_OPENPKG) embedded into POPT can be optionally still overridden from within RPM (in case one needs some additional checks or a different er

Re: Adding poptSecuritySaneFile to popt-1.15?

2008-12-19 Thread Jeff Johnson
On Dec 19, 2008, at 11:11 AM, Ralf S. Engelschall wrote: On Fri, Dec 19, 2008, Ralf S. Engelschall wrote: On Fri, Dec 19, 2008, Jeff Johnson wrote: (resent, dunno where the 1st message went) I don't know, never seen on the list... I kind of like the idea of using a '@' before a file pat

Re: Adding poptSecuritySaneFile to popt-1.15?

2008-12-19 Thread Jeff Johnson
On Dec 19, 2008, at 11:04 AM, Ralf S. Engelschall wrote: On Fri, Dec 19, 2008, Jeff Johnson wrote: (resent, dunno where the 1st message went) I don't know, never seen on the list... I kind of like the idea of using a '@' before a file path as an "attention" marker to increase the file val

Re: Fwd: Adding poptSecuritySaneFile to popt-1.15?

2008-12-19 Thread Ralf S. Engelschall
On Fri, Dec 19, 2008, Ralf S. Engelschall wrote: > On Fri, Dec 19, 2008, Jeff Johnson wrote: > > > (resent, dunno where the 1st message went) > > I don't know, never seen on the list... > > > I kind of like the idea of using a '@' before a file path as an > > "attention" marker to increase the fil

Re: Fwd: Adding poptSecuritySaneFile to popt-1.15?

2008-12-19 Thread Ralf S. Engelschall
On Fri, Dec 19, 2008, Jeff Johnson wrote: > (resent, dunno where the 1st message went) I don't know, never seen on the list... > I kind of like the idea of using a '@' before a file path as an > "attention" marker to increase the file validation checks, and so I'm > likely to refactor the functi

Fwd: Adding poptSecuritySaneFile to popt-1.15?

2008-12-19 Thread Jeff Johnson
(resent, dunno where the 1st message went) I kind of like the idea of using a '@' before a file path as an "attention" marker to increase the file validation checks, and so I'm likely to refactor the functionality out of rpm and into popt-1.15 as part of simplifying rpm configuration/initializati