Commit graph

85 commits

Author SHA1 Message Date
jlam
fcb7da800b Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14".  Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
2005-06-01 20:07:59 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
rh
267b55ed6a Make this compile with gcc4. 2005-05-21 01:44:10 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
bad
205c9fc93b Make it explicit that the package doesn't install any authentication mechanisms
and what the likely, but opaque, error message is in that case.
2005-03-08 18:22:39 +00:00
jlam
915339f298 The path to the Courier authdaemond socket was improperly being set to
the wrong value.  Fix it so that the default is now correctly set to be
/var/authdaemond/socket.  Bump the PKGREVISION to 1.
2005-03-02 15:52:26 +00:00
jlam
55ecced35d Correct path to courier-authlib in comment. 2005-02-26 08:14:11 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
tv
b1b07cb30c Apparently autoconf 2.5x has some very sane reasons for not using a
cache file by default; one of them is that recursion isn't re-parsing
the values correctly (and hosing up on multiple spaces in things like
CPPFLAGS).  Amusingly enough, this hosage does not happen with a site
cache file such as the one generated by autoswc.

The switch to using :Q on these variables tripped over this stupidity bug,
so turn off the Cyrus configure.in stupidity where it tries to force use
of a cache file.

Fixes PR pkg/29375 and PR pkg/29380.
2005-02-15 12:32:38 +00:00
jlam
ca7e02b3ee These packages install libraries that dlopen() shared modules. 2004-11-25 22:55:54 +00:00
jlam
59c037738d Update security/cyrus-sasl2 and associated plugins to 2.1.20. Changes
from version 2.1.19 include:

* Fixes to cram plugin to avoid attempting to canonify uninitialized data
  (This removes the need for patch-af).
* NTLM portability fixes.
* Avoid potential attack using SASL_PATH when sasl is used in a setuid
  environment.
* A trivial number of small bugfixes.
2004-11-15 21:58:16 +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
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
2af0a80597 List the other cy2-* packages that use cyrus-sasl2/Makefile.common. 2004-09-12 05:08:49 +00:00
jlam
73ce2d82db Split out the plugins into individual packages. This allows us to
explicitly add only those plugins for SASL support for servers that
won't let us exclude any found SASL plugins.  Also, don't bother
building the static library since the static library is useless until
the build mechanism is fixed by the Cyrus maintainers.

Bump the PKGREVISION.
2004-08-13 18:08:02 +00:00
jlam
7fb711f0eb There is no way for libtool to generate a convenience library that
can be used to create shared libraries _and_ be linked into a statically
linked program.  Instead of trying to hack libtool to do this, just
accept the fact and do what you want another way!

Remove the ugly hack in sasldb/Makefile.am that regenerated the static
archive from the non-PIC object files.  While this was fine for linking
into programs, it breaks things when you link this into the sasldb
plugin.  Leaving it the other way, where the static archive from the
PIC object files, is also unacceptable because there are potential
problems on some platforms when linking an archive of of PIC objects
into an executable.  The solution: let the static archive contain PIC
objects and be used to link into the sasldb plugin, but for the programs
in the utils directory, explicitly add the non-PIC object files listed
in $(SASL_DB_BACKEND_STATIC) to the files used to generate the programs.
This is easy because SASL_DB_BACKEND_STATIC is already generated
properly by config/sasldb.m4, so make use if it.

This should fix problems with using Cyrus SASL on non-i386 platforms
noted in PR pkg/26492 by Matt Dainty.  Bump the PKGREVISION.
2004-08-06 06:36:18 +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
e3ac987879 Updated security/cyrus-sasl2 to 2.1.19. Changes from version 2.1.18
include:

* Support for forwarding of GSSAPI credentials
* A nontrivial number of small bugfixes.
2004-08-04 19:41:06 +00:00
jlam
1b1dbe02eb Become the maintainer for this package (approved by <chris>). 2004-08-03 23:40:23 +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
recht
43fcfda955 Use a better fix from ASG CVS the GSSAPI problems.
patch-ap now includes the updates between rev 1.84 and rev 1.90
modulo the support for passing of GSSAPI credentials.

Patch provided by Jukka Salmi in PR 26184

Bump PKGREVISION to 3 for the new fix.
2004-07-08 21:11:25 +00:00
jlam
e9f1f50552 Refer to ${VARBASE} instead of /var for the location for local state
information.
2004-07-06 22:38:32 +00:00
jlam
569b488dc8 Re-add revision 1.3 of patch-ab as patch-ag. This resurrects a change to
use shlibtool to build the plugins to avoid generating and installing a
static archive for the plugin module.  This fixes PLIST breakage.  Bump the
PKGREVISION to 2.
2004-07-06 04:20:59 +00:00
recht
70a0a95356 Pull in a fix from ASG CVS: increase maxoutbuf buffer size
This allows uploading of SIEVE scripts larger than 4kb if GSSAPI
authentification is used for cyrus-imapd.

link to the patch provided by Jukka Salmi in PR 26165

bump PKGREVISION to 1
2004-07-05 16:49:18 +00:00
danw
a21b0411de add USE_GNU_TOOLS+=make so that libsasldb.a gets built correctly.
(Nothing in the build actually uses the static version of the library,
and it doesn't get installed either, so this has no effect beyond
making the build not bomb out on Darwin, pkg/25575).
2004-05-16 17:07:22 +00:00
wiz
83b1cb95f4 Unused. 2004-05-09 22:39:55 +00:00
jlam
44cfab94b5 Update security/cyrus-sasl2 to 2.1.18. Changes from version 2.1.17
include:

* Better error-handling.
* Support for Courier-IMAP authdaemond for plaintext password verification.
* Fixed resource leaks and buffer overruns.

pkgsrc changes include:

* SASL_DBTYPE is either "ndbm" or "berkeley" and sets the db format of the
  sasldb authentication database, defaulting to ndbm.
* SASLSOCKETDIR is the location of the saslauthd socket directory.
* AUTHDAEMONVAR is the localt of the authdaemond socket directory.
* SASL_ENTROPY_SOURCE is a file of random bytes used as a PRNG.

This closes PR 24649 and PR 24694.
2004-03-29 05:47:30 +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
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
e44579ded5 We no longer need to set GNU_MISSING_OVERRIDE after the changes in revision
1.27 of tools.mk to hide the auto* tools between pre-configure and
do-configure.
2004-02-17 12:13:07 +00:00
jlam
3ebe053d90 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:49 +00:00
jlam
2b41236203 Add a note to cyrus-sasl2/Makefile.common about which package Makefiles
include it.  This is a reminder to anyone who updates cyrus-sasl2 to also
touch the other packages.

Update the cy2-*/PLIST files to have the correct module version numbers.
2004-02-14 14:43:51 +00:00
jlam
19e040b6dc CONFIG_STATUS_OVERRIDE is the default in bsd.pkg.mk, so no need for these
definitions here.
2004-02-14 13:55:19 +00:00
jlam
450a4245ea Remove unused patch. 2004-02-14 07:51:36 +00:00
jlam
8f70d2adc2 Don't try to link GSSAPI module staticly if we're using shared libs.
Fixes undefined symbols on linking other software against libsasl2.
Bump PKGREVISION.
2004-02-14 07:45:36 +00:00
jlam
276769e2ea Update security/cyrus-sasl2 to 2.1.17. Changes from version 2.1.15 include:
* Now correctly do authorizaton callback in sasl_checkpass()
* Writable auxprop support
* Significantly improved documentation
2004-02-14 03:16:58 +00:00
jlam
0cbd511107 Remove hidden dependency on autoconf by using GNU_MISSING_OVERRIDE. Also,
PKGSHLIBTOOL has been removed from pkgsrc and we're supposed to use
${SHLIBTOOL} instead.
2004-02-12 13:34:29 +00:00
heinz
18a916d5e6 Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248 2004-01-27 00:53:10 +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
3601a7551c Recognize KERBEROS as a flag that can cause this package to be built using
Kerberos for GSSAPI support.
2004-01-21 14:01:06 +00:00
jlam
9351de8505 Remove debugging line accidentally committed in previous. 2004-01-21 12:14:57 +00:00
jlam
b5b7b84c22 Convert to use krb5.buildlink3.mk to get Kerberos 5 support. Tested to
build and install properly using Heimdal.
2004-01-21 12:12:13 +00:00
jlam
7fa7bb10c3 Remove references to saslauthd from this package. 2004-01-09 20:35:03 +00:00
jlam
e6cd919ca9 Provide uint*_t datatypes for UINT* typedefs by including either
<stdint.h> or <inttypes.h>.  Fix suggested by the analysis in pkg
PR 22031.
2004-01-09 20:29:47 +00:00
jlam
ab147d0e74 Update cyrus-sasl2 to 2.1.15nb2. Changes from version 2.1.15nb1 are
splitting out the saslauthd daemon into a separate package,
security/cyrus-saslauthd.  This allows the saslauthd daemon to
support additional database backends for plaintext authentication
without adding unrelated dependencies to the cyrus-sasl2 package.
2004-01-09 19:37:48 +00:00
jlam
39b5cf574d bl3ify 2004-01-08 22:13:14 +00:00
markd
6139b28041 Fix build if SASL_USE_GSSAPI=YES
From PR pkg/23634 by Louis Guillaume.
also noted in PR pkg/23339.
Fix configure to not try and _statically_ link in gssapi support as it doesn't
work (unresolved symbols when used).  This deals with the second part of
PR pkg/23339.
2004-01-05 12:10:29 +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