aboutsummaryrefslogtreecommitdiff
path: root/irc/bnc/files
diff options
context:
space:
mode:
Diffstat (limited to 'irc/bnc/files')
-rw-r--r--irc/bnc/files/patch-aa14
-rw-r--r--irc/bnc/files/patch-ab37
2 files changed, 44 insertions, 7 deletions
diff --git a/irc/bnc/files/patch-aa b/irc/bnc/files/patch-aa
index 69f31c95374f..dfc26315f73b 100644
--- a/irc/bnc/files/patch-aa
+++ b/irc/bnc/files/patch-aa
@@ -1,11 +1,11 @@
---- Makefile.in.old Mon Jul 6 16:56:21 1998
-+++ Makefile.in Mon Jul 6 17:06:25 1998
+--- Makefile.in.orig Thu Mar 18 01:09:25 1999
++++ Makefile.in Thu Mar 18 01:09:31 1999
@@ -4,7 +4,7 @@
- CFLAGS = -DVERSION='"v2.4.3"' -O6
+ CFLAGS = -DVERSION='"v2.4.8"' -O6
CC = gcc
--ALL: bnc
-+all: bnc
+-ALL: bnc mkpasswd
++all: bnc mkpasswd
+ @echo "*** Done compiling required files"
+ @echo "Please read the README.TXT file included"
- bnc.o: config.h common.h bnc.c Makefile
- ${CC} ${CFLAGS} -c bnc.c
diff --git a/irc/bnc/files/patch-ab b/irc/bnc/files/patch-ab
new file mode 100644
index 000000000000..50da47e91227
--- /dev/null
+++ b/irc/bnc/files/patch-ab
@@ -0,0 +1,37 @@
+--- bncsetup.orig Wed Mar 17 07:31:19 1999
++++ bncsetup Thu Mar 18 01:51:47 1999
+@@ -12,15 +12,9 @@
+ exit $1
+ }
+
+-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" | mkpasswd -s >> $TMPFILE
+ CRCYS=$(cat $TMPFILE | grep '\$' | tail -1 )
+
+
+@@ -149,13 +143,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" | mkpasswd -s)
++ BNCPASS="+"$(echo "$BNCPASS" | 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