- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Latest version of sendmail for 11.31 - where to do...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2015 09:15 AM - last edited on 05-17-2015 07:06 PM by Maiko-I
05-14-2015 09:15 AM - last edited on 05-17-2015 07:06 PM by Maiko-I
Latest version of sendmail for 11.31 - where to download?
Need the link to where I can download the latest version of sendmail for 11.31.
P.S. This thread has been moevd from HP-UX > System Administration to HP-UX > messaging. - Hp Forum moderator
- Tags:
- sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2015 10:15 AM - last edited on 04-03-2017 11:52 PM by VidyaVI
05-14-2015 10:15 AM - last edited on 04-03-2017 11:52 PM by VidyaVI
Re: Latest version of sendmail for 11.31 - where to download?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2015 10:43 AM
05-14-2015 10:43 AM
Re: Latest version of sendmail for 11.31 - where to download?
Looks like the latest is 8.13.3 and it's not compliant with a STIG finding.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2015 07:53 AM
05-18-2015 07:53 AM
Re: Latest version of sendmail for 11.31 - where to download?
You could try downloading from Sendmail.org themselves.
http://www.sendmail.com/sm/open_source/download/
FTP download site: ftp://ftp.sendmail.org/pub/sendmail
The latest is 8.15.1 and would have to be compiled from the downloaded source code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2016 01:38 PM
01-04-2016 01:38 PM
Re: Latest version of sendmail for 11.31 - where to download?
I'm tryng to compile latest version
But give me this error
Stop. Making all in: /home/io/programmi/sendmail-8.14.9/vacation Configuration: pfx=, os=HP-UX, rel=11.31, rbase=11, rroot=11.31, arch=ia64, sfx=, variant=optimized Making in /home/io/programmi/sendmail-8.14.9/obj.HP-UX.11.31.ia64/vacation rm -f sm_os.h ln -f -s ../../include/sm/os/sm_os_hp.h sm_os.h (cd ../../libsm; sh Build ) Configuration: pfx=, os=HP-UX, rel=11.31, rbase=11, rroot=11.31, arch=ia64, sfx=, variant=optimized Making in /home/io/programmi/sendmail-8.14.9/obj.HP-UX.11.31.ia64/libsm rm -f sm_os.h ln -f -s ../../include/sm/os/sm_os_hp.h sm_os.h /usr/local/bin/gcc -fPIC -O3 -I. -I../../include -I/opt/db/include -DNEWDB -DMAP_REGEX -DV4FS -DHPUX11 -c debug.c In file included from debug.c:27: ../../include/sm/conf.h:2773: error: conflicting types for ‘unsetenv’ /usr/local/lib/gcc/ia64-hp-hpux11.31/4.2.3/include/stdlib.h:70: error: previous declaration of ‘unsetenv’ was here *** Codice di uscita errore 1 Stop. *** Codice di uscita errore 1 Stop. *** Codice di uscita errore 1
this is my site.config.m4
define(`confCClibsmi', `gcc -fPIC') define(`confCC',`/usr/local/bin/gcc -fPIC') define(`confOPTIMIZE', ` -O3') define(`confMAPDEF',`-DNEWDB -DMAP_REGEX -DHAVE_UNSETENV') define(`confMTCCOPTS', `-D_POSIX_C_SOURCE=199506L') APPENDDEF(`conf_sendmail_ENVDEF',`-DMILTER') APPENDDEF(`confINCDIRS',`-I/opt/db/include') APPENDDEF(`confLIBDIRS',`-L/opt/db/lib') ~ ~ ~ ~ ~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2016 01:43 PM
01-04-2016 01:43 PM
Re: Latest version of sendmail for 11.31 - where to download?
Trung with commercial hp compiler i get same error
/opt/aCC/bin/cc -O3 -I. -I../../include -I/opt/db/include -DNEWDB -DMAP_REGEX -DV4FS -DHPUX11 -c debug.c
"../../include/sm/conf.h", line 2773: error #2147: declaration is incompatible
with "int unsetenv(const char *)" (declared at line 59 of
"/usr/include/stdlib.h")
extern void unsetenv __P((char *));
^
1 error detected in the compilation of "debug.c".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2016 02:15 PM
01-04-2016 02:15 PM
Re: Latest version of sendmail for 11.31 - where to download?
First problem solved using this patch
--- sendmail-8.14.9/include/sm/conf.hh 2014-05-16 22:40:15 +0200 +++ sendmail-8.14.9/include/sm/conf.h 2016-01-04 23:12:10 +0100 @@ -87,6 +87,7 @@ /* common definitions for HP-UX 9.x and 10.x */ # undef m_flags /* conflict between Berkeley DB 1.85 db.h & sys/sysmacros.h on HP 300 */ # define SYSTEM5 1 /* include all the System V defines */ +# define HASUNSETENV 1 /* has unsetenv(3) call */ # define HASINITGROUPS 1 /* has initgroups(3) call */ # define HASFCHMOD 1 /* has fchmod(2) syscall */ # define USESETEUID 1 /* has usable seteuid(2) call */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2016 02:31 PM
01-04-2016 02:31 PM
Re: Latest version of sendmail for 11.31 - where to download?
Another compile error with new config
define(`confCClibsmi', `gcc -fPIC') define(`confCC',`/usr/local/bin/gcc -fPIC') define(`confOPTIMIZE', ` -O3') define(`confMAPDEF',`-DNEWDB -DMAP_REGEX') define(`confMTCCOPTS', `-D_POSIX_C_SOURCE=199506L') define(`confTIME_ZONE', `USE_TZ')dnl APPENDDEF(`conf_sendmail_ENVDEF',`-DMILTER' `-DLDAPMAP' `-DDNSMAP' `-DEGD' `-DLOG' `-DMAP_REGEX' `-DMATCHGECOS' `-DMILTER' `-DMIME7TO8' `-DMIME8TO7' `-DNAMED_BIND' `-DNDBM' `-DNETINET' `-DNETINET6' `-DNETUNIX' `-DNEWDB NIS' `-DPIPELINING' `-DSASLv2' `-DSCANF' `-DSOCKETMAP' `-DSTARTTLS' `-DUSERDB' `-DUSE_LDAP_INIT' `-DXDEBUG') APPENDDEF(`confINCDIRS',`-I/opt/db/include',`-I/usr/local/include') APPENDDEF(`confLIBDIRS',`-L/opt/db/lib',`-L/usr/local/lib') APPENDDEF(`confLIBS', `-lldap -llber')
Give me this error
ld: Can't find library for -ldbm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2016 03:09 PM
01-04-2016 03:09 PM
Re: Latest version of sendmail for 11.31 - where to download?
Another error if libdm is found
/usr/local/bin/gcc -fPIC -o vacation -L/usr/local/lib/hpux32 -L /usr/lib vacation.o /home/io/programmi/sendmail-8.15.2/obj.HP-UX.11.31.ia64/libsmdb/libsmdb.a /home/io/programmi/sendmail-8.15.2/obj.HP-UX.11.31.ia64/libsmutil/libsmutil.a /home/io/programmi/sendmail-8.15.2/obj.HP-UX.11.31.ia64/libsm/libsm.a -ldb -ldbm -lnsl -lldap -llber -ldb -lssl -lsasl2 -lcrypto ld: Mismatched ABI (not an ELF file) for -ldbm, found /usr/lib/libdbm.sl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2016 12:27 PM
01-09-2016 12:27 PM
Re: Latest version of sendmail for 11.31 - where to download?
>Another error if libdm is found
Remove "-L /usr/lib". That is only for PA-RISC libs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2016 11:01 AM
01-14-2016 11:01 AM
Re: Latest version of sendmail for 11.31 - where to download?
Removed -L /usr/lib ,but give this error
Stop. Making all in: /home/user/programmi/sendmail-8.15.2/vacation Configuration: pfx=, os=HP-UX, rel=11.31, rbase=11, rroot=11.31, arch=ia64, sfx=, variant=optimized Clearing out existing /home/user/programmi/sendmail-8.15.2/obj.HP-UX.11.31.ia64/vacation tree Using M4=/usr/bin/m4 Creating /home/user/programmi/sendmail-8.15.2/obj.HP-UX.11.31.ia64/vacation using /home/giuseppe/programmi/sendmail-8.15.2/devtools/OS/HP-UX.11.x Including /home/user/programmi/sendmail-8.15.2/devtools/Site/site.config.m4 Making dependencies in /home/user/programmi/sendmail-8.15.2/obj.HP-UX.11.31.ia64/vacation Making in /home/user/programmi/sendmail-8.15.2/obj.HP-UX.11.31.ia64/vacation rm -f sm_os.h ln -f -s ../../include/sm/os/sm_os_hp.h sm_os.h /usr/local/bin/gcc -fPIC -O3 -I. -I../../sendmail -I../../include -I/usr/local/include -I /opt/bdb/include -DNEWDB -DNEWDB -DMAP_REGEX -DV4FS -DHPUX11 -DNOT_SENDMAIL -c vacation.c /usr/local/bin/gcc -fPIC -o vacation -L/opt/bdb/lib vacation.o /home/user/programmi/sendmail-8.15.2/obj.HP-UX.11.31.ia64/libsmdb/libsmdb.a /home/giuseppe/programmi/sendmail-8.15.2/obj.HP-UX.11.31.ia64/libsmutil/libsmutil.a /home/giuseppe/programmi/sendmail-8.15.2/obj.HP-UX.11.31.ia64/libsm/libsm.a -ldb -ldbm -lnsl -lldap -llber -ldb -lssl -lsasl2 -lcrypto ld: Can't find library for -ldbm Fatal error. collect2: ld returned 1 exit status *** Codice di uscita errore 1 Stop. *** Codice di uscita errore 1 Stop.
using this site.config.m4
define(`confCClibsmi', `gcc -fPIC') define(`confCC',`/usr/local/bin/gcc -fPIC') define(`confOPTIMIZE', ` -O3') define(`confMAPDEF',`-DNEWDB -DMAP_REGEX') define(`confMTCCOPTS', `-D_POSIX_C_SOURCE=199506L') define(`confTIME_ZONE', `USE_TZ')dnl APPENDDEF(`conf_sendmail_ENVDEF',`-DMILTER' `-DLDAPMAP' `-DDNSMAP' `-DEGD' `-DLOG' `-DMAP_REGEX' `-DMATCHGECOS' `-DMILTER' `-DMIME7TO8' `-DMIME8TO7' `-DNAMED_BIND' `-DNETINET' `-DNETINET6' `-DNETUNIX' `-DNEWDB NIS' `-DPIPELINING' `-DSASLv2' `-DSCANF' `-DSOCKETMAP' `-DSTARTTLS' `-DUSERDB' `-DUSE_LDAP_INIT' `-DXDEBUG') APPENDDEF(`confINCDIRS',`-I/usr/local/include -I /opt/bdb/include') APPENDDEF(`confLIBDIRS',`-L/opt/bdb/lib') APPENDDEF(`confLIBS',`-lldap -llber -ldb -lssl -lsasl2 -lcrypto')
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2016 11:12 AM
01-14-2016 11:12 AM
Re: Latest version of sendmail for 11.31 - where to download?
I found a dirty solution,remove -ldbm from Makefile
Will sendmail works without?
I will try
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2016 04:02 PM
01-15-2016 04:02 PM
Re: Latest version of sendmail for 11.31 - where to download?
Removing -ldbm seems to be working fine.
I will test it major tomorrow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2016 04:38 PM
01-16-2016 04:38 PM
Re: Latest version of sendmail for 11.31 - where to download?
Compile ok,with default options,i will retry tomorrow to compile it with tls support and sasl
Today i have tried but give me error about m4 too old,how to pass m4 alternative path
on siteconfig.m4?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2016 08:21 AM
01-17-2016 08:21 AM
Re: Latest version of sendmail for 11.31 - where to download?
For m4 i use those patches,but don't compile and give errorrs
--- sendmail-8.15.2/devtools/bin/Build 2016-01-17 17:13:06 +0100 +++ sendmail-8.15.2/devtools/bin/Build 2016-01-17 17:12:38 +0100 @@ -658,7 +658,7 @@ echo "Cannot determine how to support $os.$rel.$arch" >&2 exit $EX_UNAVAILABLE fi - M4=`$SHELL $BUILDTOOLS/bin/find_m4.sh` + M4=/usr/local/bin/m4 ret=$? if [ $ret -ne 0 ] then --- sendmail-8.15.2/cf/cf/Build 2016-01-17 17:06:25 +0100 +++ sendmail-8.15.2/cf/cf/Build 2016-01-17 17:06:05 +0100 @@ -18,7 +18,7 @@ SMROOT=${SMROOT-../..} BUILDTOOLS=${BUILDTOOLS-$SMROOT/devtools} -M4=`sh $BUILDTOOLS/bin/find_m4.sh` +-M4=/usr/local/bin/m4 ret=$? if [ $ret -ne 0 ] then
Error given
/usr/local/bin/m4:stdin:111: ERROR: end of file in string /usr/local/bin/m4:stdin:111: ERROR: end of file in string /usr/local/bin/m4:stdin:111: ERROR: end of file in string /usr/local/bin/m4:stdin:111: ERROR: end of file in string /usr/local/bin/m4:stdin:111: ERROR: end of file in string ERROR: /usr/local/bin/m4 failed; You may need a newer version of M4, at least as new as System V or GNU
Of course m4 is latest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2016 08:32 AM
01-17-2016 08:32 AM
Re: Latest version of sendmail for 11.31 - where to download?
Solution found,site.config.m4 was broken
Probably m4 patches are useless
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2016 08:35 AM
01-17-2016 08:35 AM
Re: Latest version of sendmail for 11.31 - where to download?
Wih this site.config.m4
define(`confCC',`/opt/aCC/bin/cc -Aa') define(`confOPTIMIZE', `+O1') define(`confTIME_ZONE', `USE_TZ')dnl define(`confENVDEF', `-D_HPUX_SOURCE') define(`confMAPDEF', `-DNDBM -DNEWDB -DNIS -DMAP_REGEX') define(`confSM_OS_HEADER', `sm_os_hp') define(`confEBINDIR',`/usr/lib') define(`confMANROOT',`/usr/share/man') define(`confMANROOTMAN',`/usr/share/man') define(`confMBINDIR',`/usr/lib') define(`confEBINDIR',`/usr/lib') define(`confUBINDIR',`/usr/bin') define(`confSBINDIR',`/usr/sbin') define(`confSTDIR', `/etc/mail') define(`confSHAREDLIBDIR', `/usr/lib') dnl define(`confMANROOT', `/usr/share/man/cat') dnl define(`confMANROOTMAN', `/usr/share/man/man') define(`confNO_STATISTICS_INSTALL',`True') define(`confMSP_QUEUE_DIR', `/var/spool/clientmqueue') APPENDDEF(`confINCDIRS', `-I/usr/include') APPENDDEF(`confINCDIRS',`-I/usr/local/include -I /opt/bdb/include') APPENDDEF(`confLIBDIRS',`-L/opt/bdb/lib -L /usr/local/lib -L/usr/local/lib/hpux32 -L/usr/lib') APPENDDEF(`confLIBS',`-lldap -llber -ldb -lssl -lsasl2 -lcrypto -lndbm') APPENDDEF(`confLIBS', `-lnsl -lwrap -lm -lresolv') APPENDDEF(`confMAPDEF', `-DNEWDB -DSTARTTLS -DSASL=2 -DTCPWRAPPERS -DNIS -DMAP_REGEX -DSOCKETMAP') dnl ### add BerkeleyDB hash dnl ### add BerkeleyDB hash support APPENDDEF(`confLIBDIRS', `-L/opt/bdb/lib') APPENDDEF(`confINCDIRS', `-I/opt/bdb/include') APPENDDEF(`confENVDEF', `-DNEWDB') dnl ### add NIS APPENDDEF(`confENVDEF', `-DNIS') dnl ### use our sendmail.cf path dnl APPENDDEF(`confENVDEF', `-DUSE_VENDOR_CF_PATH') APPENDDEF(`confENVDEF', `-D_PATH_SENDMAILCF=\"/etc/mail/sendmail.cf\"') APPENDDEF(`confENVDEF', `-D_DIR_SENDMAILCF=\"/etc/mail/\"') dnl ### add LDAP support APPENDDEF(`conf_libsm_ENVDEF', `-DLDAPMAP') APPENDDEF(`conf_sendmail_ENVDEF', `-DLDAPMAP') APPENDDEF(`confLIBDIRS',`-L/opt/bdb/lib -L /usr/local/lib -L/usr/local/lib/hpux32') APPENDDEF(`confLIBS',`-lldap -llber') dnl ### add SASL support APPENDDEF(`conf_sendmail_ENVDEF', `-DSASL=2') APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_TLS_1') APPENDDEF(`conf_sendmail_LIBS', `-lsasl2') APPENDDEF(`confINCDIRS', `-Iusr/local/include/sasl') dnl ### add STARTTLS support APPENDDEF(`confENVDEF',`-DSTARTTLS') APPENDDEF(`confLIBS', `-lssl -lcrypto') dnl ### add because they were already compiled in APPENDDEF(`confENVDEF',`-DSTARTTLS') APPENDDEF(`confLIBS', `-lssl -lcrypto') dnl ### add because they were already compiled in APPENDDEF(`confENVDEF', `-DSOCKETMAP') APPENDDEF(`conf_sendmail_ENVDEF', `-DTCPWRAPPERS') APPENDDEF(`conf_sendmail_LIBS', `-lwrap')" APPENDDEF(`conf_libsm_ENVDEF', `-Iusr/include') APPENDDEF(`conf_libsm_ENVDEF', `-DLDAPMAP') APPENDDEF(`conf_libsm_LIBS', `-lldap') APPENDDEF(`conf_libsm_LIBS', `-llber') APPENDDEF(`conf_sendmail_ENVDEF', `-DLDAPMAP') APPENDDEF(`conf_sendmail_LIBS', `-lldap') APPENDDEF(`conf_sendmail_LIBS', `-llber') APPENDDEF(`conf_editmap_LIBS', `-lldap') APPENDDEF(`conf_editmap_LIBS', `-llber') APPENDDEF(`conf_mail_local_LIBS', `-lldap') APPENDDEF(`conf_mail_local_LIBS', `-llber') APPENDDEF(`conf_mailstats_LIBS', `-lldap') APPENDDEF(`conf_mailstats_LIBS', `-llber') APPENDDEF(`conf_makemap_LIBS', `-lldap') APPENDDEF(`conf_makemap_LIBS', `-llber') APPENDDEF(`conf_praliases_LIBS', `-lldap') APPENDDEF(`conf_praliases_LIBS', `-llber') APPENDDEF(`conf_rmail_LIBS', `-lldap') APPENDDEF(`conf_smrsh_LIBS', `-lldap') APPENDDEF(`conf_smrsh_LIBS', `-llber') APPENDDEF(`conf_vacation_LIBS', `-lldap') APPENDDEF(`conf_vacation_LIBS', `-llber') APPENDDEF(`conf_libmilter_ENVDEF', `-DMILTER') APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER') APPENDDEF(`conf_libmilter_ENVDEF', `-DSM_CONF_POLL=1') APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_WORKERS_POOL=1') APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER_ROOT_UNSAFE ') APPENDDEF(`confENVDEF', `-DBROKEN_PTHREAD_SLEEP') APPENDDEF(`confENVDEF', `-D_FFR_TLS_1')dnl
give me this error
"/usr/include/syslog.h", line 94: error #2147: declaration is incompatible with "void hard_syslog(int, char *, ...)" (declared at line 152 of "../../include/sm/conf.h") extern int syslog(int, const char *, ...); ^ "/usr/include/resolv.h", line 133: warning #2230-D: nonstandard type for a bit field u_char ndots:4; /* threshold for initial abs. query */ ^ "/usr/include/resolv.h", line 134: warning #2230-D: nonstandard type for a bit field u_char nsort:4; /* number of elements in sort_list[] */ ^ "main.c", line 696: warning #2223-D: function "res_init" declared implicitly (void) res_init(); ^ 1 error detected in the compilation of "main.c". *** Codice di uscita errore 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2016 09:17 AM
01-17-2016 09:17 AM
Re: Latest version of sendmail for 11.31 - where to download?
With this config,work,tls enabled and finally ssl3 totally disabled
# +z is to generate position independant code define(`confCClibsmi', `cc -Ae +Z') define(`confCC', `cc -Ae') define(`confMAPDEF', `-DNDBM -DNEWDB -DNIS -DMAP_REGEX') define(`confENVDEF', `-DV4FS -DHPUX11') define(`confSM_OS_HEADER', `sm_os_hp') define(`confOPTIMIZE',`+O2') define(`confLIBS', `-ldbm -lnsl') define(`confSHELL', `/usr/bin/sh') define(`confINSTALL', `${BUILDBIN}/install.sh') define(`confSBINGRP', `mail') define(`confEBINDIR',`/usr/lib') define(`confMANROOT',`/usr/share/man') define(`confMANROOTMAN',`/usr/share/man') define(`confMBINDIR',`/usr/lib') define(`confEBINDIR',`/usr/lib') define(`confUBINDIR',`/usr/bin') define(`confSBINDIR',`/usr/sbin') define(`confSTDIR', `/etc/mail') define(`confSHAREDLIBDIR', `/usr/lib') dnl define(`confMANROOT', `/usr/share/man/cat') dnl define(`confMANROOTMAN', `/usr/share/man/man') define(`confNO_STATISTICS_INSTALL',`True') define(`confMSP_QUEUE_DIR', `/var/spool/clientmqueue') define(`confMTCCOPTS', `-D_POSIX_C_SOURCE=199506L +z') define(`confMTLDOPTS', `-lpthread') define(`confLD', `ld') define(`confLDOPTS_SO', `-b') define(`confCCOPTS_SO', `') dnl Don't indent or put any tab/space in this file. dnl Tab/space here causes make syntax error ifelse(confBLDVARIANT, `DEBUG', dnl Debug build ` define(`confOPTIMIZE',`-g') ', dnl Optimized build confBLDVARIANT, `OPTIMIZED', ` define(`confOPTIMIZE',`+O2') ', dnl Purify build confBLDVARIANT, `PURIFY', ` define(`confOPTIMIZE',`-g') ', dnl default ` define(`confOPTIMIZE',`+O2') ') APPENDDEF(`confINCDIRS', `-I/usr/include') APPENDDEF(`confINCDIRS',`-I/usr/local/include -I /opt/bdb/include') APPENDDEF(`confLIBDIRS',`-L/opt/bdb/lib -L /usr/local/lib -L/usr/local/lib/hpux32 -L/usr/lib') APPENDDEF(`confLIBS',`-lldap -llber -ldb -lssl -lsasl2 -lcrypto -lndbm') APPENDDEF(`confLIBS', `-lnsl -lwrap -lm') APPENDDEF(`confMAPDEF', `-DNEWDB -DSTARTTLS -DSASL=2 -DTCPWRAPPERS -DNIS -DMAP_REGEX -DSOCKETMAP') dnl ### add BerkeleyDB hash dnl ### add BerkeleyDB hash support APPENDDEF(`confLIBDIRS', `-L/opt/bdb/lib') APPENDDEF(`confINCDIRS', `-I/opt/bdb/include') APPENDDEF(`confENVDEF', `-DNEWDB') dnl ### add NIS APPENDDEF(`confENVDEF', `-DNIS') dnl ### use our sendmail.cf path dnl APPENDDEF(`confENVDEF', `-DUSE_VENDOR_CF_PATH') APPENDDEF(`confENVDEF', `-D_PATH_SENDMAILCF=\"/etc/mail/sendmail.cf\"') APPENDDEF(`confENVDEF', `-D_DIR_SENDMAILCF=\"/etc/mail/\"') dnl ### add LDAP support APPENDDEF(`conf_libsm_ENVDEF', `-DLDAPMAP') APPENDDEF(`conf_sendmail_ENVDEF', `-DLDAPMAP') APPENDDEF(`confLIBDIRS',`-L/opt/bdb/lib -L /usr/local/lib -L/usr/local/lib/hpux32') APPENDDEF(`confLIBS',`-lldap -llber') dnl ### add SASL support APPENDDEF(`conf_sendmail_ENVDEF', `-DSASL=2') APPENDDEF(`conf_sendmail_ENVDEF', `-D_FFR_TLS_1') APPENDDEF(`conf_sendmail_LIBS', `-lsasl2') APPENDDEF(`confINCDIRS', `-Iusr/local/include/sasl') dnl ### add STARTTLS support APPENDDEF(`confENVDEF',`-DSTARTTLS') APPENDDEF(`confLIBS', `-lssl -lcrypto') dnl ### add because they were already compiled in APPENDDEF(`confENVDEF', `-DSOCKETMAP') APPENDDEF(`conf_sendmail_ENVDEF', `-DTCPWRAPPERS') APPENDDEF(`conf_sendmail_LIBS', `-lwrap')" APPENDDEF(`conf_libsm_ENVDEF', `-Iusr/include') APPENDDEF(`conf_libsm_ENVDEF', `-DLDAPMAP') APPENDDEF(`conf_libsm_LIBS', `-lldap') APPENDDEF(`conf_libsm_LIBS', `-llber') APPENDDEF(`conf_sendmail_ENVDEF', `-DLDAPMAP') APPENDDEF(`conf_sendmail_LIBS', `-lldap') APPENDDEF(`conf_sendmail_LIBS', `-llber') APPENDDEF(`conf_editmap_LIBS', `-lldap') APPENDDEF(`conf_editmap_LIBS', `-llber') APPENDDEF(`conf_mail_local_LIBS', `-lldap') APPENDDEF(`conf_mail_local_LIBS', `-llber') APPENDDEF(`conf_mailstats_LIBS', `-lldap') APPENDDEF(`conf_mailstats_LIBS', `-llber') APPENDDEF(`conf_makemap_LIBS', `-lldap') APPENDDEF(`conf_makemap_LIBS', `-llber') APPENDDEF(`conf_praliases_LIBS', `-lldap') APPENDDEF(`conf_praliases_LIBS', `-llber') APPENDDEF(`conf_rmail_LIBS', `-lldap') APPENDDEF(`conf_smrsh_LIBS', `-lldap') APPENDDEF(`conf_smrsh_LIBS', `-llber') APPENDDEF(`conf_vacation_LIBS', `-lldap') APPENDDEF(`conf_vacation_LIBS', `-llber') APPENDDEF(`conf_libmilter_ENVDEF', `-DMILTER') APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER') APPENDDEF(`conf_libmilter_ENVDEF', `-DSM_CONF_POLL=1') APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_WORKERS_POOL=1') APPENDDEF(`confENVDEF', `-DBROKEN_PTHREAD_SLEEP')