diff options
author | jlam <jlam> | 1999-07-19 11:38:33 +0000 |
---|---|---|
committer | jlam <jlam> | 1999-07-19 11:38:33 +0000 |
commit | f7e94ce81ae60571900be0e46f8bb8e8be238b20 (patch) | |
tree | 0fac3d1f7fae16efbe77359b19a0401162a7369f | |
parent | 806c14e3fa01ea62821aba4c0a40a8242ce34b55 (diff) | |
download | pkgsrc-f7e94ce81ae60571900be0e46f8bb8e8be238b20.tar.gz |
dhid-3.0: Dynamic Host Information Service client daemon
-rw-r--r-- | net/dhid/Makefile | 32 | ||||
-rw-r--r-- | net/dhid/files/dhid.sh.sample | 6 | ||||
-rw-r--r-- | net/dhid/files/md5 | 3 | ||||
-rw-r--r-- | net/dhid/files/patch-sum | 6 | ||||
-rw-r--r-- | net/dhid/patches/patch-aa | 13 | ||||
-rw-r--r-- | net/dhid/patches/patch-ab | 13 | ||||
-rw-r--r-- | net/dhid/patches/patch-ac | 13 | ||||
-rw-r--r-- | net/dhid/patches/patch-ad | 23 | ||||
-rw-r--r-- | net/dhid/pkg/COMMENT | 1 | ||||
-rw-r--r-- | net/dhid/pkg/DESCR | 4 | ||||
-rw-r--r-- | net/dhid/pkg/MESSAGE | 15 | ||||
-rw-r--r-- | net/dhid/pkg/PLIST | 10 |
12 files changed, 139 insertions, 0 deletions
diff --git a/net/dhid/Makefile b/net/dhid/Makefile new file mode 100644 index 00000000000..bbe605564c1 --- /dev/null +++ b/net/dhid/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/07/19 11:38:33 jlam Exp $ +# + +DISTNAME= dhid-3.0 +CATEGORIES= net +MASTER_SITES= ftp://ftp.dhis.org/pub/dhis/ + +MAINTAINER= jlam@netbsd.org +HOMEPAGE= http://www.dhis.org/sp/ + +ALL_TARGET= dhid + +pre-patch: + ${MV} -f ${WRKSRC}/dtool ${WRKSRC}/dtool.in + +do-configure: + ${SED} -e "s,@PREFIX@,${PREFIX},g" ${WRKSRC}/dtool.in >${WRKSRC}/dtool + ${SED} -e "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/dhid.sh.sample \ + >${WRKDIR}/dhid.sh.sample + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/dhid ${PREFIX}/libexec + ${INSTALL_SCRIPT} ${WRKSRC}/dtool ${PREFIX}/sbin + ${INSTALL_DATA} ${WRKSRC}/dtool.1 ${PREFIX}/man/man1 + ${INSTALL_DATA} ${WRKSRC}/dhid.8 ${PREFIX}/man/man8 + ${INSTALL_SCRIPT} ${WRKDIR}/dhid.sh.sample ${PREFIX}/etc/rc.d + ${INSTALL_DATA} ${WRKSRC}/dhid.conf ${PREFIX}/share/examples + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dhid + ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${PREFIX}/share/doc/dhid + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dhid + +.include "../../mk/bsd.pkg.mk" diff --git a/net/dhid/files/dhid.sh.sample b/net/dhid/files/dhid.sh.sample new file mode 100644 index 00000000000..47f12a1a96e --- /dev/null +++ b/net/dhid/files/dhid.sh.sample @@ -0,0 +1,6 @@ +#!/bin/sh +DHID=@PREFIX@/libexec/dhid +if [ -f ${DHID} ]; then + ${ECHO} -n " dhid" + ${DHID} +fi diff --git a/net/dhid/files/md5 b/net/dhid/files/md5 new file mode 100644 index 00000000000..f398acfaa4c --- /dev/null +++ b/net/dhid/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/07/19 11:38:33 jlam Exp $ + +MD5 (dhid-3.0.tar.gz) = bd55b2c076196afd41c147f062990e09 diff --git a/net/dhid/files/patch-sum b/net/dhid/files/patch-sum new file mode 100644 index 00000000000..b406d9a0c1d --- /dev/null +++ b/net/dhid/files/patch-sum @@ -0,0 +1,6 @@ +$NetBSD: patch-sum,v 1.1.1.1 1999/07/19 11:38:33 jlam Exp $ + +MD5 (patch-aa) = a6edcb72e62afabedc1ab02d9b62e7d0 +MD5 (patch-ab) = ee8edf974eb7c113a6b41e036dadbb03 +MD5 (patch-ac) = dcdc9193d9cbe5a67baa5e1188699de3 +MD5 (patch-ad) = 523b2aa17fd69544629efc2221ce7991 diff --git a/net/dhid/patches/patch-aa b/net/dhid/patches/patch-aa new file mode 100644 index 00000000000..4ec4ca604b7 --- /dev/null +++ b/net/dhid/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/07/19 11:38:33 jlam Exp $ + +--- Makefile.orig Tue Jun 22 07:30:37 1999 ++++ Makefile Mon Jul 19 07:19:04 1999 +@@ -26,7 +26,7 @@ + # DHIS(c) Dynamic Host Information System Release 3.0 + + CC=cc +-CFLAGS= ++CFLAGS+=-O2 + LFLAGS= + LIBS= + RM=rm -f diff --git a/net/dhid/patches/patch-ab b/net/dhid/patches/patch-ab new file mode 100644 index 00000000000..b0a90765f78 --- /dev/null +++ b/net/dhid/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/07/19 11:38:33 jlam Exp $ + +--- dhid.h.orig Tue Jun 22 20:01:43 1999 ++++ dhid.h Mon Jul 19 06:24:53 1999 +@@ -64,7 +64,7 @@ + #define POLL_INTERVAL 60 + + #define DHID_CONF "/etc/dhid.conf" +-#define DHID_PID "/etc/dhid.pid" ++#define DHID_PID "/var/run/dhid.pid" + + #define DEF_ISPORT 58800 + #define DEF_MXPORT 58801 diff --git a/net/dhid/patches/patch-ac b/net/dhid/patches/patch-ac new file mode 100644 index 00000000000..644e118e32a --- /dev/null +++ b/net/dhid/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 1999/07/19 11:38:33 jlam Exp $ + +--- dtool.1.orig Wed Jun 23 20:22:09 1999 ++++ dtool.1 Mon Jul 19 06:34:03 1999 +@@ -13,7 +13,7 @@ + .BR dtool + command and its usage. + .BR dtool +-is now a simple bash script that emulates the behaviour ++is now a simple shell script that emulates the behaviour + of the former administration utility to DHIS. It allows to send + online, offline, mail and staus query. It also provides a good way to + start and stop the daemon manually. Registration, password changes diff --git a/net/dhid/patches/patch-ad b/net/dhid/patches/patch-ad new file mode 100644 index 00000000000..470610ee0d1 --- /dev/null +++ b/net/dhid/patches/patch-ad @@ -0,0 +1,23 @@ +$NetBSD: patch-ad,v 1.1.1.1 1999/07/19 11:38:33 jlam Exp $ + +--- dtool.in.orig Fri Jun 25 08:20:58 1999 ++++ dtool.in Mon Jul 19 06:36:42 1999 +@@ -28,7 +28,8 @@ + + USAGE="usage: dtool [-o] [-d] [-m] [-a host] [-w host] [-k] [-s] [-h]" + +-PIDFILE=/etc/dhid.pid ++PIDFILE=/var/run/dhid.pid ++DHID=@PREFIX@/libexec/dhid + + + usage() +@@ -77,7 +78,7 @@ + ;; + + s) +- if ( /usr/sbin/dhid ); then ++ if ( $DHID ); then + echo "Starting dhid daemon." + fi + ;; diff --git a/net/dhid/pkg/COMMENT b/net/dhid/pkg/COMMENT new file mode 100644 index 00000000000..7a0c5554a1d --- /dev/null +++ b/net/dhid/pkg/COMMENT @@ -0,0 +1 @@ +Dynamic Host Information System client daemon diff --git a/net/dhid/pkg/DESCR b/net/dhid/pkg/DESCR new file mode 100644 index 00000000000..67fb65aed6e --- /dev/null +++ b/net/dhid/pkg/DESCR @@ -0,0 +1,4 @@ +DHIS was developed and implemented in order to overcome the problem of +dynamically assigned IP addresses and fixed Fully Qualified Domain Names. +Its technology, allowing secure dynamic DNS updates, is provided freely +under a BSD style copyright license. diff --git a/net/dhid/pkg/MESSAGE b/net/dhid/pkg/MESSAGE new file mode 100644 index 00000000000..1459f282557 --- /dev/null +++ b/net/dhid/pkg/MESSAGE @@ -0,0 +1,15 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 1999/07/19 11:38:33 jlam Exp $ + +If you don't already have a FQDN with dhis.org domain, you will need to +register at http://www.dhis.org/sp/register.html. + +You will need to install: + + ${PREFIX}/share/examples/dhid.conf --> /etc/dhid.conf + +and replace `idnumber', `fqdn', and `password' with your DHIS-provided +host id number, FQDN with dhis.org domain, and update password, +respectively. + +=========================================================================== diff --git a/net/dhid/pkg/PLIST b/net/dhid/pkg/PLIST new file mode 100644 index 00000000000..23cc55e0470 --- /dev/null +++ b/net/dhid/pkg/PLIST @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/07/19 11:38:33 jlam Exp $ +etc/rc.d/dhid.sh.sample +libexec/dhid +man/man1/dtool.1 +man/man8/dhid.8 +sbin/dtool +share/doc/dhid/COPYRIGHT +share/doc/dhid/README +share/examples/dhid.conf +@dirrm share/doc/dhid |