Commit graph

75 commits

Author SHA1 Message Date
rillig
9984e0604a Removed trailing white-space. 2005-09-28 14:15:48 +00:00
rillig
d4d62870ab Replaced patch-ba with an identical patch-bm, because the former had
needed the CVS -ko mode in revision 1.4.
2005-09-03 23:12:20 +00:00
rillig
2c727e22c8 Removed RCS Id from patch-ba. 2005-06-27 15:58:33 +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
rillig
f795c2e475 Removed trailing white-space. 2005-05-23 08:26:03 +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
reed
079fa06768 Remove the @comment entry for the rc.d script. It is not
needed.

I noticed this because I am changing the framework to not
auto-register the rc.d scripts and I am adding them to all the
PLISTs.
2005-05-02 19:02:40 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
58cb0f2cd5 Add glue to make arla compile on NetBSD 3.99.3, aka -current 2005-04-05 15:00:10 +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
agc
b12d62efb5 Add RMD160 digests. 2005-02-24 12:13:41 +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
reed
9c790735db mk/bsd.pkg.install.mk now automatically registers
the RCD_SCRIPTS rc.d script(s) to the PLIST.

This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.

This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)

These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)

I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.

Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
  hard-coded etc/rc.d. These need to be fixed.
- maybe  remove from mk/${OPSYS}.pkg.dist mtree specifications too.
2004-04-23 22:07:52 +00:00
seb
391b6545a4 Remove info files entries from PLIST.
XXX the package did not build for me.
2004-03-08 22:36:32 +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
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +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
cjep
b63b3e8e3c Fix RCS tag line so that pkglint does not complain. 2002-12-23 18:28:20 +00:00
cjep
ebe2fee544 Fix RCS tag. 2002-12-23 18:25:28 +00:00
cjep
a2904a545f pkglint whitespace complaint. 2002-12-07 15:38:48 +00:00
schmonz
0a1bd5acad Replace IGNORE with PKG_FAIL_REASON or PKG_SKIP_REASON as appropriate. 2002-12-07 02:38:52 +00:00
cjep
04b9ad7a1f Fix RCS tag. 2002-11-26 21:42:30 +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
seb
db84442a67 Substitute a couple of mkdir' by ${MKDIR}'.
Remove `-p' from mkdir arguments, it is already part of ${MKDIR}.
While here substitute a couple of ${PREFIX} by `%D' in
`@exec ${MKDIR} ...' lines and add a couple of missing `%D' in such lines too!
2002-06-26 10:29:33 +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
skrll
08bdd44549 mkdir -> ${MKDIR}
rmdir -> ${RMDIR}
rm -> ${RM} (${RM} added to PLIST_SUBST)
chmod -> ${CHMOD}
chown -> ${CHOWN}
2002-02-15 10:12:28 +00:00
skrll
9bd4180d57 /bin/mkdir -> ${MKDIR}.
Make the print-PLIST target output ${MKDIR} also.
2002-02-05 22:39: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
zuntum
d038a73ebd Move pkg/ files into package's toplevel directory 2001-10-31 22:52:58 +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
joda
8a693284e8 add note about enabling lkm-loading in rc.conf; suggested by Cana McCoy 2001-07-02 15:53:49 +00:00
wiz
433b62957e Move to sha1 checksum, and/or add distfile sizes. 2001-04-21 11:23:08 +00:00