summaryrefslogtreecommitdiff
path: root/chat/ircu/patches
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-03-01 05:22:22 +0000
committergrant <grant@pkgsrc.org>2003-03-01 05:22:22 +0000
commitdf824fbe2a121d37befd38d41b6f7c6701d9467e (patch)
treeb2dc226f339d4b8e1d7d01299b24062c79b41d48 /chat/ircu/patches
parent14cda100e059e6f133bb9fd472b1c48417210420 (diff)
downloadpkgsrc-df824fbe2a121d37befd38d41b6f7c6701d9467e.tar.gz
Updated ircu to 2.10.11.04.
List of changes since 2.10.04 is very large and code-oriented. The authors seem to not maintain a user digestable list of changes. See the ChangeLog for the full list of changes if you insist :) Updated provided by Adrian Portelli in PR pkg/20531, with some changes by me.
Diffstat (limited to 'chat/ircu/patches')
-rw-r--r--chat/ircu/patches/patch-aa28
-rw-r--r--chat/ircu/patches/patch-ab52
-rw-r--r--chat/ircu/patches/patch-ac13
-rw-r--r--chat/ircu/patches/patch-ad13
-rw-r--r--chat/ircu/patches/patch-ae28
-rw-r--r--chat/ircu/patches/patch-af14
-rw-r--r--chat/ircu/patches/patch-ag30
7 files changed, 44 insertions, 134 deletions
diff --git a/chat/ircu/patches/patch-aa b/chat/ircu/patches/patch-aa
deleted file mode 100644
index 1e663e9b4e4..00000000000
--- a/chat/ircu/patches/patch-aa
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-aa,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
-
---- config/Configure.in.orig Wed Nov 12 11:25:08 1997
-+++ config/Configure.in Tue Nov 24 13:54:44 1998
-@@ -189,7 +189,6 @@
- #
- readln () {
- if [ "$USE_DEFAULT" = "y" -a -n "$3" ]; then
-- echo "$1"
- ans=$2
- else
- echo $n "$1$c"
-@@ -209,7 +208,6 @@
- # comment 'xxx'
- #
- comment () {
-- echo "*"; echo "* $1" ; echo "*"
- (echo "" ; echo "#"; echo "# $1" ; echo "#") >>$CONFIG
- (echo "" ; echo "/*"; echo " * $1" ; echo " */") >>$CONFIG_H
- }
-@@ -485,7 +483,6 @@
- if [ -r $DEFAULTS ]; then
- echo "*"
- echo "* Using defaults found in" $DEFAULTS
-- echo "* If you type a 'c' the script will finish using all defaults."
- echo "*"
- . $DEFAULTS
- else
diff --git a/chat/ircu/patches/patch-ab b/chat/ircu/patches/patch-ab
deleted file mode 100644
index c0c0abc7c4b..00000000000
--- a/chat/ircu/patches/patch-ab
+++ /dev/null
@@ -1,52 +0,0 @@
-$NetBSD: patch-ab,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
-
---- config/config-sh.in.orig Fri May 1 19:30:04 1998
-+++ config/config-sh.in Tue Nov 24 13:31:51 1998
-@@ -44,7 +44,6 @@
- if [ "$DEFAULTS" != "none" ]; then
- bool 'Do you want to change your previous configuration' CHANGE_CONFIG
- if [ "$CHANGE_CONFIG" = "n" ]; then
-- echo "Ok, I will only prompt you for NEW parameters."
- USE_DEFAULT=y
- else
- USE_DEFAULT=n
-@@ -63,13 +62,10 @@
- eval exec_prefix="$prefix"
- fi
- string 'Which compiler do you want to use' CC "$CC_DEFAULT"
-- echo "* For the following four questions, specify 'none' when you want it to be empty."
- eval string "'What flags should I pass to $CC [none]'" CFLAGS "'$CFLAGS_DEFAULT'"
- string 'Do you need extra include directories [none]' EXTRA_INCLUDEDIRS none
- if [ -z "$LDFLAGS_DEFAULT" ]; then
- LDFLAGS_DEFAULT=none
-- else
-- eval LDFLAGS_DEFAULT="$LDFLAGS_DEFAULT"
- fi
- string 'Which linker flags do you need [none]' LDFLAGS "$LDFLAGS_DEFAULT"
- if [ -z "$LIBS" ]; then
-@@ -78,9 +74,6 @@
- string 'Which extra libraries do you need [none]' IRCDLIBS "$LIBS"
- eval bindir="$bindir"
- string 'In which directory should I install the ircd binary' BINDIR $bindir
-- if [ ! -d "$BINDIR" ]; then
-- echo "$BINDIR : No such directory"
-- fi
- string 'What should the name of the installed symbolic link to the exectuable be' SYMLINK ircd
- string 'Which permissions do you want the binary to have' IRCDMODE 711
- string 'Which owner do you want the binary to have' IRCDOWN "`id | sed -e 's/.*uid=[0-9]*(//' -e 's/).*//' 2> /dev/null`"
-@@ -192,7 +185,6 @@
- eval DPATH_DEFAULT="${prefix}/lib/ircd"
- string 'Directory where all ircd stuff resides' DPATH $DPATH_DEFAULT
- define_string SPATH "$BINDIR/ircd"
-- echo "The following filenames are either full paths or files within DPATH"
- string 'Server configuration file' CPATH 'ircd.conf'
- string 'Server MOTD file' MPATH 'ircd.motd'
- string 'Server remote MOTD file (3 lines max)' RPATH 'remote.motd'
-@@ -338,7 +330,6 @@
- int 'Check clone delay (600!)' CHECK_CLONE_DELAY 600
- fi
- int 'Max auto connects per class (1!)' MAXIMUM_LINKS 1
-- echo '* Never define this on a production server:'
- bool 'Enable message logging' MSGLOG_ENABLED
- if [ "$MSGLOG_ENABLED" = "y" ]; then
- int 'Message log size' MSGLOG_SIZE 128
diff --git a/chat/ircu/patches/patch-ac b/chat/ircu/patches/patch-ac
deleted file mode 100644
index 1567a218d34..00000000000
--- a/chat/ircu/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
-
---- config/Makefile.in.orig Tue Nov 24 13:41:41 1998
-+++ config/Makefile.in Tue Nov 24 13:42:08 1998
-@@ -47,7 +47,7 @@
- autoconf
-
- config: configure setup.h.in config.status Configure FORCE
-- @CONFIG_BATCH=n ${SHELL} ./Configure || exit 1
-+ @CONFIG_BATCH=y ${SHELL} ./Configure || exit 1
- @# Allow the use of non-GNU make with 'make config':
- @cd ../ircd; ${MAKE} Makefile
- @cd ../doc; ${MAKE} Makefile
diff --git a/chat/ircu/patches/patch-ad b/chat/ircu/patches/patch-ad
deleted file mode 100644
index 9bb970ffaed..00000000000
--- a/chat/ircu/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
-
---- ircd/s_user.c.orig Tue Nov 24 14:02:15 1998
-+++ ircd/s_user.c Tue Nov 24 14:04:17 1998
-@@ -326,7 +326,7 @@
- time_t last;
- struct abacklog *next;
- char *connected;
-- char count;
-+ int count;
- };
-
- static struct abacklog *backlog[256]; /* hash table */
diff --git a/chat/ircu/patches/patch-ae b/chat/ircu/patches/patch-ae
deleted file mode 100644
index d3b026dd690..00000000000
--- a/chat/ircu/patches/patch-ae
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-ae,v 1.1.1.1 2000/12/15 00:36:31 wiz Exp $
-
---- doc/example.conf.orig Tue Nov 24 15:57:46 1998
-+++ doc/example.conf Tue Nov 24 15:59:33 1998
-@@ -302,8 +302,7 @@
- #
- # When your server gets fuller, you will notice delays when trying to
- # connect to your server's primary listening port. Via the Port lines
--# it is possible to specify additional ports (both AF_UNIX and AF_INET)
--# for ircd to listen to.
-+# it is possible to specify additional ports for ircd to listen to.
- # De facto ports are: 6667 - standard; 6660-6669 - additional client
- # ports; 7000 - original Undernet port; 4400, 7777 - used mainly for
- # server-to-server connections.
-@@ -312,12 +311,11 @@
- # On a side note, the /UPING command uses port 7007/udp. If your server
- # is located behind a firewall, you may want to make another hole in it
- # for this port.
--# P:<hostmask, or path>:::<port number>
-+# P:<hostmask>:::<port number>
-
- P::::4400
- P::::7000
- P:*.nl:::6666
--P:/tmp/.ircd:::6667
-
- #
- # Well, you have now reached the end of this sample configuration file
diff --git a/chat/ircu/patches/patch-af b/chat/ircu/patches/patch-af
new file mode 100644
index 00000000000..a70d376c7d9
--- /dev/null
+++ b/chat/ircu/patches/patch-af
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.1 2003/03/01 05:22:24 grant Exp $
+
+--- doc/ircd.conf.sample.orig Sun Dec 15 12:02:38 2002
++++ doc/ircd.conf.sample
+@@ -349,7 +349,8 @@ H:*.*::hub07.eu.undernet.org
+ # - O: lines are not required
+ #
+ # Notes:
+-# - Use the tools/mkpasswd tool to encrypt passwords
++# - Use the @PREFIX@/sbin/ircd-mkpasswd tool to encrypt passwords
++# (See @PREFIX@/share/doc/ircd/README.mkpasswd)
+ # - Choose safe passwords
+ # - Make the <host|ip> mask as narrowly matching as possible
+ #
diff --git a/chat/ircu/patches/patch-ag b/chat/ircu/patches/patch-ag
new file mode 100644
index 00000000000..3c3378a80fe
--- /dev/null
+++ b/chat/ircu/patches/patch-ag
@@ -0,0 +1,30 @@
+$NetBSD: patch-ag,v 1.1 2003/03/01 05:22:24 grant Exp $
+
+--- tools/README.orig Sat Apr 8 00:53:35 2000
++++ tools/README
+@@ -35,17 +35,14 @@ security holes, namely server-server pas
+ obvious problem.
+
+ So how do you generate these icky looking strings for passwords?
+-There's a simple program called mkpasswd to do that for you. Just run
+-mkpasswd, and at the prompt type in your plaintext password. It will
+-spit out the encrypted password, which you should then just copy into
+-the irc.conf file. This should be done only when adding new passwords
+-to your irc.conf file. To change over your irc.conf file to use
+-encrypted passwords, define CRYPT_OPER_PASSWORD in config.h. You will
+-need to recompile your server if you already compiled it with this
+-feature disabled. Once compiled, edit the Makefile in this directory
+-and chang "IRCDCONF" to your irc.conf file. Then "make install" in this
+-directory to replace all the operator passwords in your irc.conf file
+-with the encrypted format.
++There's a simple program called ircd-mkpasswd to do that for you.
++Just run ircd-mkpasswd, and at the prompt type in your plaintext
++password. It will spit out the encrypted password, which you should
++then just copy into the ircd.conf file. This should be done only when
++adding new passwords to your ircd.conf file.
++
++To change over your ircd.conf file to use encrypted passwords, define
++F:CRYPT_OPER_PASSWORD:TRUE in ircd.conf.
+
+ Choose your passwords carefully. Do not choose something in a
+ dictionary, make sure its at least 5 characters. Anything past 8