Commit graph

33 commits

Author SHA1 Message Date
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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +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
xtraeme
1e73555403 Bump PKGREVISION and remove X11 support where appropiate. 2004-06-20 21:52:07 +00:00
snj
0a9411e5e7 Convert to buildlink3. 2004-04-25 08:24:03 +00:00
grant
6eab5759a3 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-24 14:50:05 +00:00
martti
8cee801716 COMMENT should start with a capital letter. 2003-07-21 17:10:16 +00:00
adam
d286d86778 Revision bumped because of gd shared library major bump 2003-06-23 11:16:33 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jmmv
e2e5b12530 - Honour PKG_SYSCONFDIR.
- Use OWN_DIRS_PERMS to handle directories that were previously created by
  the home-grown netsaint-setup.sh script.
- Bump PKGREVISION to 2.
2003-05-01 19:14:12 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
wiz
e8817c9088 Complete standardization of messages according to latest pkglint. 2002-09-24 12:29:55 +00:00
jlam
1c57323789 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:48:57 +00:00
wiz
1a4485ab32 Add RCS Id. 2002-07-02 12:56:53 +00:00
rh
471fd23b45 Don't use fixed ID numbers for the netsaint/netstadm users/groups.
Fixes PR pkg/16365.
2002-04-15 21:10:27 +00:00
rh
486c969258 Add files missing in previous commit 2002-04-14 11:02:13 +00:00
rh
f9151c0e95 Bump netsaint-base to nb1 using patches provided in PR 16293 by Greg
A. Woods <woods@planix.com> with some modifications by me.  Changes are:

	- better support for building optional plugin packages
	- install no longer overwrites existing config files
	- sample config files are installed in share/examples
	- build no longer fails if not done as root
	- appropriate netsaint users and groups are now created
	- no longer installs one-time setup script in sbin
	- daemon logo
2002-04-14 10:57:10 +00:00
rh
f9a2c69fe5 Update netsaint-base to 0.0.7. Package provided in PR pkg/15992 by
Murray Armfield <murray@river-styx.org>, thanks!

Changes include:
	- several new CGIs
	- WAP interface
	- forced service checks
	- acks w/o notifications
	- custom intervals for notification escalations
	- passive check submissions via web interface
	- auto-save of retention data
	- extended service information
	- scheduled downtime
	- service dependencies
	- flap detection
	- aggregated status updates
	- new macros
	- user-supplied coordinates in status map
	- minor bug fixes and tuning
2002-03-25 12:54:17 +00:00
rh
328661a751 Drop maintainership of the netsaint packages. I no longer use netsaint
and at the moment don't have the time to actively maintain them.
2002-03-22 11:00:34 +00:00
wiz
728521fbcf gd>=1.8.4nb1 should be enough, since there is no version >1.8.4nb1 yet. 2002-03-14 00:43:09 +00:00
fredb
b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00
jlam
b5a338d728 Instead of manually making "install-config" as the first step of the
post-install target, just add install-config to the list of
INSTALL_TARGETS.  This is much simpler, duh!  Thanks to Thomas Klausner
<wiz@netbsd.org> for pointing this out.
2002-01-31 18:58:40 +00:00
jlam
7088448272 If one wants to make a target from some Makefile within ${WRKSRC}, then
the right way to call the target is:

        ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} target

The environment should be set explicitly, and one should _always_ call
"${MAKE_PROGRAM}", and not "${MAKE}" since the former always refers to
the name of the actual make program used, regardless of whether USE_GMAKE
is defined or not.
2002-01-31 17:24:38 +00:00
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +00:00
wiz
433b62957e Move to sha1 checksum, and/or add distfile sizes. 2001-04-21 11:23:08 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
wiz
a13ea108bb Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:52:59 +00:00
wiz
a6a576bb2c Judging from the alpha bulk build, this seems to want perl. Add USE_PERL5. 2001-02-01 10:39:40 +00:00
wiz
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +00:00
rh
8b545c5900 Split out common parts of the netsaint base/plugins Makefiles into a common
include file
2001-01-16 16:23:06 +00:00
rh
1f469c5d68 Initial import of netsaint-0.0.6, an advanced network monitoring program 2001-01-16 15:39:42 +00:00