Commit graph

212 commits

Author SHA1 Message Date
rillig
5946936ffc Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:52:18 +00:00
rillig
5ac8ad7004 Removed trailing white-space. 2005-09-28 14:31:06 +00:00
rillig
9984e0604a Removed trailing white-space. 2005-09-28 14:15:48 +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
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
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
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +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
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
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
kristerw
cd9d53633a Prevent paths to the build directories from being included in the package.
Bump PKGREVISION.
2005-07-12 19:41:43 +00:00
kristerw
844005e21f Regenerate patch to make the Darwin patch(1) handle it. 2005-07-08 19:46:59 +00:00
hira
a2de148076 Add missing RCS Id tag to patch-ah. 2005-06-17 15:46:46 +00:00
jlam
e46a9dd380 Create directories before installing files into them. 2005-06-17 03:50:19 +00:00
wiz
14d5638070 Move inclusion of tk83/bl3.mk above inclusion of bsd.pkg.mk.
Probably fixes bulk build problem.
2005-06-11 11:22:21 +00:00
garbled
bf1a59c0c9 Update clusterit to 2.3.1. Fixes a crash bug while reading the clusterfile. 2005-06-02 20:48:12 +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
wiz
4c27260264 Make build, install and deinstall on NetBSD-2.0/i386. 2005-05-29 14:38:32 +00:00
wiz
d7621795f8 Remove support for automatic interactive fetching -- the master site
is broken anyway.
Remove makedepend tarball and corresponding master site, it does not
exist any longer.
Remove FLAGS=-m486, newer gcc does not like it.
Replace USE_PERL5 with USE_TOOLS+=perl.
2005-05-29 11:25:12 +00:00
wiz
2a4ed3c1ad Sort. 2005-05-29 11:23:14 +00:00
garbled
1771603872 Update ClusterIt to 2.3.
Fixes hang bug with ssh under linux, adds a number of speed improvements, now
uses autoconf to build rather than handwritten makefiles.  Greatly enhanced
stability.
2005-05-24 05:42:37 +00:00
rillig
f795c2e475 Removed trailing white-space. 2005-05-23 08:26:03 +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
reed
ee8be9d0c1 RCD_SCRIPTS_EXAMPLEDIR is no longer customizable.
And always is defined as share/examples/rc.d
which was the default before.

This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.

This was discussed on tech-pkg in late January and late April.

Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
2005-05-02 20:33:57 +00:00
jschauma
c4a71f0977 Apply patch from Mark Davies to make this build after stafs -> statvfs
(ie NetBSD-3 and -current).
2005-05-02 18:15:57 +00:00
jlam
7c4f04bbef Avoid using != to define some variables .. just use :sh instead to defer
evaluation until the make targets are invoked.  This avoids needing
${ECHO} and ${TR} in the top-level make.
2005-04-28 23:17:53 +00:00
jlam
c58b011808 Avoid using != to define _PVM_ARCH ... use :sh instead to defer the
evaluation until we invoke the make targets.  This avoids needing ${TR}
in the top-level make.
2005-04-28 23:11:14 +00:00
jschauma
ed707278a9 merge some changes from the freebsd metrics code into the netbsd source
file.  bump pkgrevision
2005-04-13 01:57:29 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
13f84fb380 Default to build dependency, since this package
only installs static libraries.
2005-04-05 11:01:49 +00:00
jschauma
a89a07221d Update to 3.0.1 and switch to .tar.bz2 distfile.
Changes (mostly bugfixes)::

	* srclib/libmetrics/freebsd/metrics.c (1.6): Many bug fixes and
	cleanups:   - Make cpu_state act like get_netbw and get new values
	only if called	   more than 1/2 second from the last value update.
	 This causing	  obviously weird results from the CPU metrics on
	sparc64 (where the     counters seem to be very course) and bogus,
	but more subtlety broken     results on other architectures.  This
	has always been broken.    - Implement cpu_intr_func (one line!)
	- Make the logic for handling bad returns from sysctl make sense.
	It	should never be triggered in most cases, but at least this
	way it	    won't return bogus values when it happens.	  - Prefer
	sysctlbyname() to sysctl().  It's much easier to read.	  - Reduce
	the use of pointless temporary variables.    - Comment/white space
	fixes, include more comments of metrics we are	    unlikely to
	actually implement and comments on other rather bogus	   metrics,
	mostly memory related ones.

	* lib/libgmond.c (1.17): Set the default time for
	tcp_accept_channels to be -1 (blocking io)

	* srclib/libmetrics/linux/metrics.c (1.5): Fixed a bug in
	pkts_in/out bytes_in/out on for some Linux 2.6.x kernels
	http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=21

	* gmond/: g25_config.c (1.3), gmond.c (1.102): Patched two bugs in
	gmond.	The first bug causes gmond to occasionally stop reporting
	occasionally when there is a network failure.  The second bug in
	gmond relates to the host mask being set to 24 instead of 32 when
	converting old gmond.conf configuration files.

	* srclib/libmetrics/freebsd/metrics.c (1.5): Fix a number of bugs
	of varying severity:  - makenetvfslist had some nasty uninitilized
	variable bugs under    FreeBSD 4.x, fix those.	 - general
	reorganization and logic clarity improvements in
	makenetvfslist.   - Make machine_type_func, os_name_func, and
	os_release_func and correct	their error handling code to
	actually do something useful (not that	   it should ever be
	triggered).

	* srclib/libmetrics/freebsd/metrics.c (1.4): - Fix a memory leak in
	find_disk_space() as reported by Glen Beane.  - Overhaul
	makenetvfslist() a bit to fix a leak in low memory situations,
	reduce duplicated code, and streamline error handling.	- Fix a few
	compiler warnings.
2005-04-03 19:13:50 +00:00
jschauma
7c6a9b9f04 Make this work on IRIX.
Other non-NetBSD OS probably want to check this, too, since so far we've
always built with --with-arch=netbsd...
2005-03-07 02:08:37 +00:00
wiz
bb872d8ba0 Sort. 2005-03-03 12:07:52 +00:00
garbled
12392dda0b update mpich to 1.2.6, with most work provided by Phil Nelson in PR pkg/27273
with some minor PLIST and etc fixes by me.
2005-03-03 12:01:30 +00:00
agc
9c33078522 Add RMD160 digests 2005-02-24 12:19:55 +00:00
jschauma
5a3deafb03 Upgradde ganglia-monitor-core to version 3.0.0, which was released
one day after the initial import of this package.
2005-02-10 02:33:53 +00:00
jschauma
df5387e06b add/enable ganglia-monitor-core 2005-02-07 14:35:02 +00:00
jschauma
4e46ea50c6 Initial import of ganglia-monitor-core into pkgsrc:
Ganglia is a scalable distributed monitoring system for high-performance
computing systems such as clusters and Grids. It is based on a hierarchical
design targeted at federations of clusters. It relies on a multicast-based
listen/announce protocol to monitor state within clusters and uses a tree of
point-to-point connections amongst representative cluster nodes to federate
clusters and aggregate their state. It leverages widely used technologies such
as XML for data representation, XDR for compact, portable data transport, and
RRDtool for data storage and visualization. It uses carefully engineered data
structures and algorithms to achieve very low per-node overheads and high
concurrency. The implementation is robust, has been ported to an extensive set
of operating systems and processor architectures, and is currently in use on
over 500 clusters around the world. It has been used to link clusters across
university campuses and around the world and can scale to handle clusters with
2000 nodes.

http://ganglia.sourceforge.net
2005-02-07 14:33:19 +00:00
jlam
b6b853727d Nuke USE_FORTRAN and bring the f2c handling within the mk/compiler
framework.  The list of changes include:

  * Modify compiler.mk so that "c" is always prepended to USE_LANGUAGES,
    so we no longer need to say it in package Makefiles.  Packages
    should now append to USE_LANGUAGES instead of setting it.

  * Create mk/compiler/f2c.mk which implements another pseudo-compiler
    "f2c" that may be used with any C compiler backend, e.g.

	PKGSRC_COMPILER= f2c ccache gcc

  * Teach the various "real" compiler files, e.g., sunpro.mk, mipspro.mk,
    etc., to use f2c if the native Fortran compiler isn't present.

Packages that use Fortran should now simply include the line:

	USE_LANGUAGES+=	fortran

in the package Makefile.
2005-01-12 15:31:58 +00:00
reed
32d8f290c2 The default location of the pkgsrc-installed rc.d scripts is now
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.

This is from ideas from Greg Woods and others.

Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
2004-12-28 02:47:40 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00
minskim
454cd9af8b Add build dependency on pkgconfig. 2004-12-14 20:34:42 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
adam
9c4c68ccc9 Changes 3.4.5:
The latest PVM release 3.4.5 is mainly bug fixes and additional
support for varying Linux distributions and some better 64-bit
Linux/AMD support (like it doesn't seg fauly any more :-).
Added strerror() support instead of old crusty global vars.
New architectures were added for AIX5*.  Fixed hilarious bug
in pvmtmpnam(), caused crash after 10,000 spawns...  :-D
While there's a variety of little tweaks, there are no significant
changes or additions to the basic functionality.
2004-11-12 10:45:45 +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
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
wiz
26e1898141 Fix installation with gcc3.
Install documentation into share/doc instead of share/doc/html.
Add missing files to PLIST.
Bump PKGREVISION to 2.
2004-09-10 20:23:46 +00:00
jschauma
e9537292f9 Update GridSim to 3.0.2 to fix installation problems seen in latest
bulk-builds.
Changes:
- fix a bug in GridResource.init() method.
  policyType_ attribute should be instantiated before creating the policy_
  object.
- fix a bug in GridSim.gridletSubmit(Gridlet, int).
  By default, acknowledgement is false or not required.
- fix a bug in GridResource.processGridletSubmit().
  If a Gridlet has finished previously, then a resource needs
  to send it back to sender/user.
- renumbered the tags in GridSimTags.
  Originally, there are two tags with the same integer value.
2004-09-07 17:12:24 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
dmcmahill
f7c1751652 correct library dependency for xep after libtoolization. 2004-08-05 00:23:32 +00:00