Commit graph

97 commits

Author SHA1 Message Date
jlam
12351d2476 * Change some instances of ROOT_USER and ROOT_GROUP to BINOWN and BINGRP
in SPECIAL_PERMS usage.

* Consistently use 4555 for setuid and 2555 for setgid programs.
2007-06-15 18:15:06 +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
rillig
d5344572f8 BINOWNER and BINGROUP need to be set in MAKE_FLAGS, not MAKE_ENV. 2007-02-15 21:29:13 +00:00
joerg
9fabe34848 Modular Xorg support. 2007-01-09 08:07:44 +00:00
rillig
f1cbe54951 Fixed the paths to the manual pages. 2006-09-07 10:32:56 +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
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
cube
c777fe98a9 Drop -Werror. Fixing all gkrellm warnings requires supernatural powers.
Superheroes, feel welcomed to help.
2006-07-04 00:26:05 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +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
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
joerg
39f413f8d7 Add DragonFly support. 2006-03-19 22:10:38 +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
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
jlam
7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00
wiz
d774725534 Change path from devel/pkgconfig to devel/pkg-config.
No PKGREVISION bump since pkg-config is only a BUILD_DEPENDS.
2005-07-21 16:29:42 +00:00
cube
adfa1f7073 The actual typo was in the @exec line. 2005-07-06 17:00:12 +00:00
wiz
66db2cb00e Fix typo, closing PR 30676. 2005-07-06 16:03:34 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
jlam
f35b224a50 SUBST_FILES.* must be relative to ${WRKSRC}. 2005-05-21 04:10:17 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
cube
9b4d0feaf9 Fix LP64 issues with gkrellm and gkrellm-server. 2005-03-30 15:26:43 +00:00
cube
ba02edc513 Fix MASTER_SITE. Pointed out by xtraeme@. 2005-03-22 15:14:41 +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
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
sketch
88fbf7eca4 Use ${BSD_INSTALL} rather than hardcoded install(1). 2004-11-15 15:45:59 +00:00
xtraeme
dd01de03eb Update gkrellm to 2.2.4, ok cube@.
Changes:

2.2.4 - Mon Sep 6, 2004
-----------------------
* 2.2.3 used a Gtk 2.4 function and did not compile under Gtk 2.2, so
  added GTK_CHECK_VERSION.
* Jerome UZEL got a patch in to account for deleted email in
  Evolution mailboxes.

2.2.3 - Mon Sep 6, 2004
-----------------------
* On SMP machines, allow sensors to be relocated to composite CPU panel.
* Alan Swanson: icon patch to give GKrellM and its configuration windows
  an icon for task switching.
* Bugfixes:
  o Christophe Barbe: fix mail.c X-Evolution flag decoding to use
    proper "seen" bit for determining new/old email.
  o Henrik Brix Andersen: use gtk_window_get_size() when calculating
    _NET_WM_STRUT size so strut space can be resized when shutting gkrellm.
  o Don't save new y_positions that are y packed and not user set (eg
    preserve user positon when opening fs secondaries for > 10 seconds).
  o Don't nest static function declarations inside of functions to fix
    upcoming gcc 3.5 compile errors - from Art Haas.
  o Sensor location menu wasn't recreated after the first config opening.
2004-10-25 15:29:48 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
cube
da3a75dc75 Update gkrellm packages to version 2.2.2.
2.2.2 Fri Jul 16, 2004
----------------------
        * Added some theme gkrellmrc variables, see Themes changelog.
        * Bugfixes:
          o Client mode seconds display had a sampling beat effect which caused
            a second to be periodically skipped.
          o Craig Boston <craig--at--fopye.gank.org> fix pixbuf memory leak in
            gkrellm_decal_scroll_text_set_internal().
2004-07-27 14:57:23 +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
xtraeme
c94496a6aa Update sysutils/gkrellm to 2.2.0.
2.2.0 - Sat May 15, 2004
------------------------
  * Replace GdkFont text drawing with Pango.
  * Add plugin capability to the gkrellmd server. Wrote demo5 plugin as a
    tutorial on a client/server capable plugin.
  * Minimize Pango drawing to get CPU usage down:
      1) Draw chart text on a caching text layer.
      2) Add a "scroll text" api to text decals where a Pango string is
         drawn on a pixmap which can be srolled by setting the decal offset.
         See the plugins and themes changelog for more info.
  * linux.c reads temperatures from the hddtemp daemon so disk temperature
    display can be consistent with other sensors (and detected by gkrellmd).
  * Hajimu Umemoto: glib12 server Makefile, use `glib-config --libs glib
    gmodule and initialize text extent in clock.c
  * Sjoerd Simons: set the _NET_WM_STRUT property when dock type.
  * Defer setting withdrawn state until after main window realize.
2004-05-15 23:42:24 +00:00
fredb
d9f6c2d9cb Make this build again on older NetBSD systems, without statvfs(). 2004-05-09 22:04:30 +00:00
fredb
e9dc5531d4 Neither the client nor server needs to be setgid kmem on NetBSD.
Note: it's very likely the client doesn't need to be setgid kmem on any
platform.
2004-05-09 20:47:04 +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
wiz
1e9adb17f7 Unused. 2004-04-25 23:34:07 +00:00
xtraeme
3a2f0bb9a4 Make this build in NetBSD -current (statfs->statvfs). 2004-04-23 15:13:07 +00:00
minskim
b8acf7a03e Honor BINOWN and BINGRP. 2004-04-10 03:59:50 +00:00
cube
511eccffe8 Update to 2.1.28.
pkgsrc changes:
  o provide GKRELLM_DEBUG to easily build a debug version (should help with
    the spinning gkrellm issue)
  o don't strip binaries in debug mode
  o small gkrellm Makefiles fixes

GKrellM changes (from Changelog):
  o Stephan Kapfinger <s.kapfinger--at--gmx.de> mail.c patch fixes bug
    I introduced into the last release where parsing of the mail reader
    command could fail.
2004-03-29 06:47:30 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00