Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2013 12:16:54 +0800 (CST)
From:      Po-Chien Lin <linpc@cs.nctu.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        beat@FreeBSD.org
Subject:   ports/175190: [PATCH] sysutils/multitail: update to 5.2.11
Message-ID:  <20130111041654.795C14AF90@dev.linpc.org>
Resent-Message-ID: <201301110420.r0B4K2FY084829@freefall.freebsd.org>

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

>Number:         175190
>Category:       ports
>Synopsis:       [PATCH] sysutils/multitail: update to 5.2.11
>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:   Fri Jan 11 04:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Po-Chien Lin
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD dev.linpc.org 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Sat Jan  5 22:32:49 CST
>Description:
- Update to 5.2.11
- Add fossies.org to MASTER_SITES
- Move LICENSE section to make portlint(1) happier
- Add patch to replace deprecated header file (sys/termios.h)
- Switch to OptionsNG & new Makefile header form

>How-To-Repeat:
>Fix:

--- multitail-5.2.11.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/multitail/Makefile ./Makefile
--- /usr/ports/sysutils/multitail/Makefile	2013-01-05 19:56:31.149640333 +0800
+++ ./Makefile	2013-01-11 11:53:19.703707259 +0800
@@ -1,37 +1,38 @@
-# New ports collection makefile for:	multitail
-# Date created:				10 April 2003
-# Whom:					Oliver Braun <obraun@FreeBSD.org>
-#
+# Created by: Oliver Braun <obraun@FreeBSD.org>
 # $FreeBSD: head/sysutils/multitail/Makefile 300897 2012-07-14 14:29:18Z beat $
-#
 
 PORTNAME=	multitail
-PORTVERSION=	5.2.9
+PORTVERSION=	5.2.11
 CATEGORIES=	sysutils
-MASTER_SITES=	http://www.vanheusden.com/multitail/
+MASTER_SITES=	http://www.vanheusden.com/multitail/ \
+		http://fossies.org/unix/privat/
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	beat@FreeBSD.org
 COMMENT=	Tail multiple files on console with ncurses
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/license.txt
+
 USE_GMAKE=	yes
 
 MAN1=		multitail.1
 PLIST_FILES=	bin/multitail etc/multitail.conf.sample
 PORTDOCS=	readme.txt license.txt
 
-LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/license.txt
+.include <bsd.port.options.mk>
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,/etc/multitail.conf,${PREFIX}/etc/multitail.conf,' \
 		${WRKSRC}/mt.c  ${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's,^#include <sys/termios.h>,#include <termios.h>,' \
+		${WRKSRC}/mt.c  ${WRKSRC}/my_pty.c ${WRKSRC}/term.c
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/multitail ${PREFIX}/bin/
 	${INSTALL_MAN} ${WRKSRC}/multitail.1 ${MANPREFIX}/man/man1
 	${INSTALL_DATA} ${WRKSRC}/multitail.conf ${PREFIX}/etc/multitail.conf.sample
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}
diff -ruN --exclude=CVS /usr/ports/sysutils/multitail/distinfo ./distinfo
--- /usr/ports/sysutils/multitail/distinfo	2013-01-05 19:56:31.128836212 +0800
+++ ./distinfo	2013-01-11 11:42:18.683656410 +0800
@@ -1,2 +1,2 @@
-SHA256 (multitail-5.2.9.tgz) = b90c65e061d4fe5a8c36dd478d3e618eba42ae4abb5570dde063e9d66e9397f3
-SIZE (multitail-5.2.9.tgz) = 165013
+SHA256 (multitail-5.2.11.tgz) = 2f0fe12b974adb82b24c8fde98b8ed582535c758493ac8200c1a46449359c2e5
+SIZE (multitail-5.2.11.tgz) = 163769
--- multitail-5.2.11.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?20130111041654.795C14AF90>