Re: [OpenSMTPD] portable snapshot opensmtpd-201801101641p1 available

2018-01-19 Thread Reio Remma

On 20.01.2018 2:30, Edgar Pettijohn wrote:

On 01/19/18 17:57, Reio Remma wrote:

On 20.01.2018 1:22, Edgar Pettijohn wrote:

On 01/19/18 14:56, Reio Remma wrote:

Hello!

There are some warnings when doing make check in CentOS 7 (not sure 
how serious the warnings are ( I'm averse to warnings)).


Thanks!
Reio

- 



gcc -DHAVE_CONFIG_H -I. -I..  -I../smtpd -I../openbsd-compat 
-I/usr/include   -g -O2  -fPIC -DPIC -Wall -Wpointer-arith 
-Wuninitialized -Wsign-compare -Wformat-security 
-Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result 
-fno-strict-aliasing -fno-builtin-memset -D_BSD_SOURCE 
-D_DEFAULT_SOURCE  -c -o crypt_checkpass.o crypt_checkpass.c

crypt_checkpass.c: In function ‘crypt_checkpass’:
crypt_checkpass.c:20:2: warning: implicit declaration of function 
‘crypt’ [-Wimplicit-function-declaration]

  if (strcmp(crypt(pass, goodhash), goodhash) == 0)
  ^
crypt_checkpass.c:20:2: warning: passing argument 1 of ‘strlen’ 
makes pointer from integer without a cast [enabled by default]

In file included from crypt_checkpass.c:7:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but 
argument is of type ‘int’

 extern size_t strlen (const char *__s)
   ^
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast 
[enabled by default]

  if (strcmp(crypt(pass, goodhash), goodhash) == 0)
  ^
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument 
is of type ‘int’
crypt_checkpass.c:20:2: warning: passing argument 1 of ‘strlen’ 
makes pointer from integer without a cast [enabled by default]

In file included from crypt_checkpass.c:7:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but 
argument is of type ‘int’

 extern size_t strlen (const char *__s)
   ^
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast 
[enabled by default]

  if (strcmp(crypt(pass, goodhash), goodhash) == 0)
  ^
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument 
is of type ‘int’
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast 
[enabled by default]
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument 
is of type ‘int’
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast 
[enabled by default]
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument 
is of type ‘int’



Do you have crypt.h in /usr/include?


Yes, it's there.

Reio



How about:

grep CRYPT config.h


#define HAVE_CRYPT 1
/* #undef HAVE_CRYPT_CHECKPASS */
#define HAVE_CRYPT_H 1
#define HAVE_GCM_CRYPTO 1


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: [OpenSMTPD] portable snapshot opensmtpd-201801101641p1 available

2018-01-19 Thread Edgar Pettijohn



On 01/19/18 17:57, Reio Remma wrote:

On 20.01.2018 1:22, Edgar Pettijohn wrote:

On 01/19/18 14:56, Reio Remma wrote:

Hello!

There are some warnings when doing make check in CentOS 7 (not sure 
how serious the warnings are ( I'm averse to warnings)).


Thanks!
Reio

- 



gcc -DHAVE_CONFIG_H -I. -I..  -I../smtpd -I../openbsd-compat 
-I/usr/include   -g -O2  -fPIC -DPIC -Wall -Wpointer-arith 
-Wuninitialized -Wsign-compare -Wformat-security 
-Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result 
-fno-strict-aliasing -fno-builtin-memset -D_BSD_SOURCE 
-D_DEFAULT_SOURCE  -c -o crypt_checkpass.o crypt_checkpass.c

crypt_checkpass.c: In function ‘crypt_checkpass’:
crypt_checkpass.c:20:2: warning: implicit declaration of function 
‘crypt’ [-Wimplicit-function-declaration]

  if (strcmp(crypt(pass, goodhash), goodhash) == 0)
  ^
crypt_checkpass.c:20:2: warning: passing argument 1 of ‘strlen’ 
makes pointer from integer without a cast [enabled by default]

In file included from crypt_checkpass.c:7:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but 
argument is of type ‘int’

 extern size_t strlen (const char *__s)
   ^
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast 
[enabled by default]

  if (strcmp(crypt(pass, goodhash), goodhash) == 0)
  ^
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument 
is of type ‘int’
crypt_checkpass.c:20:2: warning: passing argument 1 of ‘strlen’ 
makes pointer from integer without a cast [enabled by default]

In file included from crypt_checkpass.c:7:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but 
argument is of type ‘int’

 extern size_t strlen (const char *__s)
   ^
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast 
[enabled by default]

  if (strcmp(crypt(pass, goodhash), goodhash) == 0)
  ^
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument 
is of type ‘int’
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast 
[enabled by default]
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument 
is of type ‘int’
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast 
[enabled by default]
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument 
is of type ‘int’



Do you have crypt.h in /usr/include?


Yes, it's there.

Reio




How about:

grep CRYPT config.h


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: [OpenSMTPD] portable snapshot opensmtpd-201801101641p1 available

2018-01-19 Thread Reio Remma

On 20.01.2018 1:22, Edgar Pettijohn wrote:

On 01/19/18 14:56, Reio Remma wrote:

Hello!

There are some warnings when doing make check in CentOS 7 (not sure 
how serious the warnings are ( I'm averse to warnings)).


Thanks!
Reio

- 



gcc -DHAVE_CONFIG_H -I. -I..  -I../smtpd -I../openbsd-compat 
-I/usr/include   -g -O2  -fPIC -DPIC -Wall -Wpointer-arith 
-Wuninitialized -Wsign-compare -Wformat-security 
-Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result 
-fno-strict-aliasing -fno-builtin-memset -D_BSD_SOURCE 
-D_DEFAULT_SOURCE  -c -o crypt_checkpass.o crypt_checkpass.c

crypt_checkpass.c: In function ‘crypt_checkpass’:
crypt_checkpass.c:20:2: warning: implicit declaration of function 
‘crypt’ [-Wimplicit-function-declaration]

  if (strcmp(crypt(pass, goodhash), goodhash) == 0)
  ^
crypt_checkpass.c:20:2: warning: passing argument 1 of ‘strlen’ makes 
pointer from integer without a cast [enabled by default]

In file included from crypt_checkpass.c:7:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but 
argument is of type ‘int’

 extern size_t strlen (const char *__s)
   ^
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast [enabled 
by default]

  if (strcmp(crypt(pass, goodhash), goodhash) == 0)
  ^
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument is 
of type ‘int’
crypt_checkpass.c:20:2: warning: passing argument 1 of ‘strlen’ makes 
pointer from integer without a cast [enabled by default]

In file included from crypt_checkpass.c:7:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but 
argument is of type ‘int’

 extern size_t strlen (const char *__s)
   ^
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast [enabled 
by default]

  if (strcmp(crypt(pass, goodhash), goodhash) == 0)
  ^
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument is 
of type ‘int’
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast [enabled 
by default]
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument is 
of type ‘int’
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast [enabled 
by default]
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument is 
of type ‘int’



Do you have crypt.h in /usr/include?


Yes, it's there.

Reio


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org



Re: [OpenSMTPD] portable snapshot opensmtpd-201801101641p1 available

2018-01-19 Thread Edgar Pettijohn



On 01/19/18 14:56, Reio Remma wrote:

Hello!

There are some warnings when doing make check in CentOS 7 (not sure 
how serious the warnings are ( I'm averse to warnings)).


Thanks!
Reio

- 



gcc -DHAVE_CONFIG_H -I. -I..  -I../smtpd -I../openbsd-compat 
-I/usr/include   -g -O2  -fPIC -DPIC -Wall -Wpointer-arith 
-Wuninitialized -Wsign-compare -Wformat-security 
-Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result 
-fno-strict-aliasing -fno-builtin-memset -D_BSD_SOURCE 
-D_DEFAULT_SOURCE  -c -o pw_dup.o pw_dup.c

pw_dup.c: In function ‘pw_dup’:
pw_dup.c:47:3: warning: ‘ssize’ may be used uninitialized in this 
function [-Wmaybe-uninitialized]

   (void)memcpy(cp, pw->name, size); \
   ^
pw_dup.c:57:39: note: ‘ssize’ was declared here
  size_t   nsize, psize, gsize, dsize, ssize, total;
   ^
pw_dup.c:47:3: warning: ‘dsize’ may be used uninitialized in this 
function [-Wmaybe-uninitialized]

   (void)memcpy(cp, pw->name, size); \
   ^
pw_dup.c:57:32: note: ‘dsize’ was declared here
  size_t   nsize, psize, gsize, dsize, ssize, total;
^
pw_dup.c:47:3: warning: ‘gsize’ may be used uninitialized in this 
function [-Wmaybe-uninitialized]

   (void)memcpy(cp, pw->name, size); \
   ^
pw_dup.c:57:25: note: ‘gsize’ was declared here
  size_t   nsize, psize, gsize, dsize, ssize, total;
 ^
pw_dup.c:47:3: warning: ‘psize’ may be used uninitialized in this 
function [-Wmaybe-uninitialized]

   (void)memcpy(cp, pw->name, size); \
   ^
pw_dup.c:57:18: note: ‘psize’ was declared here
  size_t   nsize, psize, gsize, dsize, ssize, total;
  ^
pw_dup.c:49:6: warning: ‘nsize’ may be used uninitialized in this 
function [-Wmaybe-uninitialized]

   cp += size;\
  ^
pw_dup.c:57:11: note: ‘nsize’ was declared here
  size_t   nsize, psize, gsize, dsize, ssize, total;
   ^
- 



gcc -DHAVE_CONFIG_H -I. -I..  -I../smtpd -I../openbsd-compat 
-I/usr/include   -g -O2  -fPIC -DPIC -Wall -Wpointer-arith 
-Wuninitialized -Wsign-compare -Wformat-security 
-Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result 
-fno-strict-aliasing -fno-builtin-memset -D_BSD_SOURCE 
-D_DEFAULT_SOURCE  -c -o crypt_checkpass.o crypt_checkpass.c

crypt_checkpass.c: In function ‘crypt_checkpass’:
crypt_checkpass.c:20:2: warning: implicit declaration of function 
‘crypt’ [-Wimplicit-function-declaration]

  if (strcmp(crypt(pass, goodhash), goodhash) == 0)
  ^
crypt_checkpass.c:20:2: warning: passing argument 1 of ‘strlen’ makes 
pointer from integer without a cast [enabled by default]

In file included from crypt_checkpass.c:7:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but 
argument is of type ‘int’

 extern size_t strlen (const char *__s)
   ^
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast [enabled 
by default]

  if (strcmp(crypt(pass, goodhash), goodhash) == 0)
  ^
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument is 
of type ‘int’
crypt_checkpass.c:20:2: warning: passing argument 1 of ‘strlen’ makes 
pointer from integer without a cast [enabled by default]

In file included from crypt_checkpass.c:7:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but 
argument is of type ‘int’

 extern size_t strlen (const char *__s)
   ^
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast [enabled 
by default]

  if (strcmp(crypt(pass, goodhash), goodhash) == 0)
  ^
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument is 
of type ‘int’
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast [enabled 
by default]
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument is 
of type ‘int’
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast [enabled 
by default]
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument is 
of type ‘int’



Do you have crypt.h in /usr/include?


- 



gcc -DHAVE_CONFIG_H -I. -I../..  -I../../smtpd -I../../openbsd-compat 
-I. -I/usr/include -DSMTPD_CONFDIR=\"/etc\" 
-DPATH_CHROOT=\"/var/empty\" 
-DPATH_SMTPCTL=\"/usr/local/sbin/smtpctl\" 
-DPATH_MAILLOCAL=\"/usr/local/libexec/opensmtpd/mail.local\" 
-DPATH_LIBEXEC=\"/usr/local/libexec/opensmtpd\" -DHAVE_CONFIG_H 
-DIO_SSL -DCA_FILE=\"/etc/ssl/cert.pem\" -g -O2  -fPIC -DPIC -Wall 
-Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security 
-Wsizeof-pointer-memaccess 

Re: [OpenSMTPD] portable snapshot opensmtpd-201801101641p1 available

2018-01-19 Thread Reio Remma

Hello!

There are some warnings when doing make check in CentOS 7 (not sure how 
serious the warnings are ( I'm averse to warnings)).


Thanks!
Reio

-

gcc -DHAVE_CONFIG_H -I. -I..  -I../smtpd -I../openbsd-compat 
-I/usr/include   -g -O2  -fPIC -DPIC -Wall -Wpointer-arith 
-Wuninitialized -Wsign-compare -Wformat-security 
-Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result 
-fno-strict-aliasing -fno-builtin-memset -D_BSD_SOURCE 
-D_DEFAULT_SOURCE  -c -o pw_dup.o pw_dup.c

pw_dup.c: In function ‘pw_dup’:
pw_dup.c:47:3: warning: ‘ssize’ may be used uninitialized in this 
function [-Wmaybe-uninitialized]

   (void)memcpy(cp, pw->name, size); \
   ^
pw_dup.c:57:39: note: ‘ssize’ was declared here
  size_t   nsize, psize, gsize, dsize, ssize, total;
   ^
pw_dup.c:47:3: warning: ‘dsize’ may be used uninitialized in this 
function [-Wmaybe-uninitialized]

   (void)memcpy(cp, pw->name, size); \
   ^
pw_dup.c:57:32: note: ‘dsize’ was declared here
  size_t   nsize, psize, gsize, dsize, ssize, total;
    ^
pw_dup.c:47:3: warning: ‘gsize’ may be used uninitialized in this 
function [-Wmaybe-uninitialized]

   (void)memcpy(cp, pw->name, size); \
   ^
pw_dup.c:57:25: note: ‘gsize’ was declared here
  size_t   nsize, psize, gsize, dsize, ssize, total;
 ^
pw_dup.c:47:3: warning: ‘psize’ may be used uninitialized in this 
function [-Wmaybe-uninitialized]

   (void)memcpy(cp, pw->name, size); \
   ^
pw_dup.c:57:18: note: ‘psize’ was declared here
  size_t   nsize, psize, gsize, dsize, ssize, total;
  ^
pw_dup.c:49:6: warning: ‘nsize’ may be used uninitialized in this 
function [-Wmaybe-uninitialized]

   cp += size;    \
  ^
pw_dup.c:57:11: note: ‘nsize’ was declared here
  size_t   nsize, psize, gsize, dsize, ssize, total;
   ^
-

gcc -DHAVE_CONFIG_H -I. -I..  -I../smtpd -I../openbsd-compat 
-I/usr/include   -g -O2  -fPIC -DPIC -Wall -Wpointer-arith 
-Wuninitialized -Wsign-compare -Wformat-security 
-Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result 
-fno-strict-aliasing -fno-builtin-memset -D_BSD_SOURCE 
-D_DEFAULT_SOURCE  -c -o crypt_checkpass.o crypt_checkpass.c

crypt_checkpass.c: In function ‘crypt_checkpass’:
crypt_checkpass.c:20:2: warning: implicit declaration of function 
‘crypt’ [-Wimplicit-function-declaration]

  if (strcmp(crypt(pass, goodhash), goodhash) == 0)
  ^
crypt_checkpass.c:20:2: warning: passing argument 1 of ‘strlen’ makes 
pointer from integer without a cast [enabled by default]

In file included from crypt_checkpass.c:7:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument 
is of type ‘int’

 extern size_t strlen (const char *__s)
   ^
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast [enabled by 
default]

  if (strcmp(crypt(pass, goodhash), goodhash) == 0)
  ^
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument is of 
type ‘int’
crypt_checkpass.c:20:2: warning: passing argument 1 of ‘strlen’ makes 
pointer from integer without a cast [enabled by default]

In file included from crypt_checkpass.c:7:0:
/usr/include/string.h:395:15: note: expected ‘const char *’ but argument 
is of type ‘int’

 extern size_t strlen (const char *__s)
   ^
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast [enabled by 
default]

  if (strcmp(crypt(pass, goodhash), goodhash) == 0)
  ^
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument is of 
type ‘int’
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast [enabled by 
default]
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument is of 
type ‘int’
crypt_checkpass.c:20:2: warning: passing argument 1 of 
‘__builtin_strcmp’ makes pointer from integer without a cast [enabled by 
default]
crypt_checkpass.c:20:2: note: expected ‘const char *’ but argument is of 
type ‘int’


-

gcc -DHAVE_CONFIG_H -I. -I../..  -I../../smtpd -I../../openbsd-compat 
-I. -I/usr/include  -DSMTPD_CONFDIR=\"/etc\" 
-DPATH_CHROOT=\"/var/empty\" -DPATH_SMTPCTL=\"/usr/local/sbin/smtpctl\" 
-DPATH_MAILLOCAL=\"/usr/local/libexec/opensmtpd/mail.local\" 
-DPATH_LIBEXEC=\"/usr/local/libexec/opensmtpd\" -DHAVE_CONFIG_H -DIO_SSL 
-DCA_FILE=\"/etc/ssl/cert.pem\" -g -O2  -fPIC -DPIC -Wall 
-Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security 
-Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result 
-fno-strict-aliasing -fno-builtin-memset 

Re: [OpenSMTPD] portable snapshot opensmtpd-201801101641p1 available

2018-01-14 Thread Reio Remma

Hello again!

It seems I was missing libevent-devel - configure completed after 
installing that. Now, to do the same on my actual test machine. :)


Thanks!
Reio

On 14.01.2018 19:18, Reio Remma wrote:

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 

Re: [OpenSMTPD] portable snapshot opensmtpd-201801101641p1 available

2018-01-14 Thread Reio Remma

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... 

Re: [OpenSMTPD] portable snapshot opensmtpd-201801101641p1 available

2018-01-10 Thread Teilzeit-Eremit
Hello everyone,

I tried building the 201801101641p1 Snapshot via poudriere on FreeBSD
11.1-amd64, and poudriere created a package without complaints.
I can't run it though, it gives me:
> debug: parent_send_config: configuring ca process
> debug: smtp: listen on 10.10.10.1 port 10028 flags 0x500 pki "" ca ""
> debug: init private ssl-tree
> debug: control -> klondike: pipe closed
> debug: control agent exiting
> debug: lka -> control: pipe closed
> debug: lookup agent exiting
> debug: smtp: listen on IPv6:fd07:dc0e:3c5b::1 port 10028 flags 0x500 pki "" 
> ca "
> "
> debug: parent -> ca: pipe closed
> debug: scheduler -> control: pipe closed
> debug: smtp: listen on 10.10.10.1 port 25 flags 0x409 pki "" ca ""
> debug: scheduler agent exiting
> debug: smtp: listen on IPv6:2a01:4f8:c17:1104::201 port 25 flags 0x409 pki "" 
> ca
>  ""
> debug: smtp: listen on 10.10.10.1 port 465 flags 0x40a pki "" ca ""
> debug: smtp: listen on IPv6:2a01:4f8:c17:1104::201 port 465 flags 0x40a pki 
> "" c
> a ""
> debug: smtp: listen on 10.10.10.1 port 587 flags 0x569 pki "" ca ""
> debug: smtp: listen on IPv6:2a01:4f8:c17:1104::201 port 587 flags 0x569 pki 
> "" c
> a ""
> debug: smtp: listen on IPv6:fd07:dc0e:3c5b::1 port 587 flags 0x569 pki "" ca 
> ""
> debug: pony: rsae_init
> debug: queue: done loading queue into scheduler
> debug: queue -> control: pipe closed
> debug: queue agent exiting
> smtpd: process ca socket closed

I used the existing mail/opensmtpd-devel port and just changed the
version number.

Cheers, Dominik

-- 
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org