aboutsummaryrefslogtreecommitdiffstats
path: root/tools/make-sminmpec.pl
AgeCommit message (Collapse)AuthorFilesLines
2022-06-28tools: Port make-sminmpec.pl to make-sminmpec.pyMoshe Kaplan1-94/+0
Port make-sminmpec.pl to Python. Now uses an explicit destination path, instead of a hardcoded path relative to the script's location on disk. Ping #18152
2021-11-02Tools: Fetch IANA data over HTTPS.Gerald Combs1-4/+4
2018-03-07spdx: more licenses converted.Dario Lombardo1-13/+1
Change-Id: I3861061ec261e63b23621799e020e811ed78a343 Reviewed-on: https://code.wireshark.org/review/26333 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-18Extend enterprises.tsv to accept spaces as separatorsJoão Valverde1-0/+3
We can do so easily because the format is so simple. This makes it more convenient for a user to hand-edit a dictionary in the personal config folder. We still use tabs in the system file for a small space gain. Also add a brief description of the format as a comment. Change-Id: If3f741bff16f1f42c8ef07d643dc6463caaad1a5 Reviewed-on: https://code.wireshark.org/review/22678 Reviewed-by: Guy Harris <guy@alum.mit.edu> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-07-15Rename enterprises to enterprises.tsv and ship it.Gerald Combs1-1/+1
Rename "enterprises" to "enterprises.tsv" so that its format is a bit more obvious and so that double-clicking the file might do something useful. Add it to the Windows packages. Change-Id: I5ef54a04ce1b4926aa4535e756e04b3e2a56d463 Reviewed-on: https://code.wireshark.org/review/22616 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-06-26Parse enterprise-numbers at run timeJoão Valverde1-77/+27
"enterprise-numbers" is converted to tab-separated values and renamed "enterprises". Unused fields are stripped. PENs are stored in a hash table loaded at run-time. User "enterprises" file is loaded from the personal config dir. Misc make-sminmpec.pl improvements and fixes. Note: names of type "Entity (formerly ...)" have the formerly part commented out for a cleaner output. Change-Id: I60c533afbe3e399077fbf432088064471ad3e1e2 Reviewed-on: https://code.wireshark.org/review/22246 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: João Valverde <j@v6e.pt>
2014-05-09Be less aggressive about rebuilding sminmpec.c.Gerald Combs1-10/+8
Instead of forcing developers to generate sminmpec.c (which will have different results depending on the presence or absence of a working Internet connection) add sminmpec.c back to the repository. I'll add it to the weekly update-numbers script so that it will be updated at the same time as manuf, services, enterprise-numbers, and usb.c. Change the Autotools, CMake, and Nmake sminmpec.c target name to "update-sminmpec". Remove the mtime check from make-sminmpec.pl. Update enterprise-numbers and sminmpec.c while we're here. Tested with an in-tree Autotools build and an out-of-tree CMake build. Change-Id: Iecc332ce2731e3e98ab0205a56c78807e599a026 Reviewed-on: https://code.wireshark.org/review/1516 Reviewed-by: Evan Huus <eapache@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2014-04-30make-sminmpec.pl fixups.Gerald Combs1-5/+18
Enforce a minimum number of entries and do our work in the epan directory. Change-Id: I69cc6ae3255b23706a2e67db890a9718e10568b2 Reviewed-on: https://code.wireshark.org/review/1398 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2014-02-14Remove $Id$ and other Subversion leftovers from the tools.Jeff Morriss1-8/+1
There are a few things in here which could still use attention. Don't regenerate anything now. Change-Id: I283c224d3523212144707fca3d6265916cb11792 Reviewed-on: https://code.wireshark.org/review/205 Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
2014-01-10Update the enterprise-numbers URL.Gerald Combs1-1/+1
svn path=/trunk/; revision=54694
2012-09-19We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=44997
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-05-09Send a useful User-Agent header.Gerald Combs1-0/+4
svn path=/trunk/; revision=42522
2011-09-02Enable proxies in make-manuf and make-sminmpec.pl as well.Gerald Combs1-0/+1
svn path=/trunk/; revision=38864
2010-09-28The array sminmpec_values should not be declated static since it is Ronnie Sahlberg1-1/+1
referenced from several dissectors svn path=/trunk/; revision=34269
2010-09-23Generate the value_string array sminmpec_values[] with "gaps"Bill Meier1-0/+17
filled in (using name "(Unknown)" so that direct (indexed) access to the value_string is possible. Note that this represents a slight API change in that match_strval() on sminmpec_values will no longer return NULL for missing enterprise numbers (less than the maximum in the array) but will return the string "(Unknown)". AFAIKT this change does not materially affect existing Wireshark use of the sminmpec value_string array. svn path=/trunk/; revision=34218
2010-09-17Use val_to_str_ext() & friends to access sminmpec_values[];Bill Meier1-1/+5
Also: packet-nhrp.c: #include sminmpec.h not req'd; svn path=/trunk/; revision=34143
2010-02-24Point to the correct perl script in the autogenerated file + correct tabsKovarththanan Rajaratnam1-10/+10
svn path=/trunk/; revision=31984
2009-10-11Align value_string array properlyKovarththanan Rajaratnam1-5/+3
svn path=/trunk/; revision=30513
2009-10-11Move make-sminmpec.pl to tools directoryKovarththanan Rajaratnam1-0/+127
svn path=/trunk/; revision=30511