From 65709d5e5e11f599f13e508b8c5f47dfc467b08d Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Mon, 28 Jul 2014 21:57:01 +0000 Subject: Rename irc/ patch-xy patches to reflect the files they modify. --- irc/bnc/files/patch-Makefile.in | 11 +++++++++++ irc/bnc/files/patch-aa | 11 ----------- irc/bnc/files/patch-ab | 37 ------------------------------------- irc/bnc/files/patch-bncsetup | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 48 insertions(+), 48 deletions(-) create mode 100644 irc/bnc/files/patch-Makefile.in delete mode 100644 irc/bnc/files/patch-aa delete mode 100644 irc/bnc/files/patch-ab create mode 100644 irc/bnc/files/patch-bncsetup (limited to 'irc/bnc') diff --git a/irc/bnc/files/patch-Makefile.in b/irc/bnc/files/patch-Makefile.in new file mode 100644 index 000000000000..affea756da23 --- /dev/null +++ b/irc/bnc/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig Fri Jun 15 14:29:22 2001 ++++ Makefile.in Fri Jun 15 14:29:40 2001 +@@ -6,7 +6,7 @@ + STRIP = strip + CC = gcc + +-ALL: bnc mkpasswd ++all: bnc mkpasswd + + mkpasswd:mkpasswd.c + ${CC} ${OPTS} ${COPT} ${LIBS} -o mkpasswd mkpasswd.c diff --git a/irc/bnc/files/patch-aa b/irc/bnc/files/patch-aa deleted file mode 100644 index affea756da23..000000000000 --- a/irc/bnc/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig Fri Jun 15 14:29:22 2001 -+++ Makefile.in Fri Jun 15 14:29:40 2001 -@@ -6,7 +6,7 @@ - STRIP = strip - CC = gcc - --ALL: bnc mkpasswd -+all: bnc mkpasswd - - mkpasswd:mkpasswd.c - ${CC} ${OPTS} ${COPT} ${LIBS} -o mkpasswd mkpasswd.c diff --git a/irc/bnc/files/patch-ab b/irc/bnc/files/patch-ab deleted file mode 100644 index 50da47e91227..000000000000 --- a/irc/bnc/files/patch-ab +++ /dev/null @@ -1,37 +0,0 @@ ---- 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 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 -- cgit v1.2.3