Commit graph

15 commits

Author SHA1 Message Date
joerg
7f5c3dd790 Fix bash script to require only sh. Bump revision. 2009-02-17 18:58:34 +00:00
he
c2c18a008e Convert from using an input-less awk job (how did that ever work?)
to using shell arithmetic, which should be more light-weight and should
not pose a danger of hanging.
2008-10-15 13:13:09 +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
obache
c6ecbb533b Net::Server breaks rc.subr's techniques for detecting whether the
process running at a certain PID is actually the process we wish to
stop.  Just unconditionally send SIGTERM to the PID instead, like a
security/amavisd-new doing, fixed PR 35334.
2006-12-29 06:37:03 +00:00
xtraeme
eeb3d527f4 Don't create /Munin/plugins, sigh. 2006-12-05 15:07:34 +00:00
xtraeme
272e6e990f Update munin packages to 1.3.2, latest development release
with fixes from the stable branch.

Changes since previous version:

This release implements proper TLS support, as well as all the
bugfixes from the 1.2 stable series.

pkgsrc changes:

* Fixed many pkglint warnings.
* Install munin.conf and munin-node.conf as ${INSTALL_DATA} not
  ${INSTALL_SCRIPT}, I couldn't see any reason why those were
  installed as scripts.
* Added VARBASE into BUILD_DEFS, as suggested by pkglint.
2006-12-05 14:53:32 +00:00
wiz
c14a0f7e79 Fix "test ==". 2006-11-19 10:02:09 +00:00
wiz
823b039fe5 Add missing @dirrm. 2006-11-19 10:02:05 +00:00
abs
b99437cd9c Use PKG_SYSCONFSUBDIR so PKG_SYSCONFBASE can be set
Use REPLACE_PERL on all plugins
Adjust sensors_ to work with NetBSD 3
Bump PKGREVISION
2006-07-21 23:28:37 +00:00
jlam
b7ebfd264d Add an explicit run-time dependency on perl because these packages
install perl scripts.  Bump the PKGREVISION for the dependency change.
2006-07-07 22:10:06 +00:00
he
4cc1f10068 Make sure /var/run/munin gets created on restart; /var/run is cleaned
out by NetBSD's rc.d scripts.  Also make STATEDIR overridable.
Bump revision to 2.
2006-06-27 13:05:49 +00:00
he
8ef8e7cdb0 Add a message hinting with a sample newsyslog.conf entry.
Package contents the same, so revision not bumped.
2006-06-09 13:22:44 +00:00
he
0867e45951 We can now depend on the munin-doc package, where the man pages
shared by munin-server and munin-node can be found.
2006-06-08 19:19:05 +00:00
he
7b30d32b99 Remove installation of the documentation from this package, to be
provided by the soon-to-be-committed munin-doc package.

Other minor changes:
 o Remove comented-out bits from package Makefile
 o Re-ordered variables reported by NetBSD's cpu plugin script
 o Use shorter legend text in NetBSD's interrupts plugin script

Bumped package revision.
2006-06-08 18:59:25 +00:00
he
93964f9c93 Import the client version of the Munin system monitoring/graphing
tool -- project homepage is at http://munin.sourceforge.net/

This package has added support for NetBSD, via a number of new plugin
scripts where specific steps needs to be taken to collect information.

I also modified the ntp_ plugin script to make it possible to not
plot the NTP poll delay, leaving just jitter and offset, which IMO
produces a more telling graph.
2006-06-04 20:53:56 +00:00