From owner-freebsd-ports Wed Nov 19 13:10:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA27539 for ports-outgoing; Wed, 19 Nov 1997 13:10:06 -0800 (PST) (envelope-from owner-freebsd-ports) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA27521; Wed, 19 Nov 1997 13:10:01 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 19 Nov 1997 13:10:01 -0800 (PST) Resent-Message-Id: <199711192110.NAA27521@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-ports Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, handy@sag.space.lockheed.com Received: from lambic.space.lockheed.com (lambic.space.lockheed.com [192.68.162.69]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA27454 for ; Wed, 19 Nov 1997 13:09:11 -0800 (PST) (envelope-from handy@lambic.space.lockheed.com) Received: (from handy@localhost) by lambic.space.lockheed.com (8.8.7/8.8.6) id NAA03023; Wed, 19 Nov 1997 13:08:57 -0800 (PST) Message-Id: <199711192108.NAA03023@lambic.space.lockheed.com> Date: Wed, 19 Nov 1997 13:08:57 -0800 (PST) From: handy@lambic.space.lockheed.com Reply-To: handy@sag.space.lockheed.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/5096: New port: xosview-1.5.0 Sender: owner-freebsd-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >Number: 5096 >Category: ports >Synopsis: New port: xosview-1.5.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 19 13:10:01 PST 1997 >Last-Modified: >Originator: Brian Handy >Organization: Montana State University - Bozeman >Release: FreeBSD 2.2-STABLE i386 >Environment: >Description: XOsview is a graphical performance meter with stuff like system load, CPU, memory, SWAP, etc in nice bar graphs. I've seen something like this on SGIs (GRview maybe?). This is a beta version, some of the meters don't yet exist. Someone who understands how to get statistics out of the FreeBSD kernel could help round this out to be a really cool little utility. As it stands, it works just fine though. (Web page mentioned in the DESCR.) >How-To-Repeat: >Fix: #!/bin/sh # This is a shell archive (produced by GNU sharutils 4.2). # To extract the files from this archive, save it to some FILE, remove # everything before the `!/bin/sh' line above, then type `sh FILE'. # # Made on 1997-11-19 13:07 PST by . # Source directory was `/usr/home/handy/work'. # # Existing files will *not* be overwritten unless `-c' is specified. # # This shar contains: # length mode name # ------ ---------- ------------------------------------------ # 62 -rw-r--r-- xosview/files/md5 # 30 -rw-r--r-- xosview/pkg/COMMENT # 720 -rw-r--r-- xosview/pkg/DESCR # 63 -rw-r--r-- xosview/pkg/PLIST # 429 -rw-r--r-- xosview/Makefile # save_IFS="${IFS}" IFS="${IFS}:" gettext_dir=FAILED locale_dir=FAILED first_param="$1" for dir in $PATH do if test "$gettext_dir" = FAILED && test -f $dir/gettext \ && ($dir/gettext --version >/dev/null 2>&1) then set `$dir/gettext --version 2>&1` if test "$3" = GNU then gettext_dir=$dir fi fi if test "$locale_dir" = FAILED && test -f $dir/shar \ && ($dir/shar --print-text-domain-dir >/dev/null 2>&1) then locale_dir=`$dir/shar --print-text-domain-dir` fi done IFS="$save_IFS" if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED then echo=echo else TEXTDOMAINDIR=$locale_dir export TEXTDOMAINDIR TEXTDOMAIN=sharutils export TEXTDOMAIN echo="$gettext_dir/gettext -s" fi touch -am 1231235999 $$.touch >/dev/null 2>&1 if test ! -f 1231235999 && test -f $$.touch; then shar_touch=touch else shar_touch=: echo $echo 'WARNING: not restoring timestamps. Consider getting and' $echo "installing GNU \`touch', distributed in GNU File Utilities..." echo fi rm -f 1231235999 $$.touch # if mkdir _sh02849; then $echo 'x -' 'creating lock directory' else $echo 'failed to create lock directory' exit 1 fi # ============= xosview/files/md5 ============== if test ! -d 'xosview'; then $echo 'x -' 'creating directory' 'xosview' mkdir 'xosview' fi if test ! -d 'xosview/files'; then $echo 'x -' 'creating directory' 'xosview/files' mkdir 'xosview/files' fi if test -f 'xosview/files/md5' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'xosview/files/md5' '(file already exists)' else $echo 'x -' extracting 'xosview/files/md5' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'xosview/files/md5' && MD5 (xosview-1.5.0.tar.gz) = aef4d02637e87d3578e6c019fd3d9ce3 SHAR_EOF $shar_touch -am 1119114497 'xosview/files/md5' && chmod 0644 'xosview/files/md5' || $echo 'restore of' 'xosview/files/md5' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'xosview/files/md5:' 'MD5 check failed' 369b8f00ed1335bd59b29ee6f8c8a962 xosview/files/md5 SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'xosview/files/md5'`" test 62 -eq "$shar_count" || $echo 'xosview/files/md5:' 'original size' '62,' 'current size' "$shar_count!" fi fi # ============= xosview/pkg/COMMENT ============== if test ! -d 'xosview/pkg'; then $echo 'x -' 'creating directory' 'xosview/pkg' mkdir 'xosview/pkg' fi if test -f 'xosview/pkg/COMMENT' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'xosview/pkg/COMMENT' '(file already exists)' else $echo 'x -' extracting 'xosview/pkg/COMMENT' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'xosview/pkg/COMMENT' && A graphical performance meter SHAR_EOF $shar_touch -am 1119124197 'xosview/pkg/COMMENT' && chmod 0644 'xosview/pkg/COMMENT' || $echo 'restore of' 'xosview/pkg/COMMENT' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'xosview/pkg/COMMENT:' 'MD5 check failed' 9f42eac9645dfafece651da08e0581c4 xosview/pkg/COMMENT SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'xosview/pkg/COMMENT'`" test 30 -eq "$shar_count" || $echo 'xosview/pkg/COMMENT:' 'original size' '30,' 'current size' "$shar_count!" fi fi # ============= xosview/pkg/DESCR ============== if test -f 'xosview/pkg/DESCR' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'xosview/pkg/DESCR' '(file already exists)' else $echo 'x -' extracting 'xosview/pkg/DESCR' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'xosview/pkg/DESCR' && XXOsview is an application originally developed by Mike Romberg for Linux. It can be summarized as a graphical performance meter, and it looks similar in appearance to the zoomy performance meters to be found on various other platforms. X The FreeBSD version works but doesn't yet have full functionality. At the time of this writing, the meters that work are the Load meter, the CPU meter and the memmeter. The other nonfunctional meters are not displayed. Someone who understands how to grab statistics out of the kernel needs to volunteer to help make this a fully functional port! X Visit the home page: X http://lore.ece.utexas.edu/~bgrayson/xosview.html X -- Brian Handy --> handy@physics.montana.edu SHAR_EOF $shar_touch -am 1119124897 'xosview/pkg/DESCR' && chmod 0644 'xosview/pkg/DESCR' || $echo 'restore of' 'xosview/pkg/DESCR' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'xosview/pkg/DESCR:' 'MD5 check failed' 25c2718a8056fdfaa0ae5d4e61b18d54 xosview/pkg/DESCR SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'xosview/pkg/DESCR'`" test 720 -eq "$shar_count" || $echo 'xosview/pkg/DESCR:' 'original size' '720,' 'current size' "$shar_count!" fi fi # ============= xosview/pkg/PLIST ============== if test -f 'xosview/pkg/PLIST' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'xosview/pkg/PLIST' '(file already exists)' else $echo 'x -' extracting 'xosview/pkg/PLIST' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'xosview/pkg/PLIST' && bin/xosview man/man1/xosview.1.gz lib/X11/app-defaults/XOsview SHAR_EOF $shar_touch -am 1119124197 'xosview/pkg/PLIST' && chmod 0644 'xosview/pkg/PLIST' || $echo 'restore of' 'xosview/pkg/PLIST' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'xosview/pkg/PLIST:' 'MD5 check failed' 022f2c19c91a6de28365352ad96ce8ef xosview/pkg/PLIST SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'xosview/pkg/PLIST'`" test 63 -eq "$shar_count" || $echo 'xosview/pkg/PLIST:' 'original size' '63,' 'current size' "$shar_count!" fi fi # ============= xosview/Makefile ============== if test -f 'xosview/Makefile' && test "$first_param" != -c; then $echo 'x -' SKIPPING 'xosview/Makefile' '(file already exists)' else $echo 'x -' extracting 'xosview/Makefile' '(text)' sed 's/^X//' << 'SHAR_EOF' > 'xosview/Makefile' && # New ports collection makefile for: dclock # Version required: 1.5.0 # Date created: 19 Nov 1997 # Whom: Brian Handy # # $Id$ # X DISTNAME= xosview-1.5.0 CATEGORIES= sysutils x11 MASTER_SITES= http://lore.ece.utexas.edu/~bgrayson/xosview/ \ X http://lambic.space.lockheed.com/xosview/ X MAINTAINER= handy@physics.montana.edu X USE_X11= yes HAS_CONFIGURE= yes MAN1= xosview.1 X X.include SHAR_EOF $shar_touch -am 1119125397 'xosview/Makefile' && chmod 0644 'xosview/Makefile' || $echo 'restore of' 'xosview/Makefile' 'failed' if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \ && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then md5sum -c << SHAR_EOF >/dev/null 2>&1 \ || $echo 'xosview/Makefile:' 'MD5 check failed' bdd5b3e64d79966da5df8ac4827f3200 xosview/Makefile SHAR_EOF else shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'xosview/Makefile'`" test 429 -eq "$shar_count" || $echo 'xosview/Makefile:' 'original size' '429,' 'current size' "$shar_count!" fi fi rm -fr _sh02849 exit 0 >Audit-Trail: >Unformatted: