Commit graph

23 commits

Author SHA1 Message Date
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