Commit graph

49 commits

Author SHA1 Message Date
rillig
c7ff05f63e 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.
2019-05-23 19:22:54 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
wiz
67ea766c4c apache22: remove, it was eol'd in June 2017
Remove packages that only work with apache22.
Remove apache22 references.
2018-01-01 10:23:04 +00:00
maya
c91c49833f 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.
2017-03-12 07:20:51 +00:00
maya
4d271a3b15 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
2017-03-11 23:21:11 +00:00
wiz
73716d23de Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:38:30 +00:00
jperkin
7de0d11c2e Add INSTALLATION_DIRS. 2016-04-02 08:43:25 +00:00
agc
203292f73e Add SHA512 digests for distfiles for net category
Problems found with existing digests:
	Package haproxy distfile haproxy-1.5.14.tar.gz
	159f5beb8fdc6b8059ae51b53dc935d91c0fb51f [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package bsddip: missing distfile bsddip-1.02.tar.Z
	Package citrix_ica: missing distfile citrix_ica-10.6.115659/en.linuxx86.tar.gz
	Package djbdns: missing distfile djbdns-1.05-test25.diff.bz2
	Package djbdns: missing distfile djbdns-cachestats.patch
	Package djbdns: missing distfile 0002-dnscache-cache-soa-records.patch
	Package gated: missing distfile gated-3-5-11.tar.gz
	Package owncloudclient: missing distfile owncloudclient-2.0.2.tar.xz
	Package poink: missing distfile poink-1.6.tar.gz
	Package ra-rtsp-proxy: missing distfile rtspd-src-1.0.0.0.tar.gz
	Package ucspi-ssl: missing distfile ucspi-ssl-0.70-ucspitls-0.1.patch
	Package waste: missing distfile waste-source.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 00:34:51 +00:00
joerg
1e1b50f0ea Fix make syntax. 2015-09-12 23:00:08 +00:00
hauke
538ae77b2d 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.
2015-09-09 08:35:51 +00:00
wiz
40bbad7ac6 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
2015-07-12 18:56:06 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
joerg
bef8522f0e Retire Apache 1.3 and 2.0. 2014-06-10 15:22:13 +00:00
wiz
7eeb51b534 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.
2014-05-29 23:35:13 +00:00
jperkin
45bc40abb4 Remove example rc.d scripts from PLISTs.
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or
ignored otherwise.
2014-03-11 14:04:57 +00:00
obache
9b57b4605a Fix/Update DEPENDS paterns for perl CORE modules, with some trivial fixes.
Bump PKGREVISION for runtime dependency pattern changed packages.
2013-12-09 14:17:41 +00:00
bsiegert
11eb68bbc8 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.
2013-10-18 11:41:17 +00:00
jperkin
b091c2f172 Bump PKGREVISION of all packages which create users, to pick up change of
sysutils/user_* packages.
2013-07-12 10:44:52 +00:00
wiz
d2ca14a3f1 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.
2013-05-31 12:39:57 +00:00
rodent
b65af7be2b Remove "Trailing empty lines." and/or "Trailing white-space." 2013-04-08 11:17:08 +00:00
asau
e059e7e469 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 17:18:07 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
bouyer
7a0e8c2a04 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
2011-05-23 19:39:09 +00:00
bouyer
17f1b35c57 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 ...
2011-03-15 20:36:03 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
sno
dfca1e1ce5 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()
2009-04-11 23:15:19 +00:00
joerg
3d8ef5a52d 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.
2008-05-26 02:13:14 +00:00
seb
db6e0c7035 Also fix perl's path in bin/pod_arg_link_fix and
mibs/diff_dir scripts.
2007-11-12 23:10:08 +00:00
seb
bfc352240e Unbreak build: fix RCD_SCRIPTS "build" after the change introduced
in pkgsrc/mk/pkginstall/bsd.pkginstall.mk revision 1.31.
2007-09-04 21:08:00 +00:00
jlam
4390d56940 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.
2007-07-04 20:54:31 +00:00
bouyer
f3822122c3 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
2006-12-16 15:25:41 +00:00
tv
25a4024806 Use find -print | xargs rather than find -exec. 2006-11-10 17:34:09 +00:00
joerg
d5b18c7690 Use -[0-9]* instead of -* in dependencies. Bump revision. 2006-06-30 09:54:42 +00:00
jlam
802ce74fcb 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.
2006-04-23 00:12:35 +00:00
jlam
daad0f3d6c 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.
2006-03-14 01:14:26 +00:00
rillig
7fda885cca Fixed pkglint warnings. 2006-03-10 22:15:24 +00:00
rillig
22c781d3c4 This warning is not yet in pkglint:
WARN: Makefile:123: "cd" as the last shell command is useless.
2006-03-10 21:16:30 +00:00
bouyer
26c9b896cb Make httpd config fragment work for apache-2 too.
Fix PLIST
Add dependancy to p5-Graph, p5-GraphViz isn't enough.
bump PKGREVISION.
2006-03-09 20:25:28 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
jlam
dc9594e09d 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.
2005-12-29 06:21:30 +00:00
rillig
b71a1d488b 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
2005-12-05 20:49:47 +00:00
rillig
d98e4f186e Removed empty line from PLIST. 2005-11-03 13:43:39 +00:00
wiz
79366c8c05 Set WRKSRC to PKGNAME_NOREV to unbreak build. 2005-09-11 11:43:23 +00:00
rillig
7a95adad42 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.
2005-08-23 11:48:47 +00:00
jlam
cf4dfe44a5 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.
2005-08-20 19:16:21 +00:00
jlam
3e474a90d8 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.
2005-07-16 01:19:06 +00:00
minskim
5304f12fce Regen to make GNU patch happy. 2005-05-27 02:26:00 +00:00
bouyer
258daca985 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.
2005-05-25 17:06:48 +00:00