Commit graph

11 commits

Author SHA1 Message Date
jperkin
45bc40abb4 Remove example rc.d scripts from PLISTs.
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or
ignored otherwise.
2014-03-11 14:04:57 +00:00
adam
0c824443da Changes 0.64.0:
* authpam.c (callback_pam): Call pam_end() after an authentication attempt.
* Makefile.am: Renamed authstaticlist.h to courierauthstaticlist.h, and
added it to the list of header files that 'make install' puts into
includedir.
* Fix gcc 4.6 warnings
* courier.spec.in: switch to systemd.
* Fix autoconf warnings.
* courier-authlib.spec: Make rmplint happy.
2012-06-09 11:57:20 +00:00
obache
3cd874b602 Update courier-authlib to 0.62.2.
Include security fix for CVE-2008-2380 and requested by PR#41023
(approved by wiz@).

0.62.2

This release corrects a makefile compatibility problem with bash 4.

0.62.1

This release correct a couple of minor compiler warnings and errors.

  * cryptpassword.c: Fix compiler warnings

  * checkpasswordsha1.c: Fix compiler warnings.

  * authldaplib.c (auth_ldap_enumerate): Fix typo.

0.62.0

This release adds support for additional hash functions, and an
update to the Postgres driver that removes potentional SQL injection
vulnerabilities in some circumstances.

  * authpgsqllib.c: Use PQescapeStringConn() instead of removing all
    apostrophes from query parameters. This fixes a potential SQL injection
    vulnerability if the Postgres database uses a non-Latin locale.

  * Added support for {SSHA}-encrypted passwords. Based on a patch
    by Zou bin <zb@bisp.com>.

  * Added support for {SHA512} hash function
2009-07-02 12:23:44 +00:00
obache
ee7ad224d9 Revert to previous revision and remove bin/makedat (it was conflict with maildrop?).
Additional entries are optionally and already handled in Makefile and options.mk.
Re: PR 39661
2008-10-01 11:43:41 +00:00
tonnerre
46723b3a66 Upgrade courier-authlib to version 0.61.0 in order to fix CVE-2008-2667,
finally. While here, fix PLIST and depkglint a bit. Also, fix the horrid
abuse of libtool.

Changes since 0.60.2:
 * courier-authlib.spec: Dummy provides: for symlinks, to allow upgrade
   with older packages that require <libname>.so.0.
 * Makefile.am: Switch to versionless shared libraries.
   Install all shared libraries just as <libname>.so. make install manually
   removes *.so.0.0 files that were left over from previous versions,
   and installs a temporary *.so.0 symlink to *.so, for temporary
   binary ABI compatibility with 0.60. The symlinks will be removed in
   0.62.
 * Cleanup: always compile md5, sha* and hmac stuff, and remove all
   conditionally-compiled cruft. Move SASL list to an internal header.
   Add client-side support for AUTH EXTERNAL.
 * authsasl.c (auth_sasl_ex): auth_sasl_ex() supercedes auth_sasl(),
   invokes auth_sasl() for non-EXTERNAL SASL methods, implements EXTERNAL
   by going through the motions, then setting up a dummy authentication
   request.
 * authdaemon.c (auth_generic): Check for the dummy EXTERNAL
   authentication request, and handle it by invoking auth_getuserinfo(),
   rather than sending it down the pipe. This avoid having to implement
   a stub in every authentication module.
 * authmysqllib.c: Use mysql_set_character_set() instead of SET NAMES
 * authmysqllib.c: Fix domain-less queries.
 * Makefile: Drop the unmaintained authvchkpw module.
 * authmysqllib.c: Cleanup. Use mysql_real_escape_string instead of
   crude filtering.
 * Makefile.am: Use _LIBADD properly.
 * configure.in: More portability fixes.
2008-09-28 22:15:30 +00:00
jlam
a1df00f396 Update security/courier-authlib to 0.59.3. Changes from version 0.58
include:

* authpipe.c (auth_pipe_pre): Fix leak when authpipe module is
  enabled, but the actual authpipe script/external prog is not
  installed.

* authmysqlrc: Implement SSL-encrypted MySQL connections

* authldaplib.c (l_simple_bind_s): Fix anon binds.

* authldaplib.c (auth_ldap_enumerate): Fix LDAP account enumeration

* userdb/makeuserdb.in: Added the -f option to makeuserdb

* authldaplib.c: Try to recover when the LDAP server closes the
  persistent socket, for inactivity.
2007-08-10 17:57:21 +00:00
jlam
6d353a59db Update security/courier-authlib to 0.57. Changes from version 0.55
include:

	* authlib: create the authtest and authpasswd manual pages.

	* authdaemon.c (auth_generic): Silly bug in auth_generic().
	* authldaplib.c (auth_ldap_do3): Fix call of authcryptpasswd().
	* authpgsqllib.c (auth_pgsql_setpass): Ditto.
	* authmysqllib.c (auth_mysql_setpass): Ditto.
	* authmysqllib.c (auth_mysql_setpass): Fix a memory leak.
	* authpipe: more fixes to the authpipe module.
	* authpipe: various fixes to the authpipe module.
	* authpipe.c (auth_pipe_pre): Fix zombies created by the authpipe
	  module.
	* New authpipe authentication module.
	* authldap.schema: Add mailhost to the recommended LDAP schema.

	* README_authlib.sgml: Document updated authpipe protocol.

	* cryptpassword.c (authcryptpasswd): Fix handling of encryption hints.
	* checkpassword.c (do_authcheckpassword): Ignore {CRYPT} prefix on
	  crypted passwords.
	* checkpasswordsha1.c (authcheckpasswordsha1): Fix {SHA256} passwords.

	* authdaemond.c: Strip full name/gecos field after the first comma.
	* authdaemond: Pass LOGGEROPTS option to authdaemond.

	* liblog/logger.c: Fix wrong args to setuidgid().
	* liblog/logger.c: Added -droproot option to courierlogger.

	* liblock/lockdaemon.c: Try to recover if upgraded daemon process runs
	  under a different uid.

	* Changed -uid and -gid options to -user and -group for consistency
	  with couriertcpd. Change them to affect courierlogger itself,
	  after it has spawned any child.

	* Optional default domain for authentication requests.

	* Fix the error code when an empty password is provided.
2005-08-11 00:03:16 +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
jlam
b9aef33c1b Install some documentation files for courier-authlib, but only install the
relevant ones depending on the options chosen.  This fixes PR pkg/29465.
Bump the PKGREVISION to 2.
2005-02-26 22:14:01 +00:00
jlam
6db647b41a Update security/courier-authlib to 0.54. Changes from version 0.53
include:

	* userdb/makeuserdb.in: Report dangling symlinks.
2005-02-18 22:12:43 +00:00
jlam
3b060f2811 Import courier-authlib-0.53 as security/courier-authlib.
The Courier authentication library provides authentication services for
other Courier applications.  In this context, the term "authentication"
refers to the following functions:

    1. Take a userid or a loginid, and a password. Determine whether the
       loginid and the password are valid.
    2. Given a userid, obtain the following information about the userid:

         A. The account's home directory.
         B. The numeric system userid and groupid that owns all files
            associated with this account.
         C. The location of the account's maildir.
         D. Any maildir quota defined for this account. See the Courier
            documentation for more information on maildir quotas.
         E. Other miscellaneous account-specific options.

    3. Change the password associated with a loginid.
    4. Obtain a complete list of all loginids.
2005-02-10 03:21:30 +00:00