summaryrefslogtreecommitdiff
path: root/chat/bnc
diff options
context:
space:
mode:
authorwiz <wiz>2001-03-06 18:39:51 +0000
committerwiz <wiz>2001-03-06 18:39:51 +0000
commit9170e0b636302545e4a73f3bf12ceee92df5be55 (patch)
tree6826804d89cb1c85f52574dda8a54ba0d6769c1f /chat/bnc
parent42a5e72554426b3bccbf10920a3dd43ebbc3d307 (diff)
downloadpkgsrc-9170e0b636302545e4a73f3bf12ceee92df5be55.tar.gz
Initial import of bnc, a simple IRC relay proxy.
Based on the package submitted by Tomasz Luchowski in pkg/11850.
Diffstat (limited to 'chat/bnc')
-rw-r--r--chat/bnc/Makefile37
-rw-r--r--chat/bnc/files/md53
-rw-r--r--chat/bnc/files/patch-sum3
-rw-r--r--chat/bnc/patches/patch-aa18
-rw-r--r--chat/bnc/pkg/DESCR17
-rw-r--r--chat/bnc/pkg/PLIST8
6 files changed, 86 insertions, 0 deletions
diff --git a/chat/bnc/Makefile b/chat/bnc/Makefile
new file mode 100644
index 00000000000..7f6db9de7d5
--- /dev/null
+++ b/chat/bnc/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/03/06 18:39:51 wiz Exp $
+# FreeBSD Id: ports/irc/bnc/Makefile,v 1.9 2000/05/22 06:38:58 will Exp
+
+DISTNAME= bnc2.8.2
+PKGNAME= bnc-2.8.2
+CATEGORIES= chat
+MASTER_SITES= http://hometown.psn.net/~andrews/dist/ \
+ http://zuntum.eik.pl/distfiles/
+
+MAINTAINER= zuntum@eik.pl
+HOMEPAGE= http://bnc.dragondata.com
+COMMENT= Simple IRC relay proxy with support for virtual hosting
+
+DEPENDS+= dialog-*:../../misc/dialog
+
+GNU_CONFIGURE= YES
+
+MAKE_ENV+= "OPTS=${CFLAGS}" \
+ "CC=${CC}"
+
+post-patch:
+ ${SED} -e "s,./mkpasswd,${PREFIX}/bin/bncmkpasswd,g" \
+ -e "s,dialog --,${LOCALBASE}/bin/dialog --,g" \
+ ${WRKSRC}/bncsetup > ${WRKSRC}/bncsetup.done
+ ${MV} ${WRKSRC}/bncsetup.done ${WRKSRC}/bncsetup
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bnc ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/bncchk ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/bncsetup ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/mkpasswd ${PREFIX}/bin/bncmkpasswd
+ ${INSTALL_DATA} ${WRKSRC}/example.conf \
+ ${PREFIX}/share/examples/bnc.conf.sample
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bnc
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bnc
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/chat/bnc/files/md5 b/chat/bnc/files/md5
new file mode 100644
index 00000000000..09659c1fc37
--- /dev/null
+++ b/chat/bnc/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/03/06 18:39:51 wiz Exp $
+
+MD5 (bnc2.8.2.tar.gz) = e0d12168cdace5d9ae410db4d24e6e2e
diff --git a/chat/bnc/files/patch-sum b/chat/bnc/files/patch-sum
new file mode 100644
index 00000000000..3a2bf5ac90c
--- /dev/null
+++ b/chat/bnc/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/03/06 18:39:51 wiz Exp $
+
+MD5 (patch-aa) = 0ba35fa24d9d8674f6615433c462e23a
diff --git a/chat/bnc/patches/patch-aa b/chat/bnc/patches/patch-aa
new file mode 100644
index 00000000000..85fe9e4c425
--- /dev/null
+++ b/chat/bnc/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/03/06 18:39:51 wiz Exp $
+
+--- Makefile.in.orig Wed Mar 15 09:57:57 2000
++++ Makefile.in
+@@ -1,12 +1,10 @@
+ OBJS = bnc.o conf.o server.o cmds.o mtype.o
+ LIBS = @LIBS@
+-OPTS = -O3
+ COPT = -DVERSION='"v2.8.2"' -Wall
+ OOPT =
+ STRIP = strip
+-CC = gcc
+
+-ALL: bnc mkpasswd
++all: bnc mkpasswd
+ @echo "*** Done compiling required files"
+ @echo "Please read the README file included"
+
diff --git a/chat/bnc/pkg/DESCR b/chat/bnc/pkg/DESCR
new file mode 100644
index 00000000000..d1cd6e54d85
--- /dev/null
+++ b/chat/bnc/pkg/DESCR
@@ -0,0 +1,17 @@
+IRC Proxy Daemon that supports virtual hosting.
+
+ BNC sports many important advances, including the following:
+
+ RFC 1459 compatible.
+ Vhost support.
+ Vhost lists in configuration file, to be displayed on call.
+ Password option for securety.
+ bncsetup dialog based script for automatically makeing .conf files.
+ Additional password for ADMIN mode.
+ NON-spawning code with crontab script to keep daemon alive.
+ Daemon commands for ON-THE-FLY single-user reconfiguration of Vhosts
+ and connecting to a server.
+ Ability to include the bounce address in the password; for quick,
+ efficient connection to an irc host.
+ Optional Logging of connects, failures, and other important data.
+ Identwd dynamic ident support for on-the-fly per-user ident changing.
diff --git a/chat/bnc/pkg/PLIST b/chat/bnc/pkg/PLIST
new file mode 100644
index 00000000000..f372713781b
--- /dev/null
+++ b/chat/bnc/pkg/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/03/06 18:39:51 wiz Exp $
+bin/bnc
+bin/bncchk
+bin/bncmkpasswd
+bin/bncsetup
+share/doc/bnc/README
+share/examples/bnc.conf.sample
+@dirrm share/doc/bnc