ports/184261: [PATCH] sysutils/ttyload: update to 0.5.3, take maintainership
Hung-Yi Chen
gaod at hychen.org
Sun Nov 24 22:50:01 UTC 2013
>Number: 184261
>Category: ports
>Synopsis: [PATCH] sysutils/ttyload: update to 0.5.3, take maintainership
>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: Sun Nov 24 22:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Hung-Yi Chen
>Release: FreeBSD 9.1-RELEASE-p6 amd64
>Organization:
>Environment:
System: FreeBSD cse.tw 9.1-RELEASE-p6 FreeBSD 9.1-RELEASE-p6 #0: Wed Aug 21 20:40:52 UTC 2013
>Description:
- Update to 0.5.3
- Take maintainership
- Add manual
- Add stage support of ports
- Minor changes of Makefile
Port maintainer (dhn at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99_8 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:
--- ttyload-0.5.3.patch begins here ---
diff -ruN /usr/ports/sysutils/ttyload/Makefile ./Makefile
--- /usr/ports/sysutils/ttyload/Makefile 2013-09-21 07:05:58.000000000 +0800
+++ ./Makefile 2013-11-25 06:39:12.325949287 +0800
@@ -1,34 +1,30 @@
# Created by: ijliao
-# $FreeBSD: sysutils/ttyload/Makefile 327772 2013-09-20 23:05:58Z bapt $
+# $FreeBSD: head/sysutils/ttyload/Makefile 327772 2013-09-20 23:05:58Z bapt $
PORTNAME= ttyload
-PORTVERSION= 0.5.2
-PORTREVISION= 1
+PORTVERSION= 0.5.3
CATEGORIES= sysutils
MASTER_SITES= http://www.daveltd.com/src/util/ttyload/ \
http://mirror.mcx2.org/
-MAINTAINER= dhn at FreeBSD.org
+MAINTAINER= gaod at hychen.org
COMMENT= Give a color-coded graph of load averages over time
ALL_TARGET= default
USE_BZIP2= yes
PLIST_FILES= bin/ttyload
-PORTDOCS= *
-SUB_FILES= pkg-message
+MAN1= ttyload.1
-NO_STAGE= yes
-post-install:
-.if !defined(NOPORTDOCS)
- @${ECHO_MSG} "Installing additional documentation to ${DOCSDIR}"
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
- ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}/LICENSE
-.endif
+.include <bsd.port.pre.mk>
- @${ECHO_MSG} ""
- @${CAT} ${PKGMESSAGE}
- @${ECHO_MSG} ""
+do-install:
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/README
+ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}/LICENSE
+.endif
+ ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${STAGEDIR}${MANPREFIX}/man/man1/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN /usr/ports/sysutils/ttyload/distinfo ./distinfo
--- /usr/ports/sysutils/ttyload/distinfo 2012-07-14 22:29:18.000000000 +0800
+++ ./distinfo 2013-11-24 00:48:22.742532666 +0800
@@ -1,2 +1,2 @@
-SHA256 (ttyload-0.5.2.tar.bz2) = 4783f6f44a59e554b0f31ab7940b9112123e8eef71b85d2cbad5d4275ba8dd44
-SIZE (ttyload-0.5.2.tar.bz2) = 14649
+SHA256 (ttyload-0.5.3.tar.bz2) = 7d3147b22530e6de865279aaad8b9e0348575379413ed1a2d410257baf92d783
+SIZE (ttyload-0.5.3.tar.bz2) = 15039
diff -ruN /usr/ports/sysutils/ttyload/files/patch-ttyload.h ./files/patch-ttyload.h
--- /usr/ports/sysutils/ttyload/files/patch-ttyload.h 1970-01-01 08:00:00.000000000 +0800
+++ ./files/patch-ttyload.h 2013-11-24 00:51:43.000000000 +0800
@@ -0,0 +1,11 @@
+--- ttyload.h.orig 2013-11-24 00:51:20.729533285 +0800
++++ ttyload.h 2013-11-24 00:51:29.900534853 +0800
+@@ -8,6 +8,8 @@
+ *
+ */
+
++#include <time.h>
++
+ #define MIN(a,b) (((a)<(b))?(a):(b))
+ #define MAX(a,b) (((a)>(b))?(a):(b))
+
--- ttyload-0.5.3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list