summaryrefslogtreecommitdiff
path: root/net/dhisd/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-06-05 23:39:27 +0000
committerhubertf <hubertf@pkgsrc.org>2001-06-05 23:39:27 +0000
commitc6305189ce027eabcfb783f243cafac6c07aa1cc (patch)
tree609e57e9a55bb40529e1047290c4a7804da8f34c /net/dhisd/Makefile
parent2e9d642ee208665ac48df2f4d1531483c228651f (diff)
downloadpkgsrc-c6305189ce027eabcfb783f243cafac6c07aa1cc.tar.gz
Import dhisd-5.0: DynDNS server
By the means of a DHIS client a host which is assigned a dynamic IP address (either from its ISP or from DHCP) is able to communicate with a DHIS server in order to advertise its newly acquired IP address. The DHIS server (permanently online) listens to UDP messages from its clients and authenticates these against its knowledge of keys. When authentication is successful the DHIS server updates one or more databases with the newly received IP address for the given client. The server then keeps sending, every period of time, check requests to each of its connected clients. These need to be acknowledged. If not the server will consider, on an individual basis, that the client has disconnected and will again update the databases to an offline state. Alternativelly the server may receive an OFFLINE_REQ packet from the client, in which case the DNS record is updated at once and the online state droped.
Diffstat (limited to 'net/dhisd/Makefile')
-rw-r--r--net/dhisd/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/net/dhisd/Makefile b/net/dhisd/Makefile
new file mode 100644
index 00000000000..3a55c76471a
--- /dev/null
+++ b/net/dhisd/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/06/05 23:39:27 hubertf Exp $
+#
+
+DISTNAME= dhisd-5.0
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.dhis.org/pub/dhis/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://www.dhis.org
+COMMENT= DynDNS server
+
+DEPENDS+= gmp-3.*:../../devel/gmp
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dhisd
+ ${INSTALL_DATA} \
+ ${WRKSRC}/*db.sample \
+ ${PREFIX}/share/examples/dhisd
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dhisd
+ ${INSTALL_DATA} \
+ ${WRKSRC}/CONTRIBUTORS \
+ ${WRKSRC}/COPYRIGHT \
+ ${WRKSRC}/INSTALL \
+ ${WRKSRC}/MODULES \
+ ${WRKSRC}/README \
+ ${PREFIX}/share/doc/dhisd
+ ${INSTALL_PROGRAM} \
+ ${WRKSRC}/dhisd \
+ ${PREFIX}/bin
+ ${INSTALL_PROGRAM} \
+ ${WRKSRC}/genkeys \
+ ${PREFIX}/bin/dhisd-genkeys
+ ${CHOWN} root \
+ ${PREFIX}/bin/dhisd-genkeys \
+ ${PREFIX}/bin/dhisd
+ ${CHMOD} 700 \
+ ${PREFIX}/bin/dhisd-genkeys \
+ ${PREFIX}/bin/dhisd
+
+.include "../../mk/bsd.pkg.mk"