diff options
author | cube <cube@pkgsrc.org> | 2003-11-02 19:58:00 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2003-11-02 19:58:00 +0000 |
commit | a455ff40d14bac828cae8bc84a85f18192346ec3 (patch) | |
tree | 3d2366fed8ef8d023ba91109497633465db9f970 /sysutils | |
parent | 979d04736ec7a77d36cc223457f07f382bd634de (diff) | |
download | pkgsrc-a455ff40d14bac828cae8bc84a85f18192346ec3.tar.gz |
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 (limited to 'sysutils')
-rw-r--r-- | sysutils/dmesg2gif/Makefile | 19 | ||||
-rw-r--r-- | sysutils/dmesg2gif/PLIST | 3 | ||||
-rw-r--r-- | sysutils/dmesg2gif/files/dmesg2gif.1 | 35 |
3 files changed, 46 insertions, 11 deletions
diff --git a/sysutils/dmesg2gif/Makefile b/sysutils/dmesg2gif/Makefile index 3f9c602fcd4..e1bdab5ca3a 100644 --- a/sysutils/dmesg2gif/Makefile +++ b/sysutils/dmesg2gif/Makefile @@ -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 -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 --git a/sysutils/dmesg2gif/PLIST b/sysutils/dmesg2gif/PLIST index db8c9e80d8e..7a7a0c12487 100644 --- a/sysutils/dmesg2gif/PLIST +++ b/sysutils/dmesg2gif/PLIST @@ -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 --git a/sysutils/dmesg2gif/files/dmesg2gif.1 b/sysutils/dmesg2gif/files/dmesg2gif.1 new file mode 100644 index 00000000000..693d327ba73 --- /dev/null +++ b/sysutils/dmesg2gif/files/dmesg2gif.1 @@ -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 |