Hello!
I tried building on CentOS 7, but it failed the libcrypto check.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-pc-linux-gnu file names to
x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking whether byte ordering is bigendian... no
checking how to run the C preprocessor... gcc -E
checking for ar... /usr/bin/ar
checking for cat... /usr/bin/cat
checking for zcat... /usr/bin/zcat
checking for sed... (cached) /usr/bin/sed
checking for bash... /usr/bin/bash
checking for ksh... (cached) /usr/bin/bash
checking for sh... (cached) /usr/bin/bash
checking for sh... /usr/bin/sh
checking for groff... /usr/bin/groff
checking for nroff... /usr/bin/nroff
checking for mandoc... no
checking for bison... no
checking for byacc... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking maillock.h usability... no
checking maillock.h presence... no
checking for maillock.h... no
checking mach/mach_time.h usability... no
checking mach/mach_time.h presence... no
checking for mach/mach_time.h... no
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking security/pam_appl.h usability... no
checking security/pam_appl.h presence... no
checking for security/pam_appl.h... no
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking ucred.h usability... no
checking ucred.h presence... no
checking for ucred.h... no
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking vis.h usability... no
checking vis.h presence... no
checking for vis.h... no
checking for login_cap.h... no
checking for sys/mount.h... (cached) yes
checking bsd/libutil.h usability... no
checking bsd/libutil.h presence... no
checking for bsd/libutil.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for fts.h... yes
checking for long long... yes
checking for unsigned long long... yes
checking for long double... yes
checking for u_int... yes
checking for u_char... yes
checking size of short int... 2
checking size of int... 4
checking size of long int... 8
checking size of long long int... 8
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for intptr_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for intmax_t... yes
checking for uintptr_t... yes
checking for uintmax_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for off_t... yes
checking for mode_t... yes
checking for pid_t... yes
checking for uid_t in sys/types.h... yes
checking for socklen_t... yes
checking for sig_atomic_t... yes
checking for fsblkcnt_t... yes
checking for fsfilcnt_t... yes
checking for in_addr_t... yes
checking for in_port_t... yes
checking for sa_family_t... yes
checking for struct timespec... yes
checking for struct ifgroupreq... no
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for struct in6_addr... yes
checking for struct addrinfo... yes
checking for struct timeval... yes
checking for struct sockaddr_in6.sin6_scope_id... yes
checking for struct passwd.pw_gecos... yes
checking for struct passwd.pw_class... no
checking for struct passwd.pw_change... no
checking for struct passwd.pw_expire... no
checking for struct stat.st_flags... no
checking for struct stat.st_mtim... yes
checking for struct stat.st_mtimespec... no
checking for struct sockaddr.sa_len... no
checking for struct sockaddr_storage.ss_len... no
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr_in6.sin6_len... no
checking for struct statfs.f_favail... no
checking for struct sockaddr_storage.ss_family... yes
checking for struct sockaddr_storage.__ss_family... no
checking for struct tm.tm_gmtoff... yes
checking for struct tm.tm_zone... yes
checking for struct DIR.d_type... no
checking whether O_NONBLOCK is declared... yes
checking whether AF_LOCAL is declared... yes
checking whether PF_LOCAL is declared... yes
checking whether WAIT_MYPGRP is declared... yes
checking whether writev is declared... yes
checking whether LOG_PERROR is declared... yes
checking for inline... inline
checking for library containing basename... none required
checking for library containing closefrom... no
checking for library containing utimes... none required
checking for library containing fmt_scaled... no
checking for library containing dirname... none required
checking for errc... no
checking for library containing inet_net_pton... -lresolv
checking for library containing clock_gettime... none required
checking for library containing fts_open... none required
checking for library containing flock... none required
checking for library containing arc4random... no
checking for library containing daemon... none required
checking for library containing fparseln... no
checking for library containing res_9_b64_ntop... no
checking for library containing setsockopt... none required
checking for library containing crypt... -lcrypt
checking for getline... yes
checking for explicit_bzero... no
checking for crypt_checkpass... no
checking for asprintf... yes
checking for b64_ntop... no
checking for __b64_ntop... yes
checking for b64_pton... no
checking for __b64_pton... yes
checking for bcopy... yes
checking for chflags... no
checking for dirfd... yes
checking for endgrent... yes
checking for fchflags... no
checking for fgetln... no
checking for freeaddrinfo... yes
checking for freezero... no
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for gettimeofday... yes
checking for getopt... yes
checking for getpeereid... no
checking for getpeerucred... no
checking for getspnam... yes
checking for inet_aton... yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for isblank... yes
checking for memmove... yes
checking for nsleep... no
checking for pidfile... no
checking for pledge... no
checking for pw_dup... no
checking for reallocarray... no
checking for recallocarray... no
checking for res_hnok... no
checking for setenv... yes
checking for setlinebuf... yes
checking for setproctitle... no
checking for setregid... yes
checking for setreuid... yes
checking for setresuid... yes
checking for setresgid... yes
checking for setsid... yes
checking for sigaction... yes
checking for snprintf... yes
checking for socketpair... yes
checking for strdup... yes
checking for strerror... yes
checking for strlcat... no
checking for strlcpy... no
checking for strmode... no
checking for strnvis... no
checking for strtonum... no
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for time... yes
checking for truncate... yes
checking for vasprintf... yes
checking for vsnprintf... yes
checking for waitpid... yes
checking whether strsep is declared... yes
checking for strsep... yes
checking whether strlcat is declared... no
checking whether strlcpy is declared... no
checking for /proc/pid/fd directory... yes
checking whether LLONG_MAX is declared... yes
checking if gcc supports compile flag -Qunused-arguments... no
checking if gcc supports compile flag -Wunknown-warning-option... no
checking if gcc supports compile flag -Wall... yes
checking if gcc supports compile flag -Wpointer-arith... yes
checking if gcc supports compile flag -Wuninitialized... yes
checking if gcc supports compile flag -Wsign-compare... yes
checking if gcc supports compile flag -Wformat-security... yes
checking if gcc supports compile flag -Wsizeof-pointer-memaccess... yes
checking if gcc supports compile flag -Wpointer-sign... yes
checking if gcc supports compile flag -Wunused-result... yes
checking if gcc supports compile flag -fno-strict-aliasing... yes
checking gcc version... 4.8.5
checking if gcc accepts -fno-builtin-memset... yes
checking if compiler allows __attribute__ on return types... yes
checking compiler and flags for sanity... yes
checking whether system supports SO_PEERCRED getsockopt... yes
checking for nroff... (cached) /usr/bin/nroff
checking for arc4random... no
checking for arc4random_buf... no
checking for arc4random_stir... no
checking for arc4random_uniform... no
checking Discovering system mail directory... Using: /var/mail from
_PATH_MAILDIR
using /var/run/ from paths.h
checking for msg_accrights field in struct msghdr... no
checking for msg_control field in struct msghdr... yes
checking if libc defines __progname... yes
checking whether gcc implements __FUNCTION__... yes
checking whether gcc implements __func__... yes
checking whether va_copy exists... yes
checking whether __va_copy exists... yes
checking whether getopt has optreset support... no
checking for asr.h... yes
checking for asr_run in -lasr... yes
checking if programs using libevent functions will link... no
checking openssl/opensslv.h usability... yes
checking openssl/opensslv.h presence... yes
checking for openssl/opensslv.h... yes
configure: error: *** Can't find recent LibreSSL libcrypto (see
config.log for details) ***
[root@md opensmtpd-201801101641p1]# locate libcrypto
/usr/lib64/.libcrypto.so.1.0.2k.hmac
/usr/lib64/.libcrypto.so.10.hmac
/usr/lib64/libcrypto.so
/usr/lib64/libcrypto.so.1.0.2k
/usr/lib64/libcrypto.so.10
/usr/lib64/pkgconfig/libcrypto.pc
Thanks and good luck!
Reio
On 10.01.2018 17:45, gilles wrote:
A new opensmtpd portable snapshot is available at:
https://www.opensmtpd.org/archives/opensmtpd-201801101641p1.tar.gz
Checksum:
SHA256 (opensmtpd-201801101641p1.tar.gz) =
00f9add1fec403fd065b033f5e577ada74dfaf4c3bda459a1cefb973f3e0c94b
A summary of the content of this snapshot is available below.
Please test and let us know if it breaks something!
If this snapshot doesn't work, please also test with a previous one,
to help us spot where the issue is coming from. You can access all
previous snapshots here:
https://www.opensmtpd.org/archives/
The OpenSMTPD team ;-)
Summary of changes since last snapshot (opensmtpd-201801101420p1):
-----------------------------------------------------------------
- add freezero() to compat layer
- hook missing files in makefile and add missing includes
- fix makemap() macro prototype
- disable openssl version check when building with libressl
- define _DEFAULT_SOURCE to suppress deprecation warnings with glibc > 2.18
- add recallocarray() to compat layer
- replace fgetln() calls with getline()
- Fix missing prototype warnings for strlcat/strlcpy functions
- improve makefile formating
- fix flags masking for PURGE and remove envelope upgrade code
- let portable build on OpenBSD, crashes at startup though
- check crypt_checkpass [1]
- crypt_checkpass is a crypt() wrapper [1]
- cast comparison between signed and unsigned integer in reallocarray
- crypt() may need crypt.h
- check function getpeerucred [1]
[1] Author: Freddy DISSAUX <d...@bsdsx.fr>
--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org