Date: Tue, 12 Jul 2005 12:20:08 -0300 (BRT) From: Marcus Grando <marcus@corp.grupos.com.br> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/83333: Update port: mail/nbsmtp to 0.99 Message-ID: <20050712152008.79A0E55AD@corp.grupos.com.br> Resent-Message-ID: <200507121530.j6CFUJB9047688@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83333 >Category: ports >Synopsis: Update port: mail/nbsmtp to 0.99 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Jul 12 15:30:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Marcus Grando >Release: FreeBSD 4.11-STABLE i386 >Organization: Grupos Internet S/A >Environment: System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #0: Mon Jul 11 10:07:29 BRT 2005 root@corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386 >Description: Update port: mail/nbsmtp to 0.99 - Update to 0.99 - Add SSL, IPv6 and DEBUG options New files: files/patch-configure NOTE: I think that warning generated of portlint is wrong. >How-To-Repeat: >Fix: --- nbsmtp.patch begins here --- diff -ruN nbsmtp.orig/Makefile nbsmtp/Makefile --- nbsmtp.orig/Makefile Tue Jan 18 11:58:13 2005 +++ nbsmtp/Makefile Tue Jul 12 12:16:37 2005 @@ -4,9 +4,11 @@ # # $FreeBSD: ports/mail/nbsmtp/Makefile,v 1.9 2005/01/18 05:44:50 ijliao Exp $ # +# WITH_SSL=yes "Support for secure connection to mail server" +# PORTNAME= nbsmtp -PORTVERSION= 0.98 +PORTVERSION= 0.99 CATEGORIES= mail MASTER_SITES= http://www.gentoo-es.org/~ferdy/ \ http://www.it.uc3m.es/~ferdy/nbsmtp/ @@ -14,15 +16,30 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Simple program for outgoing SMTP delivery -PLIST_FILES= bin/nbsmtp +USE_BZIP2= yes GNU_CONFIGURE= yes +OPTIONS= IPV6 "Support for IPv6 connections" off \ + DEBUG "Enable debug information (for developers)" off + +PLIST_FILES= bin/nbsmtp + MAN5= nbsmtprc.5 MAN8= nbsmtp.8 -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/nbsmtp ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/nbsmtp.8 ${MAN8PREFIX}/man/man8 - ${INSTALL_MAN} ${WRKSRC}/nbsmtprc.5 ${MAN5PREFIX}/man/man5 +.if defined(WITH_SSL) +USE_OPENSSL= yes +CONFIGURE_ARGS+= --enable-ssl +.endif + +.include <bsd.port.pre.mk> + +.if !defined(WITHOUT_IPV6) +CONFIGURE_ARGS+= --enable-ipv6 +.endif + +.if !defined(WITHOUT_DEBUG) +CONFIGURE_ARGS+= --enable-debug +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff -ruN nbsmtp.orig/distinfo nbsmtp/distinfo --- nbsmtp.orig/distinfo Tue Jan 18 11:58:13 2005 +++ nbsmtp/distinfo Tue Jul 12 10:55:34 2005 @@ -1,2 +1,2 @@ -MD5 (nbsmtp-0.98.tar.gz) = fe055f4e01e6cfd9eb9c80681a42f7eb -SIZE (nbsmtp-0.98.tar.gz) = 111390 +MD5 (nbsmtp-0.99.tar.bz2) = 36db70c4f8f9aa31dc5f417d8cbdd1d2 +SIZE (nbsmtp-0.99.tar.bz2) = 103949 diff -ruN nbsmtp.orig/files/patch-configure nbsmtp/files/patch-configure --- nbsmtp.orig/files/patch-configure Wed Dec 31 21:00:00 1969 +++ nbsmtp/files/patch-configure Tue Jul 12 11:55:09 2005 @@ -0,0 +1,31 @@ +--- configure.orig Mon May 2 20:19:27 2005 ++++ configure Tue Jul 12 11:47:51 2005 +@@ -4583,7 +4583,7 @@ + echo $ECHO_N "(cached) $ECHO_C" >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-lcrypto $LIBS" ++LIBS="-lcrypto -lssl $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -4640,7 +4640,7 @@ + #define HAVE_LIBCRYPTO 1 + _ACEOF + +- LIBS="-lcrypto $LIBS" ++ LIBS="-lcrypto -lssl $LIBS" + + fi + +@@ -4948,8 +4948,8 @@ + #define HAVE_DEBUG 1 + _ACEOF + +- CFLAGS=${CFLAGS/-O?/-ggdb -O0} +- CFLAGS=${CFLAGS/-fomit-frame-pointer/} ++ CFLAGS=`echo $CFLAGS | sed "s/-O[0-9]/-ggdb -O0/"` ++ CFLAGS=`echo $CFLAGS | sed "s/-fomit-frame-pointer//"` + fi + enableval="" + --- nbsmtp.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050712152008.79A0E55AD>