1 diff -durN postfix-2.1.3.orig/src/dns/Makefile.in postfix-2.1.3/src/dns/Makefile.in
2 --- postfix-2.1.3.orig/src/dns/Makefile.in 2004-04-22 21:37:34.000000000 +0200
3 +++ postfix-2.1.3/src/dns/Makefile.in 2004-06-22 15:39:24.242860389 +0200
6 INC_DIR = ../../include
8 -.c.o:; $(CC) $(CFLAGS) -c $*.c
9 +.c.o:; $(CC) -fPIC $(CFLAGS) -c $*.c
17 - $(AR) $(ARFL) $(LIB) $?
19 + gcc -shared -Wl,-soname,libpostfix-dns.so.1 -o $(LIB) $(OBJS)
21 $(LIB_DIR)/$(LIB): $(LIB)
23 - $(RANLIB) $(LIB_DIR)/$(LIB)
25 update: $(LIB_DIR)/$(LIB) $(HDRS)
27 diff -durN postfix-2.1.3.orig/src/global/Makefile.in postfix-2.1.3/src/global/Makefile.in
28 --- postfix-2.1.3.orig/src/global/Makefile.in 2004-06-22 15:38:56.931476412 +0200
29 +++ postfix-2.1.3/src/global/Makefile.in 2004-06-22 15:39:56.167971280 +0200
32 INC_DIR = ../../include
34 +LDAPSO = dict_ldap.so
35 +MYSQLSO = dict_mysql.so
36 +PGSQLSO = dict_pgsql.so
38 -.c.o:; $(CC) $(CFLAGS) -c $*.c
39 +.c.o:; $(CC) -fPIC $(CFLAGS) -c $*.c
47 - $(AR) $(ARFL) $(LIB) $?
49 + gcc -shared -Wl,-soname,libpostfix-global.so.1 -o $(LIB) $(OBJS)
51 +$(LDAPSO): dict_ldap.o
52 + gcc -shared -Wl,-soname,dict_ldap.so -o $@ $? -lldap -llber -L../../lib -lutil -L. -lglobal
54 +$(MYSQLSO): dict_mysql.o
55 + gcc -shared -Wl,-soname,dict_ldap.so -o $@ $? -lmysqlclient -L../../lib -lutil -L. -lglobal
57 +$(PGSQLSO): dict_pgsql.o
58 + gcc -shared -Wl,-soname,dict_ldap.so -o $@ $? -lpq -L../../lib -lutil -L. -lglobal
60 $(LIB_DIR)/$(LIB): $(LIB)
62 - $(RANLIB) $(LIB_DIR)/$(LIB)
64 -update: $(LIB_DIR)/$(LIB) $(HDRS)
65 +$(LIB_DIR)/$(LDAPSO): $(LDAPSO)
66 + cp $(LDAPSO) $(LIB_DIR)
68 +$(LIB_DIR)/$(MYSQLSO): $(MYSQLSO)
69 + cp $(MYSQLSO) $(LIB_DIR)
71 +$(LIB_DIR)/$(PGSQLSO): $(PGSQLSO)
72 + cp $(PGSQLSO) $(LIB_DIR)
74 +update: $(LIB_DIR)/$(LIB) $(LIB_DIR)/${LDAPSO} $(LIB_DIR)/${MYSQLSO} $(LIB_DIR)/${PGSQLSO} $(HDRS)
77 cmp -s $$i $(INC_DIR)/$$i 2>/dev/null || cp $$i $(INC_DIR); \
79 lint $(DEFS) $(SRCS) $(LINTFIX)
82 - rm -f *.o $(LIB) *core $(TESTPROG) junk
83 + rm -f *.o $(LIB) $(LDAPSO) $(MYSQLSO) $(PGSQLSO) *core $(TESTPROG) junk
87 diff -durN postfix-2.1.3.orig/src/global/mail_conf.c postfix-2.1.3/src/global/mail_conf.c
88 --- postfix-2.1.3.orig/src/global/mail_conf.c 2004-04-10 16:52:51.000000000 +0200
89 +++ postfix-2.1.3/src/global/mail_conf.c 2004-06-22 15:39:24.247860093 +0200
91 path = concatenate(var_config_dir, "/", "main.cf", (char *) 0);
92 dict_load_file(CONFIG_DICT, path);
95 +#ifndef NO_DYNAMIC_MAPS
96 + path = concatenate(var_config_dir, "/", "dynamicmaps.cf", (char *) 0);
97 + dict_open_dlinfo(path);
103 /* mail_conf_eval - expand macros in string */
104 diff -durN postfix-2.1.3.orig/src/master/Makefile.in postfix-2.1.3/src/master/Makefile.in
105 --- postfix-2.1.3.orig/src/master/Makefile.in 2004-04-22 21:37:35.000000000 +0200
106 +++ postfix-2.1.3/src/master/Makefile.in 2004-06-22 15:39:24.249859975 +0200
108 INC_DIR = ../../include
109 BIN_DIR = ../../libexec
111 -.c.o:; $(CC) $(CFLAGS) -c $*.c
112 +.c.o:; $(CC) `for i in $(LIB_OBJ); do [ $$i = $@ ] && echo -fPIC; done` $(CFLAGS) -c $*.c
120 - $(AR) $(ARFL) $(LIB) $?
122 + gcc -shared -Wl,-soname,libpostfix-master.so.1 -o $(LIB) $(LIB_OBJ)
124 $(LIB_DIR)/$(LIB): $(LIB)
125 cp $(LIB) $(LIB_DIR)/$(LIB)
126 - $(RANLIB) $(LIB_DIR)/$(LIB)
128 $(BIN_DIR)/$(PROG): $(PROG)
129 cp $(PROG) $(BIN_DIR)
130 diff -durN postfix-2.1.3.orig/src/util/dict.h postfix-2.1.3/src/util/dict.h
131 --- postfix-2.1.3.orig/src/util/dict.h 2003-07-03 17:04:13.000000000 +0200
132 +++ postfix-2.1.3/src/util/dict.h 2004-06-22 15:39:24.253859738 +0200
135 extern ARGV *dict_mapnames(void);
137 +#ifndef NO_DYNAMIC_MAPS
139 + * Interface for dynamic map loading.
142 + const char *pattern;
143 + const char *soname;
144 + const char *openfunc;
147 +extern void dict_open_dlinfo(const char *path);
148 +extern DLINFO *dict_open_dlfind(const char *type);
152 * High-level interface, with logical dictionary names.
154 diff -durN postfix-2.1.3.orig/src/util/dict_open.c postfix-2.1.3/src/util/dict_open.c
155 --- postfix-2.1.3.orig/src/util/dict_open.c 2004-06-22 15:38:57.069468247 +0200
156 +++ postfix-2.1.3/src/util/dict_open.c 2004-06-22 15:39:24.254859679 +0200
161 +#include <sys/stat.h>
164 /* Utility library. */
168 #include <split_at.h>
171 +#ifndef NO_DYNAMIC_MAPS
172 +#include <load_lib.h>
173 +#include <vstring.h>
174 +#include <vstream.h>
175 +#include <vstring_vstream.h>
180 * lookup table for available map types.
184 DICT_TYPE_NETINFO, dict_ni_open,
186 +#ifndef MAX_DYNAMIC_MAPS
188 DICT_TYPE_PCRE, dict_pcre_open,
190 +#endif /* MAX_DYNAMIC_MAPS */
191 #ifdef HAS_POSIX_REGEXP
192 DICT_TYPE_REGEXP, dict_regexp_open,
196 if (dict_open_hash == 0)
198 - if ((dp = (DICT_OPEN_INFO *) htable_find(dict_open_hash, dict_type)) == 0)
199 - msg_fatal("unsupported dictionary type: %s", dict_type);
200 + if ((dp = (DICT_OPEN_INFO *) htable_find(dict_open_hash, dict_type)) == 0) {
201 +#ifndef NO_DYNAMIC_MAPS
203 + VSTRING *lib, *func;
205 + DICT *(*open) (const char *, int, int);
206 + DLINFO *dl=dict_open_dlfind(dict_type);
209 + msg_fatal("%s: unsupported dictionary type: %s", myname, dict_type);
210 +#ifndef NO_DYNAMIC_MAPS
211 + lib=vstring_alloc(1);
212 + vstring_sprintf(lib,dl->soname,dict_type);
213 + if (stat(vstring_str(lib),&st) < 0) {
214 + msg_fatal("%s: unsupported dictionary type: %s (%s not found. Is the postfix-%s package installed?)",
215 + myname, dict_type, vstring_str(lib), dict_type);
217 + func=vstring_alloc(1);
218 + vstring_sprintf(func,dl->openfunc,dict_type);
219 + fn[0].name = vstring_str(func);
220 + fn[0].ptr = (void**)&open;
222 + load_library_symbols(vstring_str(lib), fn, NULL);
223 + dict_open_register(dict_type, open);
224 + dp = (DICT_OPEN_INFO *) htable_find(dict_open_hash, dict_type);
226 + vstring_free(func);
229 + if (msg_verbose>1) {
230 + msg_info("%s: calling %s open routine",myname,dict_type);
232 if ((dict = dp->open(dict_name, open_flags, dict_flags)) == 0)
233 msg_fatal("opening %s:%s %m", dict_type, dict_name);
239 +#ifndef NO_DYNAMIC_MAPS
240 +static DLINFO *dict_dlinfo;
242 +void dict_open_dlinfo(const char *path)
244 + char *myname="dict_open_dlinfo";
245 + VSTREAM *conf_fp=vstream_fopen(path,O_RDONLY,0);
246 + VSTRING *buf = vstring_alloc(100);
253 + dict_dlinfo=(DLINFO*)mvect_alloc(&vector,sizeof(DLINFO),3,NULL,NULL);
256 + msg_warn("%s: cannot open %s. No dynamic maps will be allowed.",
259 + while (vstring_get_nonl(buf,conf_fp) != VSTREAM_EOF) {
260 + cp = vstring_str(buf);
262 + if (*cp == '#' || *cp == '\0')
264 + argv = argv_split(cp, " \t");
265 + if (argv->argc != 3) {
266 + msg_fatal("%s: Expected \"pattern .so-name function\" at line %d",
269 + if (argv->argv[1][0] != '/') {
270 + msg_fatal("%s: .so name must begin with a \"/\" at line %d",
273 + if (nelm >= vector.nelm) {
274 + dict_dlinfo=(DLINFO*)mvect_realloc(&vector,vector.nelm+3);
276 + dict_dlinfo[nelm].pattern = mystrdup(argv->argv[0]);
277 + dict_dlinfo[nelm].soname = mystrdup(argv->argv[1]);
278 + dict_dlinfo[nelm].openfunc = mystrdup(argv->argv[2]);
283 + if (nelm >= vector.nelm) {
284 + dict_dlinfo=(DLINFO*)mvect_realloc(&vector,vector.nelm+1);
286 + dict_dlinfo[nelm].pattern = NULL;
287 + dict_dlinfo[nelm].soname = NULL;
288 + dict_dlinfo[nelm].openfunc = NULL;
290 + vstream_fclose(conf_fp);
294 +DLINFO *dict_open_dlfind(const char *type)
301 + for (dp=dict_dlinfo; dp->pattern; dp++) {
302 + if (strcmp(dp->pattern,type)==0 || strcmp(dp->pattern,"*")==0)
307 +#endif /* !NO_DYNAMIC_MAPS */
312 diff -durN postfix-2.1.3.orig/src/util/load_lib.c postfix-2.1.3/src/util/load_lib.c
313 --- postfix-2.1.3.orig/src/util/load_lib.c 1970-01-01 01:00:00.000000000 +0100
314 +++ postfix-2.1.3/src/util/load_lib.c 2004-06-22 15:39:24.257859501 +0200
320 +/* library loading wrappers
322 +/* #include <load_lib.h>
324 +/* extern int load_library_symbols(const char *, LIB_FN *, LIB_FN *);
325 +/* const char *libname;
326 +/* LIB_FN *libfuncs;
330 +/* This module loads functions from libraries, returnine pointers
331 +/* to the named functions.
333 +/* load_library_symbols() loads all of the desired functions, and
334 +/* returns zero for success, or exits via msg_fatal().
337 +/* msg(3) diagnostics interface
339 +/* Problems are reported via the msg(3) diagnostics routines:
340 +/* library not found, symbols not found, other fatal errors.
344 +/* The Secure Mailer license must be distributed with this software.
347 +/* Hewlett-Packard Company
348 +/* 3404 Harmony Road
349 +/* Fort Collins, CO 80528, USA
352 +/* IBM T.J. Watson Research
354 +/* Yorktown Heights, NY 10598, USA
357 +/* System libraries. */
359 +#include "sys_defs.h"
363 +#if defined(HAS_DLOPEN)
365 +#elif defined(HAS_SHL_LOAD)
369 +/* Application-specific. */
372 +#include "load_lib.h"
374 +extern int load_library_symbols(const char * libname, LIB_FN * libfuncs, LIB_FN * libdata)
376 + char *myname = "load_library_symbols";
379 +#if defined(HAS_DLOPEN)
383 + handle=dlopen(libname,RTLD_NOW);
386 + msg_fatal("%s: dlopen failure loading %s: %s", myname, libname, emsg);
390 + for (fn=libfuncs; fn->name; fn++) {
391 + *(fn->ptr) = dlsym(handle,fn->name);
394 + msg_fatal("%s: dlsym failure looking up %s in %s: %s", myname,
395 + fn->name, libname, emsg);
397 + if (msg_verbose>1) {
398 + msg_info("loaded %s = %lx",fn->name, *((long*)(fn->ptr)));
404 + for (fn=libdata; fn->name; fn++) {
405 + *(fn->ptr) = dlsym(handle,fn->name);
408 + msg_fatal("%s: dlsym failure looking up %s in %s: %s", myname,
409 + fn->name, libname, emsg);
411 + if (msg_verbose>1) {
412 + msg_info("loaded %s = %lx",fn->name, *((long*)(fn->ptr)));
416 +#elif defined(HAS_SHL_LOAD)
419 + handle = shl_load(libname,BIND_IMMEDIATE,0);
422 + for (fn=libfuncs; fn->name; fn++) {
423 + if (shl_findsym(&handle,fn->name,TYPE_PROCEDURE,fn->ptr) != 0) {
424 + msg_fatal("%s: shl_findsym failure looking up %s in %s: %m",
425 + myname, fn->name, libname);
427 + if (msg_verbose>1) {
428 + msg_info("loaded %s = %x",fn->name, *((long*)(fn->ptr)));
434 + for (fn=libdata; fn->name; fn++) {
435 + if (shl_findsym(&handle,fn->name,TYPE_DATA,fn->ptr) != 0) {
436 + msg_fatal("%s: shl_findsym failure looking up %s in %s: %m",
437 + myname, fn->name, libname);
439 + if (msg_verbose>1) {
440 + msg_info("loaded %s = %x",fn->name, *((long*)(fn->ptr)));
446 + msg_fatal("%s: need dlopen or shl_load support for dynamic libraries",
451 diff -durN postfix-2.1.3.orig/src/util/load_lib.h postfix-2.1.3/src/util/load_lib.h
452 --- postfix-2.1.3.orig/src/util/load_lib.h 1970-01-01 01:00:00.000000000 +0100
453 +++ postfix-2.1.3/src/util/load_lib.h 2004-06-22 15:39:24.257859501 +0200
455 +#ifndef _LOAD_LIB_H_INCLUDED_
456 +#define _LOAD_LIB_H_INCLUDED_
462 +/* library loading wrappers
464 +/* #include "load_lib.h"
469 + * External interface.
471 +/* NULL name terminates list */
472 +typedef struct LIB_FN {
477 +extern int load_library_symbols(const char *, LIB_FN *, LIB_FN *);
482 +/* The Secure Mailer license must be distributed with this software.
485 +/* Hewlett-Packard Company
486 +/* 3404 Harmony Road
487 +/* Fort Collins, CO 80528, USA
490 +/* IBM T.J. Watson Research
492 +/* Yorktown Heights, NY 10598, USA
496 diff -dur postfix-2.1.3.orig/src/global/mail_dict.c postfix-2.1.3/src/global/mail_dict.c
497 --- postfix-2.1.3.orig/src/global/mail_dict.c 2004-01-04 19:53:27.000000000 +0100
498 +++ postfix-2.1.3/src/global/mail_dict.c 2004-06-22 15:47:45.259202712 +0200
501 static DICT_OPEN_INFO dict_open_info[] = {
502 DICT_TYPE_PROXY, dict_proxy_open,
504 - DICT_TYPE_LDAP, dict_ldap_open,
507 - DICT_TYPE_MYSQL, dict_mysql_open,
510 - DICT_TYPE_PGSQL, dict_pgsql_open,
516 --- postfix-2.0.16.orig/conf/dynamicmaps.cf 1970-01-01 01:00:00.000000000 +0100
517 +++ postfix-2.0.16/conf/dynamicmaps.cf 2003-11-08 19:52:14.000000000 +0100
519 +# Postfix dynamic maps configuration file.
521 +# The first match found is the one that is used. The only wildcard
522 +# allowed is '*', which matches everything. The first %s is expanded
525 +#type location of .so file name of open function
526 +#==== ================================ =====================
527 +* /usr/lib/postfix/dict_%s.so dict_%s_open
528 --- postfix-2.3-RC9/src/global/mail_params.c.orig 2006-07-11 19:37:10.708815544 +0200
529 +++ postfix-2.3-RC9/src/global/mail_params.c 2006-07-11 19:38:56.587719504 +0200
531 #ifdef STRCASECMP_IN_STRINGS_H
534 +#include <safe_open.h>
535 +#include <mymalloc.h>
537 /* Utility library. */
540 char *var_debug_peer_list;
541 int var_debug_peer_level;
542 char *var_reject_reply_msg_access_denied;
543 +int var_command_maxtime;
544 int var_fault_inj_code;
545 char *var_bounce_service;
546 char *var_cleanup_service;
548 (long) var_sgid_gid);
551 +static char *read_file(const char *name)
554 + VSTRING *why=vstring_alloc(1);
555 + VSTRING *new_name=vstring_alloc(1);
556 + VSTREAM *vp=safe_open(name, O_RDONLY, 0, NULL, -1, -1, why);
559 + * Ugly macros to make complex expressions less unreadable.
561 +#define SKIP(start, var, cond) \
562 + for (var = start; *var && (cond); var++);
566 + for (p = (s) + strlen(s); p > (s) && ISSPACE(p[-1]); p--); \
571 + msg_fatal("%s: unable to open: %s",name,vstring_str(why));
573 + vstring_get_nonl(new_name,vp);
574 + vstream_fclose(vp);
575 + SKIP(vstring_str(new_name),ret,ISSPACE(*ret));
579 + vstring_free(new_name);
583 /* mail_params_init - configure built-in parameters */
585 void mail_params_init()
587 * Variables that are needed by almost every program.
589 get_mail_conf_str_table(other_str_defaults);
590 + if (*var_myorigin=='/') {
591 + var_myorigin=read_file(var_myorigin);
593 get_mail_conf_int_table(other_int_defaults);
594 get_mail_conf_bool_table(bool_defaults);
595 get_mail_conf_time_table(time_defaults);
596 --- postfix-2.3.0/src/global/Makefile.in 2006-07-17 03:28:25.732653648 +0200
597 +++ postfix-2.3.0/src/global/Makefile.in-new 2006-07-17 03:29:31.805609032 +0200
599 canon_addr.o cfg_parser.o cleanup_strerror.o cleanup_strflags.o \
600 clnt_stream.o conv_time.o db_common.o debug_peer.o debug_process.o \
601 defer.o deliver_completed.o deliver_flock.o deliver_pass.o \
602 - deliver_request.o dict_ldap.o dict_mysql.o dict_pgsql.o \
603 + deliver_request.o \
604 dict_proxy.o domain_list.o dot_lockfile.o dot_lockfile_as.o \
605 dsb_scan.o dsn.o dsn_buf.o dsn_mask.o dsn_print.o dsn_util.o \
606 ehlo_mask.o ext_prop.o file_id.o flush_clnt.o header_opts.o \
607 --- postfix-2.3.12/src/util/Makefile.in.orig 2007-07-31 01:18:35.000000000 +0200
608 +++ postfix-2.3.12/src/util/Makefile.in 2007-08-26 17:34:55.300706718 +0200
610 username.c valid_hostname.c vbuf.c vbuf_print.c vstream.c \
611 vstream_popen.c vstring.c vstring_vstream.c watchdog.c writable.c \
612 write_buf.c write_wait.c sane_basename.c format_tv.c allspace.c \
613 - allascii.c load_file.c killme_after.c vstream_tweak.c
614 + allascii.c load_file.c killme_after.c vstream_tweak.c load_lib.c
615 OBJS = alldig.o allprint.o argv.o argv_split.o attr_clnt.o attr_print0.o \
616 attr_print64.o attr_print_plain.o attr_scan0.o attr_scan64.o \
617 attr_scan_plain.o auto_clnt.o base64_code.o basename.o binhash.o \
618 chroot_uid.o cidr_match.o clean_env.o close_on_exec.o concatenate.o \
619 ctable.o dict.o dict_alloc.o dict_cdb.o dict_cidr.o dict_db.o \
620 dict_dbm.o dict_debug.o dict_env.o dict_ht.o dict_ni.o dict_nis.o \
621 - dict_nisplus.o dict_open.o dict_pcre.o dict_regexp.o dict_sdbm.o \
622 + dict_nisplus.o dict_open.o dict_regexp.o dict_sdbm.o \
623 dict_static.o dict_tcp.o dict_unix.o dir_forest.o doze.o dummy_read.o \
624 dummy_write.o duplex_pipe.o environ.o events.o exec_command.o \
625 fifo_listen.o fifo_trigger.o file_limit.o find_inet.o fsspace.o \
627 username.o valid_hostname.o vbuf.o vbuf_print.o vstream.o \
628 vstream_popen.o vstring.o vstring_vstream.o watchdog.o writable.o \
629 write_buf.o write_wait.o sane_basename.o format_tv.o allspace.o \
630 - allascii.o load_file.o killme_after.o vstream_tweak.o
631 + allascii.o load_file.o killme_after.o vstream_tweak.o load_lib.o
632 HDRS = argv.h attr.h attr_clnt.h auto_clnt.h base64_code.h binhash.h \
633 chroot_uid.h cidr_match.h clean_env.h connect.h ctable.h dict.h \
634 dict_cdb.h dict_cidr.h dict_db.h dict_dbm.h dict_env.h dict_ht.h \
636 sigdelay.h sock_addr.h spawn_command.h split_at.h stat_as.h \
637 stringops.h sys_defs.h timed_connect.h timed_wait.h trigger.h \
638 username.h valid_hostname.h vbuf.h vbuf_print.h vstream.h vstring.h \
639 - vstring_vstream.h watchdog.h format_tv.h load_file.h killme_after.h
640 + vstring_vstream.h watchdog.h format_tv.h load_file.h killme_after.h load_lib.h
641 TESTSRC = fifo_open.c fifo_rdwr_bug.c fifo_rdonly_bug.c select_bug.c \
642 stream_test.c dup2_pass_on_exec.c
643 DEFS = -I. -D$(SYSTYPE)
644 CFLAGS = $(DEBUG) $(OPT) $(DEFS)
645 FILES = Makefile $(SRCS) $(HDRS)
647 +PCRESO = dict_pcre.so
649 TESTPROG= dict_open dup2_pass_on_exec events exec_command fifo_open \
650 fifo_rdonly_bug fifo_rdwr_bug fifo_trigger fsspace fullname \
654 INC_DIR = ../../include
655 +LIBS = $(LIB_DIR)/$(LIB) $(LIB_DIR)/$(PCRESO)
657 -.c.o:; $(CC) $(CFLAGS) -c $*.c
658 +.c.o:; $(CC) -fPIC $(CFLAGS) -c $*.c
662 @@ -114,15 +116,19 @@
666 +$(PCRESO): dict_pcre.o
667 + gcc -shared -Wl,-soname,dict_pcre.so -o $@ $? -lpcre -L. -lutil
670 - $(AR) $(ARFL) $(LIB) $?
672 + gcc -shared -Wl,-soname,libpostfix-util.so.1 -o $(LIB) $(OBJS) -ldl
674 $(LIB_DIR)/$(LIB): $(LIB)
676 - $(RANLIB) $(LIB_DIR)/$(LIB)
678 -update: $(LIB_DIR)/$(LIB) $(HDRS)
679 +$(LIB_DIR)/$(PCRESO): $(PCRESO)
680 + cp $(PCRESO) $(LIB_DIR)
682 +update: $(LIBS) $(HDRS)
685 cmp -s $$i $(INC_DIR)/$$i 2>/dev/null || cp $$i $(INC_DIR); \
690 - rm -f *.o $(LIB) *core $(TESTPROG) junk $(MAKES) *.tmp
691 + rm -f *.o $(LIB) $(PCRESO) *core $(TESTPROG) \
692 + junk $(MAKES) *.tmp
696 diff -durN postfix-2.1.3.orig/src/util/sys_defs.h postfix-2.1.3/src/util/sys_defs.h
697 --- postfix-2.1.3.orig/src/util/sys_defs.h 2004-06-22 15:38:57.190461088 +0200
698 +++ postfix-2.1.3/src/util/sys_defs.h 2004-06-22 15:39:24.255859620 +0200
700 #define STATFS_IN_SYS_VFS_H
701 #define PREPEND_PLUS_TO_OPTSTRING
702 #define HAS_POSIX_REGEXP
704 #define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail"
705 #define NATIVE_MAILQ_PATH "/usr/bin/mailq"
706 #define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases"
708 #define STATFS_IN_SYS_VFS_H
709 #define PREPEND_PLUS_TO_OPTSTRING
710 #define HAS_POSIX_REGEXP
712 #define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail"
713 #define NATIVE_MAILQ_PATH "/usr/bin/mailq"
714 #define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases"
717 #define STATFS_IN_SYS_VFS_H
718 #define HAS_POSIX_REGEXP
719 +#define HAS_SHL_LOAD
720 #define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail"
721 #define NATIVE_MAILQ_PATH "/usr/bin/mailq"
722 #define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases"
725 #define STATFS_IN_SYS_VFS_H
726 #define HAS_POSIX_REGEXP
727 +#define HAS_SHL_LOAD
728 #define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail"
729 #define NATIVE_MAILQ_PATH "/usr/bin/mailq"
730 #define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases"