Up to [cvs.NetBSD.org] / pkgsrc / net / netdisco
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
netdisco: fix PLIST for out.txt change Bump PKGREVISION.
netdisco: fix MASTER_SITE for oui.txt ... but since this master site does not use versioned files, comment it out and instead upload the distfile to nbftp.
*: recursive bump for perl 5.36
*: recursive bump for perl 5.34
*: bump PKGREVISION for perl-5.32.
net/netdisco: remove duplicate filename from SUBST_FILES
net: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections.
Bump PKGREVISIONs for perl 5.30.0
all: replace SUBST_SED with the simpler SUBST_VARS pkglint -Wall -r --only "substitution command" -F With manual review and indentation fixes since pkglint doesn't get that part correct in every case.
Recursive bump for perl5-5.28.0
apache22: remove, it was eol'd in June 2017 Remove packages that only work with apache22. Remove apache22 references.
pkgrevision bump for changed apache default. bumping any package depending on a pkg with APACHE_PKG_PREFIX but without APACHE_PKG_PREFIX in its PKGNAME.
Unbreak the tree after adding ap{22,24} to p5-libapreq some, sorry.
XXX some package can do either libapreq{,2} and so it should embed
a version as well, but seems to have issues
Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.
Add INSTALLATION_DIRS.
Fix make syntax.
Upgrade Netdisco to v1.3.3. x1.1 had been broken since around Perl 5.16.
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.
Comment out dependencies of the style
{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
Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
Retire Apache 1.3 and 2.0.
Bump for perl-5.20.0. 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.
Fix/Update DEPENDS paterns for perl CORE modules, with some trivial fixes. Bump PKGREVISION for runtime dependency pattern changed packages.
Fix a common mistake in many different packages: POSIX says that when using 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.
Bump PKGREVISION of all packages which create users, to pick up change of sysutils/user_* packages.
Bump all packages for perl-5.18, that 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.
Remove "Trailing empty lines." and/or "Trailing white-space."
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them.
Update netdisco-1.1 and add DESTDIR support.
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
Update to 1.0. Summary of changes since 0.95: - improved user interface - improved vlan support - improved support for wifi AP and IP phones - updated snmp mibs and more ...
PkgSrc changes:
- 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()
Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
Also fix perl's path in bin/pod_arg_link_fix and mibs/diff_dir scripts.
Unbreak build: fix RCD_SCRIPTS "build" after the change introduced in pkgsrc/mk/pkginstall/bsd.pkginstall.mk revision 1.31.
Make it easier to build and install packages "unprivileged", where
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.
Upgrade to 0.95:
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
Use find -print | xargs rather than find -exec.
Use -[0-9]* instead of -* in dependencies. Bump revision.
Modify packages that set PKG_USERS and PKG_GROUPS to follow the new syntax as specified in pkgsrc/mk/install/bsd.pkginstall.mk:1.47.
Modify the pkginstall framework so that it manages all aspects of
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.
Fixed pkglint warnings.
This warning is not yet in pkglint: WARN: Makefile:123: "cd" as the last shell command is useless.
Make httpd config fragment work for apache-2 too. Fix PLIST Add dependancy to p5-Graph, p5-GraphViz isn't enough. bump PKGREVISION.
Recursive revision bump / recommended bump for gettext ABI change.
Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because of the shlib major bump. PKGREVISION++ for the dependencies.
Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in
http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
Set WRKSRC to PKGNAME_NOREV to unbreak build.
The real user name in PKG_USERS does not need to be escaped with double 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.
Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} so
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.
Get rid of USE_PERL5. The new way to express needing the Perl executable 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.
Initial import of a netdisco. 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.
Initial revision