From owner-freebsd-ports@FreeBSD.ORG Tue Apr 10 20:42:40 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9703616A402 for ; Tue, 10 Apr 2007 20:42:40 +0000 (UTC) (envelope-from lists@kaiser.cx) Received: from lowrider.smega.com (lowrider.smega.com [82.149.226.102]) by mx1.freebsd.org (Postfix) with ESMTP id 5EF4F13C459 for ; Tue, 10 Apr 2007 20:42:40 +0000 (UTC) (envelope-from lists@kaiser.cx) Received: from p54b01925.dip0.t-ipconnect.de ([84.176.25.37] helo=askja.kaiser.cx) by lowrider.smega.com with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1HbMbS-000IVU-R9; Tue, 10 Apr 2007 22:06:11 +0200 Received: from martin by askja.kaiser.cx with local (Exim 4.60) (envelope-from ) id 1HbMbS-00016F-5e; Tue, 10 Apr 2007 22:06:10 +0200 Date: Tue, 10 Apr 2007 22:06:10 +0200 From: Martin Kaiser To: ports@freebsd.org Message-ID: <20070410200610.GA4106@kaiser.cx> References: <20070302224216.GA3613@kaiser.cx> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <20070302224216.GA3613@kaiser.cx> User-Agent: Mutt/1.5.12-2006-07-14 Sender: Martin Kaiser Cc: albert@tigr.net Subject: asmail 2.1, FreeBSD port mail/asmail X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2007 20:42:40 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi all, another release of asmail (2.1) was published recently. Like last time, I prepared a little patch to update the port. I tested on 6.1-RELEASE-p10 (amd64), 5.4-RELEASE-p9 (i386) and 4.11-RELEASE-p25 (i386). The 4.11 has no socklen_t, so this will be replaced with int, depending on OSVERSION. Could you do me a favour and commit this? I'd volunteer to maintain this port but unfortunately I'll lose access to the 6.x and 5.x boxes this week :-( Cheers, Martin --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="asmail2.1.patch" diff -ru asmail.orig/Makefile asmail/Makefile --- asmail.orig/Makefile Tue Apr 10 21:42:50 2007 +++ asmail/Makefile Tue Apr 10 21:48:13 2007 @@ -6,7 +6,7 @@ # PORTNAME= asmail -PORTVERSION= 2.0 +PORTVERSION= 2.1 CATEGORIES= mail afterstep MASTER_SITES= http://www.tigr.net/afterstep/download/asmail/ @@ -29,6 +29,8 @@ CPPFLAGS+= ${PTHREAD_CFLAGS} LDFLAGS+= ${PTHREAD_LIBS} -lssl -lcrypto +.include + post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|machine/soundcard|sys/soundcard|g' ${WRKSRC}/configure @@ -37,6 +39,11 @@ @${REINPLACE_CMD} -e \ 's|/usr/local|${PREFIX}|g' ${WRKSRC}/asmailrc.sample +.if ${OSVERSION} < 500000 + @${REINPLACE_CMD} -e 's|socklen_t|int|g' ${WRKSRC}/socklib.h +.endif + + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @@ -45,4 +52,4 @@ ${INSTALL_DATA} ${WRKSRC}/asmailrc.sample ${EXAMPLESDIR} .endif -.include +.include diff -ru asmail.orig/distinfo asmail/distinfo --- asmail.orig/distinfo Tue Apr 10 21:42:50 2007 +++ asmail/distinfo Tue Apr 10 21:33:58 2007 @@ -1,3 +1,3 @@ -MD5 (asmail-2.0.tar.gz) = 58873242a953f3b4fbbe6cf517f3a51a -SHA1 (asmail-2.0.tar.gz) = d54d00d744dce674007bb96a6772129ada2e1980 -SIZE (asmail-2.0.tar.gz) = 270924 +MD5 (asmail-2.1.tar.gz) = 10d1460353f5773c8d211003a07312df +SHA256 (asmail-2.1.tar.gz) = 9b20aff43d61511e9c24af5603a546e3709bad35c769074e2b66d818f33e8191 +SIZE (asmail-2.1.tar.gz) = 271164 --h31gzZEtNLTqOjlF--