Initial import of dancer-ircd 1.0.31+maint8

This is the ircd designed for use on freenode.net, based on the hybrid
ircd used by efnet.

Feel free to test the package, any comment will be appreciated.
Perhaps we would apply the patch of freenode for ipv6 ?
This commit is contained in:
Juan Romero Pardines 2003-04-20 15:14:26 +00:00
parent 82a4765d56
commit eaceebf0c9
7 changed files with 125 additions and 0 deletions

2
dancer-ircd/DESCR Normal file
View file

@ -0,0 +1,2 @@
This is the ircd designed for use on freenode.net, based on the hybrid
ircd used by efnet.

52
dancer-ircd/Makefile Normal file
View file

@ -0,0 +1,52 @@
# $NetBSD: Makefile,v 1.1.1.1 2003/04/20 15:14:26 xtraeme Exp $
#
DISTNAME= dancer-ircd-1.0.31+maint8
PKGNAME= ${DISTNAME:S/+maint/m/}
CATEGORIES= FILLTHISINPLEASE
MASTER_SITES= http://www.doc.ic.ac.uk/~aps100/dancer/dancer-ircd/stable/releases/
MAINTAINER= jrp@hispabsd.org
HOMEPAGE= http://freenode.net/dancer_ircd.shtml
COMMENT= Irc daemon based on hybrid ircd
USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
USE_GMAKE= YES
USE_PKGINSTALL= YES
CONFIGURE_ARGS+= --with-config=dist
EGDIR= ${PREFIX}/share/examples/dancer-ircd
DOCDIR= ${PREFIX}/share/doc/dancer-ircd
RCD_SCRIPTS= dancer-ircd
PKG_SYSCONFSUBDIR= dancer-ircd
CONF_FILES= ${EGDIR}/ircd.conf.default \
${PKG_SYSCONFDIR}/ircd.conf
do-install:
${INSTALL_DATA_DIR} ${EGDIR}
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA_DIR} ${DOCDIR}/hybrid
(cd ${WRKSRC}/doc && \
for f in RE* *.txt; do \
${INSTALL_DATA} $$f ${DOCDIR}; done )
( cd ${WRKSRC}/doc/hybrid/ && \
for f in *; do \
${INSTALL_DATA} $$f ${DOCDIR}/hybrid; done )
${INSTALL_PROGRAM} ${WRKSRC}/src/dancer-ircd \
${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/tools/mkconf \
${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/tools/install_ircd \
${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/tools/viconf \
${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKSRC}/tools/mkpasswd \
${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/doc/ircd.8 \
${PREFIX}/man/man8
.include "../../mk/bsd.pkg.mk"

28
dancer-ircd/PLIST Normal file
View file

@ -0,0 +1,28 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/20 15:14:26 xtraeme Exp $
etc/rc.d/dancer-ircd
sbin/dancer-ircd
sbin/install_ircd
sbin/mkconf
sbin/mkpasswd
sbin/viconf
man/man8/ircd.8
share/doc/dancer-ircd/CIDR.txt
share/doc/dancer-ircd/README
share/doc/dancer-ircd/README.FIRST.hybrid-6
share/doc/dancer-ircd/README.TSora
share/doc/dancer-ircd/README.small_nets
share/doc/dancer-ircd/README.umodes
share/doc/dancer-ircd/RELNOTES.hybrid-6
share/doc/dancer-ircd/blalloc.txt
share/doc/dancer-ircd/rfc1459.txt
share/doc/dancer-ircd/hybrid/ChangeLog.hybrid-6.gz
share/doc/dancer-ircd/hybrid/README
share/doc/dancer-ircd/hybrid/example.conf
share/doc/dancer-ircd/hybrid/example.conf.trillian
share/doc/dancer-ircd/hybrid/mtrie.txt
share/doc/dancer-ircd/hybrid/opermyth.txt
share/doc/dancer-ircd/hybrid/opers.txt
share/doc/dancer-ircd/hybrid/simple.conf
share/doc/dancer-ircd/hybrid/server-version-info
@dirrm share/doc/dancer-ircd/hybrid
@dirrm share/doc/dancer-ircd

5
dancer-ircd/TODO Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: TODO,v 1.1.1.1 2003/04/20 15:14:26 xtraeme Exp $
* Improve DESCR ?
* Improve the do-install target ?
* Would we apply the patch of freenode ?

5
dancer-ircd/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2003/04/20 15:14:26 xtraeme Exp $
SHA1 (dancer-ircd-1.0.31+maint8.tar.gz) = 69c072eedcc3e90160fc045e01ed3f7c8e74127a
Size (dancer-ircd-1.0.31+maint8.tar.gz) = 760083 bytes
SHA1 (patch-aa) = 393181160d1f4e66eee051816a8dc92f2e7c07c4

View file

@ -0,0 +1,18 @@
#!/bin/sh
#
# $NetBSD: dancer-ircd.sh,v 1.1.1.1 2003/04/20 15:14:26 xtraeme Exp $
#
# PROVIDE: dancer-ircd
# REQUIRE: DAEMON
. /etc/rc.subr
name="dancer-ircd"
rcvar=$name
command="@PREFIX@/sbin/${name}"
pidfile="/var/run/${name}.pid"
required_files="@PKG_SYSCONFDIR@/ircd.conf"
load_rc_config $name
run_rc_command "$1"

View file

@ -0,0 +1,15 @@
$NetBSD: patch-aa,v 1.1.1.1 2003/04/20 15:14:26 xtraeme Exp $
--- src/res.c.orig 2003-04-20 14:52:58.000000000 +0200
+++ src/res.c 2003-04-20 14:53:21.000000000 +0200
@@ -265,8 +265,8 @@
* From bind 8.3, these aren't in earlier versions of bind
*
*/
-extern u_short _getshort(const u_char *);
-extern u_int _getlong(const u_char *);
+/*extern u_short _getshort(const u_char *);
+extern u_int _getlong(const u_char *);*/
/*
* int
* res_isourserver(ina)