Subject: [alpine-devel] extra/dovecot

From: Michael Mason <[email-masked]>
Date: Thu, 5 Mar 2009 23:20:21 +0000

Please review patch.
Thx

---

From: Natanael Copa <[email-masked]>
Date: Fri, 06 Mar 2009 16:26:40 +0100

> Thx

A tip: we generally just copy init.d scripts from gentoo whenever
possible. I have the portage tree via rsync but they are availabe via
http too (so you dont need to download the 300MB portage tree)

http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-mail/dovecot/files/

dovecot fails to build. I suspect its missing dep for libcap.

distcc -DHAVE_CONFIG_H -I. -I../..  -I../../src/lib
-I../../src/lib-settings -DSYSCONFDIR=\""/etc"\" -DPKG_RUNDIR=
\""/usr/var/run/dovecot"\" -DPKG_STATEDIR=\""/usr/var/lib/dovecot"\"
-DPKG_LIBEXECDIR=\""/usr/libexec/dovecot"\" -DMODULEDIR=
\""/usr/lib/dovecot"\" -DSSLDIR=\""/etc/ssl\"" -march=i486 -Os
-fomit-frame-pointer  -std=gnu99 -march=i486 -Os -fomit-frame-pointer
-Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith
-Wchar-subscripts -Wformat=2 -Wbad-function-cast -Wstrict-aliasing=2
-MT dup2-array.o -MD -MP -MF .deps/dup2-array.Tpo -c -o dup2-array.o
dup2-array.c
capabilities-posix.c:6:28: error: sys/capability.h: No such file or
directory
capabilities-posix.c: In function 'drop_capabilities':
capabilities-posix.c:11: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'suidcaps'

run a 'scanelf -Rn pkg' after you built it and check that all .so files
needed are listed in depends.

humm it needs zlib too.

distcc[7423] Warning: failed to distribute istream-zlib.c to distcc02,
running locally instead
istream-zlib.c:14:20: error: zlib.h: No such file or directory
distcc[7423] ERROR: compile istream-zlib.c on localhost failed
make[4]: *** [istream-zlib.lo] Error 1

I added libcap and zlib.

I think we want ssl support and maybe ipv6 in there too.

thanks!

-nc

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---