diff options
author | Simon Barner <barner@FreeBSD.org> | 2005-12-12 09:55:37 +0000 |
---|---|---|
committer | Simon Barner <barner@FreeBSD.org> | 2005-12-12 09:55:37 +0000 |
commit | 6beeaa92f9c8f04c8769779a2a140b486d936bf0 (patch) | |
tree | 4b5b3b05cdc255eb3c452ec99ab49ce48d3cda5b /net | |
parent | Suspend maintainer (diff) |
Remove. This should have been added to the DNS category. Sorry for the mess.
Notes
Notes:
svn path=/head/; revision=150969
Diffstat (limited to 'net')
-rw-r--r-- | net/dualserver/Makefile | 42 | ||||
-rw-r--r-- | net/dualserver/distinfo | 3 | ||||
-rw-r--r-- | net/dualserver/files/dualserver.sh.in | 27 | ||||
-rw-r--r-- | net/dualserver/files/extra-patch-dualserver.cpp | 66 | ||||
-rw-r--r-- | net/dualserver/files/extra-patch-dualserver.h | 11 | ||||
-rw-r--r-- | net/dualserver/pkg-descr | 6 |
6 files changed, 0 insertions, 155 deletions
diff --git a/net/dualserver/Makefile b/net/dualserver/Makefile deleted file mode 100644 index 28d8da9f78a6..000000000000 --- a/net/dualserver/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# Ports collection Makefile for: dualserver -# Date created: 10 Dec 2005 -# Whom: Gabor Kovesdan -# $FreeBSD$ - -PORTNAME= dualserver -PORTVERSION= 1.0 -CATEGORIES= net dns -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= dhcp-dns-server -DISTNAME= ${PORTNAME}V${PORTVERSION} - -MAINTAINER= gkovesdan@t-hosting.hu -COMMENT= Combined DHCP/DNS server for small LANs - -USE_REINPLACE= YES -USE_RC_SUBR= dualserver.sh -WRKSRC= ${WRKDIR}/${PORTNAME} -PLIST_FILES= sbin/dualserver etc/dualserver.conf.sample - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 500000 -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-dualserver.h \ - ${FILESDIR}/extra-patch-dualserver.cpp -.endif - -post-patch: - ${REINPLACE_CMD} 's/[[:cntrl:]]*$$//' ${WRKSRC}/dualserver.cpp - ${REINPLACE_CMD} 's/[[:cntrl:]]*$$//' ${WRKSRC}/dualserver.h - ${REINPLACE_CMD} 's/[[:cntrl:]]*$$//' ${WRKSRC}/dualserver.ini - ${REINPLACE_CMD} 's|/etc/dualserver.ini|${PREFIX}/etc/dualserver.conf|' ${WRKSRC}/dualserver.cpp - ${REINPLACE_CMD} 's|/etc/dualserver.state|/var/run/dualserver.state|' ${WRKSRC}/dualserver.cpp - -do-build: - ${CXX} -o ${WRKSRC}/dualserver ${WRKSRC}/dualserver.cpp - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/dualserver ${PREFIX}/sbin - ${INSTALL_DATA} ${WRKSRC}/dualserver.ini ${PREFIX}/etc/dualserver.conf.sample - -.include <bsd.port.post.mk> diff --git a/net/dualserver/distinfo b/net/dualserver/distinfo deleted file mode 100644 index 00657652ef25..000000000000 --- a/net/dualserver/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (dualserverV1.0.tar.gz) = 279703af257c78a0f123cec194d8bdb8 -SHA256 (dualserverV1.0.tar.gz) = 37d0c6f8fd802bc94badae6b6043e3754ab5fa6781a271e8503457ca7d0faf8a -SIZE (dualserverV1.0.tar.gz) = 39140 diff --git a/net/dualserver/files/dualserver.sh.in b/net/dualserver/files/dualserver.sh.in deleted file mode 100644 index 619fdebab80e..000000000000 --- a/net/dualserver/files/dualserver.sh.in +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# - -# PROVIDE: dualserver -# REQUIRE: SERVERS -# BEFORE: -# KEYWORD: FreeBSD shutdown - -. /etc/rc.subr - -name="dualserver" -rcvar=`set_rcvar` -start_cmd="dualserver_startcmd" -stop_cmd="dualserver_stopcmd" - -dualserver_startcmd () -{ -%%PREFIX%%/sbin/dualserver -} - -dualserver_stopcmd () -{ -killall dualserver -} - -load_rc_config $name -run_rc_command "$1" diff --git a/net/dualserver/files/extra-patch-dualserver.cpp b/net/dualserver/files/extra-patch-dualserver.cpp deleted file mode 100644 index 2cedfe5194de..000000000000 --- a/net/dualserver/files/extra-patch-dualserver.cpp +++ /dev/null @@ -1,66 +0,0 @@ ---- dualserver.cpp.orig Mon Dec 12 10:41:03 2005 -+++ dualserver.cpp Mon Dec 12 10:43:53 2005 -@@ -349,8 +349,8 @@ - else
- {
- req->dnsp.header.ancount = 0;
-- req->dnsp.header.rcode = 3;
-- req->dnsp.header.ra = 0;
-+ req->dnsp.header.flags.rcode = 3;
-+ req->dnsp.header.flags.ra = 0;
- }
-
- if (cfig->servers[0])
-@@ -364,8 +364,8 @@ - req->dnsp.header.adcount = 0;
- }
-
-- req->dnsp.header.qr = 1;
-- req->dnsp.header.aa = 1;
-+ req->dnsp.header.flags.qr = 1;
-+ req->dnsp.header.flags.aa = 1;
-
- char *raw = req->dnsp.data;
-
-@@ -495,7 +495,7 @@ - if (!cfig->servers[0])
- glocal(cfig);
-
-- if (ntohs(req->dnsp.header.qdcount) == 1 && ntohs(req->dnsp.header.opcode) == 0)
-+ if (ntohs(req->dnsp.header.qdcount) == 1 && ntohs(req->dnsp.header.flags.opcode) == 0)
- {
- char *raw = req->dnsp.data;
- strcpy(req->raw_query, raw);
-@@ -619,7 +619,7 @@ -
- WORD fdnmess(data5 *req, data2 *cfig)
- {
-- if (!req->dnsp.header.rd)
-+ if (!req->dnsp.header.flags.rd)
- return 0;
-
- if (!cfig->dns[0])
-@@ -679,10 +679,10 @@ - else
- {
- req->dnsp.header.ancount = 0;
-- req->dnsp.header.rcode = 3;
-- req->dnsp.header.ra = 0;
-- req->dnsp.header.qr = 1;
-- req->dnsp.header.aa = 0;
-+ req->dnsp.header.flags.rcode = 3;
-+ req->dnsp.header.flags.ra = 0;
-+ req->dnsp.header.flags.qr = 1;
-+ req->dnsp.header.flags.aa = 0;
- req->BytesReady = req->BytesRecd;
- return 0;
- }
-@@ -754,7 +754,7 @@ - if (!found)
- req->BytesReady = 0;
-
-- req->dnsp.header.aa = 0;
-+ req->dnsp.header.flags.aa = 0;
- return req->BytesReady;
- }
-
diff --git a/net/dualserver/files/extra-patch-dualserver.h b/net/dualserver/files/extra-patch-dualserver.h deleted file mode 100644 index e9b922fb68c8..000000000000 --- a/net/dualserver/files/extra-patch-dualserver.h +++ /dev/null @@ -1,11 +0,0 @@ ---- dualserver.h.orig Mon Dec 12 10:40:55 2005 -+++ dualserver.h Mon Dec 12 10:41:23 2005 -@@ -94,7 +94,7 @@ - BYTE rcode:4;
- BYTE z:3;
- BYTE ra:1;
-- };
-+ } flags;
- };
- union {
- WORD zcount;
diff --git a/net/dualserver/pkg-descr b/net/dualserver/pkg-descr deleted file mode 100644 index c21be9ed5f9f..000000000000 --- a/net/dualserver/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -Combined DHCP/DNS Server for Small LAN. Dynamic DHCP allocates/renew host -addresses while Caching DNS Server first try resolving from DHCP alotted -names then from Cache then only forwarding to External DNS Servers. Auto -Config and auto Dynamic DNS update. - -WWW: http://sourceforge.net/projects/dhcp-dns-server/ |