summaryrefslogtreecommitdiff
path: root/imap4d/Makefile.am
AgeCommit message (Collapse)AuthorFiles
2024-01-06Update copyright yearsSergey Poznyakoff1
2023-01-22Update copyright yearsSergey Poznyakoff1
2022-01-02Update copyright yearSergey Poznyakoff1
2021-01-05Update copyright yearsSergey Poznyakoff1
2020-06-01readmsg: Implement searches in MIME messages. Decode MIME on output.Sergey Poznyakoff1
* configure.ac: Add UNISTRING_LIBS to MU_APP_LIBRARIES. * examples/Makefile.am: Link with $MU_APP_LIBRARIES instead of plain libmuaux.la. * mh/Makefile.am: Likewise. * imap4d/Makefile.am: Likewise. * imap4d/imap4d.h (unistr_downcase) (unistr_is_substring): Move prototypes to lib/muaux.h * imap4d/search.c (_scan_header): Use unistr_is_substring_dn instead of unistr_is_substring. * include/mailutils/message.h (mu_message_get_iterator): New prototype. * lib/Makefile.am: Add unistr_u8.c or unistr_c.c, depending on MU_COND_UNISTRING. * lib/muaux.h (unistr_downcase) (unistr_is_substring,unistr_is_substring_dn): New functions. * lib/unistr_c.c: New file (moved from /imap4d). * lib/unistr_u8.c: Likewise. * libmailutils/mime/Makefile.am: Add mimeitr.c * libmailutils/mime/mimeitr.c: New file. * libmailutils/tests/Makefile.am: Add mimeitr.c * libmailutils/tests/mimeitr.c: New file. * readmsg/msglist.c: Rewrite search in messages. * readmsg/readmsg.c: New options --glob, --regex, --ignorecase control message matching. * readmsg/readmsg.h (pattern_init,pattern_match) (pattern_free): New protos.
2020-02-08Update copyright yearsSergey Poznyakoff1
2019-12-14Fix several linking issuesSergey Poznyakoff1
* configure.ac: Require libtool version 2.4.6 (MU_LINK_POSTFLAGS): Remove. Not needed with the patched version of ltmain.sh. Detect the presencecof GSSAPI. Fix displaying the status of GSSAPI support. Remove the hack introduced on 2010-02-19 (commit 35ac66f056). (MU_AUTHLIBS,SQLLIB) (SQL_LOADABLE_MODULES,SQL_LIBOBJS): Insert spaces only when needed. * mu-aux/ltmain.sh: ltmain.sh from libtool 2.4.6 with fixes from http://gray.gnu.org.ua/public/ltbug installed. * bootstrap.conf (bootstrap_epilogue): Install the fixed ltmain.sh version. * am/gssapi.m4: Allow for "yes" and "probe" argument values. Improve makefile style consistency . Uniformly use parentheses instead of curly braces in variable referencing; . Prefer to use Make variables over substitution variables, for variables prefixed with MU_; * comsat/Makefile.am * dotlock/Makefile.am * examples/Makefile.am * examples/cpp/Makefile.am * frm/Makefile.am * imap4d/Makefile.am * imap4d/tests/Makefile.am * lib/Makefile.am * libmailutils/Makefile.am * libmailutils/address/Makefile.am * libmailutils/auth/Makefile.am * libmailutils/base/Makefile.am * libmailutils/cfg/Makefile.am * libmailutils/cidr/Makefile.am * libmailutils/cli/Makefile.am * libmailutils/datetime/Makefile.am * libmailutils/diag/Makefile.am * libmailutils/filter/Makefile.am * libmailutils/imapio/Makefile.am * libmailutils/list/Makefile.am * libmailutils/locus/Makefile.am * libmailutils/mailbox/Makefile.am * libmailutils/mailcap/Makefile.am * libmailutils/mailer/Makefile.am * libmailutils/mime/Makefile.am * libmailutils/msgset/Makefile.am * libmailutils/opt/Makefile.am * libmailutils/property/Makefile.am * libmailutils/server/Makefile.am * libmailutils/sockaddr/Makefile.am * libmailutils/stdstream/Makefile.am * libmailutils/stream/Makefile.am * libmailutils/string/Makefile.am * libmailutils/tests/Makefile.am * libmailutils/url/Makefile.am * libmailutils/wicket/Makefile.am * libmu_auth/Makefile.am * libmu_cpp/Makefile.am * libmu_dbm/Makefile.am * libmu_scm/Makefile.am * libmu_scm/mailutils/Makefile.am * libmu_sieve/Makefile.am * libmu_sieve/extensions/Makefile.am * libproto/dotmail/Makefile.am * libproto/dotmail/tests/Makefile.am * libproto/imap/Makefile.am * libproto/imap/tests/Makefile.am * libproto/maildir/Makefile.am * libproto/mailer/Makefile.am * libproto/mbox/Makefile.am * libproto/mh/Makefile.am * libproto/nntp/Makefile.am * libproto/pop/Makefile.am * mail/Makefile.am * mapi/Makefile.am * mda/lib/Makefile.am * mda/lmtpd/Makefile.am * mda/mda/Makefile.am * mda/mda/tests/Makefile.am * mda/putmail/Makefile.am * messages/Makefile.am * mh/Makefile.am * mh/tests/Makefile.am * mimeview/Makefile.am * movemail/Makefile.am * mu/Makefile.am * mu/libexec/Makefile.am * pop3d/Makefile.am * python/2/libmu_py/Makefile.am * python/2/mailutils/Makefile.am * python/3/libmu_py/Makefile.am * python/3/mailutils/Makefile.am * readmsg/Makefile.am * sieve/Makefile.am * sql/Makefile.am * testsuite/Makefile.am
2019-11-09Fix SUBDIRS ordering in Makefile.am'sSergey Poznyakoff1
* imap4d/Makefile.am: Build in source dir before tests. * mimeview/Makefile.am: Likewise. * pop3d/Makefile.am: Likewise. * mail/Makefile.am: Likewise.
2019-03-29Remove explicit _DEPENDENCIES variables from Makefiles.Sergey Poznyakoff1
These might be needed only in rare cases during the development cycle. There is no use keeping them around. * configure.ac (MU_AUTHLIBS_DEPENDENCY) (DBMLIB_DEPENDENCY,SQLLIB_DEPENDENCY): Remove. * imap4d/Makefile.am: Remove explicit _DEPENDENCIES. * pop3d/Makefile.am: Likewise. * libmu_auth/Makefile.am: Likewise. * libmu_dbm/Makefile.am: Likewise.
2019-02-26New autoconf macro for activating mailbox format supportSergey Poznyakoff1
* am/enable.m4 (MU_ENABLE_SUPPORT) (MU_ENABLE_BUILD): Use m4_-prefixed directives. (MU_ENABLE_MAILBOX_FORMAT) (MU_ENABLE_LOCAL_MAILBOX_FORMAT_ (MU_ENABLE_REMOTE_MAILBOX_FORMAT): New macros. (MU_LIB_MAILBOX) (MU_LIB_LOCAL_MAILBOX) (MU_LIB_REMOTE_MAILBOX): New substitution variables. * configure.ac: Use new macros to enable mailbox formats * libproto/Makefile.am: Augment SUBDIRS instead of using Makefile variables. * comsat/Makefile.am: Use MU_LIB_.*MAILBOX macros to link in the necessary libraries. * examples/Makefile.am: Likewise. * examples/cpp/Makefile.am: Likewise. * frm/Makefile.am: Likewise. * imap4d/Makefile.am: Likewise. * include/mailutils/sys/Makefile.am: Likewise. * libmu_scm/Makefile.am: Likewise. * libproto/Makefile.am: Likewise. * maidag/Makefile.am: Likewise. * mail/Makefile.am: Likewise. * messages/Makefile.am: Likewise. * mh/Makefile.am: Likewise. * movemail/Makefile.am: Likewise. * mu/libexec/Makefile.am: Likewise. * pop3d/Makefile.am: Likewise. * python/2/libmu_py/Makefile.am: Likewise. * python/3/libmu_py/Makefile.am: Likewise. * readmsg/Makefile.am: Likewise. * sieve/Makefile.am: Likewise. * testsuite/Makefile.am: Likewise.
2019-01-29imap4d: Proper case-insensitive searches over multibyte strings.Sergey Poznyakoff1
This requires libunistring. * NEWS: Update. * README: Update. * configure.ac: Check for libunistring. * libmailutils/base/version.c: Reflect libunistring usage. * imap4d/Makefile.am: Link with libunistring, if available. * imap4d/imap4d.h (unistr_downcase) (unistr_is_substring): New protos. * imap4d/search.c (_scan_header) (_scan_header_all,_match_text): Use unistr_is_substring for searches. * imap4d/unistr_c.c: New file. * imap4d/unistr_u8.c: New file. * imap4d/tests/search.at: Add new test.
2019-01-03Update copyright yearsSergey Poznyakoff1
2018-01-19Version 3.4.90; update copyright yearsSergey Poznyakoff1
2017-01-01Happy GNU YearSergey Poznyakoff1
2016-10-19Rename MU_APP_NEW_LIBRARIES back to MU_APP_LIBRARIES. Version 2.99.991.Sergey Poznyakoff1
2016-10-19Convert remaining utilities (except mh) to mu_cli.Sergey Poznyakoff1
* Makefile.am: Remove libmu_argp and libmu_cfg * configure.ac: Likewise. * libmu_argp/: Remove. * libmu_cfg/: Remove. * include/mailutils/Makefile.am (pkginclude_HEADERS): Remove gocs.h, libargp.h, libcfg.h * frm/frm.c: Register tls auth module * frm/from.c: Likewise. * maidag/maidag.c: Likewise. * mail/mail.c: Likewise. * messages/messages.c: Likewise. * movemail/movemail.c: Likewise. * readmsg/readmsg.c: Likewise. * sieve/sieve.c: Likewise. * frm/frm.h: Remove obsolete includes * imap4d/Makefile.am: Update. * imap4d/imap4d.c: Use mu_cli for command line and configuration parsing. * imap4d/imap4d.h: Update. * include/mailutils/gocs.h: Remove. * libmailutils/cfg/gocs.c: Remove. * libmailutils/cfg/Makefile.am: Remove gocs.c * include/mailutils/cli.h (mu_cli_capa_apply): Rename to mu_cli_capa_extend_settings (mu_cli_setup) <inorder, prog_doc_hook>: New fields. * include/mailutils/daemon.h: Remove obsolete includes. * include/mailutils/gsasl.h: Likewise. * include/mailutils/mailutils.h: Update. * include/mailutils/mu_auth.h (mu_auth_mode): New enum (mu_auth_module): Redo structure. * include/mailutils/opt.h (mu_parseopt) <po_prog_doc_hook>: New field. * include/mailutils/sql.h (mu_sql_module_config): New extern. (mu_sql_interface_index): Change proto. * libmailutils/auth/mu_auth.c: Rewrite. * libmailutils/auth/system.c (mu_auth_system_module): Update structure * libmailutils/cli/capa.c (mu_cli_capa_apply): Rename to mu_cli_capa_extend_settings * libmailutils/cli/cli.c: Extend settings from auth modules as well. * libmailutils/opt/help.c (mu_program_help): Invoke po_prog_doc_hook if defined. * libmailutils/opt/opt.c (parseopt_init): Check the MU_PARSEOPT_PROG_DOC_HOOK flag. (find_long_option): Fix recognition of ambiguous options in case of exact match. * libmu_auth/gsasl.c: Add configuration. * libmu_auth/ldap.c: Likewise. * libmu_auth/pam.c: Likewise. * libmu_auth/radius.c: Likewise. * libmu_auth/sql.c: Likewise. * libmu_auth/tls.c: Likewise. * libmu_auth/virtual.c: Likewise. * mu/Makefile.am: Update. * mu/mu.c: Rewrite using mu_cli * mu/mu.h: Likewise. * mu/acl.c: Likewise. * mu/cflags.c: Likewise. * mu/dbm.c: Likewise. * mu/dispatch.c: Likewise. * mu/filter.c: Likewise. * mu/flt2047.c: Likewise. * mu/getans.c: Likewise. * mu/getarg.c: Likewise. * mu/getyn.c: Likewise. * mu/help.c: Likewise. * mu/imap.c: Likewise. * mu/info.c: Likewise. * mu/ldflags.c: Likewise. * mu/logger.c: Likewise. * mu/pop.c: Likewise. * mu/query.c: Likewise. * mu/send.c: Likewise. * mu/shell.c: Likewise. * mu/smtp.c: Likewise. * mu/util.c: Likewise. * mu/verbose.c: Likewise. * mu/wicket.c: Likewise. * pop3d/Makefile.am: Update. * pop3d/pop3d.c: Convert to mu_cli interface. * pop3d/pop3d.h: Likewise. * sql/sql.c (mu_sql_interface_index): Change argument qualifiers.
2016-01-22Fix build without tcpwrappersSergey Poznyakoff1
* configure.ac (MU_TCPWRAP_LIBRARIES): New subst variable. Always includes lib/libmutcpwrap.a. If libwrap is present on the system and required, it is included as well * imap4d/Makefile.am (TCPWRAP_LIBRARIES): Replace with MU_TCPWRAP_LIBRARIES. * maidag/Makefile.am: Likewise. * pop3d/Makefile.am: Likewise.
2016-01-22Update copyright yearsSergey Poznyakoff1
2015-06-24Make libmuaux installable shared library.Sergey Poznyakoff1
This commit converts libmuaux into installable shared library that includes selected modules from gnulib. Correspondingly, lubmu_argp is also converted into installable shared library, which is the main purpose of these changes. This should allow other packages which depend on Mailutils to link against libmu_argp even on systems that for some reason choose not to include static libraries in their distribution (vide Debian). Another side effect is that such packages won't need to bother about argp being present on the system, as it is now included in libmuaux.so. * bootstrap.conf: Don't create Makefile.am Build gnulib using libtool and use mu_am_flags custom module * lib/local/modules/mu_am_flags: New file. * configure.ac (MU_APP_LIBRARIES): Use libmu_argp.la (TCPWRAP_LIBRARIES): Add libmutcpwrap.a * lib/Makefile.am: Make libmuaux installable shared library New static library libmutcpwrap.a * libmu_argp/Makefile.am: Make libmu_argp installable shared library * examples/Makefile.am: Use libmu_argp.la * examples/cpp/Makefile.am: Likewise. * imap4d/Makefile.am: Likewise. * mapi/Makefile.am: Likewise. * mh/Makefile.am: Likewise, * pop3d/Makefile.am: Likewise.
2015-03-02Update copyright yearsSergey Poznyakoff1
2014-02-26Use AM_CPPFLAGS instead of INCLUDES; upgrade gintSergey Poznyakoff1
2014-02-05Update copyright years.Sergey Poznyakoff1
2012-01-05Happy GNU YearSergey Poznyakoff1
2011-11-28imap4d: reimplement fetch tests in Autotest. Remove DejaGNU-based testsuite.Sergey Poznyakoff1
* configure.ac: Update. * imap4d/Makefile.am (SUBDIRS): Remove testsuite. * imap4d/fetch.c (fetch_thunk): Add a FIXME reference. * imap4d/tests/fetch.at: New file. * imap4d/tests/Makefile.am (TESTSUITE_AT): Add fetch.at * imap4d/tests/testsuite.at: Include fetch.at * imap4d/tests/atlocal.in (fixup_tz): New filter. * imap4d/tests/Makefile.am (EXTRA_DIST): Remove unexisting file. * imap4d/testsuite: Remove
2011-11-28Minor fixSergey Poznyakoff1
2011-11-28imap4d: rewrite testsuite in Autotest.Sergey Poznyakoff1
* configure.ac (IMAP_AUTHOBJS): Remove subst variable. Use conditional instead. Configure imap4d/tests for testing. Build imap4d/tests/Makefile and imap4d/tests/atlocal. * imap4d/Makefile.am (SUBDIRS): Add tests. [MU_COND_GSASL]: Define AUTH_GSASL [MU_COND_GSSAPI]: Define AUTH_GSSAPI (imap4d_SOURCES): Include AUTH_GSASL and AUTH_GSSAPI (imap4d_LDADD,imap4d_DEPENDENCIES): Remove reference to IMAP_AUTHOBJS. (EXTRA_DIST): Remove. * imap4d/tests/.gitignore: New file. * imap4d/tests/IDEF0955.at: New file * imap4d/tests/IDEF0956.at: New file * imap4d/tests/Makefile.am * imap4d/tests/anystate.at: New file * imap4d/tests/atlocal.in * imap4d/tests/create01.at: New file * imap4d/tests/create02.at: New file * imap4d/tests/examine.at: New file * imap4d/tests/expunge.at: New file * imap4d/tests/id.at: New file * imap4d/tests/list.at: New file * imap4d/tests/search.at: New file * imap4d/tests/select.at: New file * imap4d/tests/status.at: New file * imap4d/tests/testsuite.at: New file * imap4d/fetch.c (fetch_io): Improve range checking. If the requested number of bytes is greater than maximum, truncate it. * imap4d/imap4d.c: New option --test. (test_mode): New global variable. (imap4d_session_setup0): Fix improperly allocated automatic variable. (main): Call GSASL and GSSAPI initializations only if mu_gsasl_enabled() returns true. * imap4d/imap4d.h (test_mode): New extern. * imap4d/preauth.c: Do not complain about failed getpeername in test mode. * imap4d/select.c: Fix human-readable response texts. * include/mailutils/gsasl.h (mu_gsasl_module_data)<enable>: New member. (mu_gsasl_enabled): New proto. * libmailutils/mailbox/mailbox.c (mu_mailbox_flush): (mu_mailbox_append_message,mu_mailbox_sync) (mu_mailbox_expunge): Use MU_STREAM_WRITE instead of MU_STREAM_RDWR. * libmu_auth/gsasl.c (mu_gsasl_module_data): Fix initialization. (mu_gsasl_enabled): New function. * libmu_cfg/gsasl.c (mu_gsasl_param): New parameter "enable".
2011-01-02Update copyright years.Sergey Poznyakoff1
Happy GNU year!
2010-10-09Fix copyleft notices to follow the GNU standards.Sergey Poznyakoff1
2010-09-25Finish switching to new gnulib (see 52d2552d23).Sergey Poznyakoff1
* configure.ac: Use libmuaux.a instead of libmuaux.la. * examples/Makefile.am: Likewise. * examples/cpp/Makefile.am: Likewise. * imap4d/Makefile.am: Likewise. * mapi/Makefile.am: Likewise. * mh/Makefile.am: Likewise. * pop3d/Makefile.am: Likewise. Remove old files from POTFILES.in (see c42bddb0b8). * po/POTFILES.in: Remove comsat/oldcfg.c. Build testsuites after the programs they are to test. * frm/Makefile.am (SUBDIRS): Put . before tests. * messages/Makefile.am: Likewise. * readmsg/Makefile.am: Likewise. * sieve/Makefile.am: Likewise. Remove leftovers from CVS times: * .cvsignore: Remove. * am/.cvsignore: Remove. * lib/.cvsignore: Remove. * po/.cvsignore
2010-09-12Mailbox quota support in imap4d: initial implementation.Sergey Poznyakoff1
* imap4d/quota.c: New file. * imap4d/Makefile.am (imap4d_SOURCES): Add quota.c * imap4d/append.c (imap4d_append0): Refuse to append if the quota is exceeded or would be exceeded after completing the operation. * imap4d/copy.c (imap4d_copy0): Refuse to copy messages if the quota is exceeded or would be exceeded after completing the operation. Return a meaningful textual description. Attempt to restore mailbox to its original size if the operation failed. * imap4d/imap4d.c (imap4d_session_setup0): Call quota_setup. * imap4d/imap4d.h (quota_setup, quota_check, quota_update): New functions. * include/mailutils/folder.h (mu_list_response) <format>: New member. * include/mailutils/mailbox.h (mu_mailbox_create_from_record): New function. * include/mailutils/types.hin (MU_FOLDER_ATTRIBUTE_LINK): New flag. * libproto/mbox/folder.c (list_helper): Do not return symbolic links unless MU_FOLDER_ATTRIBUTE_LINK is set. Fill in the resp->format member. * mailbox/mailbox.c (_mailbox_create_from_record): New static function. (_create_mailbox0): Rewrite as a wrapper over _mailbox_create_from_record. (mu_mailbox_create_from_record): New function.
2010-09-08Port the new I/O scheme from pop3d to imap4d.Sergey Poznyakoff1
* mailbox/fltstream.c (filter_wr_flush): Fix erroneous conditional. (filter_wait): New method. (mu_filter_stream_create): Set wait method. * imap4d/io.c: New source. * imap4d/Makefile.am: Add io.c * imap4d/*: Update I/O function calls.
2010-01-05Update copyright years.Sergey Poznyakoff1
Happy GNU year!
2009-07-05Fix namespaces and inclusion directories.Sergey Poznyakoff1
* README-hacking: Update. * configure.ac (MU_COMMON_INCLUDES): Remove. (MU_LIB_COMMON_INCLUDES,MU_APP_COMMON_INCLUDES): New variables. Link lib/gettext.h and lib.intprops.h to include. * gnulib.modules: Remove fnmatch. * comsat/Makefile.am, config/Makefile.am, dotlock/Makefile.am, frm/Makefile.am, guimb/Makefile.am, imap4d/Makefile.am, maidag/Makefile.am, mail/Makefile.am, movemail/Makefile.am, pop3d/Makefile.am, python/libmu_py/Makefile.am, readmsg/Makefile.am sieve/Makefile.am (INCLUDES): Use MU_APP_COMMON_INCLUDES * lib/Makefile.am, examples/Makefile.am, libmu_argp/Makefile.am, libmu_auth/Makefile.am, libmu_cpp/Makefile.am, libmu_sieve/Makefile.am, libproto/imap/Makefile.am, libproto/mailer/Makefile.am, libproto/mh/Makefile.am, libproto/nntp/Makefile.am, libproto/pop/Makefile.am, mailbox/Makefile.am, mapi/Makefile.am, messages/Makefile.am, mh/Makefile.am, sql/Makefile.am (INCLUDES): Use MU_LIB_COMMON_INCLUDES
2009-03-24Fix imap4d input tokenizer.Sergey Poznyakoff1
The proper delimiters are ( and ), listed in RFC as atom_specials. The characters "[]<>." are delimiters for FETCH, and "." is a delimiter for STORE. Fix tokenizer to recognize these only in the corresponding contexts. In particular, it fixes parsing of input atoms containing dots, as foo@bar.baz, which previous versions incorrectly splitted in three. * imap4d/util.c (ISDELIM): Delimiters are only ( and ) * imap4d/imap4d.h (struct imap4d_parsebuf): new data type. (imap4d_parsebuf_t): New data type. (imap4d_parsebuf_exit, imap4d_parsebuf_peek) (imap4d_parsebuf_next, imap4d_parsebuf_token) (imap4d_parsebuf_data, imap4d_with_parsebuf): New prototypes. * imap4d/parsebuf.c: New file. * imap4d/Makefile.am: Add parsebuf.c * imap4d/fetch.c, imap4d/store.c: Rewrite using parsebuf functions.
2008-08-19Implement ID extension.Sergey Poznyakoff1
* imap4d/id.c: New file. * imap4d/Makefile.am (imap4d_SOURCES): Add id.c, remove version.c. * imap4d/commands.c: Add ID command. Remove X-VERSION command. (SELECT,EXAMINE): Switch to authenticated mode on failure. * imap4d/imap4d.c (imap4d_argc, imap4d_argv): New variables. (imap4d_cfg_param): New keyword `id-fields'. (main): Save command line arguments. * imap4d/imap4d.h (imap4d_argc, imap4d_argv): New declarations. * imap4d/select.c (imap4d_select0): Do not reset state to auth on failure, this is done by util_finish. * imap4d/version.c: Remove. * imap4d/capability.c: Announce ID capability, remove X-VERSION. * imap4d/testsuite/imap4d/x.exp: Use ID instead of X-VERSION. * TODO, NEWS: Update. * mailbox/cfg_parser.y (_set_fun,parse_param): Bugfix.
2007-12-05* configure.ac: Add TCP wrappers support.Sergey Poznyakoff1
* imap4d/Makefile.am, mu_daemon_argp_parser (LDADD): Add TCPWRAP_LIBRARIES. * imap4d/imap4d.c: Include tcpwrap.h (imap4d_mainloop): Check the connection using tcp wrappers. * imap4d/preauth.c: Fix a typo in the comment. * maidag/maidag.h: Include tcpwrap.h * maidag/maidag.c, maidag/lmtp.c: Add TCP wrappers support. * pop3d/pop3d.c: Include tcpwrap.h (pop3d_mainloop): Check the connection using tcp wrappers. * lib/Makefile.am: Add tcpwrap.c and tcpwrap.h * lib/tcpwrap.c: New file. * lib/tcpwrap.h: New file. * libargp/common.c (mu_daemon_argp_parser): Bugfix.
2007-12-03* gnulib.modules: Add des. Sort lines.Sergey Poznyakoff1
* imap4d/Makefile.am (imap4d_SOURCES): Add preauth.c * imap4d/authenticate.c (imap4d_authenticate): Use imap4d_session_setup. * imap4d/imap4d.c (imap4d_session_setup) (imap4d_session_setup.0): New functions. (imap4d_mainloop): Implement PREAUTH mode. * imap4d/imap4d.h (RESP_PREAUTH): New define. (enum imap4d_preauth): New data type. (preauth_mode,preauth_program,preauth_only,ident_port): New globals. (imap4d_session_setup,imap4d_session_setup.0): New functions. * imap4d/login.c (imap4d_login): Use imap4d_session_setup0. * imap4d/util.c (sc2string): Handle RESP_PREAUTH * lib/.cvsignore, m4/.cvsignore: Update. * mailbox/tcp.c: Fix indentation.
2007-11-17Move rc file and argp parsing into separate abstract layers.Sergey Poznyakoff1
* include/mailutils/gocs.h, include/mailutils/pam.h, include/mailutils/radius.h, include/mailutils/syslog.h: New files * lib/argpinit.c, lib/muinit.c, lib/muinit.h: New files. * libsieve/conf.c: New file. * libcfg: New directory * libcfg/libcfg.h, libcfg/auth.c, libcfg/common.c, libcfg/init.c, libcfg/gsasl.c, libcfg/pam.c, libcfg/radius.c, libcfg/sieve.c, libcfg/sql.c, libcfg/tls.c, libcfg/virtdomain.c, libcfg/.cvsignore: New files. * libargp: New directory * libargp/auth.c, libargp/cmdline.h, libargp/common.c, libargp/gsasl.c, libargp/mu_argp.h, libargp/mu_argp.c, libargp/pam.c, libargp/radius.c, libargp/sieve.c, libargp/sql.c, libargp/tls.c, libargp/virtdomain.c, libargp/.cvsignore: New files. * mailbox/.cvsignore: Add cfg_parser.c and cfg_parser.h. * Makefile.am (SUBDIRS): Add libargp and libcfg. * configure.ac (MU_APP_LIBRARIES): New variable (MU_COMMON_INCLUDES): add libargp and libcfg (AC_CONFIG_FILES): Add libargp and libcfg. * auth/gsasl.c, auth/pam.c, auth/radius.c, auth/sql.c, auth/sql.h, auth/tls.c, auth/virtual.c, comsat/comsat.h, frm/frm.h, guimb/guimb.h, imap4d/imap4d.h, include/mailutils/gsasl.h, include/mailutils/libsieve.h, include/mailutils/mailutils.h, include/mailutils/mu_auth.h, include/mailutils/tls.h, include/mailutils/sql.h, maidag/maidag.h, mail/mail.h, mail.local/mail.local.h, mailbox/daemon.c, mailbox/system.c, mh/mh_argp.c, mh/mh_getopt.h, pop3d/pop3d.h, readmsg/readmsg.h: Remove argp stuff * comsat/comsat.c, config/mailutils-config.c, dotlock/dotlock.c, examples/muauth.c, examples/muemail.c, frm/frm.c, frm/from.c, guimb/main.c, imap4d/idle.c, imap4d/imap4d.c, imap4d/util.c, imap4d/version.c, maidag/lmtp.c, maidag/maidag.c, maidag/mailquota.c, mail/mail.c, mail/send.c, mail/version.c, mail.local/mailquota.c, mail.local/main.c, mail.remote/mail.remote.c, mailbox/mu_auth.c, messages/messages.c, mimeview/mimeview.c, movemail/movemail.c, pop3d/extra.c, pop3d/pop3d.c, pop3d/popauth.c, readmsg/readmsg.c, sieve/sieve.c: Use mu_app_init for parsing command line and configuration files. * comsat/Makefile.am, config/Makefile.am, dotlock/Makefile.am, examples/Makefile.am, frm/Makefile.am, guimb/Makefile.am, imap4d/Makefile.am, maidag/Makefile.am, mail/Makefile.am, mail.local/Makefile.am, mail.remote/Makefile.am, mailbox/Makefile.am, messages/Makefile.am, mimeview/Makefile.am, movemail/Makefile.am, pop3d/Makefile.am, readmsg/Makefile.am, sieve/Makefile.am: Use MU_APP_LIBRARIES. * include/mailutils/Makefile.am: Add new files. * include/mailutils/argp.h: Remove. * include/mailutils/cfg.h: New file. * include/mailutils/daemon.h (MODE_INTERACTIVE,MODE_DAEMON): New defines (from removed argp.h). (mu_gocs_daemon): New decl. * include/mailutils/error.h (mu_program_name): New variable (mu_set_program_name): New function. * lib/Makefile.am (libmuaux_la_SOURCES): Add new files. * libsieve/Makefile.am (libsieve_la_SOURCES): Remove argp.c, add conf.c instead. * libsieve/argp.c: Remove. * mailbox/cfg_parser.y (mu_cfg_parse_boolean): New function. * mailbox/mu_argp.c: Remove. * mailbox/muerror.c (mu_program_name): New variable (mu_set_program_name): New function (mu_default_error_printer): Print program name before diagnostic string. * mailbox/mutil.c (mu_sql_decode_password_type): New function. * mh/mh_whom.c (mh_alias_expand): Bugfix * po/POTFILES.in: Update * testsuite/lib/mailutils.exp (mu_init): Pass --no-site-rcfile --no-user-rcfile to all programs.
2007-07-05(INCLUDES): Remove INTLINCSSergey Poznyakoff1
2007-06-27Prepare for the GPL v.3 release. Relicense programs under GPL v.3, libraries ↵Sergey Poznyakoff1
under LPGL v.3
2006-03-07Use MU_LIB_.* variables instead of referring to the libraries by their ↵Sergey Poznyakoff1
relative paths.
2006-01-20(AM_LDFLAGS): Load libmuaux before libmailutils.Sergey Poznyakoff1
2005-11-15(UNCLUDES): Rewritten using MU_COMMON_INCLUDESSergey Poznyakoff1
2005-11-12Load MU_AUTHLIBS before libmailutils. Fixes cygwin buildSergey Poznyakoff1
2005-11-03Load libmuauth before libmailutilsSergey Poznyakoff1
2005-08-16Rename libmailbox to libmailutils. Rename the convenience library ↵Sergey Poznyakoff1
(lib/libmailutils) to libmuaux.
2005-05-17Updated FSF addressalpha_0_6_90Sergey Poznyakoff1
2005-01-05Use explicit PROG_DEPENDENCIES (see comment to imap4d_DEPENDENCIES in ↵Sergey Poznyakoff1
imap4d/Makefile.am)
2004-08-07(INCLUDES): Added -ImailboxSergey Poznyakoff1
2004-07-05Enable NNTP.Alain Magloire1

Return to:

Send suggestions and report system problems to the System administrator.