diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 21:57:01 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 21:57:01 +0000 |
commit | 65709d5e5e11f599f13e508b8c5f47dfc467b08d (patch) | |
tree | 419da1a0ecfab4c2969492b42c4c33dd4e06c4fa /irc/bnc/files/patch-bncsetup | |
parent | Rename german/ and graphics/ patch-xy patches to reflect the files they modify. (diff) |
Rename irc/ patch-xy patches to reflect the files they modify.
Notes
Notes:
svn path=/head/; revision=363262
Diffstat (limited to 'irc/bnc/files/patch-bncsetup')
-rw-r--r-- | irc/bnc/files/patch-bncsetup | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/irc/bnc/files/patch-bncsetup b/irc/bnc/files/patch-bncsetup new file mode 100644 index 000000000000..50da47e91227 --- /dev/null +++ b/irc/bnc/files/patch-bncsetup @@ -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 |