From owner-freebsd-ports@FreeBSD.ORG Tue Sep 9 18:20:23 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EA7416A4BF for ; Tue, 9 Sep 2003 18:20:23 -0700 (PDT) Received: from mail.westbend.net (ns1.westbend.net [216.47.253.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0665E43FAF for ; Tue, 9 Sep 2003 18:20:22 -0700 (PDT) (envelope-from hetzelsw@westbend.net) Received: from ADMIN00 (admin00.westbend.net [216.47.253.17]) by mail.westbend.net (8.12.9/8.12.9) with SMTP id h8A1KB2a035270; Tue, 9 Sep 2003 20:20:19 -0500 (CDT) (envelope-from hetzelsw@westbend.net) Message-ID: <068001c37739$b3677950$11fd2fd8@westbend.net> From: "Scot W. Hetzel" To: , References: <20030909020143.GA25505@freebsd.tekrealm.net> Date: Tue, 9 Sep 2003 20:20:12 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Spam-Status: No, hits=-0.1 required=8.0 tests=LINES_OF_YELLING,QUOTED_EMAIL_TEXT,REFERENCES, SPAM_PHRASE_02_03,USER_AGENT_OE version=2.43 Subject: Re: security/amavisd 1.0 problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2003 01:20:23 -0000 From: "Andrew Stuart" > It appears with the recent upgrade to 1.0, that amavisd is broken when > you build with_milter. attached is the section of the configure error, > anyone know how to fix this off hand? > > checking for libmilter/mfapi.h... yes > checking for smfi_main in -lmilter... no > configure: error: milter requested but not found > Your missing the libsm.a library, so you need to compile and install it by doing the following: cd /usr/src/lib/libsm vi Makefile - change INTERNALLIB to NOPIC make obj && make && make install If your building this on -CURRENT, then you also need to add the following to the amavisd/Makefile: CONFIGURE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS} \ PTHREAD_CFLAGS=${PTHREAD_CFLAGS} I have sent a pr with this fix today, see PR 56658. It also changes the startup scripts to use sysutils/rc_subr. Scot