X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id E3E6ADC1449; Tue, 15 Sep 2015 13:55:05 +0000 (UTC) Received: from ncopa-desktop.alpinelinux.org (unknown [79.160.13.133]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id 5DE34DC0114; Tue, 15 Sep 2015 13:55:05 +0000 (UTC) Date: Tue, 15 Sep 2015 15:55:02 +0200 From: Natanael Copa To: Jonathan Curran Cc: alpine-aports@lists.alpinelinux.org Subject: Re: [alpine-aports] [PATCH v2] testing/opensmtpd: new aport Message-ID: <20150915155502.029426b3@ncopa-desktop.alpinelinux.org> In-Reply-To: <1441918874-31745-1-git-send-email-jonathan@curran.in> References: <1441830663-23827-1-git-send-email-jonathan@curran.in> <1441918874-31745-1-git-send-email-jonathan@curran.in> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-alpine-linux-musl) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP On Thu, 10 Sep 2015 21:01:14 +0000 Jonathan Curran wrote: > This aport provides the portable version of OpenSMTPD patched to work > with musl. > > Parts of the patch will be submitted upstream soon. > > https://opensmtpd.org > --- > Changes v1 -> v2: > - updated smtpd.initd I let it only build on x86_64 for now because it failed on 32bit: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../smtpd -I../../openbsd-compat -I. -I/usr/include -Os -fomit-frame-pointer -DSMTPD_CONFDIR=\"/etc/smtpd\" -DPATH_CHROOT=\"/var/empty\" -DPATH_SMTPCTL=\"/usr/sbin/smtpctl\" -DPATH_MAILLOCAL=\"/usr/libexec/opensmtpd/mail.local\" -DPATH_LIBEXEC=\"/usr/libexec/opensmtpd\" -DHAVE_CONFIG_H -DNO_IO -DPATH_GZCAT=\"/bin/zcat\" -DPATH_ENCRYPT=\"/usr/libexec/opensmtpd/encrypt\" -Os -fomit-frame-pointer -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 -fPIE -Werror -D_GNU_SOURCE -c -o ../../smtpd/smtpctl-crypto.o `test -f '../../smtpd/crypto.c' || echo './'`../../smtpd/crypto.c ../../smtpd/smtpctl.c: In function 'do_show_sizes': ../../smtpd/smtpctl.c:726:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("struct userinfo=%ld\n", sizeof (struct userinfo)); ^ ../../smtpd/smtpctl.c:727:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("struct netaddr=%ld\n", sizeof (struct netaddr)); ^ ../../smtpd/smtpctl.c:728:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("struct relayhost=%ld\n", sizeof (struct relayhost)); ^ ../../smtpd/smtpctl.c:729:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("struct credentials=%ld\n", sizeof (struct credentials)); ^ ../../smtpd/smtpctl.c:730:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("struct destination=%ld\n", sizeof (struct destination)); ^ ../../smtpd/smtpctl.c:731:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("struct source=%ld\n", sizeof (struct source)); ^ ../../smtpd/smtpctl.c:732:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("struct addrname=%ld\n", sizeof (struct addrname)); ^ ../../smtpd/smtpctl.c:733:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("union lookup=%ld\n", sizeof (union lookup)); ^ ../../smtpd/smtpctl.c:734:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("struct delivery_mda=%ld\n", sizeof (struct delivery_mda)); ^ ../../smtpd/smtpctl.c:735:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("struct delivery_mta=%ld\n", sizeof (struct delivery_mta)); ^ ../../smtpd/smtpctl.c:736:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("struct envelope=%ld\n", sizeof (struct envelope)); ^ ../../smtpd/smtpctl.c:737:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("struct forward_req=%ld\n", sizeof (struct forward_req)); ^ ../../smtpd/smtpctl.c:738:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("struct deliver=%ld\n", sizeof (struct deliver)); ^ ../../smtpd/smtpctl.c:739:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("struct bounce_req_msg=%ld\n", sizeof (struct bounce_req_msg)); ^ ../../smtpd/smtpctl.c:740:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("struct ca_cert_req_msg=%ld\n", sizeof (struct ca_cert_req_msg)); ^ ../../smtpd/smtpctl.c:741:9: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'unsigned int' [-Werror=format=] printf("struct ca_vrfy_req_msg=%ld\n", sizeof (struct ca_vrfy_req_msg)); ^ cc1: all warnings being treated as errors --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---