Commit graph

38 commits

Author SHA1 Message Date
richard
439be85337 Add -lX11 -lm and -lgmodule-2.0 for Linux builds. 2016-09-17 14:28:59 +00:00
jperkin
98bed4257a Use PKGMANDIR. 2016-04-21 14:04:32 +00:00
jperkin
a1ef6b44ec Add an explicit -lgmodule-2.0 for Solaris.
Fixes package build.
2013-02-26 16:16:08 +00:00
hans
c32c2d5218 It's called SunOS, and it needs -lm. 2012-03-21 19:22:30 +00:00
jmmv
35b113deb9 Rename auxiliary getline function which collides with the new prototype in
NetBSD current.  Found on NetBSD/macppc 5.99.19.
2009-10-10 12:52:40 +00:00
macallan
b786d9502e fix previous, this time also update checksums 2008-12-19 21:25:28 +00:00
macallan
15e370a601 fix botched NetBSD version check so we can use the getifdata() method to
collect interface statistics. Also gracefully deal with NULL if_data.
Now this works again on sparc64.
OKed by cube
2008-12-19 20:20:22 +00:00
cube
b7952b251a Update GKrellM packages to version 2.2.10. Better late than never.
2.2.10 - Thu Oct 26, 2006
-------------------------
        * Hans de Goede patches: 1) handle sysfs sensors which represent themselves
          as platform drivers (/sys/class/hwmon). 2) Add a libsensors sensor
          monitor interface which will be used preferentially over sysfs if
          libsensors is installed and sensors_init() on /etc/sensors.conf succeeds.
        * Add --without-libsensors command line option to force using /sysfs
          instead of libsensors for cases when running a new Linux sensor kernel
          module that is not yet supported by libsensors.  A fallback to /sysfs is
          automatic when libsensors detects zero sensors.
        * Linux sensor config names change with migration to libsensors, so attempt
          to automatically do a conversion so user won't have to redo sensor
          config.  But this doesn't handle client/server runs so for these
          sensor configs must be redone.
        * Michael Buesch patch: Add PowerMac G5 Windfarm sensor monitor interface.
        * David G. North patch: Add content length check to mbox mail checking to
          get good mail counts even if there's a mal-formed mime content package.
        * New Translation
          o pt_BR.po from Insigne Free Software (traducao--at--insignelinux.org)
        * Translation updates
          o de.po
          o it.po from Vincenzo Reale
        * Bugfixes
          o Christian Schmidt patch: add -pci- to sensor config compatibility fix.
          o gkrellmd plugins didn't get initial update data.
          o Don't limit mbmon detection to i386 architectures.
          o Flush gtk events pending between closing and moving gkrellm so
            window managers can get width updates before the move.
          o Fix warnings from newer gcc.
2007-05-03 20:21:27 +00:00
xtraeme
c0b1ebb480 Make this work on NetBSD >= 3.99.18 (I/O stats changes). I did not
use the patch from Anthony Mallet because via #define is shorter.

This closes PR pkg/33444.

I can use it again, finally!
2006-08-13 07:33:37 +00:00
cube
49914b64c3 Update gkrellm packages to version 2.2.9.
pkgsrc changes:
  - introduce various patches to fix compilation problems (gkrellm is a
    complete mess).
  - activate sensors-common.c on NetBSD.

2.2.9 - Fri Mar 31, 2006
------------------------
        * Bugfixes
          o Segfault if select config Builtins->Battery with no batteries present.


2.2.8 - Thu Mar 30, 2006
------------------------
        * Add battery monitor option to use percent capacity remaining for alerts.
        * Filippo Giunchedi linux.c patch: make sensor code able to read
          apple/pmu's sysfs based sensors.
        * Jindrich Makovicka linux.c patch: subtract the memory allocated to
          slabs from the used memory and add it to the cached value instead.
        * Put multiple instances lock files in /var/lock.
        * Bugfixes:
          o Fix gkrellm_125_sequence() off by a bit here and there.
          o Invalidate chart text runs when chart height changed.
          o mbmon sensors decimal point char can be different from current locale.
          o Read linux cpu stats from /proc/stat as 64 bits.
          o Segfault on editing disk chart format string after disabling a disk.
          o gkrellmd -plog segfaulted if no plugins are installed.
          o Don't NULL serve_name prior to each gkrellmd plugin serve_data call.
          o Use a per client input_func in gkrellmd_client_read().
        * Translation updates
          o bg.po new Bulgarian translation by Vasko Vasilev.
          o es.po from Cristian Othon Martinez Vera
          o ru.po from Vitaly Lipatov
2006-04-13 19:14:44 +00:00
joerg
39f413f8d7 Add DragonFly support. 2006-03-19 22:10:38 +00:00
cube
b376b0a3ef Update gkrellm to version 2.2.7.
pkgsrc changes:
  - use REQD_DIRS where appropriate
  - add a patch to allow gkrellm to read everything off sysctl() and thus
    don't install it setgid kem on NetBSD 3.99.1+
  - use options framework to choose between OpenSSL and gnutls
  - minor nits

gkrellm changes:

2.2.7 - Tue May 24, 2005
------------------------
        * gkrellmd can send a network interface connect time to be displayed
          on client timer button panels by configuring a net-timer in gkrellmd.conf.
        * Don't add virtual disk (/dev/mdX) stats to composite disk.
        * Bugfixes:
          o server/main.c inet6 compile error on machines with old libc.
          o Philipp Hartmann patch: add gnutls multithread initialization to mail.c
          o While mixing draw_decal_text and decal_scroll_text calls on transparent
            panels the text layer pixmap was not cleanup up properly.
        * Translation updates

2.2.6 - Fri May 13, 2005
------------------------
        * Stanislav Likavcan patch: add monitoring of ibm acpi sensors to linux.c.
        * UI improvement in fs.c and mail.c config button sensitivities and labels.
        * Bugfixes:
          o Test for not force creating user mailbox did not consider a configured
            mail fetch.
          o gkrellmd server mail check was missing the gkrellmd_need_serve() call
            and server/mail.c mailbox code needed syncing with src/mail.c.
          o gkrellmd glib 1.2 g_file_test compatibility was broken.
          o gkrellmd debug-level option was missing.
          o Darwin Makefile: add HAVE_GETADDRINFO=1
          o Don Bostrom patch: when remote mail checking, handle select() EINTR.
          o Charles Bailey patches:
            1) darwin.c and Makefile tweaks for building on OS X 10.3.8.
            2) darwin.c prevent left bit sign extension when shifting memory
               monitor data.
          o Don't read disabled sensors in the sensors thread.
        * Translation updates
2005-09-08 13:19:56 +00:00
abs
ee9906d198 Fix NetBSD statvfs check to be >= 299000900 not >= 200040000
No pkgrevision bumps needed.
2005-09-06 08:10:57 +00:00
cube
9b4d0feaf9 Fix LP64 issues with gkrellm and gkrellm-server. 2005-03-30 15:26:43 +00:00
cube
03b2910075 Update gkrellm packages to 2.2.5.
pkgsrc changes:
 o convert gkrellm-server to options.mk

GKrellM changes:
2.2.5 - Sun Mar 20, 2005
------------------------
        * Sensor monitor can read data from "mbmon -r -P port" daemon.
          mbmon and hddtemp daemon sensor monitor code moved to
          sysdeps/sensors-common.c to be available to all operating systems.
        * Hajimu Umemoto patch: added FreeBSD mbmon support.  Added general socket
          connection gkrellm_connect_to() function and cleaned up mail.c,
          client.c and sensors-common.c to use it.
        * Add api for gkrellmd plugins to have gkrellmd.conf config items.
          Gkrellmd plugins can read data sent from their gkrellm client plugins.
        * Keep history of daily, weekly & monthly net receive/transmit statistics.
        * Tom Felker patch: add to Linux sensors nVidia video card temperature
          reading via the nvidia-settings command.
        * Hajimu Umemoto patch: make gkrellmd support standard CIDR notation
          for both IPv4 and IPv6 allow-hosts.
        * Jiri Denemark patch: while charging, battery display shows time to
          full charge instead of discharge time left.  Make launcher work for
          all battery panels in case batteries are removed.
        * Try to make sensor labels fit better by using <small> markup.
        * Added option for mail fetch/check program to run at local check interval.
        * Bugfixes:
          o Jason Greene: IMAP patch fixes handling of status responses which
            contain literals.
          o Accumulate partial gkrellmd server lines.
          o Put minor mod numbers in Linux disk table to get c0d1, cc0d1, etc.
          o Segfault when rebuilding gkrellm if temp displayed on a disk panel.
          o Kim Bruning patch: display "no bat" if buggy APM flags don't flag
            when to hide batttery panel.
        * Translation updates
          o cs.po from Pav Lucistnik
          o da.po from Chris Larsen
2005-03-22 14:57:12 +00:00
cube
75fb385c66 sysctl() uses size_t arguments for lengths, so don't pass a pointer to an
int, it breaks on 64-bits platforms.

While there, prevent sa_family_t from being redefined by making sure
__NetBSD_Version__ is defined.

Bump revision of both gkrellm and gkrellm-server.

Should fix PR 26144.
2004-07-05 08:42:27 +00:00
cube
689624bd1e Make the disk krells use and display the correct names. Pointed out by
xtraeme@.
2004-06-07 17:28:44 +00:00
cube
65ee24230e Make a few krells use sysctl() instead of grovelling kernel memory.
Mem and Proc krells by Simon Burge, Disks by myself.

Restore setgid kmem for gkrellm and gkrellmd because of 'Internet' krell,
which is now the only one needing libkvm on NetBSD.

Bump PKGREVISION for both package.
2004-06-07 17:01:49 +00:00
cube
557e505bea Update to version 2.2.1.
2.2.1 - Thu Jun 3, 2004
-----------------------
	* Added markup text decal functions, see plugins changelog.
	* Use <small> markup in system name if it doesn't fit.
	* Try to trap out GdkFont font configs from < 2.2.0 versions.
	* Translation updates
	  o de.po
	  o fr.po from Jerome UZEL

pkgsrc:
	* Add a patch to fix the "gkrellm spinning at start-up" bug.  This
	  will make gkrellm2 work on systems that export anything useful
	  for gkrellm through sysmon.
	* Correct PLISTs
2004-06-05 18:57:37 +00:00
fredb
d9f6c2d9cb Make this build again on older NetBSD systems, without statvfs(). 2004-05-09 22:04:30 +00:00
fredb
38c9766dd0 With statvfs(), the significant measures are scaled in terms of f_frsize,
not f_bsize.
2004-05-09 20:32:10 +00:00
xtraeme
3a2f0bb9a4 Make this build in NetBSD -current (statfs->statvfs). 2004-04-23 15:13:07 +00:00
cube
19129988e4 Update to 2.1.26.
Pkgsrc change:
	o use subst.mk instead of hand-crafted sed which removes the need
	  for patches.

GKrellM changes:
        * Patches:
          o Frederick Bruckman <fredb--at--immanent.net> detect multiple CPUs
            on NetBSD.
        * Bugfixes:
          o Andreas Liebe <liebe--at--hrz.tu-darmstadt.de> patch to solaris.c
            prevents running out of fds on some SPARC servers.
          o CPU and Net stats from 64 bit gkrellmd server overflowed on a 32
            bit client.
          o Changed Linux sysfs sensor temperature factor from 100 to 1000.
            Those running Linux kernels >= 2.6.2 should now only need gkrellm
            config temperature factors of 1.0.  But those still running kernels
            <= 2.6.1 may still need factor of 10 gkrellm config adjustments.
          o $d should be %d typo in cs.po
2004-02-25 08:41:56 +00:00
cube
3e8f5e24d4 Merge import of gkrellm2. 2004-02-24 22:21:15 +00:00
cube
0d50d58c8b Initial import of gkrellm, version 2.1.25, into the NetBSD Package
Collection.  This is the GTK+2 port of old gkrellm1.

Package imported from pkgsrc-wip.

With a single process, GKrellM manages multiple stacked monitors and supports
applying themes to match the monitors appearance to your window manager,
Gtk, or any other theme.

  * SMP CPU, Disk, Proc, and active net interface monitors with LEDs.
  * Internet monitor that displays current and charts historical port hits

  * Memory and swap space usage meters and a system uptime monitor.
  * File system meters show capacity/free space and can mount/umount.
  * A mailbox monitor which can launch mail reader, remote mail fetch.
  * Clock/calendar and hostname display.
  * APM laptop battery monitor.
  * CPU/motherboard temperature display if lm_sensors modules installed.

  * Multiple monitors managed by a single process to reduce system load.
  * A timer button that can execute PPP or ISDN logon/logoff scripts.
  * Charts are autoscaling with configurable grid line resolution, or
    can be set to a fixed scale mode.
  * Separate colors for "in" and "out" data.  The in color is used for
    CPU user time, disk read, forks, and net receive data.  The out color
    is used for CPU sys time, disk write, load, and net transmit data.
  * Commands can be configured to run when monitor labels are clicked.
  * GKrellM is plugin capable so special interest monitors can be created.
  * A different theme can be created with the GIMP.

While GKrellM monitors the host it is running on, it can poll a server
over the network.  The server package is named gkrellm-server.
2004-02-24 22:11:28 +00:00
salo
45df9c0bf6 Updated to version 1.2.13.
Changes:

- USE_PKGLOCALEDIR
- don't hardcode -Wl,-E

1.2.13:
=======
- Very minor changes: enforce no message popups during init_plugin(),
  and allow a " in mailbox passwords.
- Contributions
  - Ben Hines <bhines--at--alumni.ucsd.edu> added Mac OS X code
    so monitors now have a native Mac interface.

1.2.12:
=======
- Theme changing keyboard shortcuts changed to Page_Up/Page_Down.
- Fix Linux APM to use ac_online status when battery status is
  unknown.
- Allow spaces in remote mailbox username and password.
- Get data for remote fs mounts in a thread.
- Use data-suffix directories when running gkrellm -c or when in
  force-host-config mode.
- Contributions
  o Nick Mitchell <firepile@speakeasy.net> patch:
    Fix IMAP login fail if password had certain chars.
  o Christian Rose <menthos--at--menthos.com> sv.po update.
  o Przemyslaw Sulek <pbs--at--linux.net.pl> pl.po update.
  o de.po translation update.
  o Jerome UZEL <jerome.uzel--at--wanadoo.fr> fr.po update.
  o Grigory Batalov <bga--at--altlinux.ru> ru.po update.
  o Chris <chris@starforge.co.uk> patch adds clock chime option.
2003-02-15 09:33:03 +00:00
fredb
06824bdf02 Make this build on NetBSD 1.6K (new, separate read and write disk
stats), set OSVERSION_SPECIFIC, and bump PKGREVISION.
2002-11-07 15:07:46 +00:00
jlam
a020ed9056 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:50:52 +00:00
wiz
8764625ad2 gkrellm needs to be linked with -E so that its plugins can use functions
from it. Do that. Bump to 1.2.11nb1.
2002-06-07 17:15:57 +00:00
fredb
f180ea4e1f Update gkrellm to 1.2.11 (old distfile is no longer available):
many bug fixes; i18n support + translations for several languages;
mail-checker can now authenticate to an imap server; and a few new
configuration options.
2002-05-02 20:45:35 +00:00
wiz
ca9d2b578e Zero out APM structure before use. pkg/15577 by Johan Danielsson. 2002-02-13 23:11:45 +00:00
hubertf
9efb18fa4b Bump to gkrellm-1.2.3nb1: Make sure the themes directory is there,
and in a sane location (not /usr/share!).

I have a gkrellm-themes package to commit once the pkg/ issue is resolved.
2001-11-01 14:08:00 +00:00
damon
f4d337acef Updated to version 1.2.3 based partly on Anthony Mallet's patches in PR pkg/14369. 2001-10-30 13:31:47 +00:00
zuntum
9fd62c678d Update gkrellm to 1.2.2
Changes:

1.2.2 Wed Aug 22, 2001
----------------------
        * Hostname panel can also display system name.
        * Move krells out of the way only if data is displayed in panels,
        * Bugfixes:
          o Close open files before launching panel commands and net timer command.
          o Display and alert setting problems for negative voltages.
          o Allow "owner" as well as "user" for fstab mounting.
        * Contributions:
          o Anthony Mallet <anthony.mallet@ficus.yi.org> patch to fix some compile
            issues with defining INET6 and HAVE_GETADDRINFO for Solaris 7.  Also
            made removable disk media ioctl work for Solaris 7.
          o Przemyslaw Sulek <pbs@linux.net.pl> sent in a Polish translation.

o we don't use X11BASE any more, install to normal PREFIX
o clean up Makefile
o link gkrellm with --export-dynamic so now plugins work properly
  (fixes pkg/13884 by Jasper Wallace <jasper@pointless.net>
2001-09-08 21:53:57 +00:00
jlam
72ff61217a Use config script wrappers for proper buildlinking. 2001-08-23 19:21:11 +00:00
wiz
2043bc2933 Update to 1.2.1, provided by Anthony Mallet in pkg/13632.
Changes since 1.0.8:
NOTE: Some configuration issues:
o Net and inet command launching will need re-entering.
o Inet charts can't use data saved by 1.0.x versions.
o Plugins that were automatically enabled by being in
  ~/.gkrellm/plugins will now have to be enabled on the plugins
  config page.  A consequence of this is that your existing
  configuration setup for these plugins may be lost.

* New chart drawing routines give many appearance options which
  can be configured by right clicking on the charts.  Plugins
  which create charts must make some coding changes - see the
  plugins changelog.
  One of these options is a split view which uses a new theme
  image, so split views in some themes won't look right until the
  themes are updated.
* CPU charts can now show nice time, which also uses a new theme
  image.
* New panel routines so panel and chart interfaces will be
  consistent, but unlike chart plugins, meter styled plugins may
  upgrade gracefully without a "required" recompile - see plugins
  changelog.
* Added an alert interface so limits can be set for triggering
  warn and alarm commands.  Builtin APM and sensor (temps, fan,
  volt) monitors can have alerts set.  Alerts can use the gvoice
  plugin.
* User selectable fonts.
* User plugin placements.
* User definable format strings for drawing chart labels.
* Right click on most panels to open the monitor config window.
* There is no longer compatibility with pre 0.10.0 theme formats
  (the change was announced a year ago).

Package change: buildlinkified.
2001-08-06 14:27:39 +00:00
zuntum
6061ffa86a Update gkrellm to version 1.0.8
Changelog:

1.0.8 Mon Apr 16, 2001
----------------------
	* Cesar Perez Turrado <cesar@perez.turrado.com> sent in updated es.po
	* Bugfixes
	  o Anthony Mallet <anthony.mallet@ficus.yi.org> patch to fix fonts with
	    XFree86 > 4.0.2
	  o Composite disk launch commands were not saved.
2001-06-11 19:44:30 +00:00
zuntum
9b19c04f33 Initial import of GKrellM-1.0.6, GTK based system monitor
Package contributed by Anthony Mallet <anthony.mallet@ficus.yi.org>
in pkg/12133, modified by me.

With a single process, GKrellM manages multiple stacked monitors and supports
applying themes to match the monitors appearance to your window manager,
Gtk, or any other theme.

  * SMP CPU, Disk, Proc, and active net interface monitors with LEDs.
  * Internet monitor that displays current and charts historical port hits

  * Memory and swap space usage meters and a system uptime monitor.
  * File system meters show capacity/free space and can mount/umount.
  * A mailbox monitor which can launch mail reader, remote mail fetch.
  * Clock/calendar and hostname display.
  * APM laptop battery monitor.
  * CPU/motherboard temperature display if lm_sensors modules installed.

  * Multiple monitors managed by a single process to reduce system load.
  * A timer button that can execute PPP or ISDN logon/logoff scripts.
  * Charts are autoscaling with configurable grid line resolution, or
    can be set to a fixed scale mode.
  * Separate colors for "in" and "out" data.  The in color is used for
    CPU user time, disk read, forks, and net receive data.  The out color
    is used for CPU sys time, disk write, load, and net transmit data.
  * Commands can be configured to run when monitor labels are clicked.
  * GKrellM is plugin capable so special interest monitors can be created.
  * A different theme can be created with the GIMP.
2001-03-13 17:53:29 +00:00