1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
Commit Graph

44 Commits

Author SHA1 Message Date
Philip M. Gollucci
3a2084de1e 4/5: Chase devel/apr shlib bump
PR:             ports/146130
Approved by:    portmgr (pav)
Tested by:      -exp run (pav)
With Hat:       apache@
2010-05-05 21:52:39 +00:00
Philip M. Gollucci
bb992ed998 3/5: Fix apr-1.3 libnames to be apr-1
PORTREVISION bumps comming next

PR:             ports/146130
Approved by:    portmgr (pav)
Tested by:      -exp run (pav)
With Hat:       apache@
2010-05-05 21:47:49 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Marcel Moolenaar
5da1223b1a Query the generic "hw.freq.cpu" sysctl before using i386/amd64
specific ones to obtain the CPU frequency. This fixes CPU
frequency reporting for ia64 & sparc64.
2010-01-03 20:07:57 +00:00
Dmitry Marakasov
3eb168f46b - Switch SourceForge ports to the new File Release System: categories starting with P,R,S 2009-08-22 00:35:32 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Brooks Davis
db12abae11 Actually remove port created directories and symlinks.
Point hat to:	brooks
Reported by:	QAT
2009-02-12 20:24:58 +00:00
Brooks Davis
efef2a8773 Actually build a proper package with a valid plist[0], set the default
config file locations correctly, and run as the ganglia user instead of
nobody by default.

Reported by:	QAT, pointyhat via pav [0]
Pointy hat to:	brooks
2009-02-12 18:11:31 +00:00
Brooks Davis
ebcbf10d44 Add missing depend on apr.
Reported by:	pointyhat (via pav, erwin, linimon)
2009-02-09 19:42:33 +00:00
Brooks Davis
c9c565ee51 At long last commit a patch to fix problems with disk statistic reporting
and related crashes.

Clean up a couple portlint nits at the same time.

Submitted by:	KOIE Hidetaka <koie at suri dot co dot jp>
PR:		ports/116144
2009-01-30 23:01:39 +00:00
Brooks Davis
47e24183d5 Upgrade Ganglia to 3.1.1 plus a fix for CVE-2009-0241.
PR:		ports/129822, ports/131067
Submitted by:	Mark Foster <mark at foster dot cc> (vuxml)
Security:	vid:b9077cc4-6d04-4bcb-a37a-9ceaebfdcc9e
2009-01-30 03:56:35 +00:00
Jeremy Chadwick
8f41dac540 Adjust LIB_DEPENDS to use 'rrd' instead of 'rrd.4'. This allows for
use of either databases/rrdtool12 or databases/rrdtool, rather than
only the latter.
2008-09-04 12:41:09 +00:00
Rong-En Fan
c1dece6a00 - Chase rrdtool 1.3.0 update, bump PORTREVISION
PR:		ports/124749
Submitted by:	Zhen REN <bg1tpt at gmail.com> (maintainer of rrdtool)
2008-06-24 12:34:56 +00:00
Brooks Davis
3f79b7d142 Upgrade to Ganglia 3.0.6.
Release 3.0.5 contained minor bug fixes.  3.0.6 corrects XSS
vulnerabilities in the webfrontend.

Security:	 vid:fee7e059-acec-11dc-807f-001b246e4fdf
2007-12-17 22:24:48 +00:00
Brooks Davis
d9d25c1251 - Upgrade to ganglia 3.0.4 [1]
- Fix support for large memory systems (hw.physmem is a u_long not a long) [2]
- Make portlint happier [3]

PR:		ports/115362 [1], some of [3]
Submitted by:	Michael Fuckner <michael at fuckner dot net> [1], some of [3]
		Clement Laforet <clement at FreeBSD dot org> [2]
2007-08-24 01:24:54 +00:00
Edwin Groothuis
3de5a84967 First steps in a big migration:
Move net/rrdtool to databases/rrdtool.

    It's an itch which needs to be scratched: net/rrdtool came from
    net/mrtg, which was a good location for it. net/mrtg has later
    been moved to net-mgmt/mrtg. net/rrdtool is "Round Robin Database
    Tools", therefor it's better if it moves to databases/rrdtool.
    Same with net/rrdtool10.

PR:		ports/112942
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
2007-07-05 06:19:49 +00:00
Brooks Davis
2a56fd9001 - Upgrade to 3.0.3 eliminating the need for the cpufreq patch and fixing
some bugs.
- Spell REQUIRE correctly in ganglia.sh.in
- For systems where rcorder is run on LOCALBASE/etc/rc.d, split
  ganglia.sh into gmond.sh and gmetad.sh.
- Replace the patches changing user nobody to ganglia with REINPLACE_CMD
  in post-patch removing a maintance issue and decreasing the file
  count.  Also, expand the scope to include gmond.conf's documentation
  which was missed missed previously.
2006-07-13 21:52:02 +00:00
Edwin Groothuis
28dd10dcb4 Remove USE_REINPLACE from all categories starting with S 2006-05-13 04:15:53 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Edwin Groothuis
508b8d82f4 Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 03:01:03 +00:00
Doug Barton
ffde46cbf9 Now that new style rc.d scripts are being run as part of the
base rcorder, hard coded variable values in these scripts
are overriding the values in /etc/rc.conf[.local] (due to
the way that variables from the latter are read at boot time).

Therefore, change the boot scripts to set default values only
if the variable is unset in /etc/rc.conf[.local]. This will
allow the service to start at boot time if it's been enabled
as the user would expect.

This change will be a noop for users who have systems that
have not yet been upgraded to the new rc.d code in the base.

In many cases there are other variables in the scripts that
should get similar treatment, however I did not change
anything other than the _enable lines. I'll leave the rest
up to the maintainers to do as they see fit.

Bump PORTREVISION to make sure that users and packages
pick up this change.
2006-01-07 06:29:57 +00:00
Brooks Davis
fe5bc0ecd2 add SHA256 2005-11-11 19:03:22 +00:00
Dmitry Sivachenko
d90e4d4389 Chase librrd shared library version change after recent upgrade of rrdtool. 2005-05-09 08:20:16 +00:00
Brooks Davis
a84f86e9e1 Add a -q option to gmetasnap to suppress non-error output. 2005-04-27 21:27:06 +00:00
Brooks Davis
4cabcf1631 SUB_FILES puts its results in WRKDIR, not WKRSRC. I don't know how
this wasn't failing to install.

Pointy hat:	brooks
2005-04-27 19:42:30 +00:00
Brooks Davis
c37ee5c260 Add a new utility script, gmetasnap which manages tarball snapshots of
the gmetad rrd databases.  Add support for ganglia.sh for saving and
restoring these snapshots at shutdown and startup respectivly.  This
makes it easier to use a ramdisk for rrddir which is necessicary for
large clusters as the load of updating the databases rapidly consumes
all available CPU.
2005-04-27 17:52:41 +00:00
Brooks Davis
5a033a05f0 Fix a bug in the CPU frequency function. The type is a uint32 not a
unit16.

Submitted by:   Meno Abels <meno.abels@adviser.com>
2005-04-27 17:52:01 +00:00
Brooks Davis
2a2571afa1 Upgrade to 3.0.1. This includes some fixes plus all the changes I
previously patched into the FreeBSD metrics.

Try to use cpufreq to get the frequency (maximum frequency not the
current one).

Add code to selectivly install libganglia and don't install it by
default as ganglia is linked staticly and no one I know of actually uses
the library.

Add some Makefile features to the port to allow generation of custom
pacakges with custom config files.

PR:		ports/79770
2005-04-15 21:19:46 +00:00
Brooks Davis
8e236791c0 Fix cpu time reporting. It was obviously wrong on sparc64, but actually
was totally broken everywhere.

A number of other cleanups and minor tweaks are also included, but
are less important.  All of these changes will be including in the soon
to be released ganglia-3.0.1.
2005-03-17 19:32:06 +00:00
Brooks Davis
4b77992985 Move the LIB_DEPENDS statement for rrdtool below bsd.port.pre.mk so
WITH_GMETAD is actually defined when needed.

Reported by:	pointyhat (via kris)
2005-03-14 21:03:41 +00:00
Brooks Davis
94b4baba35 Correct a number of issues with the previous commit:
- Patch a number of bugs in the metric code that caused gmond to be
   unstable, particularly on 4.x.  These will be in the next ganglia
   release.
 - Use CFLAGS instead of CPPFLAGS to pass the include arguments.  This
   appears to fix the bug where an installed, obsolete ganglia.h would
   break the build.
 - Do a better job of respecting CFLAGS and LDFLAGS.
 - Drop USE_LIBTOOL_VER.  It appears to break sparc64.
 - Fix a warning caused by an @unexec in the plist when gmetad.conf
   has been modified.

The port revision has been bumped.  All users of 3.0.0 should upgrade.
2005-03-04 21:14:06 +00:00
Brooks Davis
f018d5629a Upgrade ganglia to 3.0.0.
3.0.0 mostly consists of a more flexable portable gmond which requires a
new config file format.  Information about changes in this release can
be found on the website at:

http://ganglia.info/archives/cat_releases.html

and in ports/UPDATING.
2005-03-01 23:04:37 +00:00
Kirill Ponomarev
6afa309af7 - Use reserved UID/GID
PR:		ports/65481
Submitted by:	maintainer
Reported by:	kris
2004-04-13 07:47:10 +00:00
Ade Lovett
3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00
Greg Lewis
6edb001a02 . Update to 2.5.6.
PR:		62325
Submitted by:	brooks (maintainer)
2004-02-04 19:38:20 +00:00
Pav Lucistnik
17541e019b - Fix build on ia64
PR:		ports/59925
Submitted by:	brooks (maintainer)
2003-12-12 21:25:29 +00:00
Tilman Keskinoz
3e959700b8 "Fix the location of the gmetad state files. I missed the fact that it
the string defining the default moved from one file to another in the
last update so the documentation was corrected, but the actual default
was not.

Fix PTHREAD_LIBS support so it works if there's a libpthread installed."

PR:		59268
Submitted by:	brooks
2003-11-14 14:22:31 +00:00
Sergei Kolobov
4aff1bd3c5 Fix COMMENT (unnecessary quotes) 2003-11-08 23:02:06 +00:00
Kirill Ponomarev
bf58f09623 - Update to version 2.5.5 [1]
* integrates a number of FreeBSD enhancements
    and fixes a DoS bug
- Respect PTHREAD_LIBS and PTHREAD_CFLAGS [2]

PR:		59049
Submitted by:	brooks [1], krion [2]
2003-11-08 16:15:15 +00:00
Mark Linimon
19be68cee6 Update to Ganglia Monitor Core 2.5.4, plus enhancements bringing
FreeBSD support up to the level of Linux support.  PR: ports/58657
(maintainer-update).
2003-11-04 20:38:48 +00:00
Christian Weisgerber
f8b77d0feb Update upgrades the sysutils/ganglia-monitor-core port to Ganglia 2.5.3
(minor bugfixes), moves the include files to a ganglia subdirectory to
unbreak XFree86-4-clients, and fixes a bug which caused gmond to dump
core when started at boot.

PR:		52736
Submitted by:	brooks
2003-06-07 12:59:36 +00:00
Kris Kennaway
06d41ea4c5 Add ganglia-monitor-core 2.5.2.
Ganglia provides a complete real-time monitoring and execution
environment that is in use by hundreds of universities, private and
government laboratories and commercial cluster implementors around the
world. Whether you want to monitor hundreds of computers in real-time
across a university campus or around the world, ganglia is for you.

PR:		ports/48551
Submitted by:	Brooks Davis <brooks@freebsd.org>
2003-03-02 00:24:16 +00:00