add bnc 2.8.4 port

--
IRC Proxy Daemon that supports virtual hosting.
This commit is contained in:
brad 2001-02-27 17:29:46 +00:00
parent 30080f1fa4
commit 24a33e9278
7 changed files with 104 additions and 0 deletions

33
net/bnc/Makefile Normal file
View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/02/27 17:29:46 brad Exp $
DISTNAME= bnc2.8.4
PKGNAME= bnc-2.8.4
CATEGORIES= net
MASTER_SITES= http://gotbnc.com/files/
HOMEPAGE= http://gotbnc.com/
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu
post-patch:
@sed -e s#!!PREFIX!!#${PREFIX}#g \
${WRKSRC}/bncsetup > ${WRKSRC}/bncsetup.new
@mv ${WRKSRC}/bncsetup.new ${WRKSRC}/bncsetup
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bnc
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/bnc
cd ${WRKBUILD}; ${INSTALL_PROGRAM} bnc mkpasswd ${PREFIX}/bin
cd ${WRKBUILD}; ${INSTALL_SCRIPT} bncchk bncsetup ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bnc
${INSTALL_DATA} ${WRKSRC}/example.conf \
${PREFIX}/share/examples/bnc/bnc.conf.sample
.include <bsd.port.mk>

3
net/bnc/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (bnc2.8.4.tar.gz) = 15f197a4f04f2bcc7136ed635bff4afc
RMD160 (bnc2.8.4.tar.gz) = 5356df05c6e1b6c71f0cec36a2305beb1f50d551
SHA1 (bnc2.8.4.tar.gz) = a400222af181695c80ec82224c626608c6910126

View File

@ -0,0 +1,18 @@
--- Makefile.in.orig Sun Dec 31 03:19:39 2000
+++ Makefile.in Tue Feb 27 11:50:17 2001
@@ -1,12 +1,12 @@
OBJS = bnc.o conf.o server.o cmds.o mtype.o
LIBS = @LIBS@
-OPTS = -O3
+OPTS = @CFLAGS@
COPT = -Wall
OOPT =
STRIP = strip
-CC = gcc
+CC = @CC@
-ALL: bnc mkpasswd
+all: bnc mkpasswd
mkpasswd:mkpasswd.c
${CC} ${OPTS} ${COPT} ${LIBS} -o mkpasswd mkpasswd.c

View File

@ -0,0 +1,37 @@
--- bncsetup.orig Tue Feb 27 11:25:23 2001
+++ bncsetup Tue Feb 27 11:29:02 2001
@@ -63,15 +63,8 @@
}
-if ! [ -e ./mkpasswd ]
-then
- echo "You need to Make the package before you can use this script"
- echo "(required ./mkpasswd)"
- bsclean 0
-fi
-
echo "BAD\$" > $TMPFILE
-echo "Test" | ./mkpasswd -s >> $TMPFILE
+echo "Test" | !!PREFIX!!/bin/mkpasswd -s >> $TMPFILE
CRCYS=$(cat $TMPFILE | grep '\$' | tail -1 )
@@ -201,13 +194,13 @@
if [ x$ERRORLEVEL = x0 ]
then
- if [ -x ./mkpasswd ]
+ if [ -x !!PREFIX!!/bin/mkpasswd ]
then
- SUPERPASS="+"$(echo "$SUPERPASS" | ./mkpasswd -s)
- BNCPASS="+"$(echo "$BNCPASS" | ./mkpasswd -s)
+ SUPERPASS="+"$(echo "$SUPERPASS" | !!PREFIX!!/bin/mkpasswd -s)
+ BNCPASS="+"$(echo "$BNCPASS" | !!PREFIX!!/bin/mkpasswd -s)
else
clear
- echo "You have not did ./configure and make so there is no ./mkpasswd"
+ echo "You have not did ./configure and make so there is no mkpasswd"
echo "This program is required to produce the encryption"
bsclean 0
fi

1
net/bnc/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
simple IRC relay proxy with support for virtual hosting

3
net/bnc/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
IRC Proxy Daemon that supports virtual hosting.
WWW: ${HOMEPAGE}

9
net/bnc/pkg/PLIST Normal file
View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2001/02/27 17:29:48 brad Exp $
bin/bnc
bin/bncchk
bin/bncsetup
bin/mkpasswd
share/doc/bnc/README
share/examples/bnc/bnc.conf.sample
@dirrm share/doc/bnc
@dirrm share/examples/bnc