Commit graph

64 commits

Author SHA1 Message Date
cjep
64c9e8a407 Change USE_KERBEROS to PKG_USE_KERBEROS in pkgsrc. There was a "conflict"
which the basesrc USE_KERBEROS variable. Discussed on packages@

This fixes PR#17182 from Takahiro Kambe. The problem was pointed out by
FUKAUMI Naoki on a Japanese NetBSD mailing list.
2002-06-15 21:19:59 +00:00
jlam
43c1145f91 Remove odd -L${WRKSRC}/libraries junk from openldap libtool archives.
Fixes part of pkg/15794 by Bernd Ernesti <bernd@arresum.inka.de>.  This
wasn't actually a buildlink problem, but buildlink is flexible enough to
provide a solution.
2002-03-07 23:40:56 +00:00
jlam
eb1e93618c If USE_SASL == YES, then the openldap libraries are linked against
libsasl.so, so include cyrus-sasl/buildlink.mk to pull in the SASL
libraries into ${BUILDLINK_DIR}.
2002-03-07 21:50:40 +00:00
martti
83b389a704 Updated openldap to 2.0.23
* Fixed slapd moddn acl bug (ITS#1562) (ITS#1582)
* Fixed slapd acl regex (to dn="") portability bug (ITS#1579)
* Disabled -lldap atexit() handler (ITS#1577)
* Updated config.guess/sub scripts (ITS#1567)
* Fixed a number of typos (ITS#1578)
2002-02-13 12:21:24 +00:00
jlam
e0d358778b Solaris' test binary (test/[) doesn't grok "-e". Replace with "-f".
Noted by Stoned Elipot <seb@netbsd.org> in private email.
2002-02-05 06:04:36 +00:00
kleink
549e7ed4e5 Update openldap to 2.0.22. Notable changes since version 2.0.21(nb1):
Fixed slapd passwd modify referral bug
	Fixed back-ldbm index threading bug
	Fixed back-ldbm ordering presence index bug
	Fixed back-ldap modify bug (ITS#1547)
	Fixed -lldap TLS errno bug
	Fixed ud v2 kind bug
	Updated slapd slurpd friendly code
	Build environment
		Fixed Mach cthreads detection (ITS#1554)
		Updated Berkeley DB 4 detection
2002-02-02 15:00:18 +00:00
jlam
890dfbe9bc Add SASL-based user authentication based on if USE_SASL=YES. 2002-02-01 18:32:34 +00:00
jlam
23f593e42e Update databases/openldap to 2.0.21nb1. Changes from version 2.0.21 are
building this package _without_ threads support if the threads are non-
native.  While the package does build correctly using GNU pth, and the
clients run correctly, the slapd server isn't able to pass "make test".
When built without threads support, only the replication test fails, I
think because slurpd isn't built.
2002-01-31 05:06:54 +00:00
jlam
4d3918b43d Add a rc.d-style control script for slapd. 2002-01-30 07:34:00 +00:00
kleink
e6e6a729fd Update openldap to 2.0.21. Notable changes since version 2.0.20:
Fix slapd empty string indexing/filtering handling (ITS#1507)
	Changed slapd ACL selfwrite replace logic (ITS#1530)
	Build environment
		Updated IPv6 configuration argument handling
		Fix back-shell tools make depend bug (ITS#1518)
		Removed extraneous files
2002-01-15 23:26:31 +00:00
kleink
0d6a154a52 Update openldap to 2.0.20. Notable changes since version 2.0.19(nb1):
Fixed slapd ACL empty replace bug (ITS#1530)
	Fixed slapd ACL peername/sockname exact match bug (ITS#1516)
	Fixed back-passwd db_config bug
	Fixed -lldap cache debug bug (ITS#1501)
	Fixed -lldap dnssrv free bug
	Fixed -lldap Start TLS first op bug
	Fixed slurpd TLS non-critical/critical bug (ITS#1527)
	Fixed slurpd SASL password bug (ITS#1528)
	Build environment
		Fixed repl_user build error (ITS#1503)
		Updated BerkeleyDB 4 support
		Updated schema files
		Updated Windows NT/2000 MSVC5 port
2002-01-14 22:21:03 +00:00
jlam
50eea9f567 PKG_SYSCONFSUBDIR is not changeable for this package as "openldap" is
automatically appended by the build to "sysconfdir", so change setting
from ?= to =.  Also remove the MAKE_FLAGS line that was supposed to do the
same thing as the previous change, but was apparently not working.
2002-01-06 19:33:34 +00:00
skrll
94d4988e24 Pass the base directory for PKG_SYSCONF to the configure script - openldap
is added by the pkg. (Hi Johnny!)

Fixes the install problem noted in the recent bulk build and means that a
build of kdebase2, etc... won't fail.
2002-01-06 11:21:19 +00:00
jlam
cb2703fbd1 Include pthread.buildlink.mk now that OpenLDAP is built with pthreads
support.
2002-01-01 00:00:18 +00:00
jlam
5547d6873d Update databases/openldap to 2.0.19nb1. Changes from version 2.0.19:
* Use pthread.buildlink.mk as OpenLDAP now builds correctly with GNU pth for
  a pthread implementation.  This allows slurpd to be built on all platforms.
* Use tcp_wrapper/buildlink.mk and always enable the use of TCP wrappers.
* Use the general INSTALL scripts to deal with the config files and
  directories needed by this package.  This now works correctly whether we
  build from source or if we install via a binary package.
* Honor PKG_SYSCONFDIR.
2001-12-31 08:36:09 +00:00
kleink
9058149209 Update to OpenLDAP-2.0.19; changes since 2.0.18 include:
Fixed back-ldbm not filter indexing (ITS#1405)
	Fixed back-passwd e_ndn bug (ITS#1467)
	Fixed back-ldap undef ad bug (ITS#1367)
	Fixed slapd suffix "" bugs (ITS#1430)
	Fixed slapd zero length replace bug (ITS#1364)
	Fixed slapd teletex string printables bug (ITS#1419)
	Fixed slapd unallocated sockets bug (ITS#1415)
	Fixed slapd undefined present filter bug (ITS#1439)
	Fixed -lldap cacertfile bug (ITS#1406)
	Fixed -lldap ldap_url_seach_s bug (ITS#1429)
	Fixed -lldap unbind free bug (ITS#1442)
	Fixed -llber realloc bug (ITS#1410)
	Fixed ldappasswd/slappasswd strncmp bug (ITS#1497)
	Fixed various memory leaks
	Updated slapd emfile/enfile handling
	Build environment
		Fixed passwd-search port bug (ITS#1461)
		Fixed Kerberos build bug (ITS#1468)
		Updated CThread detection (ITS#1440)
		Updated MAXPATHLEN handling (ITS#1440)
		Fixed TLS build (ITS#1412)
		Added BerkeleyDB 4 support
		Added GNU ar support (ITS#1460)
2001-12-20 22:16:44 +00:00
zuntum
a437fd43cc Move pkg/ files into package's toplevel directory 2001-11-01 00:20:13 +00:00
zuntum
0ca28723fb Move pkg/ files into package's toplevel directory 2001-11-01 00:11:36 +00:00
kleink
92f6e17557 Be explicit about an OpenSSL dependency. 2001-10-26 13:41:27 +00:00
kleink
a0949d40a7 Update for 2.0.18 as well. 2001-10-26 12:43:20 +00:00
kleink
c5a9cd15b6 Update to OpenLDAP 2.0.18; notable changes:
OpenLDAP 2.0.18 Release
        Fixed -llber ber_bvecadd bug (ITS#1398)
        Fixed slap tools replica config bug (ITS#1385)
        Build environment
                Updated req_query detection
2001-10-26 09:04:49 +00:00
kleink
c1f1fd1134 Update for OpenLDAP-2.0.x. 2001-10-25 18:52:04 +00:00
tron
5eb9a5c340 Update "openldap" package to version 2.0.17. Major changes since version
1.2.13:
- LDAPv3 support
    + RFC 2251-2256
    + Language Tags (RFC 2596)
    + SASL (RFC2829)
    + TLS (RFC2830) and SSL (ldaps://)
    + named references
    + DNS SRV location
- IPv6 support
- LDAP over IPC support
- Updated C API
- LDIFv1 (RFC2849)
- Enhanced Standalone LDAP Server:
    + Updated Access Control System
    + Thread Pooling
    + DNS SRV referral backend (experimental)
    + LDAP backend (experimental)
    + SQL backend (experimental)
    + Better tools

This fixes PR pkg/14339 by Hauke Fath.
2001-10-25 16:15:44 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
kleink
087f3d638d Update to OpenLDAP 1.2.13.
Changes included in OpenLDAP 1.2.13
	CVS Tag: OPENLDAP_REL_ENG_1_2_13
	Fixed slurpd millionth second bug (ITS#1323)
	Fixed libldap result error memory leak (ITS#1161)
2001-10-01 16:42:30 +00:00
jlam
5401af423f Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. 2001-09-14 02:39:07 +00:00
jlam
c17956fcf9 Add buildlink.mk file for use by other package Makefiles. 2001-09-14 02:27:35 +00:00
jlam
328a35f96f LIBS is automatically added to CONFIGURE_ENV by bsd.pkg.mk if
GNU_CONFIGURE is defined, so simply set LIBS to the appropriate value.
2001-06-12 20:33:00 +00:00
jlam
c4e71c5e7a CPPFLAGS is now passed to MAKE_ENV and CONFIGURE_ENV by bsd.pkg.mk, so
adapt by moving CPPFLAGS settings to top-level, and removing explicit
inclusion of CPPFLAGS into MAKE_ENV and CONFIGURE_ENV.
2001-06-11 06:34:17 +00:00
kleink
56963b1717 Update OpenLDAP to 1.2.12.
Changes included in OpenLDAP 1.2.12
        CVS Tag: OPENLDAP_REL_ENG_1_2
        Fixed slapd sb_max_incoming bug
        Fixed ldapmodify ldaphost NULL bug
        Fixed ldapsearch uninitialized fp bug
        Fixed Pth initialization bug
        Fixed libldap/add mod_bvalues typo
        Fixed ldappasswd crypt(3) crash (ITS#598)
        Fixed slapd/config.c MAXARGS boundary condition bug
        Fixed cn=monitor/config rdwr lock leak
        Fixed liblber exception handling bugs
        Build Environment
                Remove extra Digital UNIX symbol (ITS#590)
                Ignore make clean rm failure
                Fix ud install mode (ITS#633)
2001-05-14 16:15:52 +00:00
agc
6ef28d06c5 Move to sha1 digests, and add distfile sizes. 2001-04-18 16:10:56 +00:00
agc
5092342d3d + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
+ include distfile filesizes in distinfo
2001-04-17 09:56:50 +00:00
assar
55da32de67 turn KERBEROS into a binary switch 2001-03-04 03:26:50 +00:00
wiz
417e8bbabf Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 14:17:22 +00:00
agc
9c2d582fc9 The way that shared objects were handled in the PLISTs and bsd.pkg.mk was
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.

+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt

With many thanks to Thomas Klausner for keeping me honest with this.
2001-01-04 15:10:17 +00:00
jlam
adc414d599 It's unnecessary to substitute for @PREFIX@ in a DEINSTALL/INSTALL script
as ${PKG_PREFIX} always contains that value.
2000-12-11 19:19:42 +00:00
wiz
f3f5291706 add RCS Id 2000-09-03 14:46:50 +00:00
wiz
fbe26494d6 fix binary package (%B,%D,%F are back-references, not forward-references!) 2000-08-28 23:02:18 +00:00
wiz
297b9332a6 USE_PKGLIBTOOL -> USE_LIBTOOL.
LTCONFIG_OVERRIDE -> one less patch.
Add DEINSTALL script with note about etc/openldap.
2000-08-14 16:35:31 +00:00
kleink
1e6a93a271 Don't install ud(1) group-writable; noted by Christian Kleinwaechter. 2000-07-28 07:18:48 +00:00
veego
b584bc479c Solaris uses slurpd, so split the PLISTs. 2000-07-17 09:19:43 +00:00
kleink
57df0c9abe Update to openldap-1.2.11; changes since 1.2.7p1 include:
Changes included in OpenLDAP 1.2.11
	CVS Tag: OPENLDAP_REL_ENG_1_2_11
	Fixed /tmp races in ud, ldapsearch, ldbmtest and slurpd
	Fixed error in slurpd's filecheck function
	Fixed slurpd to properly restart in oneshot mode, and to report a
		non-zero number of items to process with only one replica.
	Fixed strdup use in libldap/request.c
	Fixed NULL prefix bug in libldap/ufn.c
	Fixed slapd_shutdown extern reference bug (ITS#527)
	Fixed ACL groups member matching
	Raise MAXDBCACHE to 128 (ITS#512)
	Fixed slapd client_addr crash (ITS#579)
	Fixed back-shell realloc bug (ITS#506)
	Build Environment
		Update res_search detection
		Detect and use getpassphrase() and getpass()
		Unset CDPATH
		Change GNU Pth to enable soft syscalls
		Changed RCPT cmds symbol to avoid link conflict (ITS#526)
		Changed LDBM directory to $localstatedir/openldap-ldbm

Changes included in OpenLDAP 1.2.10
	CVS Tag: OPENLDAP_REL_ENG_1_2_10
	Add slapd -DSLAPD_UNDEFINED_OC_IS_NOT_EXTENSIBLE macro disable
		undefined object classes implies extensible object behavior.
	Add GNU Pth support (ITS#453)
	Fixed -lldap Kerberos bind to work ldap_init() (ITS#426)
	Changed -lldap to ignore space in filter: ( !(foo=bar)) (ITS#459)
	Fixed multiple password support (ITS#464)
	Fixed -lldap chasing of delete referrals (ITS#471)
	Fixed back-ldbm/bind invalid credentials vs no such object bug
	Fixed slapd str2entry uninitialized variable bug (ITS#482)
	Fixed back-ldbm/modify mutlivalued indexing bug
	Fixed -llber seqorset buffer overrun bug (ITS#479)
	Build Environment
		Do not list unsupported LDBM API option NDBM
		Allow DEFAULT_DB_PAGE_SIZE to be defined at build time

Changes included in OpenLDAP 1.2.9
	CVS Tag: OPENLDAP_REL_ENG_1_2_9
	Fixed lutil/password bogus crypt password bug (ITS#423)
	Fixed slapd/back-ldbm indexing bug (ITS#402)
	Added UD support for creators/modifiers attributes (ITS#422)
	Added modify* attributes on add to workaround client issue (ITS#424)
	Build Environment
		Rebuild configure
		Added support for db1 vs db2 with glibc 2.1
		Removed TCPD and RLOOKUP interdependecy (ITS#419)

Changes included in OpenLDAP 1.2.8
	CVS Tag: OPENLDAP_REL_ENG_1_2_8
	Fixed slapd lint
	Fixed slapd li_nextid_file uninitialized bug
	Fixed -lldap templates y2k bug (ITS#294)
	Fixed ldbm db_appinit to use u_int32_t instead of int (ITS#295)
	Fixed lber/io.c Cray T90 specific pointer arithmetic problem (ITS#325)
	Fixed s_addr dereferencing (ITS#340)
	Fixed ud strstr crash (ITS#328)
	Fixed back-ldbm presence index bug (ITS#394)
	Fixed -lthread rdwr 2-writer bug (ITS#395)
	Added TCP_NODELAY support
	Changed slapd to apply ACL to lastmod attributes
	Changed slapd.conf default referral
	Changed slapd delete stats log message for consistency
	Disable DN subtree indexing
	Build Environment
		Support using short as LDAP_INT4
	Documentation
		Reference Quick Start Guide in README and INSTALL
		Update slapd.conf to reflect Quick Start Guide example
		ldappasswd(1) fix -c vs -H typo (ITS#154)
		Added warning about cross environment portability
2000-06-15 12:54:10 +00:00
rh
74add3b300 s/USE_LIBTOOL/USE_PKGLIBTOOL/
Add a new USE_LIBTOOL definition that uses the libtool package instead of
pkglibtool which is now considered outdated.
USE_PKGLIBTOOL is available for backwards compatibility with old packages
but is deprecated for new packages.
2000-06-01 11:23:11 +00:00
veego
8c1ac9e4e0 Add support to build it on Solaris. 2000-05-05 12:08:37 +00:00
wiz
475c70c076 minimal fixes to keep pkglint happy 2000-01-08 04:19:24 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
simonb
c46431a596 Regen. 1999-09-17 06:47:43 +00:00
simonb
c2479e4f47 Work around ELF bug with libwrap in a similar way to the ucd-snmp
package (pointed out by David Brownlee).  We also need to remove -lwrap
from the tools directory libraries - hence the post-configure target to
make sure SLAPD_LIBS is empty in servers/slapd/tools/Makefile.
1999-09-17 06:46:31 +00:00
mrg
7b33f49ee1 regen this; /brick hwr 1999-09-16 12:26:15 +00:00
kim
d0e9933400 Change how Kerberos support is enabled in pkgsrc.
Quick guide for compiling packages:
- set KERBEROS=4 or KERBEROS=5 in /etc/mk.conf

Quick guide for configuring Kerberos support in a package Makefile:
- test for KERBEROS value and enable the appropriate version with
  CONFIGURE_ARGS or other means and set USE_KERBEROS=yes
- make sure to disable Kerberos support otherwise (especially if
  using configure, which might automatically detect it)
- BUILD_DEFS and RESTRICTED are set automatically in bsd.pkg.mk
  when USE_KERBEROS=yes is set
1999-09-14 02:32:21 +00:00