/ [mailfromd] / trunk / pies
To checkout: svn checkout http://svn.gnu.org.ua/sources/mailfromd/trunk/pies
Puszcza

Log of /trunk/pies

View Directory Listing Directory Listing


Sticky Revision:
(Current path doesn't exist after revision 1779)

Revision 1766 - Directory Listing
Modified Mon Dec 1 15:58:59 2008 UTC (12 years, 9 months ago) by gray
Documentation and minor fixes.

* pies/pies.c, pies/progman.c, pies/meta1gram.y, pies/pies.h,
pies/meta1lex.l: Normalize output redirection terminology, fix the
debug levels.
* pmult/pmult.c: Fix error message
* doc/pies.texi: Document the configuration.


Revision 1760 - Directory Listing
Modified Fri Nov 21 16:26:19 2008 UTC (12 years, 10 months ago) by gray
Pies: ensure all prereqs are started in right order before starting a dependency.

* pies/pies.c (component_cfg_param): New statement settle-timeout.
* pies/progman.c (recompute_alarm): New static;
(prog_start): Start the component only if all of its prerequisites
are running.
(progman_recompute_alarm): New function.
(progman_start): Reset recompute_alarm to 0.
(check_stopping): New function.
(progman_wake_sleeping): Handle also status_stopping and
status_enabled. Recompute alarm before leaving.
(prog_start_prerequisites): Return 0 or 1 depending on whether all
prerequisites have been started.
(prog_stop): Raise recompute_alarm for stopping components.
(progman_cleanup): Force status_enabled before attepmting to
start a component.
(progman_cleanup): Add a \n after debugging message.
Run progman_wake_sleeping unlsess expect_term is set.
* pies/meta1gram.y (translate_node_list): Force settle-timeout =
1.
* pies/pies.h (struct component.settle_timeout): New member.


Revision 1759 - Directory Listing
Modified Fri Nov 21 09:46:34 2008 UTC (12 years, 10 months ago) by gray
Improve pies.

* pies/pies.c (main): New options --force, --dump-prereq and
--dump-depmap.
Refuse to start if another instance is already running.
(pies_check_status): New function.
(pies_status): Rewrite using pies_check_status.
* pies/progman.c (component_fixup_depend): Bugfix: move
mu_list_append off the conditional.
(progman_dump_prereq, progman_dump_depmap): New functions.
* pies/meta1gram.y (yyerror): Return 0.
* pies/pies.h (progman_dump_prereq, progman_dump_depmap): New
protos.
(meta1_parser_set_debug, meta1lex, meta1error)
(meta1parse): Likewise.


Revision 1758 - Directory Listing
Modified Fri Nov 21 08:20:37 2008 UTC (12 years, 10 months ago) by gray
Improve pies.

* pies/progman.c (print_dep): New function.
(progman_build_depmap): Call print_dep to facilitate fixing cyclic
dependencies.
(prog_start_prerequisites): Fix debugging output.
Remove spurious second loop (was it a typo or copy-paste
leftover?)
(prog_stop_dependents): Fix debugging output.
(progman_dump_stats): Avoid race conditions between running and
querying instances.


Revision 1754 - Directory Listing
Modified Mon Nov 17 12:15:58 2008 UTC (12 years, 10 months ago) by gray
Fix handling of retranslators.

* pies/pies.c (main): Call progman_build_depmap and
progman_create_sockets before starting up components.
* pies/progman.c (struct prog): New member `retr'.
(destroy_prog): New function.
(retr_tag): Change signature. Fix erroneous condition for
xalloc_die.
(register_retr): Return prog. Make static. Initialize idx
with -1.
(update_retr): Register retranslator, if necessary.
(progman_register_retranslators): Remove.
(register_prog0): 2nd argument: index.
(register_prog): Do not create socket at once.
(prog_start): Remove debugging fprintf.
(progman_accept): Update call to register_prog0.
(progman_create_sockets): New function.
(progman_start): Remove calls to progman_register_retranslators
and progman_build_depmap. They must be done only once.
(prog_stop_retranslators): New function.
(prog_stop_dependents): Call prog_stop_retranslators.
(progman_cleanup): Remove dangling retranslators.
* pies/pies.h (progman_create_sockets): New prototype.


Revision 1753 - Directory Listing
Modified Sun Nov 16 21:45:38 2008 UTC (12 years, 10 months ago) by gray
Improve pies.

* pies/pies.h (create_socket): Change proto to 3 arguments.
* pies/socket.c (create_socket): Take two additional arguments.
Allow to configure ownership and mode of created UNIX sockets.
* pies/progman.c (register_prog, prog_start): Update calls to
create_socket.


Revision 1751 - Directory Listing
Modified Sat Nov 15 18:14:31 2008 UTC (12 years, 10 months ago) by gray
Improve handling of program privileges.

* lib/libmf.h (struct mf_privs): New data type.
(get_user_groups, mf_priv_setup, mf_epriv_setup): New prototypes.
* lib/userprivs.c (get_user_groups, mf_priv_setup)
(mf_epriv_setup): New functions.

* smap/smap.c: If user is specified, switch to effective uid/gid,
in order for msrv to create files with right privileges, on one
hand, and to be able to create pidfile in root-owned directories
(e.g. /var/run), on the other hand. This requires todays snapshot
of Mailutils.

* pies/pies.h (struct pies_privs_data): Remove
(struct component): Change type of `privs' to struct mf_privs.
(priv_setup): Remove.
* pies/pies.c: Use mf_priv* stuff to manipulate privileges.
* pies/progman.c: Likewise.
* pies/meta1gram.y (list): allow for trailing comma.


Revision 1749 - Directory Listing
Modified Thu Nov 13 20:29:20 2008 UTC (12 years, 10 months ago) by gray
Bugfix.

* pies/Makefile.am (LDADD): Add MF_PROCTITLE_LIBS


Revision 1748 - Directory Listing
Modified Thu Nov 13 20:26:07 2008 UTC (12 years, 10 months ago) by gray
Bugfix.

* lib/proctitle.c (mf_proctitle_format):
* pies/progman.c (progman_register_retranslators): Register
retranslators only for retr_syslog.
(open_retranslator): Do not prepend program name to the proctitle.
It is done automatically by the library.
* lib/proctitle.c: Declare environ.
Define __progname if not defined in libc.
(mf_proctitle_init): Set __progname.
(mf_proctitle_format): Prepend program name to the proctitle.


Revision 1747 - Directory Listing
Modified Thu Nov 13 19:02:54 2008 UTC (12 years, 10 months ago) by gray
Implement file output redirection.

* pies/pies.h (enum retr_type): New constants.
(struct retranslator): New type.
(struct component): Change type of retr to struct retranslator.
All uses updated.
* pies/pies.c (_cb_retr): Takes two arguments:
redirection type and file name or syslog priority.
(make_full_name): New function.
(component_verify): Check retr file names.
* pies/progman.c (redirect_to_file): New function.
(open_retranslator): Handle file redirects.
(prog_start): Open /dev/null in wronly mode.
* pies/meta1gram.y (create_retr_node): New function.
(translate_node_list): Create default "stderr" statement.


Revision 1746 - Directory Listing
Modified Thu Nov 13 16:11:09 2008 UTC (12 years, 10 months ago) by gray
Implement setproctitle functionality for pies.

* am: New directory.
* am/aggr.m4, am/debug.m4: New files (from acinclude.m4)
* am/proctitle.m4: New file.
* acinclude.m4: Removed.
* configure.ac: Call MF_PROCTITLE.
* lib/libmf.h (mf_proctitle_format): New prototype.
* lib/proctitle.c: New file.
* lib/Makefile.am (libmf_a_SOURCES): Add proctitle.c.
* Makefile.am (ACLOCAL_AMFLAGS): Add -I am

* pies/pies.c (main): Call mf_proctitle_init.
* pies/progman.c (retr_tag): Rewrite in a safer way.
(open_retranslator): Set program title in child.


Revision 1745 - Directory Listing
Modified Thu Nov 13 12:58:01 2008 UTC (12 years, 10 months ago) by gray
Allow to complement existing components (useful for MeTA1 includes).

* pies/pies.c (component_verify): New function.
(component_section_parser): Call component_verify.
(_cm_include_meta1): Reduce the tree at once.
(parse_meta1_conf): Not needed any more.
* pies/progman.c (progman_register_retranslators): New function.
(pies/progman.c): Do not register retranslators: wait until the
entire config is parsed and do that in progman_start.
(progman_start): Call progman_register_retranslators.


Revision 1744 - Directory Listing
Modified Wed Nov 12 22:38:03 2008 UTC (12 years, 10 months ago) by gray
Optonal semicolon after a simple statement

Revision 1743 - Directory Listing
Modified Wed Nov 12 18:10:09 2008 UTC (12 years, 10 months ago) by gray
Implement dependencies/prerequisites in MeTA1.

* pies/pies.c (component_cfg_param): Rename "depend" to
"prerequisites". Add new keyword "dependents".
(pies_cfg_param): New keyword "limits".
* pies/progman.c (struct prog): Rename "depend" to "prereq".
(prog_start_dependencies): Rename to prog_start_prerequisites
(register_prog0): Do not fill prereq. This will be done later,
when all dependencies are resolved.
(prog_rebuild_prerequisites): New function.
(prog_start): Per-component limitis override system-wide ones.
(component_fixup_depend, fixup_prerequisites)
(rebuild_prerequisites): New functions.
(progman_build_depmap): Call fixup_prerequisites and
rebuild_prerequisites.
(prog_stop_dependent): Rename to prog_stop_dependents.
* pies/meta1gram.y: Implement restart_dependencies.
* pies/pies.h (struct component): Rename "depend" to "prereq". Add
new member "depend".
(pies_limits): New extern.


Revision 1742 - Directory Listing
Modified Wed Nov 12 14:47:57 2008 UTC (12 years, 10 months ago) by gray
* pies/pies.rcin: Update

Revision 1741 - Directory Listing
Modified Wed Nov 12 14:46:57 2008 UTC (12 years, 10 months ago) by gray
Update

Revision 1740 - Directory Listing
Modified Wed Nov 12 14:45:00 2008 UTC (12 years, 10 months ago) by gray
Implement MeTA1 configuration file parser. 

* configure.ac: Require Mailutils 1.9.93
* doc/mailfromd.texi, NEWS: Update.
* pies/pies.c (_cb_depend): Accept list argument.
(component_cfg_param): New statement: program.
(pies_cfg_param): New statements: include-meta1 and
meta1-queue-dir.
(parse_meta1_conf, pies_cfg_verifier): New functions.
(main): Set mu_app_cfg_verifier. Call parse_meta1_conf.
* pies/progman.c (progman_lookup_component): New function.
(prog_start): Pass program name (eventually differing from
argv[0]).
* pies/pies.h (struct component): New member `program'.
(progman_lookup_component): New prototype.
* pies/meta1gram.y, pies/meta1lex.h, pies/meta1lex.l: New files.
* pies/Makefile.am (pies_SOURCES): Add meta1gram.y and
pies/meta1lex.h.
(noinst_HEADERS, AM_YFLAGS, AM_LFLAGS): New variables.


Revision 1738 - Directory Listing
Modified Tue Nov 11 15:13:54 2008 UTC (12 years, 10 months ago) by gray
Bugfixes

* pies/pies.c (component_cfg_param, pies_cfg_param): New keyword:
allgroups.
(pies_add_allgroups): New function.
* pies/limits.c: Fix debug statements.
* pies/progman.c (build_depmap): Rename to
progman_build_depmap. Make extern, for future use. All callers
updated.
* pies/pies.h (progman_build_depmap): New proto.


Revision 1737 - Directory Listing
Modified Tue Nov 11 12:54:09 2008 UTC (12 years, 10 months ago) by gray
pies: rename open_socket to create_socket

Revision 1736 - Directory Listing
Modified Tue Nov 11 12:37:12 2008 UTC (12 years, 10 months ago) by gray
Bugfixes

* pies/pies.c: Fix ACTION_COMPRELOAD
* pies/progman.c (open_retranslator): (child) close all open
sockets, except p[0] (pipe input).
(prog_start): Bugfix: mark sleeping components with
status_sleeping.
(prog_start): stdout retranslation works for pies_comp_pass_fd.
Mark started processes with status_enabled.
(progman_start): Start enabled processes if pid is 0.
(progman_stop_component): Correctly handle various status types.
(progman_dump_stats): Mark processes being stopped.


Revision 1734 - Directory Listing
Modified Tue Nov 11 08:50:05 2008 UTC (12 years, 10 months ago) by gray
Bugfixes

* pies/pies.c (component_cfg_param): Bugfix.
(component_section_parser): Initialize comp->pass_fd_socket
* pies/progman.c (prog_start): Listen on the socket, if in pass_fd
mode. Avoid closing it.
(prog_stop_all): Kill programs being stopped.
* pies/socket.c (pass_fd): Check return from open_unix_socket.


Revision 1733 - Directory Listing
Modified Mon Nov 10 21:59:37 2008 UTC (12 years, 10 months ago) by gray
Rewrite pies to incorporate into it the functionality of inetd and mcp.

* pies/pies.c (pmult_debug): Rename to pies_debug.
(pies_acl): New global.
(component_cfg_param): New statements: mode, socket,
pass-fd-socket, acl, limits.
(component_section_parser): Allocate comp. Check its consistency
on mu_cfg_section_end.
(pies_cfg_param): New statement: acl.
(main): Call mu_acl_cfg_init. Use pies_pause instead of pause.
* pies/limits.c: New file.
* pies/progman.c (enum prog_status): New status: status_listener.
(struct prog): Keep a pointer to the original struct component,
instead of copying its fields (except for depend, which is copied
anyway). All uses updated.
(prog_lookup_by_socket, unlink_prog, register_prog0): New
functions.
(prog_start, progman_cleanup, progman_stop_component): Rewrite to
take into account various component modes.
(pies_check_acl): New function.
(progman_accept): New function.
* pies/pies.h (limits_record_t): New typedef.
(enum pies_comp_mode): New constants.
(struct component): New members: mode, limits, socket_url,
pass_fd_socket, acl.
(progman_accept): New proto.
(pies_pause, register_listener, pass_fd, open_socket)
(parse_limits, set_limits): New protos.
* pies/Makefile.am (pies_SOURCES): Add limits.c and socket.c
* pies/socket.c: New file.

* configure.ac: Check for msg_control and msg_accrights in struct
msghdr.
* acinclude.m4 (IU_CHECK_MEMBER, IU_CHECK_MEMBERS): New macros
(from inetutils).


Revision 1731 - Directory Listing
Modified Mon Nov 10 11:19:22 2008 UTC (12 years, 10 months ago) by gray
Minor fixes.

* pies/progman.c (prog_start): Bugfix.
* pmult/pmult.c (pmult_cfg_param): New configuration statement
pmilter-debug.
(main): Call sm_pmfi_setdbg.


Revision 1709 - Directory Listing
Modified Fri Oct 31 15:39:01 2008 UTC (12 years, 10 months ago) by gray
Allow to configure which macros to pass to the filter.

* gnulib.modules: Add inttostr
* smap/smap.c, pies/progman.c, pies/pies.h: Use umaxtostr, instead
of mu_umaxtostr.

* pmult/pmult.c (struct pmult_priv_data): New members: argc,
argv.
(macro_trans, meta_stage_trans, macrotab, macronames): New
globals.
(translate_macros0, translate_macros): New functions.
(define_macros, define_macros_iter): New functions.
(_cb_define, request_auth_macros): New functions.
(pmult_cfg_param): New keyword `define-macro'.
(pmult_free): Free argv.
(pmult_negotiate): Use sm_pmfi_setmacs, if available.
(pmult_connect, pmult_helo, pmult_mail, pmult_rcpt)
(pmult_data, process_headers, pmult_eom): Use translate_macros.
(main): Handle want_auth_macros.

* configure.ac: Check for sm_pmfi_setmacs. This function should
appear in meta1-1.0.PreAlpha28.0.



Revision 1700 - Directory Listing
Modified Wed Oct 15 18:22:39 2008 UTC (12 years, 11 months ago) by gray
* pies/progman.c (env_setup): Port new implementation from Rush.

* gnulib.modules: Add c-ctype
* mtasim/mtasim.c, pies/pies.h, pmult/pmult.c, lib/parsetime.c,
mfd/lex.l, mfd/gram.y, mfd/mailfromd.h, mfd/spf.c,
mfd/bi_sprintf.m4, mfd/bi_io.m4, mfd/pp.c, mfd/main.c: Use c-ctype,
instead of ctype. 


Revision 1694 - Directory Listing
Modified Sat Oct 4 19:30:45 2008 UTC (12 years, 11 months ago) by gray
Introduce "precious" components.

* pies/pies.c (component_cfg_param): New configuration statement
`precious'.
* pies/progman.c (struct prog): New member `precious'.
(register_prog): Set precious.
(prog_start_dependencies): Do not mark disabled precious
dependencies of a disabled component.
* pies/pies.h (pies/pies.h): New member `precious'.
* pies/pies.rcin (mcp): Mark as precious.


Revision 1693 - Directory Listing
Modified Sat Oct 4 18:46:44 2008 UTC (12 years, 11 months ago) by gray
Bugfix.

* pies/pies.c (return_code_section_parser): Fix to work with tag
of any type.
* pies/pies.rcin: Minor change.


Revision 1691 - Directory Listing
Modified Sat Oct 4 15:44:19 2008 UTC (12 years, 11 months ago) by gray
Terminate components in reverse order.

* pies/pies.c (main): Do cleanup after main action processing and
only if action == ACTION_CONT.
* pies/progman.c (struct prog): New member `prev'.
(link_prog): Maintain doubly-linked list.
(prog_stop_dependent): Avoid printing diagnostics if there are
no dependencies to be stopped.
(prog_stop): Do nothing if prog->pid is zero.
Do not call prog_stop_dependent, it will be done by
progman_cleanup. 
(prog_stop_all): Terminate components from last to first.
* pies/pies.rcin: Improve example, by adding mcp component.


Revision 1689 - Directory Listing
Modified Sat Oct 4 10:04:55 2008 UTC (12 years, 11 months ago) by gray
Improvements in pies.

* pies/pies.c (_cb_depend): Handle single string value.
(_cb_retr): Fix diagnostic message.
(_cb_facility): New function.
(component_cfg_param): New statement `facility'.
(component_section_parser): Initialize comp.facility to the
default value.
* pies/progman.c (struct prog): New member `facility'.
(register_prog): Initialize facility.
(open_retranslator): Use master->facility.
* pies/pies.h (struct component): New member `facility'.


Revision 1687 - Directory Listing
Modified Fri Oct 3 20:46:09 2008 UTC (12 years, 11 months ago) by gray
Bugfix.

* pies/progman.c (register_prog): Remove stray semicolon.
(retr_exit): Use _exit.
(prog_stop_dependent): Bugfix: stop retranlators as well as
components.


Revision 1683 - Directory Listing
Modified Mon Sep 29 19:17:05 2008 UTC (13 years ago) by gray
Remove unused vars

Revision 1680 - Directory Listing
Modified Mon Sep 29 19:04:21 2008 UTC (13 years ago) by gray
Fix MU configuration file support.

* lib/libmf.h (config_array_to_argv)
(config_array_to_string, config_cb_timeout): new prototypes.
* lib/utils.c: New
* lib/Makefile.am (libmf_a_SOURCES): Add utils.c
* mfd/gram.y (defer_initialize_variable): Both args are const.
* mfd/mailfromd.h (defer_initialize_variable)
(add_include_dir): Change signatures.
* mfd/pp.c (add_include_dir): Arg is const.
* pies/pies.c, pmult/pmult.c, mfd/main.c: Rewrite configuration
file support to match changes in Mailutils.


Revision 1662 - Directory Listing
Modified Mon Sep 8 21:22:51 2008 UTC (13 years ago) by gray
Version 4.9.93

* configure.ac: Version 4.9.93
* NEWS: Likewise.
* pies/pies.c: Change description.


Revision 1657 - Directory Listing
Modified Thu Jun 26 16:02:14 2008 UTC (13 years, 3 months ago) by gray
* pies/pies.h: Include stdint.h
* configure.ac: Fix checking for libresolv.


Revision 1626 - Directory Listing
Modified Wed Mar 5 15:16:25 2008 UTC (13 years, 6 months ago) by gray
Use ngettext

Revision 1623 - Directory Listing
Modified Tue Mar 4 07:13:32 2008 UTC (13 years, 6 months ago) by gray
Minor fixes in translatable strings

Revision 1618 - Directory Listing
Modified Tue Feb 26 13:42:41 2008 UTC (13 years, 7 months ago) by gray
* pies/pies.c: New configuration statement "chdir".
* pies/progman.c (struct prog.v.p): New member `dir'.
(register_prog): Initialize newp->v.p.dir;
(prog_start): Change to the working directory, if required by
config.


Revision 1612 - Directory Listing
Modified Sun Feb 10 14:08:36 2008 UTC (13 years, 7 months ago) by gray
Copied from: branches/gmach/pies revision 1611
Merged HEAD from branches/gmach

Revision 1602 - Directory Listing
Modified Fri Feb 1 16:10:32 2008 UTC (13 years, 7 months ago) by gray
Original Path: branches/gmach/pies
* pies/pies.c (progman_wake_disabled): Renamed to
progman_wake_sleeping.
* pies/progman.c: Implement proper handling of dependencies.
* pies/pies.h ((progman_wake_disabled): Renamed to
progman_wake_sleeping.
(pies_depmap_t,pies_depmap_pos_t,enum pies_depmap_direction): New
types.
(depmap_alloc,depmap_copy,depmap_set,depmap_isset,depmap_tc)
(depmap_first,depmap_next): New functions.
* pies/depmap.c: New file.
* pies/Makefile.am (pies_SOURCES): Add depmap.c.


Revision 1601 - Directory Listing
Modified Fri Feb 1 10:39:45 2008 UTC (13 years, 7 months ago) by gray
Original Path: branches/gmach/pies
* smap/smap.c (version): Fix indentation.
* pies/pies.c (return_code_section_parser): Allow to use symbolic
exit codes.
(priv_setup): Exit with EX_CONFIG if the user does not exist.
(main): Catch early sigchlds as well.
* pies/progman.c (progman_cleanup): Fix notice wording.
* pies/pies.rcin: Add sample return-code section.
(component pmult): Redirect stderr/stdout to syslog.


Revision 1600 - Directory Listing
Modified Thu Jan 31 18:30:42 2008 UTC (13 years, 7 months ago) by gray
Original Path: branches/gmach/pies
Implement configurable actions depending on the exit code of
a component.

* pies/pies.c: New configuration file section "return-code".
(capa): Add mailer and debug.
(main): Register "return-code" section and all mailer formats.
* pies/progman.c (enum prog_status): New type.
(struct prog): Remove `disabled'. New fields `status' and `act'.
(register_prog): Initialize act.
(prog_start): Exit with EX_SOFTWARE code if the component cannot
be started.
(progman_start): Do not start disabled components.
(progman_wake_disabled): Wake only components marked as
status_stopped.
(notify): New function.
(progman_cleanup): Act in accordance with the `act' field if the
component terminates.
(progman_stop_component,progman_dump_stats): Take into account
prog->v.p.status.
* pies/pies.h (MAX_RETURN_CODE): New define.
(enum return_action): New type.
(struct component.act): New member.
(default_component): New global.


Revision 1593 - Directory Listing
Modified Thu Jan 24 14:34:43 2008 UTC (13 years, 8 months ago) by gray
Original Path: branches/gmach/pies
Fix handling of the --log-tag option.

Revision 1592 - Directory Listing
Modified Thu Jan 24 10:18:07 2008 UTC (13 years, 8 months ago) by gray
Original Path: branches/gmach/pies
* pies/progman.c (prog_start): Remove unconditional debugging
output.
* gacopyz/gacopyz.h (SMI_LOG_PROTO): New debugging level.
(gacopyz_io_logdump): Remove useless level argument.
* gacopyz/log.c, gacopyz/io.c, gacopyz/gacopyz.c: Dump protocol
traces only if SMI_LOG_PROTO is set.


Revision 1589 - Directory Listing
Modified Tue Jan 22 17:04:52 2008 UTC (13 years, 8 months ago) by gray
Original Path: branches/gmach/pies
Update svn:ignore

Revision 1588 - Directory Listing
Modified Tue Jan 22 16:47:43 2008 UTC (13 years, 8 months ago) by gray
Original Path: branches/gmach/pies
* mtasim/mtasim.c: Do not use gacopyz_srv_define_macro0.
* pmult/pmult.c: (log_setup): Always set mu_debug_default_printer
to override bug in libmailutils.
(client_block_end): Bugfix.
(pmult_connect): Do not use gacopyz_srv_define_macro0.
* mfd/main.c (log_setup): Always set mu_debug_default_printer to
override bug in libmailutils.

* gacopyz/gacopyz.h (gacopyz_srv_define_macro0): Remove.
* gacopyz/log.c (gacopyz_io_logdump): Bugfix.
* gacopyz/server.c (gacopyz_srv_define_macro0): Remove.
(gacopyz_srv_define_macro): Do not use gacopyz_srv_define_macro0.

* pies/pies.c (log_setup): Always set mu_debug_default_printer to
override bug in libmailutils.
(component_cfg_param): New keyword `env'.
(main): Bugfix: It is -R that allows arguments, not -r.
* pies/progman.c (struct prog): New member env.
(register_prog): Avoid unnecessary allocations. Copy env.
(env_setup): New function.
(prog_start): Set up environment.
* pies/pies.h (struct component): New member env.


Revision 1579 - Directory Listing
Modified Sat Jan 19 08:01:16 2008 UTC (13 years, 8 months ago) by gray
Original Path: branches/gmach/pies
Update svn:ignore

Revision 1578 - Directory Listing
Modified Sat Jan 19 07:58:34 2008 UTC (13 years, 8 months ago) by gray
Original Path: branches/gmach/pies
Roll back the latest rename. Changing a well-known program/package name doesn't pay

Revision 1575 - Directory Listing
Modified Wed Jan 16 15:57:41 2008 UTC (13 years, 8 months ago) by gray
Original Path: branches/gmach/pies
Fix copyright headers

Revision 1565 - Directory Listing
Modified Mon Jan 14 17:26:09 2008 UTC (13 years, 8 months ago) by gray
Original Path: branches/gmach/pies
* src/main.c, smap/smap.c, pies/pies.c, pies/progman.c,
pies/pies.h, pmult/pmult.c: Sync with MY CVS: Use mu_log_facility
and mu_log_tag.
* gacopyz/gacopyz.h (struct gacopyz_milter_descr): New member
xxfi_accept.
* gacopyz/gacopyz.c (gacopyz_handle_connection): Close connection
immediately if conn->desc.xxfi_accept return 1.


Revision 1564 - Directory Listing
Modified Mon Jan 14 08:24:24 2008 UTC (13 years, 8 months ago) by gray
Original Path: branches/gmach/pies
Update

Revision 1562 - Directory Listing
Modified Sun Jan 13 18:23:10 2008 UTC (13 years, 8 months ago) by gray
Original Path: branches/gmach/pies
* src/lex.l, src/mailfromd.h (parse_warning, parse_warning_locus)
(parse_error,parse_error_locus): fmt is const.
* src/gram.y (dbg_dict_getsym): Auxiliary function.
* src/prog.c, src/prog.h (pushs): 2nd argument is const.
* src/bi_gettext.m4 (bindtextdomain): Minor fix.
* pies/Makefile.am, smap/Makefile.am,
pmult/Makefile.am (LDADD): Place libgnu.a after
MAILUTILS_LIBS. 
* pmult/pmult.c: Fix indentation.
* lib/libmf.h: Include stdio.h
* lib/userprivs.c: Include libmf.h.
* lib/parsetime.c: Includestring.h and time.h


Revision 1561 - Directory Listing
Added Sun Jan 13 09:02:15 2008 UTC (13 years, 8 months ago) by gray
Original Path: branches/gmach/pies
* pies: New directory.
* pies/Makefile.am: New file.
* pies/pies.c, pies/progman.c, pies/pies.h, pies/pies.rcin: New
files.
* smap/smap.c (switch_to_privs): Remove. Use library version instead.
* pmult/pmult.c: New configuration file statement `pidfile'.
(pmult_connect): Ignore gsrv if its remote milter is not
listening.
* configure.ac, Makefile.am: Add pies.
* lib/libmf.h (getmaxfd): New define.
* NEWS: Update.


Send suggestions and bug reports to Sergey Poznyakoff
ViewVC Help
Powered by ViewVC 1.1.20