~ubuntu-branches/ubuntu/hoary/postfix/hoary-security

« back to all changes in this revision

Viewing changes to src/util/sys_defs.h

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-10-06 11:50:33 UTC
  • Revision ID: james.westby@ubuntu.com-20041006115033-9oky44ylqmhjy7eq
Tags: 2.1.3-1ubuntu17
* Deliver man pages for master.cf services in section 8postfix.
  Remove smtpd.8.gz diversion. Closes: #274777
* Clean up postfix-mysql documentation (created README.Debian files).
  Closes: Warty#2022
* Fix typo in postmap man page.  Closes: #271369

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
#define SOCKOPT_SIZE    socklen_t
109
109
#endif
110
110
 
 
111
#if !defined(NOGETIFADDRS) && ( \
 
112
    (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 105000000) \
 
113
    || (defined(__FreeBSD__) && __FreeBSD__ >= 4) \
 
114
    || (defined(OpenBSD) && OpenBSD >= 200003) \
 
115
    || defined(USAGI_LIBINET6))
 
116
#define HAVE_GETIFADDRS
 
117
#endif
 
118
 
111
119
 /*
112
120
  * UNIX on MAC.
113
121
  */
293
301
#define FIONREAD_IN_SYS_FILIO_H
294
302
#define USE_STATVFS
295
303
#define STATVFS_IN_SYS_STATVFS_H
 
304
#define INT_MAX_IN_LIMITS_H
296
305
#define STREAM_CONNECTIONS              /* avoid UNIX-domain sockets */
297
306
#define LOCAL_LISTEN    stream_listen
298
307
#define LOCAL_ACCEPT    stream_accept
300
309
#define LOCAL_TRIGGER   stream_trigger
301
310
#define HAS_VOLATILE_LOCKS
302
311
#define BROKEN_READ_SELECT_ON_TCP_SOCKET
 
312
#ifdef INET6
 
313
#define HAS_SIOCGLIF
 
314
#endif
303
315
 
304
316
/*
305
317
 * Allow build environment to override paths.
548
560
#define UNIX_DOMAIN_CONNECT_BLOCKS_FOR_ACCEPT
549
561
#define PREPEND_PLUS_TO_OPTSTRING
550
562
#define HAS_POSIX_REGEXP
 
563
#define HAS_DLOPEN
551
564
#define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail"
552
565
#define NATIVE_MAILQ_PATH "/usr/bin/mailq"
553
566
#define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases"
554
567
#define NATIVE_COMMAND_DIR "/usr/sbin"
 
568
#ifdef DEBIAN
 
569
#define NATIVE_DAEMON_DIR       "/usr/lib/postfix"
 
570
#ifndef DEF_MANPAGE_DIR
 
571
#define DEF_MANPAGE_DIR         "/usr/share/man"
 
572
#endif
 
573
#ifndef DEF_SAMPLE_DIR
 
574
#define DEF_SAMPLE_DIR          "/usr/share/doc/postfix/examples"
 
575
#endif
 
576
#ifndef DEF_README_DIR
 
577
#define DEF_README_DIR          "/usr/share/doc/postfix"
 
578
#endif
 
579
#else
555
580
#define NATIVE_DAEMON_DIR "/usr/libexec/postfix"
 
581
#endif
556
582
#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
557
583
#define SOCKADDR_SIZE   socklen_t
558
584
#define SOCKOPT_SIZE    socklen_t
559
585
#endif
 
586
#ifdef INET6
 
587
#define HAS_PROCNET_IFINET6
 
588
#define _PATH_PROCNET_IFINET6 "/proc/net/if_inet6"
 
589
#endif
560
590
#endif
561
591
 
562
592
#ifdef LINUX1
585
615
#define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases"
586
616
#define NATIVE_COMMAND_DIR "/usr/sbin"
587
617
#define NATIVE_DAEMON_DIR "/usr/libexec/postfix"
 
618
#ifdef INET6
 
619
#define HAS_PROCNET_IFINET6
 
620
#define _PATH_PROCNET_IFINET6 "/proc/net/if_inet6"
 
621
#endif
588
622
#endif
589
623
 
590
624
 /*
618
652
#define USE_STATFS
619
653
#define STATFS_IN_SYS_VFS_H
620
654
#define HAS_POSIX_REGEXP
 
655
#define HAS_DLOPEN
621
656
#define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail"
622
657
#define NATIVE_MAILQ_PATH "/usr/bin/mailq"
623
658
#define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases"
653
688
#define USE_STATFS
654
689
#define STATFS_IN_SYS_VFS_H
655
690
#define HAS_POSIX_REGEXP
 
691
#define HAS_SHL_LOAD
656
692
#define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail"
657
693
#define NATIVE_MAILQ_PATH "/usr/bin/mailq"
658
694
#define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases"
690
726
#define USE_STATFS
691
727
#define STATFS_IN_SYS_VFS_H
692
728
#define HAS_POSIX_REGEXP
 
729
#define HAS_SHL_LOAD
693
730
#define NATIVE_SENDMAIL_PATH "/usr/bin/sendmail"
694
731
#define NATIVE_MAILQ_PATH "/usr/bin/mailq"
695
732
#define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases"