pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/ppower Penguin Power, version 0.1.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c69f040220df
branches:  trunk
changeset: 489764:c69f040220df
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Sat Feb 26 13:09:11 2005 +0000

description:
Penguin Power, version 0.1.5

Ppower, short for 'Penguin Power', is a piece of UNIX software for controlling
x10 home automation equipment connected to the computer via a cm11a interface.
It can be used to turn things on and off and lights dim and bright.  In
addition to controlling the x10 devices, it can receive commands sent to the
x10 devices from other sources such as an x10 remote transceiver and execute
commands on your system in response.

The virtue of ppower is that it is designed to run as a daemon at all times,
keeping track of the status of the X10 system, taking action on events,
queueing requests, and providing information on the events it is receiving to
any interested clients.

diffstat:

 misc/ppower/DESCR            |  11 +++++++++++
 misc/ppower/MESSAGE          |  10 ++++++++++
 misc/ppower/Makefile         |  26 ++++++++++++++++++++++++++
 misc/ppower/PLIST            |   7 +++++++
 misc/ppower/distinfo         |   6 ++++++
 misc/ppower/patches/patch-aa |  19 +++++++++++++++++++
 6 files changed, 79 insertions(+), 0 deletions(-)

diffs (103 lines):

diff -r 6d343d42d84d -r c69f040220df misc/ppower/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ppower/DESCR Sat Feb 26 13:09:11 2005 +0000
@@ -0,0 +1,11 @@
+Ppower, short for 'Penguin Power', is a piece of UNIX software for controlling
+x10 home automation equipment connected to the computer via a cm11a interface.
+It can be used to turn things on and off and lights dim and bright.  In
+addition to controlling the x10 devices, it can receive commands sent to the
+x10 devices from other sources such as an x10 remote transceiver and execute
+commands on your system in response.
+
+The virtue of ppower is that it is designed to run as a daemon at all times,
+keeping track of the status of the X10 system, taking action on events,
+queueing requests, and providing information on the events it is receiving to
+any interested clients.
diff -r 6d343d42d84d -r c69f040220df misc/ppower/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ppower/MESSAGE       Sat Feb 26 13:09:11 2005 +0000
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/02/26 13:09:11 dsainty Exp $
+
+You will need to create a ${PKG_SYSCONFDIR}/ppower.conf file that matches
+your environment.
+
+See the file ${PREFIX}/share/examples/ppower/ppower.conf for an example
+configuration.
+
+===========================================================================
diff -r 6d343d42d84d -r c69f040220df misc/ppower/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ppower/Makefile      Sat Feb 26 13:09:11 2005 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/26 13:09:11 dsainty Exp $
+#
+
+DISTNAME=      ppower-0.1.5
+CATEGORIES=    misc
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=ppower/}
+
+MAINTAINER=    dsainty%NetBSD.org@localhost
+HOMEPAGE=      http://ppower.sourceforge.net/
+COMMENT=       X10 controller software for the CM11A interface
+
+#LICENSE=              GPL
+
+GNU_CONFIGURE=         YES
+USE_BUILDLINK3=                YES
+#USE_GNU_TOOLS+=               make
+#USE_PKGLOCALEDIR=     YES
+
+CONFIGURE_ARGS+=       --sysconfdir="${PKG_SYSCONFDIR}"
+
+post-install:
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ppower
+       ${INSTALL_DATA} \
+               ${WRKSRC}/etc/ppower.conf ${PREFIX}/share/examples/ppower
+
+.include "../../mk/bsd.pkg.mk"
diff -r 6d343d42d84d -r c69f040220df misc/ppower/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ppower/PLIST Sat Feb 26 13:09:11 2005 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/02/26 13:09:11 dsainty Exp $
+bin/ppower
+man/man1/ppower.1
+man/man1/ppowerd.1
+sbin/ppowerd
+share/examples/ppower/ppower.conf
+@dirrm share/examples/ppower
diff -r 6d343d42d84d -r c69f040220df misc/ppower/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ppower/distinfo      Sat Feb 26 13:09:11 2005 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/02/26 13:09:11 dsainty Exp $
+
+SHA1 (ppower-0.1.5.tar.gz) = fe697b5517f93984a2ae994000787f2b7404b216
+RMD160 (ppower-0.1.5.tar.gz) = 93b235c9bdbf1764388e6e3808ea885dbb9f291a
+Size (ppower-0.1.5.tar.gz) = 127819 bytes
+SHA1 (patch-aa) = 6f0d464058e19bd8df8c3ab6672371d53cb46432
diff -r 6d343d42d84d -r c69f040220df misc/ppower/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/ppower/patches/patch-aa      Sat Feb 26 13:09:11 2005 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/02/26 13:09:11 dsainty Exp $
+
+NetBSD doesn't have the OFILL termios flag.
+
+--- src/x10.c.orig     2000-02-06 14:37:08.000000000 +1300
++++ src/x10.c  2005-02-26 21:13:47.000000000 +1300
+@@ -84,7 +84,11 @@
+       
+       /* Accept raw data. */
+       termios.c_lflag &= ~(ICANON | ECHO | ISIG);
+-      termios.c_oflag &= ~(OPOST | ONLCR | OCRNL | ONLRET | OFILL);
++      termios.c_oflag &= ~(OPOST | ONLCR | OCRNL | ONLRET
++#ifdef OFILL
++                         | OFILL
++#endif
++                         );
+       termios.c_iflag &= ~(ICRNL | IXON | IXOFF | IMAXBEL);
+       
+       /* Return after 1 character available */



Home | Main Index | Thread Index | Old Index