On 28 May 2015, at 13:10, Jason A. Donenfeld ja...@zx2c4.com wrote:
Furthermore, the use of /usr/local obviously doesn't cut it, for the
same reason it didn't work with Python.
Check out that cgit example for the correct way to find the locations.
As suggested in my other mail, the cgit
Hi,
I think depending on the OS (Linux vs BSD vs OS X vs ...) you really want to
check for
different variations of the Lua installation with pkg-config, e.g.:
“lua5.2 vs lua-5.2 vs just “lua” or even “luajit
Also, I do not think that checking luajit first makes sense, as it might have
the
On Wed, May 27, 2015 at 03:14:17PM +0200, Gilles Chehade wrote:
Hi,
will apply to portable branch today thanks
so this diff broke build with libevent 2, LIBEVENT_VERSION doesn't
exist in my libevent 1.4
however, the reason for this check was to conditionnally include one
of event.h or
A new opensmtpd-extras snapshot is available at:
http://www.opensmtpd.org/archives/opensmtpd-extras-201505281056.tar.gz
Checksum:
SHA256 (opensmtpd-extras-201505281056.tar.gz) =
47fe0c63b78e9f29f0432accf88a4fd551c20bc9e14fcf15917430a401512b15
A summary of the content of this
As told on IRC, I have solved this using your python-config idea but
from the configure layer.
If user provides --with-python=, we search for python-config in that
path, otherwise we try to auto-detect it in standart paths.
Thanks !
On Wed, May 27, 2015 at 04:16:58PM +0200, Jason A. Donenfeld
This precludes the use of luajit, which is unfortunate, since that's
the only performant way to use Lua. The extras Makefile reads:
CFLAGS+=-I/usr/local/include/lua-5.2
LDFLAGS+= -L/usr/local/lib
LDADD+= -llua5.2 -lm
Check out what we do in cgit. It handles luajit, lua5.1,
Furthermore, the use of /usr/local obviously doesn't cut it, for the
same reason it didn't work with Python.
Check out that cgit example for the correct way to find the locations.
--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to:
More compat issues, perhaps:
../../../../extras/wip/tables/table-passwd/table_passwd.c: In function
‘parse_passwd_entry’:
../../../../extras/wip/tables/table-passwd/table_passwd.c:247:2:
warning: implicit declaration of function ‘strtonum’
[-Wimplicit-function-declaration]
pw-pw_uid =
It's not on FreeBSD too, I think that it should be in the openbsd-compat
repository.
On Thu, 28 May 2015 13:05:04 +0200
Jason A. Donenfeld ja...@zx2c4.com wrote:
make[5]: Entering directory
Looks like it isn't linking against the OpenBSD compat libs:
libtool: link: x86_64-pc-linux-gnu-gcc -DNO_IO -DBUILD_FILTER -o
filter-dnsbl ../../../../api/filter_api.o ../../../../api/mproc.o
../../../../api/log.o ../../../../api/tree.o ../../../../api/util.o
../../../../api/iobuf.o
On Thu, May 28, 2015 at 12:59:29PM +0200, Jason A. Donenfeld wrote:
Adding -lresolv to that link line fixes the issue. Looks like that
needs to be linked in there.
maybe we should implement base64 ourselves rather than relying on these
ones, it kinda was ok for opensmtpd as we were already
Seems fine to me.
--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org
---
configure.ac | 72
1 file changed, 72 insertions(+)
diff --git a/configure.ac b/configure.ac
index a1755c3..13c71df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1923,6 +1923,7 @@ AC_ARG_WITH([filter-lua],
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index f8dc0a7..edb6a78 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2281,7 +2281,7 @@ AM_CONDITIONAL([HAVE_SCHEDULER_PYTHON], [test
$HAVE_SCHEDULER_PYTHON = yes])
In 5.4.5 we have:
/var/spool/smtpd/purge must be rwx-- (700)
smtpd: error in purge directory setup
In snapshots we have:
/var/spool/smtpd/purge must be rwxr-x--- (750)
smtpd: error in purge directory setup
Why the change?
--
You received this mail because you are subscribed to
---
configure.ac | 72 +++
extras/wip/filters/filter-lua/Makefile.am | 5 +--
2 files changed, 74 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index a1755c3..13c71df 100644
--- a/configure.ac
+++ b/configure.ac
Looks like another openbsd-compat issue:
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../..
-I../../../../api -I../../../../openbsd-compat
-I../../../../contrib/lib/libc/asr -I/usr/include -DNO_IO
-DBUILD_FILTER -c -o
../../../../extras/wip/filters/filter-regex/filter_regex.o
17 matches
Mail list logo