Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2005 12:28:37 +0300
From:      Vasil Dimov <vd@datamax.bg>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/86886: Update port: mail/lmtp2nntp to 1.4.0
Message-ID:  <20051004092837.GA51870@sinanica.bg.datamax>
Resent-Message-ID: <200510040930.j949UEuF046460@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         86886
>Category:       ports
>Synopsis:       Update port: mail/lmtp2nntp to 1.4.0
>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 Oct 04 09:30:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vasil Dimov
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
DataMax
>Environment:

>Description:

Update mail/lmtp2nntp from 1.3.0 to 1.4.0:
* take maintainership
* change HAS_CONFIGURE with GNU_CONFIGURE, it is actually
  GNU Configure that we have
* optionally install some useful files in share/doc
* add wrap-target to package's internal `check' target
* files/patch-l2_ut_format.c is not needed anymore

>How-To-Repeat:

>Fix:

--- lmtp2nntp_1.3.0-1.4.0.diff begins here ---
diff -urN --exclude=CVS --exclude=work --exclude=README.html /usr/ports/mail/lmtp2nntp/Makefile lmtp2nntp/Makefile
--- /usr/ports/mail/lmtp2nntp/Makefile	Thu Apr 14 02:21:07 2005
+++ lmtp2nntp/Makefile	Tue Oct  4 09:46:20 2005
@@ -6,12 +6,12 @@
 #
 
 PORTNAME=	lmtp2nntp
-PORTVERSION=	1.3.0
+PORTVERSION=	1.4.0
 CATEGORIES=	mail news
 MASTER_SITES=	${MASTER_SITE_OSSP}
 MASTER_SITE_SUBDIR=	tool/${PORTNAME}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	vd@datamax.bg
 COMMENT=	OSSP mail to news gateway
 
 LIB_DEPENDS=	str.9:${PORTSDIR}/devel/str \
@@ -19,11 +19,28 @@
 		sa.12:${PORTSDIR}/net/ossp-sa \
 		var.11:${PORTSDIR}/devel/ossp-var
 
+GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS=	--with-ex=${LOCALBASE} --with-str=${LOCALBASE} \
+		--with-sa=${LOCALBASE} --with-var=${LOCALBASE}
+
 MAN8=		lmtp2nntp.8
 PLIST_FILES=	sbin/lmtp2nntp
-HAS_CONFIGURE=	yes
-CONFIGURE_ARGS=	--with-ex="${LOCALBASE}" --with-str="${LOCALBASE}" \
-		--with-sa="${LOCALBASE}" --with-var="${LOCALBASE}"
+
+.if !defined(NOPORTDOCS)
+PORTDOCS=	INSTALL README
+.endif
+
+check: build
+	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
+
+post-install:
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+.for doc in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}/
+.endfor
+.endif
 
 .include <bsd.port.pre.mk>
 
diff -urN --exclude=CVS --exclude=work --exclude=README.html /usr/ports/mail/lmtp2nntp/distinfo lmtp2nntp/distinfo
--- /usr/ports/mail/lmtp2nntp/distinfo	Thu Apr 14 02:21:07 2005
+++ lmtp2nntp/distinfo	Tue Oct  4 08:24:39 2005
@@ -1,2 +1,2 @@
-MD5 (lmtp2nntp-1.3.0.tar.gz) = ae79014d8c6129153206de2bcf871c76
-SIZE (lmtp2nntp-1.3.0.tar.gz) = 3458398
+MD5 (lmtp2nntp-1.4.0.tar.gz) = 7d7b8db96219e790759d7a1b96c6a8c5
+SIZE (lmtp2nntp-1.4.0.tar.gz) = 3542820
diff -urN --exclude=CVS --exclude=work --exclude=README.html /usr/ports/mail/lmtp2nntp/files/patch-l2_ut_format.c lmtp2nntp/files/patch-l2_ut_format.c
--- /usr/ports/mail/lmtp2nntp/files/patch-l2_ut_format.c	Tue Apr 13 22:06:16 2004
+++ lmtp2nntp/files/patch-l2_ut_format.c	Thu Jan  1 02:00:00 1970
@@ -1,15 +0,0 @@
---- l2_ut_format.c.orig	Tue Apr 13 19:04:15 2004
-+++ lib_l2/l2_ut_format.c	Tue Apr 13 19:05:59 2004
-@@ -1131,8 +1131,11 @@
-     va_list apbak;
-     char *s;
-     int rv;
--
-+#ifdef __amd64__
-+    va_copy(apbak,ap);
-+#else
-     apbak = ap;
-+#endif
-     if ((rv = l2_util_vsprintf(NULL, -1, fmt, ap)) == -1)
-         return NULL;
-     if ((s = malloc(rv+1)) == NULL)
--- lmtp2nntp_1.3.0-1.4.0.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051004092837.GA51870>