Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jan 2000 22:27:48 -0600
From:      Karl Denninger <karl@Denninger.Net>
To:        Steve Price <sprice@hiwaay.net>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: ports/15822: Update port misc/HomeDaemon to V0.99
Message-ID:  <20000101222748.A21389@Denninger.Net>
In-Reply-To: <Pine.OSF.4.21.0001011634330.14993-200000@fly.HiWAAY.net>; from Steve Price on Sat, Jan 01, 2000 at 04:37:53PM -0600
References:  <20000101130226.B50949@Denninger.Net> <Pine.OSF.4.21.0001011634330.14993-200000@fly.HiWAAY.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Try this on for size.

You SHOULD be able to change the PREFIX now and SHAREDIR and it should work.
Note that if you do load the binaries somewhere funny you'll have to
hand-edit the "rc" file to start 'em - that I didn't take care of, but the
rest *is* ok (the build takes place with localized values).

I've tried a couple of places and it *LOOKS* ok with an odd directory, but I
can't be CERTAIN that something won't break.

Let me know if this meets with your approval.  Note that the md5 file has
been changed to go along with the new repository, so wipe any old copies
before trying this again (you have to re-fetch it, since the tree was
modified to handle all of this).

I'm not going to try to remove the share directory in any event, since
any person who HAS configured the software and then removes it will
have that fail anyway, so the attempt is pretty pointless once installed.

--
-- 
Karl Denninger (karl@denninger.net)  Web: http://childrens-justice.org
Isn't it time we started putting KIDS first?  See the above URL for
a plan to do exactly that!


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./Makefile
#	./files
#	./files/md5
#	./pkg
#	./pkg/COMMENT
#	./pkg/DESCR
#	./pkg/PLIST
#	./pkg/MESSAGE
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:   HomeDaemon
X# Version required:    0.99
X# Date created:        1 January 2000
X# Whom:                Karl Denninger
X#
X# $FreeBSD$
X#
X
XDISTNAME=	HomeDaemon-0.99
XCATEGORIES=	misc
XMASTER_SITES=	http://genesis.denninger.net/
X
XMAINTAINER=	HomeDaemon@denninger.net
X
XNO_CDROM="No commercial sale w/o permission - see README and LICENSE"
X
XBINMODE=	4700
XBINOWN=		xten
XSHAREMODE=	700
XSHAREOWN=	${BINOWN}
XSHAREDIR=	${PREFIX}/share/HomeDaemon
X
XMAKE_ENV+=	PREFIX=${PREFIX} XBINMODE=${BINMODE} XBINOWN=${BINOWN} \
X		XSHAREMODE=${SHAREMODE} XSHAREOWN=${SHAREOWN} \
X		XSHAREDIR=${SHAREDIR}
X
X.include <bsd.port.mk>
END-of-./Makefile
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/md5
sed 's/^X//' >./files/md5 << 'END-of-./files/md5'
XMD5 (HomeDaemon-0.99.tar.gz) = 75fe6757ddda2e6e85bc98b1a6cca7c4
END-of-./files/md5
echo c - ./pkg
mkdir -p ./pkg > /dev/null 2>&1
echo x - ./pkg/COMMENT
sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT'
XHome automation software that runs on FreeBSD (see the README)
END-of-./pkg/COMMENT
echo x - ./pkg/DESCR
sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR'
X* HomeDaemon - Home Automation Software for FreeBSD
X* Supports the CM11A X10 powerline interface and Applied Digital's protocol
X* VERSION 0.99
X*
X* NOTE!  BETA SOFTWARE!  USE AT YOUR OWN RISK!
X*
X* This entire software package is Copyright 1999 Karl Denninger
X* All rights reserved.
X*
X* RESTRICTED RIGHTS - SEE THE README FILE FOR MORE INFORMATION
X
XThis package requires:
X
X1.	A free serial port (to connect the CM11A computer interface) and
X	(optionally) a second port for an Applied Digital RS-422 bridge
X2.	A CM11A (you can obtain one from Radio Shack or http://www.x10.com)
X	and (optional) the Applied Digital Bridge (for ADICON support)
X3.	Dan Lancini's "x10d" package (see above)
X
XCURRENT code is available at http://genesis.denninger.net
X
XONE FINAL WARNING - IF YOU DO NOT LOOK AT THE README FILE, THIS PORT 
XWILL NOT WORK!  REQUIRED CONFIGURATION INFORMATION IS IN THAT FILE!
X
X- Karl Denninger
Xkarl@denninger.net
END-of-./pkg/DESCR
echo x - ./pkg/PLIST
sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST'
Xetc/rc.d/HomeDaemon.rc
Xshare/HomeDaemon/lib/localize.sample
Xshare/HomeDaemon/lib/events.sample
Xshare/HomeDaemon/lib/events.english.sample
Xshare/HomeDaemon/LICENSE
Xshare/HomeDaemon/README
Xbin/appdig-clear
Xbin/appdig-setup
Xbin/HomeDaemon-appdig
Xbin/HomeDaemon-dump
Xbin/HomeDaemon-events
Xbin/HomeDaemon-parse
Xbin/HomeDaemon-shmem
Xbin/HomeDaemon-status.cgi
END-of-./pkg/PLIST
echo x - ./pkg/MESSAGE
sed 's/^X//' >./pkg/MESSAGE << 'END-of-./pkg/MESSAGE'
XYou must view the files README and LICENSE for important information!
X
XTHIS SOFTWARE WILL NOT OPERATE UNTIL YOU HAVE READ AND FOLLOWED THE 
XINSTRUCTIONS IN THESE TWO FILES!
X
XBy default these files are installed in your $PREFIX/share/HomeDaemon, which
Xby convention is /usr/local/share/HomeDaemon.  
X
XThe start-up script is to be found in /usr/local/etc/rc.d/HomeDaemon.rc;
Xlook here for the start-up sequence and modify as needed.
X
XNOTE THAT THIS PACKAGE WILL NOT OPERATE UNTIL IT IS CONFIGURED, as it
XREQUIRES several files in that directory tree to be copied from the 
X"samples" provided.  
X
XCopy each to a file with the same name but without the ".sample" suffix,
Xand edit as appropriate before attempting to start the software.
X
XYou must also obtain Dan Lancini's x10d_cm11 software and build it before
Xthis package will operate correctly.  See the README for more details.
X
XThe home page for HomeDaemon is found on the web at 
Xhttp://www.denninger.net/homedaemon.htm.  
X
XPlease Check here for updated information or if you have trouble with
Xthis package.
END-of-./pkg/MESSAGE
exit



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000101222748.A21389>