Commit graph

127 commits

Author SHA1 Message Date
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
jlam
9d5426ff76 Change the way that legacy USE_* and FOO_USE_* options are converted
into the bsd.options.mk framework.  Instead of appending to
${PKG_OPTIONS_VAR}, it appends to PKG_DEFAULT_OPTIONS.  This causes
the default options to be the union of PKG_DEFAULT_OPTIONS and any
old USE_* and FOO_USE_* settings.

This fixes PR pkg/26590.
2004-08-22 19:32:51 +00:00
jlam
b32800e3ff Rename Makefile.options to options.mk in the packages that I maintain.
This follows the example of the mail/dovecot package, as suggested by
<schmonz>.
2004-08-05 03:04:33 +00:00
jlam
47edab39a4 We only need the full dependency on libtool if we build the dynamic
modules.  Bump the PKGREVISION.
2004-08-04 19:45:02 +00:00
jlam
b460ce1ab5 Convert to use bsd.options.mk. The relevant options variable to set
for each package can be determined by invoking:

	make show-var VARNAME=PKG_OPTIONS_VAR

The old options are still supported unless the variable named in
PKG_OPTIONS_VAR is set within make(1) (usually via /etc/mk.conf).
2004-07-30 21:05:41 +00:00
jlam
c135417273 cyrus-sasl configure option takes no argument. 2004-07-24 18:37:10 +00:00
jlam
e4eb47db4b Need to bump the version in buildlink3.mk since the shlib major was
bumped.
2004-07-24 17:24:29 +00:00
jlam
15dcbb1b12 If neither USE_SASL nor USE_SASL2 are defined, then use cyrus-sasl2 by
default.
2004-07-24 14:21:44 +00:00
jlam
89a26085db Use the correct configure option for cyrus-sasl, and correct the path to
the cyrus-sasl2/buildlink3.mk file.
2004-07-24 14:20:07 +00:00
jlam
dfe438e74b Update databases/openldap to version 2.2.13, the latest stable release.
Major changes from version 2.1.30 include:

  * "LDAP Sync"-based lightweight replication
  * Proxy Cache Support
  * Hierarchical Backend
  * NS-SLAPI Support
  * Backend Layering
  * Access Control extensions including dynamic group support
  * LDAPv3 extensions:
    - ACID extensions
    - Cancel Operation
    - Content Synchronization Operation
    - DIT Content Rules
    - Duplicate Entry Extension
    - Simple Paged Results Extension
    - Proxy Authorization Extension
2004-07-24 03:32:24 +00:00
jlam
acb3730edd Become maintainer since it's a critical component of samba, and I'm still
the maintainer for that package.
2004-07-23 23:51:21 +00:00
danw
7b5422e89b use -DBIND_8_COMPAT on darwin 2004-05-10 19:15:53 +00:00
snj
844b08fcd4 No longer used. 2004-05-09 21:15:16 +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
xtraeme
e8f1fc8256 Update openldap to 2.1.30.
OpenLDAP 2.1.30 Release
        Fixed slapd userdb checkpass bug (ITS#3048)
        Fixed back-ldbm IDL delete bug (ITS#3046)
        Fixed libldap schema parsing bugs (ITS#2920, ITS#3065)
        Fixed liblutil NS MTA MD5 passwd len bug (ITS#2899)
        Removed lint (ITS#3086)
        Documentation
                Updated slapd.conf(5) manpage (ITS#2525)
2004-04-17 10:56:21 +00:00
xtraeme
1d1e6f276e Update openldap to 2.1.29 (latest stable release).
Changes:

OpenLDAP 2.1.29 Release
        Fixed slapd SASL invalid authcID crash (ITS#2961)
        Fixed slapd sasl-regexp debug crash (ITS#3033)
        Fixed back-bdb empty suffix bug (ITS#2970)
        Fixed back-bdb IDL avl_delete failure bug (ITS#3004)
        Fixed libldap assert failure (ITS#2982)

OpenLDAP 2.1.28 Release
        Fixed back-bdb slapadd crash (ITS#2974)
        Fixed typo in ACL STYLE slap_style_e enum (ITS#3001)
        Added ACL set logging (ITS#2949)
        Fixed '=' escape in DN (ITS#3009)
        Documentation
                Fixed ldapmodify(1) manpage (ITS#3002)
                Fixed ldapmodrdn(1) manpage (ITS#3003)

OpenLDAP 2.1.27 Release
        Fixed slapd replog ordering bug (ITS#2512)
        Fixed slapd uninitialized variable bug
        Fixed libldap SASL client callbacks (ITS#2926)
        Build Environment
                Fixed gai_strerr portability problem (ITS#2643)
                Fixed DNS res_query portability problem
2004-03-31 03:52:45 +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
jlam
7203e8edd0 OpenLDAP expects to use the BDB-compat headers. 2004-03-12 03:15:18 +00:00
markd
5b59f6c37d NetBSD-current needs -lcrypto when linking in Heimdal. 2004-03-07 12:12:38 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jlam
3bb41a92a7 The OpenLDAP libraries don't need the Kerberos libraries. 2004-02-21 01:56:42 +00:00
jlam
9a90a5fd3b Refine comment a bit to be more precise. 2004-02-21 01:55:14 +00:00
jlam
df52730681 Enable linking against shared libraries, and correctly enable detection of
the Kerberos libraries.
2004-02-21 01:48:38 +00:00
jlam
dbee72b756 Reenable the use of GNU pth on systems without native pthreads. Bump
the PKGREVISION.  The fix was provided by Nick Hudson and modifies
the libldap initialization routine to call the GNU pth initialization
routine before using it.  The resulting slapd/slurpd passes the test
suite included in the OpenLDAP sources.  This fixes PR 24473.
2004-02-20 13:56:15 +00:00
jlam
6f8b45509c If the threads are non-native, then don't build openldap with threads
support.  The slapd built without threads passes all of its test except
for the replication test, which is because slurpd is not built (slurpd
requires threads).  Bump the PKGREVISION.

This is in response to PR 24473.  As a debugging aid in case someone
attempts to really fix the PR, if _OPENLDAP_REQUIRE_THREADS is "yes",
then openldap will forcibly build using GNU pth if native threads
aren't available.
2004-02-19 14:42:39 +00:00
jlam
b8039c9820 +etc/rc.d/slurpd 2004-02-18 14:00:42 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
jlam
ead8549ddd Update databases/openldap to 2.1.25 (latest stable release as of
20031217.  Changes from version 2.1.22 include many bug fixes including
memory leaks, adding lutil_passwd extensions, and adding config file
keywords to control the replication daemon.
2004-02-14 11:31:50 +00:00
jlam
a7d877ca6a Append to BUILDLINK_DEPENDS.<pkg> instead of setting a default value. In
the normal case when BUILDLINK_DEPENDS.<pkg> isn't specified, it receives
a value only once due to the multiple inclusion protection in the
bulldlink3.mk files.  In the case where a package includes several
buildlink3.mk files that each want a slightly different version of another
dependency, having BUILDLINK_DEPENDS.<pkg> be a list allows for the
strictest <pkg> dependency to be matched.
2004-01-24 03:26:45 +00:00
jlam
ef41749876 Convert to use krb5.buildlink3.mk to get Kerberos 5 support. Tested to
build and install properly using Heimdal.
2004-01-21 14:08:24 +00:00
jlam
263e5782b4 Whitespace 2004-01-21 13:11:09 +00:00
jlam
adc4a993da Fix the dynamic PLIST generated when building this package with pkgviews
by delaying installation of config files until INSTALL script time.
2004-01-09 22:48:16 +00:00
jlam
2319155e15 bl3ify 2004-01-09 20:43:02 +00:00
jlam
d279e6f535 Use S/+$// instead of C/\+$// to save a backslash. Very highly
recommended by seb :)
2004-01-05 11:05:44 +00:00
jlam
47bb2aae5f Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk. 2004-01-04 23:34:04 +00:00
jlam
339cd13cb2 Initial sprinkling of work-in-progress buildlink3.mk files for using the
buildlink3 framework.
2004-01-03 23:06:43 +00:00
agc
a2cb5c5b68 Add a patch and bump PKGREVISION for a patch by Christian Limpach for a
problem noted on current-users by Murray Armfield.

The problem was:  "Just try executing slapindex to get quite a verbose
libpthread invalid mutex message.  slapd still core dumps on
shutdown."

Thanks to Christian for fixing this.
2003-12-04 14:48:17 +00:00
jschauma
fe19bb05b5 PKGREVISION++ after openssl update. 2003-11-12 03:39:39 +00:00
salo
6ac92bd84f Delint, style, whitespace. 2003-09-29 17:01:24 +00:00
salo
c807b2af6e PKGREVISION++
Obey PKG_SYSCONFDIR.
2003-09-29 16:56:54 +00:00
reed
fad404246a Just added a comment into Makefile as a reminder why PKG_SYSCONFBASE is
used instead of PKG_SYSCONFDIR. The openldap build defines a
ldap_subdir (as /openldap) which is automatically appended (unless
using --without-subdir which also breaks share and libexec). (Okay'd
by wiz.)
2003-09-27 13:54:51 +00:00
markd
07c95aaf67 Put patch-ad back, probably still needed on sparc64. 2003-09-18 09:52:21 +00:00
markd
9b33c14799 Update openldap to version 2.1.22.
This release contains the following major enhancements:

        * Transactional backend
        * Improved Unicode handling
        * Improved DN handlng
        * Improved Referral handling
        * SASL authentication/authorization mapping
        * SASL in-directory storage of authentication secrets
        * Enhanced administrative limits/access controls
        * Meta backend (experimental)
        * Monitor backend (experimental)
        * Virtual "glue" backend (experimental)
        * LDAP C++ API
        * Updated LDAP C and TCL APIs
        * LDAPv3 extensions, including:
            - Enhanced Language Tag/Range Support
            - 'Who am i?' Extended Operation
            - 'Matched Values' Control
            - 'NOOP' Control

   plus lots of bug fixes.

Update (to 2.1.20) from Juan RP in PR pkg/21682 with some tidy up and
update to 2.1.22 by Marc Recht and me.

Also closes PR pkg/21217 by Jean-Luc Wasmer and PR pkg/20972 by Jeremy
Reed.
2003-09-18 05:37:15 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
wiz
f16927fc96 Pthreads not needed -- only used by executable, not by
any of the openldap libraries.
Closes PR 21490 by Todd Vierling.
2003-05-08 12:30:37 +00:00
wiz
7166660e08 Dependency bumps, needed because of devel/pth's major bump, and related
dependency bumps.
2003-05-02 11:53:34 +00:00
dillo
5f4ad95078 convert to use test target from bsd.pkg.mk
addresses PR pkg/19416
2003-02-17 15:27:58 +00:00
kleink
51c13fecd3 As usual, prevent compiling SHA1 from blowing up on sparc64 by moving
each round into a separate function.  Bump to 2.0.27nb2.
2003-01-29 22:05:33 +00:00