Commit graph

182 commits

Author SHA1 Message Date
wiz
0719006c41 Update path from cyrus-sasl2 to cyrus-sasl. 2006-04-13 21:45:12 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
grant
36afc7f89f fix avl_* function prototype conflicts on Solaris, so this now builds
on Solaris.
2006-04-07 00:35:02 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
joerg
68323ec994 Take maintainership. 2006-03-14 16:23:46 +00:00
jlam
641e118d57 Drop maintainership for packages that I no longer have time to maintain. 2006-03-14 16:00:40 +00:00
wiz
751d30d637 DEPENDS and PKGREVISION bumps because db4's library name changed. 2006-01-06 15:10:01 +00:00
ghen
0500f7f0af Add (conflicting) "iodbc" and "unixodbc" options to openldap for ODBC support,
from PR#31960.  Ok by jlam and wiz.
2005-12-29 20:10:23 +00:00
jlam
dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00
jlam
0b66c94fae Fix PR pkg/32069 by limiting the FD_SETSIZE used by OpenLDAP to the
maximum value supported by GNU Pth when building against GNU Pth.
2005-12-21 03:54:23 +00:00
jlam
2558c0291d Change my MAINTAINER email address to the one I've been using for
pkgsrc work.
2005-12-17 05:20:21 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
joerg
3e2814ff4e Checking for attribute support with _POSIX_THREAD_ATTR_STACKSIZE is
good, not including unistd.h (which defines the macro) is bad.
Correct this mistake to get a working thread stack on DragonFly and
other systems which have less than 2 MB by default. Bump revision.
2005-11-19 18:41:15 +00:00
jlam
f75e213cd7 Remove non-existent directory. 2005-10-26 15:11:10 +00:00
jlam
26440c7c8b Update databases/openldap to 2.3.11, which is the first "stable" release
in the 2.3.x series.  This is a major update over version 2.2.x, and
changes include:

        * Slapd(8) enhancements
            - Updated slapd "overlay" interface, and several
              example (and mostly experimental) overlays.
            - Updated LDAP "sync" Engine with replication support,
              provider now an "overlay"
            - Numerous access control enhancements, including
              experimental "don't disclose on error" capability
            - Configuration backend
        * LDAPv3 extensions, including:
            - LDAP Password Policy
            - LDAP Component Matching (requires OpenLDAP snacc)
            - LDAP Modify Increment
2005-10-26 15:08:13 +00:00
reed
34db6fe9d7 Use -f to force removal of the default files.
My error was:

/bin/rm /home/reed/pkg/share/examples/openldap/schema/corba.schema.default
override r--r--r--  reed/2022 for /home/reed/pkg/share/examples/openldap/schema/corba.schema.default?

(For several files it was interactive to remove.)

This is when doing non-privileged builds.

(An alternative to this is to make it install the *default files with
NONBINMODE in the first place.)
2005-08-19 19:59:59 +00:00
jlam
9eb8221b78 Use the correct LDAP type instead of the SASL type, which is only
available if building with SASL support.  Noted in private mail by
Joerg Sonnenberger.  Bump PKGREVISION to 1.
2005-08-03 21:01:40 +00:00
jlam
21ffccc8f2 Note that the sparc64 patch is actually a hack for gcc<3.3. 2005-08-01 19:27:39 +00:00
jlam
4c3bbb7eed Update databases/openldap to version 2.2.27. From now on, we'll be
tracking the latest release on the 2.2.x branch, which is generally
the stable branch of OpenLDAP.  Changes from version 2.2.20 include:

    Fixed bugs in slapd behavior.
    Fixed bugs in various backends (bdb, hdb, ldbm, ldap) for slapd
    Fixed pcache all-attrs bug (ITS#3741)
    Fixed syncrepl runqueue (ITS#3542)
    Fixed ACL dn=* <what> clause
    Fixed ACL val default style parsing crasher (ITS#3700)
    Fixed slapcat unclean exits (ITS#3764)
    Fixed libldap sasl connection assert (ITS#3278)
    Removed broken libldap fast synchronous search result processing (ITS#3612)
    Fixed slap tool log initialization (ITS#3579)
    Fixed slapi modify/increment support (ITS#3522)
    Fixed slapi plugins called multiple times with glue (ITS#3529)
    Fixed slapi 64-bit portability (ITS#3556)
    Fixed libldap fdset re-init for restart (ITS#3524)
    Fixed libldap ldap_extended_operation_s (ITS#3552)
    Added libldap fast synchronous search result processing
    Fixed slurpd replog locking (ITS#3421)
    Fixed slaptest failure if databases cannot be started (ITS#3461)
    Fixed slaptest with dynamically loaded password mechs (ITS#3495)
    Fixed libldap timeout option cleanup (ITS#3487)
2005-08-01 09:49:37 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
jlam
0dbd0c0762 Rename MAKE_VARS to MAKEVARS so that it more closely resembles
"MAKEFLAGS".  Both "MAKEVARS" and "MAKEFLAGS" affect the package-level
make process, not the software's own make process.
2005-05-11 22:08:18 +00:00
jlam
4fd08abc6e I mixed up MAKE_FLAGS with MAKEFLAGS. The latter is what we actually use
to pass make flags to bmake.
2005-05-11 22:03:52 +00:00
jlam
67ca8c8715 Don't assign to PKG_OPTIONS.<pkg> which has special meaning to the
options framework.  Rename PKG_OPTIONS.* to PKG_BUILD_OPTIONS.*.
2005-05-09 05:14:08 +00:00
jlam
03e9337879 Teach bsd.pkg.mk to create a phase-specific "makevars.mk" file that
caches variable definitions that were computed by make.  These variables
are specified by listing them in MAKE_VARS, e.g.,

	.if !defined(FOO)
	FOO!=	very_time_consuming_command
	.endif
	MAKE_VARS+=	FOO

bsd.pkg.mk will include only the one generated during the most recent
phase.  A particular phase's makevars.mk file consists of variable
definitions that are a superset of all of the ones produced in previous
phases of the build.

The caching is useful because bsd.pkg.mk invokes make recursively,
which in the example above has the potential to run the very time-consuming
command each time unless we cause FOO to be defined for the sub-make
processes.  We don't cache via MAKE_FLAGS because MAKE_FLAGS isn't
consistently applied to every invocation of make, and also because
MAKE_FLAGS can overflow the maximum length of a make variable very
quickly if we add many values to it.

One important and desirable property of variables cached via MAKE_VARS
is that they only apply to the current package, and not to any
dependencies whose builds may have been triggered by the current
package.

The makevars.mk files are generated by new targets fetch-vars,
extract-vars, patch-vars, etc., and these targets are built during
the corresponding real-* target to ensure that they are being invoked
with PKG_PHASE set to the proper value.

Also, remove the variables cache file that bsd.wrapper.mk was generating
since the new makevars.mk files provide the same functionality at a
higher level.  Change all WRAPPER_VARS definitions that were used by
the old wrapper-phase cache file into MAKE_VARS definitions.
2005-05-09 05:06:55 +00:00
jlam
949a7c95f1 PKG_OPTIONS.<pkg> isn't a good approximation to PKG_OPTIONS for the
package because PKG_OPTION.<pkg> could contain negative options, which
are never part of PKG_OPTIONS.  Instead, use the show-var target to
display the value.  We cache it in WRAPPER_VARS and in MAKE_FLAGS to
prevent reinvoking the show-var target recursively.
2005-05-08 12:03:56 +00:00
wiz
6663019096 Remove duplicate share/examples/rc.d/slurpd entry. 2005-05-03 15:16:54 +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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
671d62d2e2 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
cube
89e63392b0 Explicitely disable sasl support when the option is not selected, in case
there is a sasl library somewhere in the system, as the configure script
would try using it.
2005-02-09 15:38:03 +00:00
seb
14a1f6e7fc Fix alignment/LP64 issue on NetBSD/sparc64 encountered while trying the
syncrepl engine with SASL.

Bump PKGREVISION.

Approved by jlam@.
2005-01-24 12:46:25 +00:00
jlam
2102fd7f04 Change a = to a += so that all of the necessary OWN_DIRS_PERMS are
created.  This is needed for slapd to start properly with a default
install.  Bump the PKGREVISION to 1.
2005-01-12 04:04:36 +00:00
xtraeme
16510f0337 Be a bit more descriptive about why the bdb option is enabled by
default, suggested by jlam@.
2005-01-12 03:37:54 +00:00
xtraeme
2eb2f69a3c If dynamic and bdb options are used, the hdb module is built, but not
if bdb is disabled, so only build it when the bdb option has been
enabled.
2005-01-12 01:50:15 +00:00
adam
3452b0b372 Changes 2.2.20:
Fixed slapd sanity check on protocol in authz-regexp URI (ITS#3411)
Fixed slapd ID to DN mapping when values need DN escaping (ITS#3419)
Fixed slapd sl_realloc memory overrun (ITS#3420, #3404, #3296)
Fixed slapd syncrepl bugs (ITS#3423, #3425, #3443, #3448)
Fixed slapd bad tag handling
Fixed slapd error return for modrdn invalid access (ITS#3450)
Fixed back-bdb locks in backend_group (ITS#3263, #3365)
Fixed back-bdb/back-hdb listing of permissive control (ITS#3453)
Fixed back-ldap failed connection retry (ITS#3217)
Fixed back-ldap/back-meta memory handling in attr mapping
Fixed back-meta modrdn newSuperior target selection
Fixed back-sql segfault when logging and delete_rule is NULL (ITS#3407)
Build Environment
Fixed slurpd build on Windows
2005-01-06 11:10:55 +00:00
minskim
f136a1f947 Use LIBMODE instead of 444. 2004-12-28 10:12:27 +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
jlam
5f27eed40f Update databases/openldap to 2.2.19. Changes from version 2.2.18 include:
* Fixed slapd check for mandatory filter in authz-regexp URI
* Fixed slapd bad descriptor check
* Fixed slapd ACI when the subject contains '#'
* Fixed back-ldap malformed URI check for multiple URIs
* Fixed back-ldap/back-meta static definition of be_open()
* Fixed back-bdb cache bugs, ctxcsn memory leak
2004-12-22 06:22:48 +00:00
wiz
eea0c8d35f Revert previous -- -current's sched_yield has been fixed.
adam says ok.
2004-12-14 12:13:43 +00:00
adam
484e7843e7 Fixed building on NetBSD 2.0 and -current 2004-12-14 09:08:37 +00:00
tv
b23b15cc96 In case db4 is disallowed by bdb.buildlink3.mk, causing BDB_TYPE to be
set to "none", skip bdb altogether.
2004-11-29 01:10:04 +00:00
jlam
a27bbe878a The OpenLDAP libraries do NOT include any SLP code, so don't include
openslp/buildlink3.mk.  Also, simplify the kerberos/sasl checks.
2004-11-27 05:32:35 +00:00
jlam
ce3f97b96c Bump the PKGREVISION after changes in patch-ag to honor DL_*. 2004-11-26 03:00:24 +00:00
jlam
c5bb5f7cb2 Teach openldap to use DL_{CFLAGS,LDFLAGS,LIBS} when linking slapd when
building dynamic backends or when using Cyrus SASL.
2004-11-26 02:52:14 +00:00
jlam
3bbe73c68a Default PTHREAD_AUTO_VARS to the safer value of "no". Most packages
that use pthreads already implement their own probes for pthreads, so
we don't need to auto-add the compiler/linker flags.
2004-11-25 19:34:03 +00:00
jlam
2f762bac63 The man pages should refer to the real location of the config files, not
where they were installed (in the example location) during the "install"
step.  Bump PKGREVISION.
2004-11-19 16:35:26 +00:00
jlam
6b7a749803 We don't actually want everything to be built with pthreads -- only
libldap_r and slurpd.  Patch those Makefiles (patch-aj, patch-ak) to
pass $(PTHREAD_CFLAGS) and $(PTHREAD_LDFLAGS) to the build.  The
configure process correctly adds any necessary libraries, so adding
$(PTHREAD_LIBS) isn't needed.  Bump the PKGREVISION since the LDAP
libraries are no longer linked against libpthread.

This fixes PR pkg/28259.
2004-11-18 19:07:04 +00:00
jlam
3e6d63de4b Update databases/openldap to the latest release, version 2.2.18.
Changes from version 2.2.13 include numerous fixes for locking in the
Berkeley DB backend, SASL-encoding fixes in libldap, and many bug
fixes in slapd.
2004-11-17 07:23:41 +00:00
jlam
b67b0725c4 Rework the Berkeley DB detection in buildlink3:
* Add a db1.builtin.mk file that detects whether DB-1.85 functionality
    exists in the base system, and remove the distinction between
    "native" and the other Berkeley DB packages -- we now refer to
    db[1234].  This paves the way for any future databases/db1 package.

  * USE_DB185 shouldn't need to be set by any packages -- its correct
    value is now automatically determined by bdb.buildlink3.mk depending
    on whether we explicitly request db1 or not.  By default, if you
    include bdb.buildlink3.mk, you want DB-1.85 functionality and
    USE_DB185 defaults to "yes", but if you explicitly remove db1 from
    the list of acceptable DBs, then USE_DB185 defaults to "no".

  * Set BDB_LIBS to the library options needed to link against the DB
    library when bdb.buildlink3.mk is included.

  * We only add the DB library to the linker command automatically if
    we want DB-1.85 functionality; otherwise assume that the package
    configure process can figure out how to probe for the correct
    headers and libraries.

Edit package Makefiles to nuke redundant settings of USE_DB185.
2004-11-15 17:54:49 +00:00
tv
202a410fee USE_DB185=no; should fix build failure reported on tech-pkg by
<mlh@goathill.org>.
2004-11-15 00:55:25 +00:00