summaryrefslogtreecommitdiff
path: root/sysutils/toshutils
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-12-20 03:05:14 +0000
committerhubertf <hubertf@pkgsrc.org>1999-12-20 03:05:14 +0000
commitb4c3fd23b91111288ff655f20b800c7d2a813046 (patch)
tree51c1997211dd264420553d36661b1bdd61aabcf4 /sysutils/toshutils
parent0fe4271bbfef288fb3cb34b34d3d19150893cb9e (diff)
downloadpkgsrc-b4c3fd23b91111288ff655f20b800c7d2a813046.tar.gz
The Toshiba Linux utilities are specific to Toshiba laptops, and
will not run on laptops from other manufactures. Tools are included to turn the fan on/off, etc. *** Right now I consider this pkg to be in beta state. Any feedback, *** patches preferred! :-)
Diffstat (limited to 'sysutils/toshutils')
-rw-r--r--sysutils/toshutils/Makefile21
-rw-r--r--sysutils/toshutils/files/md53
-rw-r--r--sysutils/toshutils/files/patch-sum15
-rw-r--r--sysutils/toshutils/patches/patch-aa22
-rw-r--r--sysutils/toshutils/patches/patch-ab22
-rw-r--r--sysutils/toshutils/patches/patch-ac19
-rw-r--r--sysutils/toshutils/patches/patch-ad53
-rw-r--r--sysutils/toshutils/patches/patch-ae29
-rw-r--r--sysutils/toshutils/patches/patch-af16
-rw-r--r--sysutils/toshutils/patches/patch-ag37
-rw-r--r--sysutils/toshutils/patches/patch-ah34
-rw-r--r--sysutils/toshutils/patches/patch-ai37
-rw-r--r--sysutils/toshutils/patches/patch-aj51
-rw-r--r--sysutils/toshutils/patches/patch-ak37
-rw-r--r--sysutils/toshutils/patches/patch-al35
-rw-r--r--sysutils/toshutils/patches/patch-am22
-rw-r--r--sysutils/toshutils/pkg/COMMENT1
-rw-r--r--sysutils/toshutils/pkg/DESCR3
-rw-r--r--sysutils/toshutils/pkg/PLIST30
19 files changed, 487 insertions, 0 deletions
diff --git a/sysutils/toshutils/Makefile b/sysutils/toshutils/Makefile
new file mode 100644
index 00000000000..ae4945eb712
--- /dev/null
+++ b/sysutils/toshutils/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/12/20 03:05:14 hubertf Exp $
+#
+
+DISTNAME= toshutils-991217
+CATEGORIES= sysutils
+MASTER_SITES= http://www.ne426pd.in2home.co.uk/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www.buzzard.org.uk/toshiba/
+
+DEPENDS+= gtk+-1.2.*:../../x11/gtk
+
+GNU_CONFIGURE= YES
+
+post-install:
+ ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/toshutils
+.for f in ac.gif battery.gif hand.gif display.html machine.html modules.html size.html space.html style.html tuxtime.html whatis.html hci.tex sci.tex toshiba.tex
+ ${INSTALL_MAN} ${WRKSRC}/doc/${f} ${PREFIX}/share/doc/toshutils
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/toshutils/files/md5 b/sysutils/toshutils/files/md5
new file mode 100644
index 00000000000..f152b5883e6
--- /dev/null
+++ b/sysutils/toshutils/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/12/20 03:05:15 hubertf Exp $
+
+MD5 (toshutils-991217.tar.gz) = 4bce55ab6515ca31a7df95c842af7a9b
diff --git a/sysutils/toshutils/files/patch-sum b/sysutils/toshutils/files/patch-sum
new file mode 100644
index 00000000000..9600c58be5f
--- /dev/null
+++ b/sysutils/toshutils/files/patch-sum
@@ -0,0 +1,15 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/12/20 03:05:15 hubertf Exp $
+
+MD5 (patch-aa) = b9805776d2a360c1eff564efe8ec0b6b
+MD5 (patch-ab) = 87b68c6bacee2ea1a134b1cdf34d7246
+MD5 (patch-ac) = 2d7e09965d1c588993a159cbb1ff6bd4
+MD5 (patch-ad) = aff193934f79e9ac0862d18f9235bcab
+MD5 (patch-ae) = c7f7a611ce5f874caa85486dbaa430fc
+MD5 (patch-af) = 830777c4d3eb98c6c355894814a51ffa
+MD5 (patch-ag) = 2d7931b8724e2cf7ad269b759bf25855
+MD5 (patch-ah) = a3246f6f5ae6f6c591c1ed97779597c7
+MD5 (patch-ai) = 197844d744f79e2654af13d0709c40c3
+MD5 (patch-aj) = b38d9376ea57fcb7f256fc27dc9b796d
+MD5 (patch-ak) = b1f0b6a2df488176e6842c0cfd9b4b7b
+MD5 (patch-al) = 9ac889605698ef6b6e64339fd278e8bd
+MD5 (patch-am) = e8507b2f0493226093d3cd6f9690e26d
diff --git a/sysutils/toshutils/patches/patch-aa b/sysutils/toshutils/patches/patch-aa
new file mode 100644
index 00000000000..33c8395276f
--- /dev/null
+++ b/sysutils/toshutils/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/12/20 03:05:16 hubertf Exp $
+
+--- configure.in.orig Fri Dec 17 14:07:03 1999
++++ configure.in Mon Dec 20 01:09:15 1999
+@@ -4,7 +4,7 @@
+ AC_REVISION([configure.in 1.1])
+ AC_INIT(src/sci.c)
+
+-PROGRAMS="fan svpw tpasswd alarm dispswitch tdocked thotswap"
++PROGRAMS="fan alarm dispswitch tdocked thotswap"
+
+ VERSION=1.2
+
+@@ -23,6 +23,8 @@
+
+ AC_CANONICAL_HOST
+ case "$host_os" in
++ netbsd*)
++ ;;
+ linux*)
+ OS_CFLAGS='-DLINUX'
+ ;;
diff --git a/sysutils/toshutils/patches/patch-ab b/sysutils/toshutils/patches/patch-ab
new file mode 100644
index 00000000000..3154e18f8a8
--- /dev/null
+++ b/sysutils/toshutils/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/12/20 03:05:16 hubertf Exp $
+
+--- configure.orig Fri Dec 17 14:07:03 1999
++++ configure Mon Dec 20 01:09:21 1999
+@@ -526,7 +526,7 @@
+
+
+
+-PROGRAMS="fan svpw tpasswd alarm dispswitch tdocked thotswap"
++PROGRAMS="fan alarm dispswitch tdocked thotswap"
+
+ VERSION=1.2
+
+@@ -592,6 +592,8 @@
+ echo "$ac_t""$host" 1>&6
+
+ case "$host_os" in
++ netbsd)
++ ;;
+ linux*)
+ OS_CFLAGS='-DLINUX'
+ ;;
diff --git a/sysutils/toshutils/patches/patch-ac b/sysutils/toshutils/patches/patch-ac
new file mode 100644
index 00000000000..f82e9e5c167
--- /dev/null
+++ b/sysutils/toshutils/patches/patch-ac
@@ -0,0 +1,19 @@
+$NetBSD: patch-ac,v 1.1.1.1 1999/12/20 03:05:16 hubertf Exp $
+
+--- src/fan.c.orig Fri Dec 17 14:07:03 1999
++++ src/fan.c Mon Dec 20 03:33:31 1999
+@@ -75,7 +75,14 @@
+ #include<signal.h>
+ #include<paths.h>
+ #include<pwd.h>
++#ifdef __NetBSD__
++#include <sys/types.h>
++#include <machine/sysarch.h>
++#define iopl i386_iopl
++#endif
++#ifdef __Linux__
+ #include<features.h>
++#endif
+ #include<sys/stat.h>
+ #ifdef __GLIBC__
+ #include<sys/perm.h>
diff --git a/sysutils/toshutils/patches/patch-ad b/sysutils/toshutils/patches/patch-ad
new file mode 100644
index 00000000000..5dc7ecb7784
--- /dev/null
+++ b/sysutils/toshutils/patches/patch-ad
@@ -0,0 +1,53 @@
+$NetBSD: patch-ad,v 1.1.1.1 1999/12/20 03:05:16 hubertf Exp $
+
+--- src/Makefile.in.orig Fri Dec 17 14:07:03 1999
++++ src/Makefile.in Mon Dec 20 03:38:38 1999
+@@ -88,37 +88,37 @@
+ $(CC) -m486 -Wall -c sci.c
+
+ fan: $(FANOBJS)
+- $(CC) $(LDFLAGS) -o $@ $(FANOBJS)
++ $(CC) $(LDFLAGS) -o $@ $(FANOBJS) -li386
+
+ svpw: $(SVPWOBJS)
+- $(CC) $(LDFLAGS) -o $@ $(SVPWOBJS)
++ $(CC) $(LDFLAGS) -o $@ $(SVPWOBJS) -li386
+
+ hotkey: $(HOTOBJS)
+- $(CC) $(LDFLAGS) -o $@ $(HOTOBJS) $(XLIBS)
++ $(CC) $(LDFLAGS) -o $@ $(HOTOBJS) $(XLIBS) -li386
+
+ dispswitch: $(DISPOBJS)
+- $(CC) $(LDFLAGS) -o $@ $(DISPOBJS) $(GTKLIBS)
++ $(CC) $(LDFLAGS) -o $@ $(DISPOBJS) $(GTKLIBS) -li386
+
+ tpasswd: $(PASSOBJS)
+- $(CC) $(LDFLAGS) -o $@ $(PASSOBJS)
++ $(CC) $(LDFLAGS) -o $@ $(PASSOBJS) -li386
+
+ alarm: $(ALARMOBJS)
+- $(CC) $(LDFLAGS) -o $@ $(ALARMOBJS) $(LEXLIB)
++ $(CC) $(LDFLAGS) -o $@ $(ALARMOBJS) $(LEXLIB) -li386
+
+ ownerstring: $(OWNEROBJS)
+- $(CC) $(LDFLAGS) -o $@ ($OWNEROBJS) $(READLIBS)
++ $(CC) $(LDFLAGS) -o $@ ($OWNEROBJS) $(READLIBS) -li386
+
+ tdocked: $(DOCKOBJS)
+- $(CC) $(LDFLAGS) -o $@ $(DOCKOBJS)
++ $(CC) $(LDFLAGS) -o $@ $(DOCKOBJS) -li386
+
+ thotswap: $(SWAPOBJS)
+- $(CC) $(LDFLAGS) -o $@ $(SWAPOBJS)
++ $(CC) $(LDFLAGS) -o $@ $(SWAPOBJS) -li386
+
+ tuxtime-conf: $(TUXCONFOBJS)
+- $(CC) $(LDFLAGS) -o $@ $(TUXCONFOBJS) $(GTKLIBS)
++ $(CC) $(LDFLAGS) -o $@ $(TUXCONFOBJS) $(GTKLIBS) -li386
+
+ wmtuxtime: $(WMTUXOBJS)
+- $(CC) $(LDFLAGS) -o $@ $(WMTUXOBJS) $(WMLIBS)
++ $(CC) $(LDFLAGS) -o $@ $(WMTUXOBJS) $(WMLIBS) -li386
+
+ install: all
+ $(BININSTALL) -m 4755 $(PROGRAMS) $(BINDESTDIR)
diff --git a/sysutils/toshutils/patches/patch-ae b/sysutils/toshutils/patches/patch-ae
new file mode 100644
index 00000000000..3b884d42b42
--- /dev/null
+++ b/sysutils/toshutils/patches/patch-ae
@@ -0,0 +1,29 @@
+$NetBSD: patch-ae,v 1.1.1.1 1999/12/20 03:05:16 hubertf Exp $
+
+--- src/parsetime.y.orig Fri Dec 17 14:07:03 1999
++++ src/parsetime.y Mon Dec 20 03:33:32 1999
+@@ -305,10 +305,24 @@
+ if (yyparse() == 0) {
+ exectime = mktime(&exectm);
+ if (isgmt) {
++#if __NetBSD__
++ struct tm *tm;
++ time_t t;
++
++ time(&t);
++ tm=localtime(&t);
++
++ exectime += timezone;
++ if (tm->tm_isdst) {
++ exectime -= 3600;
++ }
++#else
++ /* the "daylight" variable is not part of the ANSI C spec - HF */
+ exectime += timezone;
+ if (daylight) {
+ exectime -= 3600;
+ }
++#endif
+ }
+ if (time_only && (currtime > exectime)) {
+ exectime += 24*3600;
diff --git a/sysutils/toshutils/patches/patch-af b/sysutils/toshutils/patches/patch-af
new file mode 100644
index 00000000000..20adc15ea39
--- /dev/null
+++ b/sysutils/toshutils/patches/patch-af
@@ -0,0 +1,16 @@
+$NetBSD: patch-af,v 1.1.1.1 1999/12/20 03:05:16 hubertf Exp $
+
+--- src/alarm.c.orig Fri Dec 17 14:07:03 1999
++++ src/alarm.c Mon Dec 20 03:33:32 1999
+@@ -33,6 +33,11 @@
+ #ifdef __GLIBC__
+ #include<sys/perm.h>
+ #endif
++#ifdef __NetBSD__
++#include <sys/types.h>
++#include <machine/sysarch.h>
++#define iopl i386_iopl
++#endif
+
+ #include"sci.h"
+ #include"parsetime.h"
diff --git a/sysutils/toshutils/patches/patch-ag b/sysutils/toshutils/patches/patch-ag
new file mode 100644
index 00000000000..c1e007f50a6
--- /dev/null
+++ b/sysutils/toshutils/patches/patch-ag
@@ -0,0 +1,37 @@
+$NetBSD: patch-ag,v 1.1.1.1 1999/12/20 03:05:16 hubertf Exp $
+
+--- src/dispswitch.c.orig Fri Dec 17 14:07:03 1999
++++ src/dispswitch.c Mon Dec 20 03:34:54 1999
+@@ -40,7 +40,14 @@
+ #include<signal.h>
+ #include<paths.h>
+ #include<pwd.h>
++#ifdef Linux
+ #include<features.h>
++#endif
++#ifdef __NetBSD__
++#include <sys/types.h>
++#include <machine/sysarch.h>
++#include <err.h>
++#endif
+ #ifdef __GLIBC__
+ #include<sys/perm.h>
+ #endif
+@@ -276,10 +283,17 @@
+
+ /* get the necessary I/O permissions */
+
++#ifdef __NetBSD__
++ if (i386_iopl(3) == -1) {
++ warn("i386_iopl");
++ return 1;
++ }
++#else
+ if (ioperm(0xb2, 1, 1)) {
+ fprintf(stderr, "dispswitch: can't get I/O permissions.\n");
+ return 1;
+ }
++#endif
+
+ /* drop root priveleges to minimize the risk of running suid root */
+
diff --git a/sysutils/toshutils/patches/patch-ah b/sysutils/toshutils/patches/patch-ah
new file mode 100644
index 00000000000..02da9b05ef6
--- /dev/null
+++ b/sysutils/toshutils/patches/patch-ah
@@ -0,0 +1,34 @@
+$NetBSD: patch-ah,v 1.1.1.1 1999/12/20 03:05:16 hubertf Exp $
+
+--- src/tdocked.c.orig Fri Dec 17 14:07:03 1999
++++ src/tdocked.c Mon Dec 20 03:35:38 1999
+@@ -32,6 +32,11 @@
+ #ifdef __GLIBC__
+ #include<sys/perm.h>
+ #endif
++#ifdef __NetBSD__
++#include <sys/types.h>
++#include <machine/sysarch.h>
++#include <err.h>
++#endif
+
+ #include"hci.h"
+ #include"sci.h"
+@@ -56,10 +61,17 @@
+
+ /* get the necessary I/O permissions */
+
++#ifdef __NetBSD__
++ if (i386_iopl(3) == -1) {
++ warn("i386_iopl");
++ return 1;
++ }
++#else
+ if (ioperm(0xb2, 1, 1)) {
+ fprintf(stderr, "tdocked: can't get I/O permissions.\n");
+ return 0xff;
+ }
++#endif
+
+ /* drop root priveleges to reduce security risk of running suid root */
+
diff --git a/sysutils/toshutils/patches/patch-ai b/sysutils/toshutils/patches/patch-ai
new file mode 100644
index 00000000000..4400bc42202
--- /dev/null
+++ b/sysutils/toshutils/patches/patch-ai
@@ -0,0 +1,37 @@
+$NetBSD: patch-ai,v 1.1.1.1 1999/12/20 03:05:16 hubertf Exp $
+
+--- src/thotswap.c.orig Fri Dec 17 14:07:03 1999
++++ src/thotswap.c Mon Dec 20 03:36:10 1999
+@@ -40,7 +40,14 @@
+ #include<syslog.h>
+ #include<paths.h>
+ #include<pwd.h>
++#ifdef Linux
+ #include<features.h>
++#endif
++#ifdef __NetBSD__
++#include <sys/types.h>
++#include <machine/sysarch.h>
++#include <err.h>
++#endif
+ #ifdef __GLIBC__
+ #include<sys/perm.h>
+ #endif
+@@ -350,10 +357,17 @@
+
+ /* get the necessary I/O permissions */
+
++#ifdef __NetBSD__
++ if (i386_iopl(3) == -1) {
++ warn("i386_iopl");
++ return 1;
++ }
++#else
+ if (ioperm(0xb2, 1, 1)) {
+ fprintf(stderr, "thotswap: can't get I/O permissions.\n");
+ return 1;
+ }
++#endif
+
+ /* do some quick checks on the laptop */
+
diff --git a/sysutils/toshutils/patches/patch-aj b/sysutils/toshutils/patches/patch-aj
new file mode 100644
index 00000000000..76f74bb2947
--- /dev/null
+++ b/sysutils/toshutils/patches/patch-aj
@@ -0,0 +1,51 @@
+$NetBSD: patch-aj,v 1.1.1.1 1999/12/20 03:05:16 hubertf Exp $
+
+--- src/hotkey.c.orig Fri Dec 17 14:07:03 1999
++++ src/hotkey.c Mon Dec 20 03:36:44 1999
+@@ -59,9 +59,18 @@
+ #include<stdio.h>
+ #include<stdlib.h>
+ #include<string.h>
++#ifdef Linux
+ #include<asm/io.h>
++#endif
+ #include<unistd.h>
++#ifdef Linux
+ #include<features.h>
++#endif
++#ifdef __NetBSD__
++#include <sys/types.h>
++#include <machine/sysarch.h>
++#include <err.h>
++#endif
+ #include<signal.h>
+ #include<sys/types.h>
+ #include<paths.h>
+@@ -76,6 +85,9 @@
+ #include<X11/Xlib.h>
+ #include<X11/Xlocale.h>
+
++#ifdef __NetBSD__
++#undef setlocale
++#endif
+
+ #include"hotkey.h"
+ #include"sci.h"
+@@ -455,10 +467,17 @@
+
+ /* get the necessary I/O permissions */
+
++#ifdef __NetBSD__
++ if (i386_iopl(3) == -1) {
++ warn("i386_iopl");
++ return 1;
++ }
++#else
+ if (iopl(3)) {
+ fprintf(stderr, "hotkey: can't get I/O permissions.\n");
+ return 1;
+ }
++#endif
+
+ /* drop root priveleges to minimize security risk of running suid root */
+ /*
diff --git a/sysutils/toshutils/patches/patch-ak b/sysutils/toshutils/patches/patch-ak
new file mode 100644
index 00000000000..137aacb3035
--- /dev/null
+++ b/sysutils/toshutils/patches/patch-ak
@@ -0,0 +1,37 @@
+$NetBSD: patch-ak,v 1.1.1.1 1999/12/20 03:05:16 hubertf Exp $
+
+--- src/wmtuxtime.c.orig Fri Dec 17 14:07:03 1999
++++ src/wmtuxtime.c Mon Dec 20 03:37:14 1999
+@@ -48,7 +48,14 @@
+ #include<signal.h>
+ #include<paths.h>
+ #include<pwd.h>
++#ifdef Linux
+ #include<features.h>
++#endif
++#ifdef __NetBSD__
++#include <sys/types.h>
++#include <machine/sysarch.h>
++#include <err.h>
++#endif
+ #ifdef __GLIBC__
+ #include<sys/perm.h>
+ #endif
+@@ -876,10 +883,17 @@
+
+ /* get the necessary I/O permissions */
+
++#ifdef __NetBSD__
++ if (i386_iopl(3) == -1) {
++ warn("i386_iopl");
++ return 1;
++ }
++#else
+ if (ioperm(0xb2, 1, 1)) {
+ fprintf(stderr, "tuxtime: can't get I/O permissions.\n");
+ return 1;
+ }
++#endif
+
+ /* do some quick checks on the laptop */
+
diff --git a/sysutils/toshutils/patches/patch-al b/sysutils/toshutils/patches/patch-al
new file mode 100644
index 00000000000..0c8777fa2b7
--- /dev/null
+++ b/sysutils/toshutils/patches/patch-al
@@ -0,0 +1,35 @@
+$NetBSD: patch-al,v 1.1.1.1 1999/12/20 03:05:16 hubertf Exp $
+
+--- src/tuxtime-conf.c.orig Fri Dec 17 14:07:03 1999
++++ src/tuxtime-conf.c Mon Dec 20 03:33:35 1999
+@@ -35,7 +35,12 @@
+ #include<signal.h>
+ #include<paths.h>
+ #include<pwd.h>
++#ifdef Linux
+ #include<features.h>
++#endif
++#ifdef __NetBSD__
++#include <err.h>
++#endif
+ #ifdef __GLIBC__
+ #include<sys/perm.h>
+ #endif
+@@ -167,10 +172,17 @@
+
+ /* get the necessary I/O permissions */
+
++#ifdef __NetBSD__
++ if (i386_iopl(3) == -1) {
++ warn("i386_iopl");
++ return 1;
++ }
++#else
+ if (ioperm(0xb2, 1, 1)) {
+ fprintf(stderr, "tuxtime-conf: can't get I/O permissions.\n");
+ return 1;
+ }
++#endif
+
+ /* do a quick check on the laptop */
+
diff --git a/sysutils/toshutils/patches/patch-am b/sysutils/toshutils/patches/patch-am
new file mode 100644
index 00000000000..ec8e138c5be
--- /dev/null
+++ b/sysutils/toshutils/patches/patch-am
@@ -0,0 +1,22 @@
+$NetBSD: patch-am,v 1.1.1.1 1999/12/20 03:05:16 hubertf Exp $
+
+--- doc/Makefile.in.orig Mon Dec 20 01:10:49 1999
++++ doc/Makefile.in Mon Dec 20 01:11:24 1999
+@@ -36,7 +36,7 @@
+ .tex.pdf:
+ $(PDF) $<
+
+-all: hci sci toshiba
++all: #HF# hci sci toshiba
+
+ hci: hci.pdf
+
+@@ -48,7 +48,7 @@
+ install:
+ $(MANINSTALL) fan.1 $(MANDESTDIR)/man1/fan.1
+ $(MANINSTALL) svpw.1 $(MANDESTDIR)/man1/svpw.1
+- $(MANINSTALL) hotkey.1x $(MANDESTDIR)/man1/hotkey.1x
++ $(MANINSTALL) hotkey.1x $(MANDESTDIR)/man1/hotkey.1
+ $(MANINSTALL) tpasswd.1 $(MANDESTDIR)/man1/tpasswd.1
+ $(MANINSTALL) alarm.1 $(MANDESTDIR)/man1/alarm.1
+ $(MANINSTALL) tdocked.1 $(MANDESTDIR)/man1/tdocked.1
diff --git a/sysutils/toshutils/pkg/COMMENT b/sysutils/toshutils/pkg/COMMENT
new file mode 100644
index 00000000000..239eab8b675
--- /dev/null
+++ b/sysutils/toshutils/pkg/COMMENT
@@ -0,0 +1 @@
+NetBSD port of the Toshiba(tm) Linux Utilities
diff --git a/sysutils/toshutils/pkg/DESCR b/sysutils/toshutils/pkg/DESCR
new file mode 100644
index 00000000000..b0f14b08ecd
--- /dev/null
+++ b/sysutils/toshutils/pkg/DESCR
@@ -0,0 +1,3 @@
+The Toshiba Linux utilities are specific to Toshiba laptops, and
+will not run on laptops from other manufactures. Tools are included
+to turn the fan on/off, etc.
diff --git a/sysutils/toshutils/pkg/PLIST b/sysutils/toshutils/pkg/PLIST
new file mode 100644
index 00000000000..20d382450d6
--- /dev/null
+++ b/sysutils/toshutils/pkg/PLIST
@@ -0,0 +1,30 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/12/20 03:05:14 hubertf Exp $
+bin/fan
+bin/alarm
+bin/dispswitch
+bin/tdocked
+bin/thotswap
+bin/hotkey
+bin/wmtuxtime
+bin/tuxtime-conf
+man/man1/fan.1
+man/man1/svpw.1
+man/man1/hotkey.1
+man/man1/tpasswd.1
+man/man1/alarm.1
+man/man1/tdocked.1
+share/doc/toshutils/ac.gif
+share/doc/toshutils/battery.gif
+share/doc/toshutils/display.html
+share/doc/toshutils/hand.gif
+share/doc/toshutils/hci.tex
+share/doc/toshutils/machine.html
+share/doc/toshutils/modules.html
+share/doc/toshutils/sci.tex
+share/doc/toshutils/size.html
+share/doc/toshutils/space.html
+share/doc/toshutils/style.html
+share/doc/toshutils/toshiba.tex
+share/doc/toshutils/tuxtime.html
+share/doc/toshutils/whatis.html
+@dirrm share/doc/toshutils