Commit graph

45 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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wennmach
b33bd1b50a Feedback of patches from Love <lha>.
Bump PKGREVISION.
2005-03-26 16:50:59 +00:00
wennmach
9ed59b1d46 Fix a number of issues:
- LP64 and other portability issues
	- Find the correct <kafs.h> in order to get the right prototype for
	  kafs_settoken_rxkad.
	- Find the correct <com_err.h>
	- Add support for -DMULTIPROCESSOR and other kernel compile options

Bump PKGREVISION.
2005-03-25 17:40:25 +00:00
wennmach
9f1c532d9b Update arla to 0.38. The update is necessary to support NetBSD-2.0.
The update during the pkgsrc freeze has been approved by <wiz>.

Two patches have been provided by <christos>.

Tested on NetBSD-1.6.1/i386 and NetBSD-2.0/i386.

Closes PR pkg/20906.
2005-03-15 15:58:52 +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
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
wiz
465b371561 "Blind" conversion to bl3 -- does not compile on 1.6.x nor 2.0_BETA with
bl2 anyway.
2004-07-01 13:42:09 +00:00
jlam
b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30 22:51:11 +00:00
seb
56b682547a USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:59:08 +00:00
seb
04eeb16a1b The INSTALL and DEINSTALL script were overlooked during the conversion
to USE_NEW_TEXINFO. So list them back in {DE,}INSTALL_EXTRA_TMPL.
2003-08-07 15:36:23 +00:00
seb
3e036f5a53 Convert to USE_NEW_TEXINFO.
XXX I was not able to compile this on 1.6W, 1.6.1 or 1.5.3.
2003-08-03 09:55:38 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wennmach
eac7863c4b Update arla to 0.35.12.
Not many changes, the most important one being a fix in the
directory handling. themis has been removed, and is separately
distributed now.
2003-03-05 13:10:21 +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
wennmach
27f579f1db Update arla to 0.35.12pre1.
Prior versions had two major bugs that could lead to kernel panics on
NetBSD-1.6 and -current. mmap(2)ing a file residing beneath /afs would
trigger the panic.

Thanks to Love <lha@stacken.kth.se> for preparing the snapshot.
2003-01-14 12:00:08 +00:00
schmonz
0a1bd5acad Replace IGNORE with PKG_FAIL_REASON or PKG_SKIP_REASON as appropriate. 2002-12-07 02:38:52 +00:00
jlam
9be49d0e40 We don't need USE_BUILDLINK_ONLY...this package uses buildlink2. 2002-11-15 00:06:20 +00:00
wennmach
6a3451efcc Make arla compile on -current. Patch from Love <lha@netbsd.org>.
Bump nb version to 2.
2002-10-07 19:01:24 +00:00
jlam
a13f0bce70 * buildlink1 -> buildlink2
* Honor PKG_SYSCONFDIR
* use bsd.pkg.install.mk to handle the rc.d scripts and config files
2002-09-25 00:06:33 +00:00
wennmach
80530d2731 Fix a problem with VOP_PUTPAGES on NetBSD-1.6 (via patch from
Love <lha@netbsd.org>).

Also, don't try to remove the top-level "lkm" directory on
pkg_delete.
2002-09-23 14:37:18 +00:00
wennmach
5e6d9b56d0 Upgrade arla to 0.35.9
Fixes two security holes: 'xdr'-bug (in vos, not in arlad), and
xfs failes to check for negative numbers in pioctl.

Additional changes: NetBSD/sparc64 now supported, 'themis' added,
local locking, bug fixes.

See http://www.stacken.kth.se/lists/arla-drinkers/2002-08/msg00019.html
2002-08-20 17:47:40 +00:00
jlam
64be0dcb4f Merge arlad and arlad.sh scripts into one, following pkgsrc convention
for rc.d scripts.
2002-08-07 08:30:50 +00:00
wiz
caf19a9aa5 Update to 0.35.8, fixes pkg/17574.
Relevant changes:
* --fake-stat support, fakes mode/stat information.
  Very useful on MacOS X finder that uses this.
* Bug fixes

Also, sort PLIST, and standardize MESSAGE slightly.
2002-07-12 20:40:31 +00:00
wennmach
081b3667f3 Update arla to 0.35.7
This new version fixes some (unnamed, sorry) bugs.
The main rationale for the upgrade is to get rid of the dependency on
kth-krb4 for NetBSD>=1.5 systems. For older systems, we provide full
functionality via (a now buildlinked) kth-krb4.
2002-04-05 11:46:03 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00
agc
57aa4707d7 s/root/${ROOT_USER}/g, now that the definition appears in the
defs.${OPSYS}.mk files.
2001-12-05 15:00:44 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
wennmach
7d3f399204 Upgrade arla to 0.35.5
Most important changes:
o added user-land programs: kalog, aklog, arla-cli
o improved user-land programs: vos, bos, pts, etc.
o added man pages
o security fix (in rx)
o and tons of bug fixes

I included a start script to be placed under /etc/rc.d.
2001-08-09 13:48:58 +00:00
wennmach
430a46a5ef Add CONFLICTS=lwp-* rx-* 2001-03-29 21:02:57 +00:00
hubertf
d32e698de6 Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
2001-02-25 04:17:35 +00:00
hubertf
a5bbac3e93 First round of cleaning up INSTALL usage:
INSTALL -d 	=> INSTALL_*_DIR
 INSTALL	=> INSTALL_*

Beware that only invocations are changed that don't set special
values for owner, mode or group!

Cleanup suggested by zuntum@IRC
2001-02-24 02:09:27 +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
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
hubertf
1791cbecbb etc/rc.d cleanup: rename *.sh -> * 2001-01-26 05:21:43 +00:00
wennmach
01c1732a09 Update arla to 0.34.5.
This version of arla has improved BSD support, so that patches
(patch-ao, patch-ap, patch-aq, and patch-ar) are no longer necessary.
It has improved deadlock detection and many other bug fixes.
2000-10-18 16:32:57 +00:00
garbled
e6506e3bc3 Add an OSVERSION_SPECIFIC=yes flag to these packages. The flag at this time
doesn't enable any functionality.  It is here as a marker, so people building
binary packages know that these packages have version-specific features
that would make them incompatible with other point releases..  (such as
LKM's)
2000-10-18 04:26:53 +00:00
wennmach
dae7703f6e Upgrade arla to 0.34.2
The main purpose of this upgrade is the support of NetBSD-1.5.
Also, patch-ar was added to make arla compile on m68k machines.
2000-08-30 13:04:00 +00:00
hubertf
e75965c6ba Update IGNORE-messages for recent changes: add ${PKGNAME} where
appropriate.
2000-08-21 21:01:29 +00:00
wennmach
556282b81a Update arla to 0.34.1.
arla-0.34.1 contains a new `bos' program, improves handling of
write-back of mmaped pages after close, more stability, bug fixes,
and, most notably, contains updates to the *BSD code.
2000-08-15 16:08:23 +00:00
wennmach
912907cb15 Also check if the kernel sources can be found under $BSDSRCDIR/sys 2000-08-02 13:08:32 +00:00
wennmach
c23f0f8280 Added a conditional IGNORE if the kernel sources are not found under /sys.
The arla pkg builds an LKM, xfs_mod.o, and under NetBSD the full kernel
sources are currently needed to build LKMs.
2000-08-01 09:31:00 +00:00
wennmach
2fdaec5140 Remove some more smartness from Makefile 2000-06-30 15:03:11 +00:00
wennmach
50633292f1 Remove unneccessary patch-ai.
Do not automatically add an entry for xfs to /etc/fstab (pointed
out by hubertf).
2000-06-30 13:35:54 +00:00
wennmach
d3b0a4520b Initial import of arla-0.33, a free AFS implementation from KTH
(Kungliga Tekniska Hoogskolan, Stockholm, Sweden)
2000-06-08 15:56:28 +00:00