Adapt for use with Apache 2.4.x
From the ChangeLog:
1.3.3 (2014-03-27)
Bugfixes:
* [113] Collect SSID in macsuck - fixed for unknown SSID (Jiri)
* [] Proper fallback from SNMPv3 to SNMPv2 when discovering
* [99] Node update should only search within the VLAN
* [] Skip HSRP addresses during arpnip
1.3.2 (2013-08-29)
Bugfixes:
* [113] Collect SSID in macsuck (Jiri)
1.3.1 (2013-07-08)
Bugfixes:
* [] Include 'topology' table when DB is (re)created
* [] Updates to 'node' and 'node_wireless' table definitions
1.3 (2013-05-20)
Bugfixes:
* [] Undefined MAC would make is_mac() die (N. Giefing)
* [] Apply quotemeta to avoid Inventory explosion (T. Gerlach)
* [94] Netdisco -O does not import oui.txt due to spaces in oui.txt
1.2 (2013-04-13)
Features:
* [3598045] Collect VLAN in macsuck (Jiri Dvorak)
* [3598089] Collect SSID in macsuck (Jiri Dvorak)
* [] Capture BSSID, per AP MAC, associated with wireless SSID in
device_port_ssid table if available.
* [] Add config directive "reverse_lookup_ipv6" to control whether
reverse DNS lookups should be performed for IPv6 addresses.
* [] Add option to node.html to search for entries only appearing on
a given date.
* [] Config directive "macsuck_no_vlan" now accepts both vlan names
and numbers (VIDs). Patch from Peter Hicks.
* [] Collect and display "vmVlanType", indicating whether a VLAN is
static or dynamic on a switch port. Currently Cisco-specific.
Patch from Wolfgang Friebel.
* [] New database table "topology" to support adding topology links
without a discovery protocol or an external topology text file.
* [] New config option "snmpdiscover_timeout" to override SNMP
timeout during discovery. This speeds up finding the correct
SNMP string when default timeout needs to be large.
* [] Add report "Inventory by Name", patch from Laurens Vets.
* [] Add config option for macsuck to ignore specific VLANs on
specific devices (Peter Hicks)
* [] Add config option for macsuck to ignore unnamed VLANs (Peter
Hicks)
* [] Ignore devices with vendor "netdisco" - support for pseudo
devices to interconnect discovered devices/ports
* [] Improved "multiple nodes on port" display (N. Bernstein)
* [] Default to _not_ vacuum db tables. Opt 'vacuum' to enable.
Bugfixes:
+ [3541443] Remove port rename from find_neighbors() handle in SNMP::Info
* [] Report "Undiscovered neighbors" also showed neighbors advertising
an address not equal to their root_ip.
+ [] Change job log dir creation to use mkpath to resolve potential
race condition.
+ [] Fix wireless client info collection to properly manage its
transaction.
+ [] Fix deprecated use of qw() in device view for Perl 5.14 (cstamas)
+ [] Fix "Device Module Search" issue with searching on serial number.
+ [] Fix error message during discovery to be more accurate and not
print variables that might be undef.
* [] Fix warnings about undef data when running netdisco -B
* [] VLAN inventory: with odd number of results, last row not displayed
* [] Fix infinite loop of later worker if earlier worker dies
before completing all his work.
{perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS
since pkgsrc enforces the newest perl version anyway, so they
should always pick perl, but sometimes (pkg_add) don't due to the
design of the {,} syntax.
No effective change for the above reason.
Ok joerg
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
pax -rw, the destination directory must exist. pax in NetBSD creates it if
not, pax in MirBSD complains. I read through all pkgsrc Makefiles that use
pax and added an entry to INSTALLATION_DIRS, or an INSTALL_DATA_DIR
invocation.
I did not test all the changes but they should be fairly safe. If you notice
any breakage because of this change, please contact me.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
Changes since 1.0:
Features:
+ [] Add report with number of ports per device that are up, recently
down and down for a longer time.
+ [] Allow selecting multiple devices in admin_dev.html for actions
that don't require confirmation (eg macsuck, arpnip, refresh).
Based on patch by Michael Rubashenkov.
+ [] Add arpnip_min_age, macsuck_min_age and discover_min_age config
directives, which can be used to prevent polling devices too often.
+ [2982386] Add port_search page so that users can search for ports based
on the configured description/name. -bldewolf
+ [] Add "Port Usage" report page. Work in progress. -jeroenvi
+ [] Add config option for adding edge styles for graphs. -bldewolf
+ [] Small changes to support devices without sysServices ("layers")
+ [] Add "show free ports" option to Device View. -jeroenvi
+ [] New version of device.html - more columns to be shown/hidden,
(hopefully) easier to maintain & extend. For testing purposes
added as "device-new.html". -jeroenvi
+ [] Detect wrapping in device uptime counter & compensate. -jeroenvi
+ [2982390] Added command line option for saving configurations that have
been modified by jobs in the last x minutes. Added commented
cronjob to call this hourly.
+ [] Add support for IPv6 node address tracking. -jeroenvi
+ [] Add device_port_power.power column to store output power per
PSE port in milliwatts. -jeroenvi
+ [2777415] Improved PoE support in new Device View with accurate PoE source
d
power per port (if device supports it, fallback to class-based
estimation). -jeroenvi
+ [] IPv6 address to hostname resolving (quick hack by rkerr)
+ [3106690] Add "arpwalk", "macwalk" and "nbtwalk" to admin panel. Patch from
Nic Bernstein.
+ [3148218] Detect Proxim wireless APs in WAP search (J R Binks)
Bugfixes:
* [] Fix sort_port() for ports like "GigabitEthernet2/2/3" -maxb
* [3002989] Performance improvement for add_arp SQL query. -bldewolf
* [2991159] Fix complaints when doing a partial MAC search. -bldewolf
* [] Fix complaints from reports.html with no report type. -bldewolf
* [] Improve query performance in expire_ips(). -bldewolf
- removed packages p5-IO-Compress-Base, p5-IO-Compress-Zlib,
p5-IO-Compress-Bzip2 and p5-Compress-Zlib because they are
merged into p5-IO-Compress
- Updated dependend packages to depend on p5-IO-Compress
and bump PKGREVISION
Upstream changes:
2.017 30 March 2009
* Merged IO-Compress-Base, IO-Compress-Bzip2, IO-Compress-Zlib &
Compress-Zlib into IO-Compress.
* The interface to Compress-Raw-Zlib now uses the new LimitOutput
feature. This will make all of the zlib-related IO-Compress modules
less greedy in their memory consumption.
* Removed MAN3PODS from Makefile.PL
* A few changes to get the test harness to work on VMS courtesy of
Craig. A. Berry.
* IO::Compress::Base & IO::Uncompress::Base
Downgraded some croaks in the constructors to just set $! (by letting
the code attempt to open a file and fail).
This makes the behavior more consistent to a standard open.
[RT #42657]
* IO::Uncompress::Base
Doing a seek with MultiStream could drop some of the uncompressed
data. Fixed.
* IO::Compress::Zip
- Fixed problem with the uncompressed & uncompressed fields when
zip64 is enabled. They were set to 0x0000FFFF instead of
0xFFFFFFFF. Also the ZIP64 extra field was 4 bytes short.
Problem spotted by Dino Chiesa.
* IO::Uncompress::Unzip
- use POSIX::mktime instead of Time::Local::timelocal to convert
the zip DOS time field into Unix time.
* Compress::Zlib
- Documented Compress::Zlib::zlib_version()
the owner of all installed files is a non-root user. This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.
(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
unprivileged.mk. These two variables are lists of other bmake
variables that define package-specific users and groups. Packages
that have user-settable variables for users and groups, e.g. apache
and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
and ${UNPRIVILEGED_GROUP}.
(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
support more devices
severay bug fixes
[] Apache-based HTTP authentication added.
[1107564] Disable BULKWALK on a per device or per device type basis:
bulkwalk_no, arpnip_no, macsuck_no, discover_no use same syntax,
see README
[1111654] Allow wrap in config file with \ char
[969117] Automatically reloads config file in web front end when it changes.
[1392968] The map key is now automatically derived from configuration (i.e.,
entries in node_map)
[1107578] Port Control via VLANs
[744598] Inventory by subnet - IP Inventory feature improved to dump whole
subnets
[1107579] The map can be clustered by device Location fields. Thanks to Bjorn
Isaksson for the patch.
[1393653] Modules for optional features (e.g., NBT) are now loaded when
needed, not at startup.
[1116552] The devices in the "Choose Device" box on the Admin Panel
are now listed in numerical order by IP address, to make
it easier to find the one you're looking for.
[1116547] Contact field is now searched in the device search. New backend
database field time_recent in node database, for nodes that move
around a lot, it's the last time this node moved *back* to this
device (time_first is the first time ever). Add macsuck_only,
arpnip_only, discover_only limits Get SSIDs and channel from
wireless base station ports, and display SSID in device
port, add SSID inventory and SSID search
[1462199] Add SNMP timeout parameter to create_device()
[1492791] Added options snmp_force_v*
[] pg_all, pg_run, pg_init, pg_back unified into single sql/pg script
This script parses netdisco.conf for database settings.
[] Add graph_png option to use png output from graphviz
INSTALL/DEINSTALL script creation within pkgsrc.
If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts. If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:
INSTALL_SRC= ${PKGDIR}/INSTALL
DEINSTALL_SRC= # emtpy
As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts. By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).
In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework. The only public variables relating to the templates are:
INSTALL_SRC INSTALL_TEMPLATE
DEINSTALL_SRC DEINSTALL_TEMPLATE
HEADER_TEMPLATE
The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
backslashes anymore. A single backslash is enough. Changed the
definition in all affected packages. For those that are not caught, an
additional check is placed into bsd.pkginstall.mk.
that these directories will be conditionally removed (based on reference
counts), regardless of the value of PKG_CONFIG. Bump the PKGREVISION
for packages that were modified as a result.
around at either build-time or at run-time is:
USE_TOOLS+= perl # build-time
USE_TOOLS+= perl:run # run-time
Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
Designed for moderate to large networks, configuration information and
connection data for network devices are retrieved by SNMP. With Netdisco you
can locate the switch port of an end-user system by IP or MAC address. Data is
stored using a SQL database for scalability and speed.