pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/dmesg2gif Add a manpage for dmesg2gif. Bump v...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8bebd6052455
branches: trunk
changeset: 463237:8bebd6052455
user: cube <cube%pkgsrc.org@localhost>
date: Sun Nov 02 19:58:00 2003 +0000
description:
Add a manpage for dmesg2gif. Bump version.
Redo Grant's changes (USE_PERL5=run, s/graph/image).
No need for USE_PKGINSTALL.
Align variables values.
diffstat:
sysutils/dmesg2gif/Makefile | 19 +++++++++----------
sysutils/dmesg2gif/PLIST | 3 ++-
sysutils/dmesg2gif/files/dmesg2gif.1 | 35 +++++++++++++++++++++++++++++++++++
3 files changed, 46 insertions(+), 11 deletions(-)
diffs (86 lines):
diff -r ea79ffa23e56 -r 8bebd6052455 sysutils/dmesg2gif/Makefile
--- a/sysutils/dmesg2gif/Makefile Sun Nov 02 19:57:51 2003 +0000
+++ b/sysutils/dmesg2gif/Makefile Sun Nov 02 19:58:00 2003 +0000
@@ -1,26 +1,25 @@
-# $NetBSD: Makefile,v 1.6 2003/10/23 12:33:58 agc Exp $
+# $NetBSD: Makefile,v 1.7 2003/11/02 19:58:00 cube Exp $
#
-DISTNAME= dmesg2gif-1.1
+DISTNAME= dmesg2gif-1.2
WRKSRC= ${WRKDIR}
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= hubertf%NetBSD.org@localhost
-COMMENT= Output dmesg(8) device tree as GIF graph
-
-USE_PKGINSTALL= YES
+COMMENT= Output dmesg(8) device tree as GIF image
DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz
-USE_PERL5= yes
-EXTRACT_ONLY= # empty
-NO_CHECKSUM= yes
-NO_CONFIGURE= yes
-NO_BUILD= yes
+EXTRACT_ONLY= # empty
+NO_BUILD= yes
+NO_CHECKSUM= yes
+NO_CONFIGURE= yes
+USE_PERL5= run
do-install:
${INSTALL_SCRIPT} ${FILESDIR}/dmesg2gif ${PREFIX}/bin/dmesg2gif
+ ${INSTALL_MAN} ${FILESDIR}/dmesg2gif.1 ${PREFIX}/man/man1/dmesg2gif.1
.include "../../mk/bsd.pkg.mk"
diff -r ea79ffa23e56 -r 8bebd6052455 sysutils/dmesg2gif/PLIST
--- a/sysutils/dmesg2gif/PLIST Sun Nov 02 19:57:51 2003 +0000
+++ b/sysutils/dmesg2gif/PLIST Sun Nov 02 19:58:00 2003 +0000
@@ -1,2 +1,3 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/10/20 00:31:29 hubertf Exp $
+@comment $NetBSD: PLIST,v 1.2 2003/11/02 19:58:00 cube Exp $
bin/dmesg2gif
+man/man1/dmesg2gif.1
diff -r ea79ffa23e56 -r 8bebd6052455 sysutils/dmesg2gif/files/dmesg2gif.1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dmesg2gif/files/dmesg2gif.1 Sun Nov 02 19:58:00 2003 +0000
@@ -0,0 +1,35 @@
+.\" $NetBSD: dmesg2gif.1,v 1.1 2003/11/02 19:58:00 cube Exp $
+.\"
+.Dd November 2, 2003
+.Dt DMESG2GIF 1
+.Os
+.Sh NAME
+.Nm dmesg2gif
+.Nd output
+.Xr dmesg 8
+device tree as GIF image
+.Sh SYNOPSYS
+.Nm
+< /var/run/dmesg.boot | xv -
+.Sh DESCRIPTION
+.Nm
+takes in input the kernel configuration messages that
+are printed during boot.
+Then it computes the device tree and passes it to
+.Xr dot 1
+to produce a GIF image of that tree.
+You can either save the output into a file or pass it to
+an image viewer, such as
+.Xr xv 1 .
+.Sh FILES
+.Bl -tag -width /var/run/dmesg.boot
+.It Pa /var/run/dmesg.boot
+The output of
+.Xr dmesg 8
+is saved in that file quickly after the boot since kernel
+messages that follow may overwrite initial output.
+.El
+.Sh SEE ALSO
+.Xr dmesg 1 ,
+.Xr dot 1 ,
+.Xr xv 1
Home |
Main Index |
Thread Index |
Old Index