summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-07-15 06:50:36 +0000
committerrh <rh@pkgsrc.org>2000-07-15 06:50:36 +0000
commit77f1e7995fb01a17b2286211db3e8ee3b43cc066 (patch)
treec0c09a938f65267e40b7db678c0e038f1a853452 /misc
parenta710701f2afd9869c541d63f73a1830ebca25339 (diff)
downloadpkgsrc-77f1e7995fb01a17b2286211db3e8ee3b43cc066.tar.gz
Initial import of x10_heyu-1.29, a home automation software for the X10
CM11A power line transmitter. Provided in PR 10576 by Damon Brodie.
Diffstat (limited to 'misc')
-rw-r--r--misc/heyu/Makefile16
-rw-r--r--misc/heyu/files/md53
-rw-r--r--misc/heyu/files/patch-sum6
-rw-r--r--misc/heyu/patches/patch-aa55
-rw-r--r--misc/heyu/patches/patch-ab13
-rw-r--r--misc/heyu/patches/patch-ac17
-rw-r--r--misc/heyu/patches/patch-ad14
-rw-r--r--misc/heyu/pkg/COMMENT1
-rw-r--r--misc/heyu/pkg/DESCR14
-rw-r--r--misc/heyu/pkg/PLIST5
10 files changed, 144 insertions, 0 deletions
diff --git a/misc/heyu/Makefile b/misc/heyu/Makefile
new file mode 100644
index 00000000000..769a9608268
--- /dev/null
+++ b/misc/heyu/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/07/15 06:50:36 rh Exp $
+#
+
+DISTNAME= x10_heyu
+PKGNAME= x10_heyu-1.29
+CATEGORIES= misc
+MASTER_SITES= http://heyu.tanj.com/heyu/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= damon@brodiefamily.org
+HOMEPAGE= http://heyu.tanj.com/heyu/index.html
+
+ALL_TARGET= # Defined
+WRKSRC= ${WRKDIR}/heyu.dir
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/heyu/files/md5 b/misc/heyu/files/md5
new file mode 100644
index 00000000000..6c6ea396e82
--- /dev/null
+++ b/misc/heyu/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/07/15 06:50:36 rh Exp $
+
+MD5 (x10_heyu.tgz) = 0cd1f0b1cc3889b34074fab3ebbaa8ad
diff --git a/misc/heyu/files/patch-sum b/misc/heyu/files/patch-sum
new file mode 100644
index 00000000000..8775fa2187e
--- /dev/null
+++ b/misc/heyu/files/patch-sum
@@ -0,0 +1,6 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/07/15 06:50:36 rh Exp $
+
+MD5 (patch-aa) = e05272a1a57ab3dc20745cba5556f185
+MD5 (patch-ab) = 04c47636bd3e8d00d05900e2696b779e
+MD5 (patch-ac) = 1cb5c26395cd75d162cc2745a47278ed
+MD5 (patch-ad) = cc8f087c46995ff192fc614f14e9c481
diff --git a/misc/heyu/patches/patch-aa b/misc/heyu/patches/patch-aa
new file mode 100644
index 00000000000..e9b2fabab89
--- /dev/null
+++ b/misc/heyu/patches/patch-aa
@@ -0,0 +1,55 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/07/15 06:50:36 rh Exp $
+
+--- Makefile.orig Thu Jul 6 23:34:32 2000
++++ Makefile Thu Jul 6 23:35:19 2000
+@@ -1,10 +1,7 @@
+ # Makefile for CM11, a program to control an X10 CM11A computer interface.
+-# Makefile $Revision: 1.1.1.1 $
+-BIN = /usr/local/bin
+-MAN = /usr/local/man/man1
+-MAN5 = /usr/local/man/man5
+-GROUP = sys
+-OWNER = bin
++BIN = ${PREFIX}/bin
++MAN = ${PREFIX}/man/man1
++MAN5 = ${PREFIX}/man/man5
+
+
+ # set DFLAGS equal to:
+@@ -22,10 +19,10 @@
+ ## For LINUX, use the following
+ #DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX
+ CC = gcc
+-CFLAGS = -g -O $(DFLAGS) -Wall
+-DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT
++#CFLAGS = -g -O $(DFLAGS) -Wall
++#DFLAGS = -DSYSV -DPOSIX -DHAS_ITIMER -DLINUX -DHASSELECT
+ #LIBS = -lm -lc_s # uncomment if using shared libraries
+-LIBS = -lm -lc # uncoment if not using shared libraries
++#LIBS = -lm -lc # uncoment if not using shared libraries
+
+ ## For solaris, use the following defines in addition to what's above
+ # CC = gcc
+@@ -41,6 +38,12 @@
+ # LIBS = -lm -lc
+ # DFLAGS= -DHASSELECT
+
++## if you're using NetBSD:
++CC = gcc
++CFLAGS = -g -O $(DFLAGS) -Wall
++LIBS = -lm -lc
++DFLAGS= -DHASSELECT -DPOSIX -DNETBSD -DLOCKDIR=\"/var/spool/lock\"
++
+ ## for Alpha, OSF1 v4.0 , Use this
+ # GROUP = uucp
+ # CC = gcc
+@@ -96,9 +99,7 @@
+
+ $(BIN)/heyu: heyu
+ cp heyu $(BIN)
+- chgrp $(GROUP) $(BIN)/heyu
+ chmod 755 $(BIN)/heyu
+- chown $(OWNER) $(BIN)/heyu
+
+ $(MAN)/heyu.1: heyu.1
+ cp heyu.1 $(MAN)
diff --git a/misc/heyu/patches/patch-ab b/misc/heyu/patches/patch-ab
new file mode 100644
index 00000000000..0cbd6b1f434
--- /dev/null
+++ b/misc/heyu/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/07/15 06:50:36 rh Exp $
+
+--- heyu.1.orig Thu Jul 6 23:01:16 2000
++++ heyu.1 Thu Jul 6 23:01:27 2000
+@@ -242,7 +242,7 @@
+ .br
+ .x10sched.conf - CM11A schedule information for timers and macros.
+ .br
+- /var/lock/LCK..heyu.mon - lock file for monitor process
++ /var/spool/lock/LCK..heyu.mon - lock file for monitor process
+ .br
+ /var/tmp/heyu.out - fifo file for relay process
+ .br
diff --git a/misc/heyu/patches/patch-ac b/misc/heyu/patches/patch-ac
new file mode 100644
index 00000000000..594371b1d17
--- /dev/null
+++ b/misc/heyu/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/07/15 06:50:36 rh Exp $
+
+--- tty.c.orig Thu Jul 6 23:01:40 2000
++++ tty.c Thu Jul 6 23:01:49 2000
+@@ -87,7 +87,12 @@
+ #endif
+ struct termio oldsb, newsb;
+ #else
++#ifdef NETBSD
++ #include <sys/termios.h>
++ #define NCC NCCS
++#else
+ #include <termios.h>
++#endif
+ struct termios oldsb, newsb;
+ #endif
+
diff --git a/misc/heyu/patches/patch-ad b/misc/heyu/patches/patch-ad
new file mode 100644
index 00000000000..4c023e9e708
--- /dev/null
+++ b/misc/heyu/patches/patch-ad
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1.1.1 2000/07/15 06:50:36 rh Exp $
+
+--- xread.c.orig Thu Jul 6 23:02:14 2000
++++ xread.c Thu Jul 6 23:02:23 2000
+@@ -29,6 +29,9 @@
+ #include <signal.h>
+ #include <setjmp.h>
+ #include <sys/errno.h>
++#ifdef NETBSD
++ #include <errno.h>
++#endif
+ #include <syslog.h>
+ #include <unistd.h>
+ #include "x10.h"
diff --git a/misc/heyu/pkg/COMMENT b/misc/heyu/pkg/COMMENT
new file mode 100644
index 00000000000..c20127eafd5
--- /dev/null
+++ b/misc/heyu/pkg/COMMENT
@@ -0,0 +1 @@
+Home Automation Software for the X10 CM11A
diff --git a/misc/heyu/pkg/DESCR b/misc/heyu/pkg/DESCR
new file mode 100644
index 00000000000..d7dcf51206f
--- /dev/null
+++ b/misc/heyu/pkg/DESCR
@@ -0,0 +1,14 @@
+ Heyu is a program that allows your computer to control devices by
+transmitting information over your house's power lines.
+
+The program will work with:
+ - The CM11A and CM12A made by the X10 corporation. The "Activehome"
+ package (CK11) includes the CM11A.
+ - The Home Director package marketed by IBM.
+ - The Home Control package marketed by Radio Shack (model 61-2417).
+
+It will not work with:
+ - CK17 Firecracker (computer controlled RF transmitter)
+ - CP290 (older style computer - X10 interface)
+ - CP10 - A power strip with X10 built in ???
+ - Extend 1.1 (look for newer than 1.2beta4)
diff --git a/misc/heyu/pkg/PLIST b/misc/heyu/pkg/PLIST
new file mode 100644
index 00000000000..daed8ce7775
--- /dev/null
+++ b/misc/heyu/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/07/15 06:50:36 rh Exp $
+bin/heyu
+man/man1/heyu.1
+man/man5/x10config.5
+man/man5/x10sched.5