Committed revision 19172.
I modified so that calling it like
make-sminmpec.pl -gen
is like calling it
make-sminmpec.pl -gen \
http://www.iana.org/assignments/enterprise-numbers \
sminmpec.c
Luis
On 9/7/06, Andrew Feren <[EMAIL PROTECTED]> wrote:
> This adds some features to update enterprise-numbers from the web. After I
> submitted a large update for epan/enterprise-numbers yesterday I got to
> thinking that there ought to be a way to automate keeping the file up to
> date.
>
> As used in the Makefile currently
> make-sminmpec.pl <infile> <outfile.c>
>
> works exactly the same. Additionally <infile> can be a URL to an infile in
> the expected format.
>
> example :
> make-sminmpec.pl http://www.iana.org/assignments/enterprise-numbers
> sminmpec.c
>
> Using the new "-gen" switch will create a new <infile>
>
> example:
> make-sminmpec.pl -gen \
> http://www.iana.org/assignments/enterprise-numbers \
> enterprise-numbers
>
> if you use a local file for infile the -gen switch is the moral equivalent of
> just copying the file. (maybe -cp would be a better switch name)
>
> I didn't update any Makefiles since I think in general people don't need/want
> to update off the web for every build. Perhaps using this to update
> enterprise-numbers could be run with make-manuf. (Is manuf run
> periodically? If so when? Just curious.)
>
> -Andrew
>
> -Andrew Feren
> [EMAIL PROTECTED]
>
> _______________________________________________
> Wireshark-dev mailing list
> [email protected]
> http://www.wireshark.org/mailman/listinfo/wireshark-dev
>
>
>
>
--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev