--- dancer-ircd-1.0.36.orig/Makefile.in +++ dancer-ircd-1.0.36/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -48,7 +48,7 @@ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno configure.status.lineno -mkinstalldirs = $(SHELL) $(top_srcdir)/build-misc/mkinstalldirs +mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/setup.h CONFIG_CLEAN_FILES = SOURCES = @@ -209,7 +209,13 @@ # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): - @set fnord $$MAKEFLAGS; amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -221,7 +227,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ @@ -229,7 +235,13 @@ mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: - @set fnord $$MAKEFLAGS; amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ @@ -250,7 +262,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ --- dancer-ircd-1.0.36.orig/todo +++ dancer-ircd-1.0.36/todo @@ -0,0 +1,29 @@ +update m_scan with new mode stuff + ++D shouldn't hit people with I:lines which are exempt + +kline expiry on connect generates a broadcast unkline on every server + +http://www.lythe.org.uk/draft-brocklesby-irc-isupport-03.txt +Include CHANMODES +Consider changing PREFIX + +channel.c: In function `do_join': +channel.c:3897: warning: long unsigned int format, time_t arg (arg 5) +channel.c:3902: warning: long unsigned int format, time_t arg (arg 5) +channel.c:3913: warning: long unsigned int format, time_t arg (arg 5) +channel.c: In function `m_knock': +channel.c:4655: warning: long int format, time_t arg (arg 5) +channel.c: In function `m_topic': +channel.c:4772: warning: long int format, time_t arg (arg 7) +channel.c:4772: warning: long int format, time_t arg (arg 8) +channel.c: In function `m_sjoin': +channel.c:5436: warning: long unsigned int format, time_t arg (arg 7) +channel.c:5438: warning: long unsigned int format, time_t arg (arg 5) +channel.c:5973: warning: long unsigned int format, time_t arg (arg 7) +channel.c:5973: warning: long unsigned int format, time_t arg (arg 8) + + always has to be a smartarse platform. Find every printf of a +time_t and cast it. + +Remove SERVERHIDE from config.h --- dancer-ircd-1.0.36.orig/Hybrid-team +++ dancer-ircd-1.0.36/Hybrid-team @@ -0,0 +1,54 @@ +$Id: Hybrid-team,v 1.1.1.1 2001/07/14 19:07:49 asuffield Exp $ + + The hybrid team is a group of ircd coders who were frustrated +with the instability and all-out "dirtiness" of the efnet ircd's +available. "hybrid" is the name for the collective efforts of a group +of people, all of us. + +Anyone is welcome to contribute to this effort. We are serious about this. + + We have run the code through "purify", a commercial program designed +to find memory leaks. It continues to be checked with malloc tools today. +The code has been prototyped. Profiling has also been done to catch +slow portions of the code. "crufty" code has been re-written, obsolete +code has been ripped out. We have also looked at making the code as easy +to setup up and run as possible using configure etc. +Finally speed enhancements and other enhancements have been made to this ircd, +and continue to be made to this ircd. + + That is not to say that there are still not bugs, There are always bugs. +But we review each others work on this project, and are open +to bug reports. + +The core team as, of this major release: + +cosine, Patrick Alken +Dianora, Diane Bruce +is, Edward Brocklesby +Neph|l|m, Adel Mezibra +billy-jon, Bill Jonus +Rodder, Jon Lusky +Wohali, Joan Touzet + +The following people have contributed blood, sweat, and/or code to +this release of hybrid, in nick alphabetical order: + +Bleep, Thomas Helvey +CBongo, Chris Bongaarts +comstud, Chris Behrens +echo, Adam J. Durana +FlashMan, Craig A. Huegen +jailbird, Dustin Marquess +johan, Johannes Erdfelt +LarZ, Matthew Ramsey +orabidoo, Roger Espel LLima +Seaner, Sean McVeigh +Shadowfax, Michael Pearce +Slowaris, Ryan Parker +ThemBones, Brian Kraemer +White_Dragon, Chip Norkus, +WintrHawk, Jake Khuon + +Others are welcome. Always. + +email bug fixes/complaints/rotten tomatoes to ircd-hybrid@the-project.org --- dancer-ircd-1.0.36.orig/aclocal.m4 +++ dancer-ircd-1.0.36/aclocal.m4 @@ -1,7 +1,7 @@ -# generated automatically by aclocal 1.9.4 -*- Autoconf -*- +# generated automatically by aclocal 1.9.5 -*- Autoconf -*- -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 -# Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +# 2005 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -11,23 +11,11 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. -# -*- Autoconf -*- -# Copyright (C) 2002, 2003 Free Software Foundation, Inc. -# Generated from amversion.in; do not edit by hand. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- @@ -40,26 +28,15 @@ # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], - [AM_AUTOMAKE_VERSION([1.9.4])]) - -# AM_AUX_DIR_EXPAND - -# Copyright (C) 2001, 2003 Free Software Foundation, Inc. + [AM_AUTOMAKE_VERSION([1.9.5])]) -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. +# AM_AUX_DIR_EXPAND -*- Autoconf -*- -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to @@ -106,26 +83,16 @@ am_aux_dir=`cd $ac_aux_dir && pwd` ]) -# AM_CONDITIONAL -*- Autoconf -*- +# AM_CONDITIONAL -*- Autoconf -*- -# Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# serial 6 +# serial 7 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- @@ -149,26 +116,15 @@ Usually this means the macro was only invoked conditionally.]]) fi])]) -# serial 7 -*- Autoconf -*- -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - +# serial 8 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, @@ -177,7 +133,6 @@ # CC etc. in the Makefile, will ask for an AC_PROG_CC use... - # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. @@ -317,27 +272,16 @@ AC_SUBST([AMDEPBACKSLASH]) ]) -# Generate code to set up dependency tracking. -*- Autoconf -*- - -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 -# Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. +# Generate code to set up dependency tracking. -*- Autoconf -*- -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -#serial 2 +#serial 3 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ @@ -396,30 +340,19 @@ [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) -# Do all the work for Automake. -*- Autoconf -*- +# Do all the work for Automake. -*- Autoconf -*- -# This macro actually does too much some checks are only needed if -# your package does certain things. But this isn't really a big deal. - -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# serial 12 -# serial 11 +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) @@ -521,51 +454,27 @@ done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. - -# Copyright (C) 2001, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) -# -*- Autoconf -*- -# Copyright (C) 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# serial 1 +# serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. @@ -580,28 +489,17 @@ rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) -# Add --enable-maintainer-mode option to configure. +# Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering -# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004 +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 3 +# serial 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) @@ -620,26 +518,15 @@ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) -# Check to see how 'make' treats includes. -*- Autoconf -*- - -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. +# Check to see how 'make' treats includes. -*- Autoconf -*- -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# serial 2 +# serial 3 # AM_MAKE_INCLUDE() # ----------------- @@ -683,27 +570,16 @@ rm -f confinc confmf ]) -# -*- Autoconf -*- - - -# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# serial 3 +# serial 4 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ @@ -729,27 +605,16 @@ fi ]) +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + # AM_PROG_MKDIR_P # --------------- # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. - -# Copyright (C) 2003, 2004 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - +# # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). @@ -803,26 +668,15 @@ fi AC_SUBST([mkdir_p])]) -# Helper functions for option handling. -*- Autoconf -*- +# Helper functions for option handling. -*- Autoconf -*- -# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# serial 2 +# serial 3 # _AM_MANGLE_OPTION(NAME) # ----------------------- @@ -847,28 +701,16 @@ AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) -# -# Check to make sure that the build environment is sane. -# - -# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. +# Check to make sure that the build environment is sane. -*- Autoconf -*- -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +# Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. -# serial 3 +# serial 4 # AM_SANITY_CHECK # --------------- @@ -911,25 +753,14 @@ fi AC_MSG_RESULT(yes)]) -# AM_PROG_INSTALL_STRIP - -# Copyright (C) 2001, 2003 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. +# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. +# AM_PROG_INSTALL_STRIP +# --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip @@ -952,25 +783,13 @@ # Check how to create a tarball. -*- Autoconf -*- -# Copyright (C) 2004 Free Software Foundation, Inc. - -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2, or (at your option) -# any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -# 02111-1307, USA. - -# serial 1 +# Copyright (C) 2004, 2005 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. +# serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- --- dancer-ircd-1.0.36.orig/autogen.sh +++ dancer-ircd-1.0.36/autogen.sh @@ -0,0 +1,29 @@ +#!/usr/bin/env bash +# For the lazy people, this does all the auto* stuff needed before +# ./configure && make will work +# (This is a maintainer script; it should never have to be run on +# a distributed tarball) + +set -e + +if [ -f development ] +then + # Symlinks + ${ACLOCAL:-aclocal} -I autoconf + ${AUTOHEADER:-autoheader} + ${AUTOMAKE:-automake} -a + ${AUTOCONF:-autoconf} +else + # No symlinks + ${ACLOCAL:-aclocal} -I autoconf + ${AUTOHEADER:-autoheader} + ${AUTOMAKE:-automake} -a -c + ${AUTOCONF:-autoconf} +fi + +# If it exists and is executable, recheck and regenerate +test -x config.status && ./config.status --recheck +test -x config.status && ./config.status + +# Exit true if we got this far +exit 0 --- dancer-ircd-1.0.36.orig/lib/Makefile.in +++ dancer-ircd-1.0.36/lib/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -45,7 +45,7 @@ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/build-misc/mkinstalldirs +mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/setup.h CONFIG_CLEAN_FILES = SOURCES = @@ -189,7 +189,13 @@ # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): - @set fnord $$MAKEFLAGS; amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -201,7 +207,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ @@ -209,7 +215,13 @@ mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: - @set fnord $$MAKEFLAGS; amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ @@ -230,7 +242,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ --- dancer-ircd-1.0.36.orig/lib/Dancer/Makefile.in +++ dancer-ircd-1.0.36/lib/Dancer/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -45,7 +45,7 @@ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/build-misc/mkinstalldirs +mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/setup.h CONFIG_CLEAN_FILES = SOURCES = @@ -190,7 +190,13 @@ # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): - @set fnord $$MAKEFLAGS; amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -202,7 +208,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ @@ -210,7 +216,13 @@ mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: - @set fnord $$MAKEFLAGS; amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ @@ -231,7 +243,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ --- dancer-ircd-1.0.36.orig/lib/Dancer/Proxy/Makefile.in +++ dancer-ircd-1.0.36/lib/Dancer/Proxy/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -45,7 +45,7 @@ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/build-misc/mkinstalldirs +mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/setup.h CONFIG_CLEAN_FILES = SOURCES = --- dancer-ircd-1.0.36.orig/doc/Makefile.in +++ dancer-ircd-1.0.36/doc/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -45,7 +45,7 @@ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/build-misc/mkinstalldirs +mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/setup.h CONFIG_CLEAN_FILES = SOURCES = @@ -195,7 +195,13 @@ # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): - @set fnord $$MAKEFLAGS; amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -207,7 +213,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ @@ -215,7 +221,13 @@ mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: - @set fnord $$MAKEFLAGS; amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ @@ -236,7 +248,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ --- dancer-ircd-1.0.36.orig/doc/sgml/Makefile.in +++ dancer-ircd-1.0.36/doc/sgml/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -45,7 +45,7 @@ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/build-misc/mkinstalldirs +mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/setup.h CONFIG_CLEAN_FILES = SOURCES = @@ -190,7 +190,13 @@ # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): - @set fnord $$MAKEFLAGS; amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ @@ -202,7 +208,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ @@ -210,7 +216,13 @@ mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: - @set fnord $$MAKEFLAGS; amf=$$2; \ + @failcom='exit 1'; \ + for f in x $$MAKEFLAGS; do \ + case $$f in \ + *=* | --[!k]*);; \ + *k*) failcom='fail=yes';; \ + esac; \ + done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ @@ -231,7 +243,7 @@ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ + || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ --- dancer-ircd-1.0.36.orig/doc/sgml/dancer-oper-guide/Makefile.in +++ dancer-ircd-1.0.36/doc/sgml/dancer-oper-guide/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -47,7 +47,7 @@ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/build-misc/mkinstalldirs +mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/setup.h CONFIG_CLEAN_FILES = SOURCES = --- dancer-ircd-1.0.36.orig/doc/sgml/dancer-user-guide/Makefile.in +++ dancer-ircd-1.0.36/doc/sgml/dancer-user-guide/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -47,7 +47,7 @@ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/build-misc/mkinstalldirs +mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/setup.h CONFIG_CLEAN_FILES = SOURCES = --- dancer-ircd-1.0.36.orig/build-misc/missing +++ dancer-ircd-1.0.36/build-misc/missing @@ -1,6 +1,10 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc. + +scriptversion=2005-02-08.22 + +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 +# Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify @@ -38,18 +42,24 @@ configure_ac=configure.in fi +msg="missing on your system" + case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 + # Exit code 63 means version mismatch. This often happens + # when the user try to use an ancient version of a tool on + # a file that requires a minimum version. In this case we + # we should proceed has if the program had been absent, or + # if --run hadn't been passed. + if test $? = 63; then + run=: + msg="probably too old" + fi ;; -esac - -# If it does not exist, or fails to run (possibly an outdated version), -# try to emulate it. -case "$1" in -h|--h|--he|--hel|--help) echo "\ @@ -74,11 +84,15 @@ lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags - yacc create \`y.tab.[ch]', if possible, from existing .[ch]" + yacc create \`y.tab.[ch]', if possible, from existing .[ch] + +Send bug reports to ." + exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) - echo "missing 0.4 - GNU automake" + echo "missing $scriptversion (GNU Automake)" + exit $? ;; -*) @@ -87,14 +101,44 @@ exit 1 ;; - aclocal*) +esac + +# Now exit if we have it, but it failed. Also exit now if we +# don't have it and --version was passed (most likely to detect +# the program). +case "$1" in + lex|yacc) + # Not GNU programs, they don't have --version. + ;; + + tar) + if test -n "$run"; then + echo 1>&2 "ERROR: \`tar' requires --run" + exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + exit 1 + fi + ;; + + *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 + elif test "x$2" = "x--version" || test "x$2" = "x--help"; then + # Could not run --version or --help. This is probably someone + # running `$TOOL --version' or `$TOOL --help' to check whether + # $TOOL exists and not knowing $TOOL uses missing. + exit 1 fi + ;; +esac +# If it does not exist, or fails to run (possibly an outdated version), +# try to emulate it. +case "$1" in + aclocal*) echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if +WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." @@ -102,13 +146,8 @@ ;; autoconf) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if +WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." @@ -116,13 +155,8 @@ ;; autoheader) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if +WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." @@ -140,13 +174,8 @@ ;; automake*) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if +WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." @@ -156,14 +185,9 @@ ;; autom4te) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - echo 1>&2 "\ -WARNING: \`$1' is needed, and you do not seem to have it handy on your - system. You might have modified some files without having the +WARNING: \`$1' is needed, but is $msg. + You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." @@ -185,7 +209,7 @@ bison|yacc) echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if +WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." @@ -215,7 +239,7 @@ lex|flex) echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if +WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." @@ -237,13 +261,8 @@ ;; help2man) - if test -z "$run" && ($1 --version) > /dev/null 2>&1; then - # We have it, but it failed. - exit 1 - fi - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if +WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." @@ -262,32 +281,27 @@ ;; makeinfo) - if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then - # We have makeinfo, but it failed. - exit 1 - fi - echo 1>&2 "\ -WARNING: \`$1' is missing on your system. You should only need it if +WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." + # The file to touch is that specified with -o ... file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then - file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` + # ... or it is the one specified with @setfilename ... + infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` + file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` + # ... or it is derived from the source name (dir/f.texi becomes f.info) + test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi touch $file ;; tar) shift - if test -n "$run"; then - echo 1>&2 "ERROR: \`tar' requires --run" - exit 1 - fi # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error @@ -323,8 +337,8 @@ *) echo 1>&2 "\ -WARNING: \`$1' is needed, and you do not seem to have it handy on your - system. You might have modified some files without having the +WARNING: \`$1' is needed, and is $msg. + You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case @@ -334,3 +348,10 @@ esac exit 0 + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: --- dancer-ircd-1.0.36.orig/build-misc/install-sh +++ dancer-ircd-1.0.36/build-misc/install-sh @@ -1,7 +1,8 @@ #!/bin/sh -# # install - install a program, script, or datafile -# + +scriptversion=2005-02-02.21 + # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. @@ -41,13 +42,11 @@ # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. - # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" - # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" @@ -59,236 +58,266 @@ rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" -transformbasename="" -transform_arg="" -instcmd="$mvprog" chmodcmd="$chmodprog 0755" -chowncmd="" -chgrpcmd="" -stripcmd="" +chowncmd= +chgrpcmd= +stripcmd= rmcmd="$rmprog -f" mvcmd="$mvprog" -src="" -dst="" -dir_arg="" - -while [ x"$1" != x ]; do - case $1 in - -c) instcmd=$cpprog - shift - continue;; - - -d) dir_arg=true - shift - continue;; - - -m) chmodcmd="$chmodprog $2" - shift - shift - continue;; - - -o) chowncmd="$chownprog $2" - shift - shift - continue;; - - -g) chgrpcmd="$chgrpprog $2" - shift - shift - continue;; - - -s) stripcmd=$stripprog - shift - continue;; - - -t=*) transformarg=`echo $1 | sed 's/-t=//'` - shift - continue;; - - -b=*) transformbasename=`echo $1 | sed 's/-b=//'` - shift - continue;; - - *) if [ x"$src" = x ] - then - src=$1 - else - # this colon is to work around a 386BSD /bin/sh bug - : - dst=$1 - fi - shift - continue;; - esac -done - -if [ x"$src" = x ] -then - echo "$0: no input file specified" >&2 - exit 1 -else - : -fi +src= +dst= +dir_arg= +dstarg= +no_target_directory= + +usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE + or: $0 [OPTION]... SRCFILES... DIRECTORY + or: $0 [OPTION]... -t DIRECTORY SRCFILES... + or: $0 [OPTION]... -d DIRECTORIES... + +In the 1st form, copy SRCFILE to DSTFILE. +In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. +In the 4th, create DIRECTORIES. + +Options: +-c (ignored) +-d create directories instead of installing files. +-g GROUP $chgrpprog installed files to GROUP. +-m MODE $chmodprog installed files to MODE. +-o USER $chownprog installed files to USER. +-s $stripprog installed files. +-t DIRECTORY install into DIRECTORY. +-T report an error if DSTFILE is a directory. +--help display this help and exit. +--version display version info and exit. + +Environment variables override the default commands: + CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG +" + +while test -n "$1"; do + case $1 in + -c) shift + continue;; + + -d) dir_arg=true + shift + continue;; + + -g) chgrpcmd="$chgrpprog $2" + shift + shift + continue;; + + --help) echo "$usage"; exit $?;; + + -m) chmodcmd="$chmodprog $2" + shift + shift + continue;; + + -o) chowncmd="$chownprog $2" + shift + shift + continue;; + + -s) stripcmd=$stripprog + shift + continue;; -if [ x"$dir_arg" != x ]; then - dst=$src - src="" - - if [ -d "$dst" ]; then - instcmd=: - chmodcmd="" - else - instcmd=$mkdirprog - fi -else - -# Waiting for this to be detected by the "$instcmd $src $dsttmp" command -# might cause directories to be created, which would be especially bad -# if $src (and thus $dsttmp) contains '*'. - - if [ -f "$src" ] || [ -d "$src" ] - then - : - else - echo "$0: $src does not exist" >&2 - exit 1 - fi - - if [ x"$dst" = x ] - then - echo "$0: no destination specified" >&2 - exit 1 - else - : - fi - -# If destination is a directory, append the input filename; if your system -# does not like double slashes in filenames, you may need to add some logic - - if [ -d "$dst" ] - then - dst=$dst/`basename "$src"` - else - : - fi -fi - -## this sed command emulates the dirname command -dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` - -# Make sure that the destination directory exists. -# this part is taken from Noah Friedman's mkinstalldirs script - -# Skip lots of stat calls in the usual case. -if [ ! -d "$dstdir" ]; then -defaultIFS=' - ' -IFS="${IFS-$defaultIFS}" - -oIFS=$IFS -# Some sh's can't handle IFS=/ for some reason. -IFS='%' -set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` -IFS=$oIFS - -pathcomp='' + -t) dstarg=$2 + shift + shift + continue;; -while [ $# -ne 0 ] ; do - pathcomp=$pathcomp$1 + -T) no_target_directory=true shift + continue;; - if [ ! -d "$pathcomp" ] ; - then - $mkdirprog "$pathcomp" - else - : - fi + --version) echo "$0 $scriptversion"; exit $?;; - pathcomp=$pathcomp/ + *) # When -d is used, all remaining arguments are directories to create. + # When -t is used, the destination is already specified. + test -n "$dir_arg$dstarg" && break + # Otherwise, the last argument is the destination. Remove it from $@. + for arg + do + if test -n "$dstarg"; then + # $@ is not empty: it contains at least $arg. + set fnord "$@" "$dstarg" + shift # fnord + fi + shift # arg + dstarg=$arg + done + break;; + esac done -fi - -if [ x"$dir_arg" != x ] -then - $doit $instcmd "$dst" && - - if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi -else - -# If we're going to rename the final executable, determine the name now. - if [ x"$transformarg" = x ] - then - dstfile=`basename "$dst"` - else - dstfile=`basename "$dst" $transformbasename | - sed $transformarg`$transformbasename - fi - -# don't allow the sed command to completely eliminate the filename - - if [ x"$dstfile" = x ] - then - dstfile=`basename "$dst"` - else - : - fi - -# Make a couple of temp file names in the proper directory. - - dsttmp=$dstdir/_inst.$$_ - rmtmp=$dstdir/_rm.$$_ - -# Trap to clean up temp files at exit. - - trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0 - trap '(exit $?); exit' 1 2 13 15 - -# Move or copy the file name to the temp name - - $doit $instcmd "$src" "$dsttmp" && - -# and set any options; do chmod last to preserve setuid bits - -# If any of these fail, we abort the whole thing. If we want to -# ignore errors from any of these, just make sure not to ignore -# errors from the above "$doit $instcmd $src $dsttmp" command. - - if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi && - if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi && - if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi && - if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi && - -# Now remove or move aside any old file at destination location. We try this -# two ways since rm can't unlink itself on some systems and the destination -# file might be busy for other reasons. In this case, the final cleanup -# might fail but the new file should still install successfully. - -{ - if [ -f "$dstdir/$dstfile" ] - then - $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null || - $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null || - { - echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 - (exit 1); exit - } - else - : - fi -} && - -# Now rename the file to the real destination. +if test -z "$1"; then + if test -z "$dir_arg"; then + echo "$0: no input file specified." >&2 + exit 1 + fi + # It's OK to call `install-sh -d' without argument. + # This can happen when creating conditional directories. + exit 0 +fi - $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" +for src +do + # Protect names starting with `-'. + case $src in + -*) src=./$src ;; + esac + + if test -n "$dir_arg"; then + dst=$src + src= + + if test -d "$dst"; then + mkdircmd=: + chmodcmd= + else + mkdircmd=$mkdirprog + fi + else + # Waiting for this to be detected by the "$cpprog $src $dsttmp" command + # might cause directories to be created, which would be especially bad + # if $src (and thus $dsttmp) contains '*'. + if test ! -f "$src" && test ! -d "$src"; then + echo "$0: $src does not exist." >&2 + exit 1 + fi + + if test -z "$dstarg"; then + echo "$0: no destination specified." >&2 + exit 1 + fi + + dst=$dstarg + # Protect names starting with `-'. + case $dst in + -*) dst=./$dst ;; + esac -fi && + # If destination is a directory, append the input filename; won't work + # if double slashes aren't ignored. + if test -d "$dst"; then + if test -n "$no_target_directory"; then + echo "$0: $dstarg: Is a directory" >&2 + exit 1 + fi + dst=$dst/`basename "$src"` + fi + fi + + # This sed command emulates the dirname command. + dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` + + # Make sure that the destination directory exists. + + # Skip lots of stat calls in the usual case. + if test ! -d "$dstdir"; then + defaultIFS=' + ' + IFS="${IFS-$defaultIFS}" + + oIFS=$IFS + # Some sh's can't handle IFS=/ for some reason. + IFS='%' + set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` + shift + IFS=$oIFS + + pathcomp= + + while test $# -ne 0 ; do + pathcomp=$pathcomp$1 + shift + if test ! -d "$pathcomp"; then + $mkdirprog "$pathcomp" + # mkdir can fail with a `File exist' error in case several + # install-sh are creating the directory concurrently. This + # is OK. + test -d "$pathcomp" || exit + fi + pathcomp=$pathcomp/ + done + fi + + if test -n "$dir_arg"; then + $doit $mkdircmd "$dst" \ + && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ + && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ + && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } + + else + dstfile=`basename "$dst"` + + # Make a couple of temp file names in the proper directory. + dsttmp=$dstdir/_inst.$$_ + rmtmp=$dstdir/_rm.$$_ + + # Trap to clean up those temp files at exit. + trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 + trap '(exit $?); exit' 1 2 13 15 + + # Copy the file name to the temp name. + $doit $cpprog "$src" "$dsttmp" && + + # and set any options; do chmod last to preserve setuid bits. + # + # If any of these fail, we abort the whole thing. If we want to + # ignore errors from any of these, just make sure not to ignore + # errors from the above "$doit $cpprog $src $dsttmp" command. + # + { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ + && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ + && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ + && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && + + # Now rename the file to the real destination. + { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ + || { + # The rename failed, perhaps because mv can't rename something else + # to itself, or perhaps because mv is so ancient that it does not + # support -f. + + # Now remove or move aside any old file at destination location. + # We try this two ways since rm can't unlink itself on some + # systems and the destination file might be busy for other + # reasons. In this case, the final cleanup might fail but the new + # file should still install successfully. + { + if test -f "$dstdir/$dstfile"; then + $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ + || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ + || { + echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 + (exit 1); exit 1 + } + else + : + fi + } && + + # Now rename the file to the real destination. + $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" + } + } + fi || { (exit 1); exit 1; } +done # The final little trick to "correctly" pass the exit status to the exit trap. - { - (exit 0); exit + (exit 0); exit 0 } + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: --- dancer-ircd-1.0.36.orig/build-misc/depcomp +++ dancer-ircd-1.0.36/build-misc/depcomp @@ -1,7 +1,9 @@ #! /bin/sh - # depcomp - compile a program generating dependencies as side-effects -# Copyright 1999, 2000, 2003 Free Software Foundation, Inc. + +scriptversion=2005-02-09.22 + +# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -25,22 +27,45 @@ # Originally written by Alexandre Oliva . +case $1 in + '') + echo "$0: No command. Try \`$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: depcomp [--help] [--version] PROGRAM [ARGS] + +Run PROGRAMS ARGS to compile a file, generating dependencies +as side-effects. + +Environment variables: + depmode Dependency tracking mode. + source Source file read by `PROGRAMS ARGS'. + object Object file output by `PROGRAMS ARGS'. + DEPDIR directory where to store dependencies. + depfile Dependency file to output. + tmpdepfile Temporary file to use when outputing dependencies. + libtool Whether libtool is used (yes/no). + +Report bugs to . +EOF + exit $? + ;; + -v | --v*) + echo "depcomp $scriptversion" + exit $? + ;; +esac + if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi -# `libtool' can also be set to `yes' or `no'. - -if test -z "$depfile"; then - base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'` - dir=`echo "$object" | sed 's,/.*$,/,'` - if test "$dir" = "$object"; then - dir= - fi - # FIXME: should be _deps on DOS. - depfile="$dir.deps/$base" -fi +# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. +depfile=${depfile-`echo "$object" | + sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" @@ -262,27 +287,43 @@ base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then - tmpdepfile1="$dir.libs/$base.lo.d" - tmpdepfile2="$dir.libs/$base.d" + # With Tru64 cc, shared objects can also be used to make a + # static library. This mecanism is used in libtool 1.4 series to + # handle both shared and static libraries in a single compilation. + # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. + # + # With libtool 1.5 this exception was removed, and libtool now + # generates 2 separate objects for the 2 libraries. These two + # compilations output dependencies in in $dir.libs/$base.o.d and + # in $dir$base.o.d. We have to check for both files, because + # one of the two compilations can be disabled. We should prefer + # $dir$base.o.d over $dir.libs/$base.o.d because the latter is + # automatically cleaned when .libs/ is deleted, while ignoring + # the former would cause a distcleancheck panic. + tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 + tmpdepfile2=$dir$base.o.d # libtool 1.5 + tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 + tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else - tmpdepfile1="$dir$base.o.d" - tmpdepfile2="$dir$base.d" + tmpdepfile1=$dir$base.o.d + tmpdepfile2=$dir$base.d + tmpdepfile3=$dir$base.d + tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else - rm -f "$tmpdepfile1" "$tmpdepfile2" + rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi - if test -f "$tmpdepfile1"; then - tmpdepfile="$tmpdepfile1" - else - tmpdepfile="$tmpdepfile2" - fi + for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" + do + test -f "$tmpdepfile" && break + done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. @@ -477,3 +518,12 @@ esac exit 0 + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-end: "$" +# End: --- dancer-ircd-1.0.36.orig/build-misc/Makefile.in +++ dancer-ircd-1.0.36/build-misc/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -37,7 +37,7 @@ host_triplet = @host@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/build-misc/common.mk config.guess config.sub \ - depcomp install-sh missing mkinstalldirs + depcomp install-sh missing subdir = build-misc ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/autoconf/dancer-c.m4 \ @@ -46,7 +46,7 @@ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/build-misc/mkinstalldirs +mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/setup.h CONFIG_CLEAN_FILES = SOURCES = --- dancer-ircd-1.0.36.orig/src/s_cr.c +++ dancer-ircd-1.0.36/src/s_cr.c @@ -45,12 +45,13 @@ MD5Init(&ctx); MD5Update(&ctx, (unsigned char*)src, strlen(src)); MD5Final(md, &ctx); - /* Endianness fix */ - byteReverse(md, 4); - ircsnprintf(trg, 9, "%08x", *(u_int32_t *) &md[0]); - ircsnprintf(trg + 8, 9, "%08x", *(u_int32_t *) &md[4]); - ircsnprintf(trg + 16, 9, "%08x", *(u_int32_t *) &md[8]); - ircsnprintf(trg + 24, 9, "%08x", *(u_int32_t *) &md[12]); + /* The original code unintentionally reversed bytes within words, but + * we'll keep it that way for backwards compatibility. -- Matej Vela + */ + ircsnprintf(trg, 33, + "%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x%02x", + md[3], md[2], md[1], md[0], md[7], md[6], md[5], md[4], + md[11], md[10], md[9], md[8], md[15], md[14], md[13], md[12]); } /* Now modified so it doesn't hand out responses to anybody who asks for them --- dancer-ircd-1.0.36.orig/src/ircd.c +++ dancer-ircd-1.0.36/src/ircd.c @@ -739,7 +739,11 @@ myargv = argv; umask(077); /* better safe than sorry --SRB */ - setuid(uid); + if (0 != setuid(uid)) + { + fprintf(stderr, "Couldn't setuid; error %s\n", strerror(errno)); + exit(-1); + } parse_command_line(argc, argv); if (chdir(ConfigFileEntry.dpath)) --- dancer-ircd-1.0.36.orig/src/s_conf.c +++ dancer-ircd-1.0.36/src/s_conf.c @@ -627,7 +627,7 @@ if( free_ip_entries == (IP_ENTRY *)NULL) { sendto_ops_flag(UMODE_DEBUG,"s_conf.c free_ip_entries was found NULL in find_or_add"); - sendto_ops_flag(UMODE_DEBUG, get_str(STR_BUGREPORT)); + sendto_ops_flag(UMODE_DEBUG,"%s", get_str(STR_BUGREPORT)); outofmemory(); } @@ -651,7 +651,7 @@ if( free_ip_entries == (IP_ENTRY *)NULL) { sendto_ops_flag(UMODE_DEBUG,"s_conf.c free_ip_entries was found NULL in find_or_add"); - sendto_ops_flag(UMODE_DEBUG, get_str(STR_BUGREPORT)); + sendto_ops_flag(UMODE_DEBUG,"%s", get_str(STR_BUGREPORT)); outofmemory(); } @@ -785,7 +785,7 @@ } } sendto_ops_flag(UMODE_DEBUG,"s_conf.c couldn't find ip# in hash table in remove_one_ip()"); - sendto_ops_flag(UMODE_DEBUG, get_str(STR_BUGREPORT)); + sendto_ops_flag(UMODE_DEBUG, "%s", get_str(STR_BUGREPORT)); return; } @@ -854,6 +854,7 @@ int i; int collision_count; char result_buf[256]; + int rc; if(out < 0) sendto_one(sptr,":%s NOTICE %s :*** hash stats for iphash", @@ -861,7 +862,7 @@ else { (void)sprintf(result_buf,"*** hash stats for iphash\n"); - (void)write(out,result_buf,strlen(result_buf)); + rc = write(out,result_buf,strlen(result_buf)); } for(i = 0; i < IP_HASH_SIZE ;i++) @@ -885,7 +886,7 @@ { (void)sprintf(result_buf,"Entry %d (0x%X) Collisions %d\n", i,i,collision_count); - (void)write(out,result_buf,strlen(result_buf)); + rc = write(out,result_buf,strlen(result_buf)); } } } --- dancer-ircd-1.0.36.orig/src/m_dump.c +++ dancer-ircd-1.0.36/src/m_dump.c @@ -160,7 +160,7 @@ if (file) fbputs(buffer, fbd); if (send) - send_markup(sptr, &me, "DUMP", buffer); + send_markup(sptr, &me, "DUMP", "%s", buffer); if (IsDead(sptr)) { if (file) --- dancer-ircd-1.0.36.orig/src/hash.c +++ dancer-ircd-1.0.36/src/hash.c @@ -577,6 +577,7 @@ char result_buf[256]; char hash_log_file[256]; char timebuffer[MAX_DATE_STRING]; + int rc; if (!MyClient(sptr) || !HasUmode(sptr,UMODE_DEBUG)) { @@ -657,7 +658,7 @@ { sprintf(result_buf,"Hash Entry:%6d Hits;%7d Links:%6d\n", i, tab->hits, l); - write(out,result_buf,strlen(result_buf)); + rc = write(out,result_buf,strlen(result_buf)); } } --- dancer-ircd-1.0.36.orig/src/m_ljoin.c +++ dancer-ircd-1.0.36/src/m_ljoin.c @@ -0,0 +1,128 @@ +/************************************************************************ + * IRC - Internet Relay Chat, src/m_ljoin.c + * This file is copyright (C) 2001 Andrew Suffield + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + */ + +#include "client.h" +#include "ircd.h" +#include "common.h" +#include "numeric.h" +#include "send.h" +#include "channel.h" +#include "umodes.h" +#include "m_commands.h" +#include "struct.h" +#include "irc_string.h" +#include "hash.h" +#include "list.h" + +#include + +int m_ljoin(struct Client *cptr, struct Client *sptr, int parc, char *parv[]) +{ + struct Channel *chptr = NULL; + char *name, *key = NULL; + int i, flags = 0; + char *p = NULL, *p2 = NULL; + + if (!HasUmode(sptr,UMODE_CANLOGCHANNEL)) + { + if (SeesOperMessages(sptr)) + sendto_one(sptr,":%s NOTICE %s :You have no t umode", me.name, parv[0]); + else + sendto_one(sptr, form_str(ERR_NOPRIVILEGES), me.name, parv[0]); + return 0; + } + + if (parc < 2) + { + if (!IsServer(sptr)) + sendto_one(sptr, form_str(ERR_NEEDMOREPARAMS), + me.name, parv[0], "LJOIN"); + return 0; + } + + if ((parc > 3) && parv[2]) + key = strtoken(&p2, parv[2], ","); + for (name = strtoken(&p, parv[1], ","); name; + key = (key) ? strtoken(&p2, NULL, ",") : NULL, + name = strtoken(&p, NULL, ",")) + { + if(!(chptr = hash_find_channel(name, NullChn))) + { + sendto_one(sptr, form_str(ERR_NOSUCHCHANNEL), + me.name, sptr->name, name); + continue; + } + + if (IsLogger(sptr, chptr)) + /* Already a logger, ignore */ + continue; + + /* + * can_join checks for +i key, bans. + * If a ban is found but an exception to the ban was found + * flags will have CHFL_EXCEPTION set + */ + + if (MyConnect(sptr) && (i = can_join(sptr, chptr, key, &flags))) + { + sendto_one(sptr, form_str(i), me.name, sptr->name, name); + continue; + } + + { + Link *ptr = make_link(); + ptr->flags = flags; + ptr->value.cptr = sptr; + ptr->next = chptr->loggers; + chptr->loggers = ptr; + chptr->logcount++; + + ptr = make_link(); + ptr->value.chptr = chptr; + ptr->next = sptr->user->logging; + sptr->user->logging = ptr; + sptr->user->logcount++; + } + + sendto_match_servs(chptr, cptr, ":%s LJOIN %s %s", + sptr->name, chptr->chname, key ? key : ""); + + if (!(chptr->mode.mode & MODE_LOGGING)) + { + chptr->mode.mode |= MODE_LOGGING; + sendto_channel_butserv(chptr, sptr, ":%s MODE %s +L", + sptr->name, chptr->chname); + } + + if (MyClient(sptr)) + { + del_invite(sptr, chptr); + + { + char *parv[2]; + parv[0] = sptr->name; + parv[1] = name; + m_names(cptr, sptr, 2, parv); + } + } + } + + return 0; +} --- dancer-ircd-1.0.36.orig/src/channel.c +++ dancer-ircd-1.0.36/src/channel.c @@ -3434,7 +3434,7 @@ * -Dianora */ server_was_split = NO; - sendto_local_ops_flag(UMODE_SERVNOTICE, get_str(STR_SPLIT_MODE_OFF)); + sendto_local_ops_flag(UMODE_SERVNOTICE, "%s", get_str(STR_SPLIT_MODE_OFF)); cold_start = NO; #if defined(PRESERVE_CHANNEL_ON_SPLIT) || defined(NO_JOIN_ON_SPLIT) remove_empty_channels(); --- dancer-ircd-1.0.36.orig/src/Makefile.in +++ dancer-ircd-1.0.36/src/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -49,7 +49,7 @@ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/build-misc/mkinstalldirs +mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/setup.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(sbindir)" --- dancer-ircd-1.0.36.orig/src/client.c +++ dancer-ircd-1.0.36/src/client.c @@ -1393,6 +1393,7 @@ time_t on_for; char comment1[HOSTLEN + HOSTLEN + 2]; int i; + int rc; if (sptr == burst_in_progress) burst_in_progress = NULL; @@ -1541,7 +1542,7 @@ sptr->host, sptr->sendK, sptr->receiveK); - write(logfile, linebuf, strlen(linebuf)); + rc = write(logfile, linebuf, strlen(linebuf)); /* * Resync the file evey 10 seconds */ --- dancer-ircd-1.0.36.orig/src/s_log.c +++ dancer-ircd-1.0.36/src/s_log.c @@ -137,8 +137,10 @@ write_log(const char* message) { char buf[LOG_BUFSIZE]; + int rc; + sprintf(buf, "[%s] %s\n", smalldate(CurrentTime), message); - write(logFile, buf, strlen(buf)); + rc = write(logFile, buf, strlen(buf)); } #endif --- dancer-ircd-1.0.36.orig/src/mtrie_conf.c +++ dancer-ircd-1.0.36/src/mtrie_conf.c @@ -1505,7 +1505,7 @@ /* urgh. now used also in dline_conf.c */ char *show_iline_prefix(aClient *sptr,aConfItem *aconf,char *name) { - static char prefix_of_host[MAXPREFIX]; + static char prefix_of_host[MAXPREFIX+1]; char *prefix_ptr; prefix_ptr = prefix_of_host; --- dancer-ircd-1.0.36.orig/src/m_oper.c +++ dancer-ircd-1.0.36/src/m_oper.c @@ -109,6 +109,7 @@ struct ConfItem *aconf; char *name, *password, *encr; static char buf[BUFSIZE]; + int rc; if (IsServer(sptr) && parc > 2) { @@ -293,7 +294,7 @@ myctime(CurrentTime), name, parv[0], sptr->username, sptr->host); - write(logfile, buf, strlen(buf)); + rc = write(logfile, buf, strlen(buf)); close(logfile); } } --- dancer-ircd-1.0.36.orig/src/m_lpart.c +++ dancer-ircd-1.0.36/src/m_lpart.c @@ -0,0 +1,102 @@ +/************************************************************************ + * IRC - Internet Relay Chat, src/m_lpart.c + * This file is copyright (C) 2001 Andrew Suffield + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA + */ + +#include "client.h" +#include "ircd.h" +#include "common.h" +#include "numeric.h" +#include "send.h" +#include "channel.h" +#include "umodes.h" +#include "m_commands.h" +#include "struct.h" +#include "irc_string.h" +#include "hash.h" +#include "list.h" + +#include + +int m_lpart(struct Client *cptr, struct Client *sptr, int parc, char *parv[]) +{ + struct Channel *chptr; + char *p, *name; + + if (parc < 2 || parv[1][0] == '\0') + { + sendto_one(sptr, form_str(ERR_NEEDMOREPARAMS), + me.name, parv[0], "LPART"); + return 0; + } + + for (name = strtoken( &p, parv[1], ","); name; name = strtoken(&p, NULL, ",")) + { + Link **curr, *tmp; + + chptr = hash_find_channel(name, NULL); + if (!chptr) + { + sendto_one(sptr, form_str(ERR_NOSUCHCHANNEL), + me.name, parv[0], name); + continue; + } + + if (!IsLogger(sptr, chptr)) + { + sendto_one(sptr, form_str(ERR_NOTONCHANNEL), + me.name, parv[0], name); + continue; + } + + sendto_match_servs(chptr, cptr, ":%s LPART %s", + sptr->name, chptr->chname); + + for (curr = &chptr->loggers; (tmp = *curr); curr = &tmp->next) + { + if (tmp->value.cptr == sptr) + { + *curr = tmp->next; + free_link(tmp); + chptr->logcount--; + if (!chptr->logcount) + { + chptr->mode.mode &= ~MODE_LOGGING; + sendto_channel_butserv(chptr, sptr, ":%s MODE %s -L", + sptr->name, chptr->chname); + } + break; + } + } + + for (curr = &sptr->user->logging; (tmp = *curr); curr = &tmp->next) + { + if (tmp->value.chptr == chptr) + { + *curr = tmp->next; + free_link(tmp); + sptr->user->logcount--; + if (MyConnect(sptr)) + sendto_one(sptr, ":%s LPART %s", + sptr->name, chptr->chname); + break; + } + } + } + return 0; +} --- dancer-ircd-1.0.36.orig/src/m_stats.c +++ dancer-ircd-1.0.36/src/m_stats.c @@ -230,7 +230,7 @@ { sendto_one(sptr, Lformat, me.name, RPL_STATSLINKINFO, parv[0], - (IsUpper(stat)) ? + (IsUpper(statcmd)) ? get_client_name(acptr, TRUE) : get_client_name(acptr, FALSE), (int)DBufLength(&acptr->sendQ), --- dancer-ircd-1.0.36.orig/src/md5.c +++ dancer-ircd-1.0.36/src/md5.c @@ -15,27 +15,43 @@ * will fill a supplied 16-byte array with the digest. */ +/* This code was modified in 1997 by Jim Kingdon of Cyclic Software to + not require an integer type which is exactly 32 bits. This work + draws on the changes for the same purpose by Tatu Ylonen + as part of SSH, but since I didn't actually use + that code, there is no copyright issue. I hereby disclaim + copyright in any changes I have made; this code remains in the + public domain. */ + +#ifdef HAVE_CONFIG_H #include "config.h" +#endif + +#include /* for memcpy() and memset() */ + #include "md5.h" -#include +/* Little-endian byte-swapping routines. Note that these do not + depend on the size of datatypes such as uint32, nor do they require + us to detect the endianness of the machine we are running on. It + is possible they should be macros for speed, but I would be + surprised if they were a performance bottleneck for MD5. */ -#ifdef WORDS_BIGENDIAN -/* - * Note: this code is harmless on little-endian machines. - */ -void -byteReverse(unsigned char *buf, unsigned longs) +static uint32 +getu32(const unsigned char *addr) { - uint32 t; - do { - t = (uint32) ((unsigned) buf[3] << 8 | buf[2]) << 16 | - ((unsigned) buf[1] << 8 | buf[0]); - *(uint32 *) buf = t; - buf += 4; - } while (--longs); + return (((((unsigned long) addr[3] << 8) | addr[2]) << 8) + | addr[1]) << 8 | addr[0]; +} + +static void +putu32(uint32 data, unsigned char *addr) +{ + addr[0] = (unsigned char) data; + addr[1] = (unsigned char) (data >> 8); + addr[2] = (unsigned char) (data >> 16); + addr[3] = (unsigned char) (data >> 24); } -#endif /* * Start MD5 accumulation. Set bit count to 0 and buffer to mysterious @@ -65,7 +81,7 @@ /* Update bitcount */ t = ctx->bits[0]; - if ((ctx->bits[0] = t + ((uint32) len << 3)) < t) + if ((ctx->bits[0] = (t + ((uint32) len << 3)) & 0xffffffff) < t) ctx->bits[1]++; /* Carry from low to high */ ctx->bits[1] += len >> 29; @@ -74,7 +90,7 @@ /* Handle any leading odd-sized chunks */ if (t) { - unsigned char *p = (unsigned char *) ctx->in + t; + unsigned char *p = ctx->in + t; t = 64 - t; if (len < t) { @@ -82,17 +98,16 @@ return; } memcpy(p, buf, t); - byteReverse(ctx->in, 16); - MD5Transform(ctx->buf, (uint32 *) ctx->in); + MD5Transform(ctx->buf, ctx->in); buf += t; len -= t; } + /* Process data in 64-byte chunks */ while (len >= 64) { memcpy(ctx->in, buf, 64); - byteReverse(ctx->in, 16); - MD5Transform(ctx->buf, (uint32 *) ctx->in); + MD5Transform(ctx->buf, ctx->in); buf += 64; len -= 64; } @@ -127,8 +142,7 @@ if (count < 8) { /* Two lots of padding: Pad the first block to 64 bytes */ memset(p, 0, count); - byteReverse(ctx->in, 16); - MD5Transform(ctx->buf, (uint32 *) ctx->in); + MD5Transform(ctx->buf, ctx->in); /* Now fill the next block with 56 bytes */ memset(ctx->in, 0, 56); @@ -136,18 +150,21 @@ /* Pad block to 56 bytes */ memset(p, 0, count - 8); } - byteReverse(ctx->in, 14); /* Append length in bits and transform */ - ((uint32 *) ctx->in)[14] = ctx->bits[0]; - ((uint32 *) ctx->in)[15] = ctx->bits[1]; + putu32(ctx->bits[0], ctx->in + 56); + putu32(ctx->bits[1], ctx->in + 60); - MD5Transform(ctx->buf, (uint32 *) ctx->in); - byteReverse((unsigned char *) ctx->buf, 4); - memcpy(digest, ctx->buf, 16); - memset((char *) ctx, 0, sizeof(ctx)); /* In case it's sensitive */ + MD5Transform(ctx->buf, ctx->in); + putu32(ctx->buf[0], digest); + putu32(ctx->buf[1], digest + 4); + putu32(ctx->buf[2], digest + 8); + putu32(ctx->buf[3], digest + 12); + memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ } +#ifndef ASM_MD5 + /* The four core functions - F1 is optimized somewhat */ /* #define F1(x, y, z) (x & y | ~x & z) */ @@ -158,7 +175,7 @@ /* This is the central step in the MD5 algorithm. */ #define MD5STEP(f, w, x, y, z, data, s) \ - ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) + ( w += f(x, y, z) + data, w &= 0xffffffff, w = w<>(32-s), w += x ) /* * The core of the MD5 algorithm, this alters an existing MD5 hash to @@ -166,9 +183,14 @@ * the data and converts bytes into longwords for this routine. */ void -MD5Transform(uint32 buf[4], uint32 const in[16]) +MD5Transform(uint32 buf[4], const unsigned char inraw[64]) { register uint32 a, b, c, d; + uint32 in[16]; + int i; + + for (i = 0; i < 16; ++i) + in[i] = getu32 (inraw + 4 * i); a = buf[0]; b = buf[1]; @@ -248,3 +270,4 @@ buf[2] += c; buf[3] += d; } +#endif --- dancer-ircd-1.0.36.orig/autoconf/Makefile.in +++ dancer-ircd-1.0.36/autoconf/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -45,7 +45,7 @@ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/build-misc/mkinstalldirs +mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/setup.h CONFIG_CLEAN_FILES = SOURCES = --- dancer-ircd-1.0.36.orig/debian/dancer-ircd-doc.install +++ dancer-ircd-1.0.36/debian/dancer-ircd-doc.install @@ -0,0 +1,2 @@ +/usr/share/doc/dancer-ircd/* +/usr/share/doc/dancer-ircd/*.html/* --- dancer-ircd-1.0.36.orig/debian/init.d +++ dancer-ircd-1.0.36/debian/init.d @@ -0,0 +1,67 @@ +#! /bin/sh + +### BEGIN INIT INFO +# Provides: dancer-ircd +# Required-Start: $syslog +# Required-Stop: $syslog +# Should-Start: $local_fs $network $named +# Should-Stop: $local_fs $network $named +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Dancer-IRCd daemon init.d script +# Description: Use to manage the Dancer-IRCd daemon. +### END INIT INFO + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/dancer-ircd +NAME=dancer-ircd +DESC=dancer-ircd +USER=dancer +RUNDIR=/var/run/dancer-ircd + +test -f $DAEMON || exit 0 + +set -e + +if [ ! -d ${RUNDIR} ] ; then + mkdir -m 0755 ${RUNDIR} + chown ${USER}:${USER} ${RUNDIR} +fi + +case "$1" in + start) + echo -n "Starting $DESC: " + start-stop-daemon --start --quiet --chuid ${USER} \ + --pidfile ${RUNDIR}/$NAME.pid \ + --exec $DAEMON -- -d / + echo "$NAME." + ;; + stop) + echo -n "Stopping $DESC: " + start-stop-daemon --stop --quiet --oknodo \ + --pidfile ${RUNDIR}/$NAME.pid \ + --exec $DAEMON + rm -f ${RUNDIR}/$NAME.pid + echo "$NAME." + ;; + reload|force-reload) + echo "Reloading $DESC configuration files." + start-stop-daemon --stop --quiet --signal 1 --oknodo \ + --pidfile ${RUNDIR}/$NAME.pid \ + --exec $DAEMON + ;; + restart) + echo -n "Restarting $DESC: " + $0 stop + sleep 1 + $0 start + echo "$NAME." + ;; + *) + N=/etc/init.d/$NAME + echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 + exit 1 + ;; +esac + +exit 0 --- dancer-ircd-1.0.36.orig/debian/dancer-ircd.logrotate +++ dancer-ircd-1.0.36/debian/dancer-ircd.logrotate @@ -0,0 +1,8 @@ +/var/log/dancer-ircd/ircd.log { + rotate 12 + weekly + compress + postrotate + /etc/init.d/dancer-ircd force-reload > /dev/null + endscript +} --- dancer-ircd-1.0.36.orig/debian/dancer-ircd.postrm +++ dancer-ircd-1.0.36/debian/dancer-ircd.postrm @@ -0,0 +1,14 @@ +#!/bin/sh + +# This should never happen, but... +set -e + +# Clean out the old files on purge +if [ "$1" = "purge" ] ; then + rm -rf /var/lib/dancer-ircd + rm -rf /var/run/dancer-ircd +fi + +#DEBHELPER# + +exit 0 --- dancer-ircd-1.0.36.orig/debian/dancer-ircd.dirs +++ dancer-ircd-1.0.36/debian/dancer-ircd.dirs @@ -0,0 +1,6 @@ +usr/sbin +usr/share/doc/dancer-ircd +usr/share/lintian/overrides +etc/dancer-ircd +var/lib/dancer-ircd +var/log/dancer-ircd --- dancer-ircd-1.0.36.orig/debian/dancer-ircd-doc.dirs +++ dancer-ircd-1.0.36/debian/dancer-ircd-doc.dirs @@ -0,0 +1 @@ +usr/share/doc/dancer-ircd-doc --- dancer-ircd-1.0.36.orig/debian/rules +++ dancer-ircd-1.0.36/debian/rules @@ -0,0 +1,113 @@ +#!/usr/bin/make -f + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build $(DEB_HOST_GNU_TYPE) +else + confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +export CFLAGS + +tmp = $(CURDIR)/debian/tmp +dancer-ircd = $(CURDIR)/debian/dancer-ircd +dancer-ircd-doc = $(CURDIR)/debian/dancer-ircd-doc + +config.status: + dh_testdir + + ./configure $(confflags) --with-config=debian --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-documentation + +build: src/dancer-ircd +src/dancer-ircd: config.status + dh_testdir + + $(MAKE) + +clean: + dh_testdir + dh_testroot + + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(tmp) + + dh_install --sourcedir=$(CURDIR)/debian/tmp --list-missing + +# Symlinks for documentation +# Need to run dh_compress first, so we get the right filenames in the symlinks + dh_compress -pdancer-ircd-doc +# This symlinks all the documentation from dancer-ircd into dancer-ircd-doc, so that it can be accessed via either path + cd $(dancer-ircd-doc)/usr/share/doc/dancer-ircd-doc && ln -s ../dancer-ircd/dancer-* . +# ln -sf $(patsubst $(dancer-ircd-doc)/usr/share/doc/%, ../%, $(wildcard $(dancer-ircd-doc)/usr/share/doc/dancer-ircd/dancer-*)) $(dancer-ircd-doc)/usr/share/doc/dancer-ircd-doc/ + +# Config stuff... + install -m 0640 debian/ircd.conf $(dancer-ircd)/etc/dancer-ircd/ircd.conf + install -m 0640 debian/olines $(dancer-ircd)/etc/dancer-ircd/olines + touch $(dancer-ircd)/etc/dancer-ircd/motd + touch $(dancer-ircd)/etc/dancer-ircd/omotd + touch $(dancer-ircd)/etc/dancer-ircd/ohelp + + install -m 0644 debian/dancer-status.txt $(dancer-ircd)/usr/share/doc/dancer-ircd/dancer-status.txt + +# Lintian overrides... + install -m 0644 debian/dancer-ircd.overrides \ + $(dancer-ircd)/usr/share/lintian/overrides/dancer-ircd + +# Build architecture-independent files here. +binary-indep: install + dh_testdir -i + dh_testroot -i + dh_installdocs -i AUTHORS + dh_installchangelogs ChangeLog -i + dh_compress -i -X.sgml -X.html + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir -a + dh_testroot -a + dh_installdocs -a AUTHORS + dh_installlogrotate -a + dh_installinit -a + dh_installman debian/dancer-ircd.8 -a + dh_installchangelogs ChangeLog -a + dh_strip -a + dh_compress -a + dh_fixperms -a + + chmod 0640 $(dancer-ircd)/etc/dancer-ircd/ircd.conf + chmod 0640 $(dancer-ircd)/etc/dancer-ircd/olines + chmod 0750 $(dancer-ircd)/var/log/dancer-ircd + + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +prebuild: + if [ -f development ]; then rm -f development; tla delete development; fi + ./autogen.sh + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- dancer-ircd-1.0.36.orig/debian/compat +++ dancer-ircd-1.0.36/debian/compat @@ -0,0 +1 @@ +4 --- dancer-ircd-1.0.36.orig/debian/dancer-ircd.overrides +++ dancer-ircd-1.0.36/debian/dancer-ircd.overrides @@ -0,0 +1,3 @@ +dancer-ircd: non-standard-file-perm etc/dancer-ircd/olines 0640 != 0644 +dancer-ircd: non-standard-file-perm etc/dancer-ircd/ircd.conf 0640 != 0644 +dancer-ircd: non-standard-dir-perm var/log/dancer-ircd/ 0750 != 0755 --- dancer-ircd-1.0.36.orig/debian/dancer-ircd.postinst +++ dancer-ircd-1.0.36/debian/dancer-ircd.postinst @@ -0,0 +1,46 @@ +#! /bin/sh +# postinst script for dancer-ircd + +set -e + +USER=dancer + +case "$1" in + configure) + if ! grep -q "^dancer:" /etc/passwd; then + echo Creating a user \'$USER\'... + adduser --quiet --system --home /var/run/dancer-ircd \ + --disabled-password --no-create-home --group \ + $USER + fi + + touch /var/lib/dancer-ircd/dline.conf + touch /var/lib/dancer-ircd/kline.conf + + # Changing the user is not supported; this is an upstream + # limitation. Someday it will be fixed + + chown $USER:$USER /var/log/dancer-ircd + chown $USER:$USER /var/lib/dancer-ircd + chown $USER:$USER /var/lib/dancer-ircd/dline.conf + chown $USER:$USER /var/lib/dancer-ircd/kline.conf + chmod 0640 /var/lib/dancer-ircd/dline.conf /var/lib/dancer-ircd/kline.conf + chgrp $USER /etc/dancer-ircd/ircd.conf + chgrp $USER /etc/dancer-ircd/olines + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +#DEBHELPER# + +exit 0 + + --- dancer-ircd-1.0.36.orig/debian/copyright +++ dancer-ircd-1.0.36/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Andrew Suffield on +Sat, 4 Aug 2001 15:08:30 +0100. + +The upstream sources can be found at +http://source.freenode.net/~asuffield/dancer/dancer-ircd + +It is developed using tla; the archive with the release branch is +asuffield@debian.org--dancer-2004, found at +http://source.freenode.net/~asuffield/arch/dancer-2004/ + +Upstream bug reports can be sent to asuffield@suffields.me.uk. + +See /usr/share/doc/dancer-ircd/AUTHORS for a full list of the people +who have worked on the code. + +Copyright notice: + + * Copyright (C) 1990 Jarkko Oikarinen and + * University of Oulu, Computing Center + +License: + +This is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2, or (at your option) any +later version. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + -- Andrew Suffield , Sun Sep 7 20:03:45 2003 --- dancer-ircd-1.0.36.orig/debian/control +++ dancer-ircd-1.0.36/debian/control @@ -0,0 +1,36 @@ +Source: dancer-ircd +Section: net +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Aurélien GÉRÔME +Build-Depends: debhelper (>> 4.0.4), zlib1g-dev, docbook-utils, docbook +Standards-Version: 3.7.3 +Vcs-Git: git://git.roxor.cx/git/dancer-ircd/ +Vcs-Browser: http://git.roxor.cx/?p=dancer-ircd +DM-Upload-Allowed: yes + +Package: dancer-ircd +Architecture: any +Depends: adduser, ${shlibs:Depends} +Recommends: ntp, whois +Description: an IRC server designed for centrally maintained network + Dancer-ircd is the former FreeNode ircd, loosely derived from the + hybrid ircd used on EFnet. + . + It endeavours to handle the network transparently as a unit, and to + provide features to support the FreeNode philosophy. + . + This package contains the main binary files. + +Package: dancer-ircd-doc +Section: doc +Architecture: all +Description: Dancer documentation + Dancer-ircd is the former FreeNode ircd, loosely derived from the + hybrid ircd used on EFnet. + . + It endeavours to handle the network transparently as a unit, and to + provide features to support the FreeNode philosophy. + . + This package contains all the documentation that comes in the original + tarball. --- dancer-ircd-1.0.36.orig/debian/dancer-ircd.8 +++ dancer-ircd-1.0.36/debian/dancer-ircd.8 @@ -0,0 +1,75 @@ +.TH dancer-ircd 8 "7 August 2001" +.SH NAME +dancer-ircd \- an IRC server +.SH SYNOPSIS +.hy 0 +.IP \fBircd\fP +[-d filename] [-f filename] [-h hostname] [-k filename] [-l filename] +[-n] [-v] [-x debuglevel] +.SH DESCRIPTION +.LP +dancer-ircd is the IRC server used by FreeNode Network (amongst +others), built in an effort to overcome the anachronisms, limitations, +and hysterical raisins of traditional IRC servers. +.SH OPTIONS +.TP +.B \-d filename +Where to find the D:line config file. +.TP +.B \-f filename +Where to find the main config file. +.TP +.B \-h hostname +Specify the server name this ircd will be. This should usually match +it's primary hostname. +.TP +.B \-k filename +Where to find the K:line config file. +.TP +.B \-l filename +Where to write the logfile. +.TP +.B \-n +Do not fork, run in the foreground. +.TP +.B \-v +Print version and exit. +.TP +.B \-x debuglevel +Sets the debug level. Higher is more data. Only effective if the ircd +was compiled for debugging. +.SH COPYRIGHT +(c) 1988,1989 University of Oulu, Computing Center, Finland, +.LP +(c) 1988,1989 Department of Information Processing Science, +University of Oulu, Finland +.LP +(c) 1988,1989,1990,1991 Jarkko Oikarinen +.LP +(c) 1999-2003 Andrew Suffield +.LP +Various other people have written or contributed to this ircd, see +connect to it and use "/info" in your IRC client for a fuller list. +.LP +See /usr/share/doc/dancer-ircd/copyright +.LP +.RE +.SH FILES + /etc/dancer-ircd/ircd.conf + /etc/dancer-ircd/olines + /etc/dancer-ircd/motd + /etc/dancer-ircd/omotd + /etc/dancer-ircd/ohelp + /var/lib/dancer-ircd/dline.conf + /var/lib/dancer-ircd/kline.conf +.SH SEE ALSO +There is more detailed documentation on some of the features of +dancer-ircd to be found in /usr/share/doc/dancer-ircd, contained +within the dancer-ircd-doc package. +.SH AUTHOR +Jarkko Oikarinen, currently jto@tolsun.oulu.fi, +manual page written by Jeff Trim, jtrim@orion.cair.du.edu, +later modified by jto@tolsun.oulu.fi. +.P +Rewritten 2001 by Andrew Suffield , +for the Debian GNU/Linux system (but may be used by others). --- dancer-ircd-1.0.36.orig/debian/ircd.conf +++ dancer-ircd-1.0.36/debian/ircd.conf @@ -0,0 +1,467 @@ +# IRC - Internet Relay Chat, doc/example.conf +# Copyright (C) 1992, Bill Wisner +# +# Modified by Rodder, Jon Lusky , +# at one time, but he didn't credit his changes. +# Updated Dec 19, 1997 Diane Bruce aka db/Dianora +# please also read example.conf.trillian, it covers +# elements this example misses. +# -db +# Updated again July 17, 1998 -db +# Updated 990102 to take out P: line connection limiting code +# Updated again July 5, 1999 -db +# Updated for dancer 2000/08/04 -- asuffield +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 1, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +# +# +# IRC example configuration file +# +# This file describes the information that should be present in your IRC +# configuration and how to present it. +# +# M: set your server's name. Fields are, in order, host name (domain style), +# optional bind address, a text name, and unused. +# +# NOTE: The "optional bind address" is an address used in binding to a +# local address when we connect outbound. For example, if your server machine +# is myhost.example.com (192.168.1.5) and you want IRCD to connect to others +# from irc.example.com (192.168.1.250), you'd put 192.168.1.250 in the +# "optional bind address" field. If left blank, UNIX will choose the primary +# address of the interface closest to the destination. +# +# NOTE: As of hybrid-6, the port field no longer binds a port by default. +# It is an inoperative and obsolete field. +# +M:localhost.:127.0.0.1:Debian localhost: +# +# A: administrative information. This line should have three fields, which +# may contain any arbitrary text. It is printed by the /ADMIN command. +# +A:Example location:My address:Inept server admin + +# +# Y: define connection class. A class must be defined in a Y: line before +# it is used in a C, N, or I line. The fields are, in order, class number, +# ping frequency in seconds, connect frequency in seconds, maximum +# number of links (used for auto-connecting), and size of sendq. +# For servers a sendq of at least 4mb is recommended if not more. +# +# N.B. Y lines must be defined before I lines and O lines, since +# both I lines and O lines make reference to Y lines or classes. +# +# For clients, the connect frequency field is used to set the maximum +# number of connects from same IP address. i.e. setting this field to '1' +# will limit every I line using this Y, to one connection per IP address. +# leaving it blank or 0, will disable any such checking. +# +# Class numbers must be positive to ensure future modification of ircd to +# use -1 internally could not be complicated with it's use externally. +# +Y:1:90:0:20:100000 +Y:2:90:300:10:4000000 + +# +# .include lines, insert a file from DPATH directory into the conf +# you could use this to insert a common file between several +# ircd's if you wished. include files are handled after all the +# other lines in the conf file are done. i.e. a .include is always +# as if it was at the end of the conf file. +# +# This brings in the external O:lines file, if there is one +.include "/etc/dancer-ircd/olines" + +# +# I: authorize clients to connect to your server. You can use domains, +# IP addresses, and asterisk wildcards. The second field can contain a +# password that the client must use in order to be allowed to connect. +# The optional fifth field may contain a connection class number. +# +#I:NOMATCH::*.alaska.edu::1 +#I:NOMATCH:password:acad3.alaska.edu::1 +# +# If using IDENT, to activate it, you need to place a "user@" in the +# host segment. +# +#I:*@acad3.alask.edu::*@acad3.alaska.edu::1 +#I:root@acad.alask.edu::root@acad.alaska.edu::1 +# +# The above are bad examples of I-lines, what really happens is something +# like this: +# + +I:NOMATCH::*@*::1 + +## This is a correct example in hybrid-6, the username +## is not used for an IP I line (this may be changed, its a simple change +## but EFnet is currently deprecating the use of non resolving client hosts) +## If the IP block has a resolving host name, it will be shown instead +## of the IP address. This just serves to allow on an entire block of ip's +## without needing to specify each individual hostname. +## Note, you must use an 'x' in the name field + +#I:128.250.0.0/16::x::1 + +# +# You can also limit the number of connections from one host +# to any value. This can be used to stop cloners +# This is done using the normally unused confreq line in the Y line. +# +# i.e. +# Allow 100 users in a "bad boy" class, but allow only ONE +# user per IP to connect at a time. +# +#Y:3:90:1:100:100000 +# +# Remember to put your "bad boy" I line last in the file, so it +# seen first and matches first before your standard I lines +# +# With hybrid ircd, max connections is taken from the class +# not per I line. i.e. the 3 I lines following will always add +# up to 100 or less, not 100 per I line. +# +#I:NOMATCH::*@*ppp*::3 +#I:NOMATCH::*@*slip*::3 +#I:NOMATCH::*@*ts*::3 +# +# a name pattern in the first field will never cause a match since it's only +# ever matched against an IP# in the form a.b.c.d and a number in the third +# field will never match since a hostname is always compared against this +# field. The '@' needs to be in the IP# section for ident to be used. + +# +## additional prefix characters in I lines are defined +## +## from comstud +## +## 1) There are noticable differences in I: lines now. +## There are 4 special characters that you can stick in front +## of a hostname or ip# that do special things. +## These characers are: +## - This will never put a ~ for a user not running identd +## + This will force people matching this I: to require identd +## ! This means to only allow 1 connection per ip# in this I: +## $ (Not used in hybrid) +## +## Examples: +## +## a) I:x::!*@*ppp*::class will only allow X connections per ip# for people +## who have *ppp* in their hostname where X is given in the Y: line. +## If there is no ! and you have a limit in your Y: line, then it matches +## full user@host instead of just host. + +## b) I:x::-*@*.cris.com::class will never show a ~, even though they may +## not be running identd. (This is equivilent to the old way of not +## specifying a @ in the I: line). + +## Additionally since ircd-hybrid-6 +## B/E/F lines were removed and replaced with 3 other special characters +## in I lines +## +## ^ This will exempt a user from K/G lines, limited protection from D lines +## & User can run bots (old B line) +## > This user is exempt from I line/server side connection limits +## (old F line) +## _ This user is exempt from G lines +## +## A variant of amm's spoofing code was added +## = Spoof this users IP, normally only used for opers +## +## < This user is exempt from idle restrictions if IDLE_CHECK is defined +## + +## Examples +## c) I:NOMATCH::^db@koruna.varner.com::3 +## This user is exempt from k/g lines +## d) I:NOMATCH::&jerdfelt@*mindspring.net::3 +## This user can run a bot, and is also "e lined" +## e) I:NOMATCH::>lusky@*vol.com::3 +## This user is immune from I line limits +## f) I:NOMATCH::^&>mpearce@*varner.com::3 +## This user can run a bot, is exempt +## from client connect limits. +## g) I:smurfers.are.lame::=dgalas@*somewhere.com::3 +## Show this user as being dgalas@smurfers.are.lame +## an IP can be used instead as long as the name field does not begin +## with an 'x' +## i.e. +## I:192.168.0.0/24::x::3 #this is an IP I line +## I:192.168.0.0::db@*somesite.com::3 #this is a spoofed IP +# +# O: authorize operators. Fields are, in order, host name the operator must +# be logged in from (wildcards allowed), operator's password, operator's +# nickname. +## + +## O:lines are better described in the dancer-oper-guide than here +## The new format for dancer has the 4th field (port) as the allowed umodes, +## and the 6th field (after the connection class) as the default umodes to +## be set on OPER. +# Examples: + +O:*:$1$nmNi3oKw$/TTB9SfKK3.KPYfKBYLy20:admin:abcdDfFgGhHkKlLmMnNpPrRsSUvVwWxXyYzZ0123459*:1:acdDfFgGhHkKlRsSUvVWXyYzZ0123459 +O:*:$1$nmNi3oKw$/TTB9SfKK3.KPYfKBYLy20:luser::1: + +## NOTE: These examples are from hybrid, and are not valid for dancer. +# +# The first example allows me to become an operator from any +# machine in alaska.edu by typing /oper crunchy frog. +# +#O:*.alaska.edu:frog:crunchy +# +## This example allow this oper, to global kill, do remote squit/connect +## unklines, glines, and use umode +n +## +#O:db@*db.net:-encrypted password-:Dianora:ORUGN:3 +# +## +## This example disables this opers use of global kill, unkline, and gline +## The oper can still do remote squits/connects +## +#O:newbie@*some.net:-encrypted password-:newbie:oug:3 +## +## This example disables this opers use of global kill, unkline, +## gline and gline and remote squits/connects +## essentially the same permissions as a local oper, but with the "vanity" +## They can still local kill and kline for example. +## +#O:vanity@*some.net:-encrypted password-:vanity:oug:3 +## +## you could make someone vantiy even more, by disabling their +## kill/kline privs... note they can still do full traces +## umode +c (watch connections) and do rehash +## But otherwise, this set of flags is not practical for +## a normal oper. +## +#O:vanity@*some.net:-encrypted password-:vanity:nougk:3 +# +## a monitor bot could be given the following privs +## k - no kline/kill +## g - make sure no GLINE +## o - no global kill (already taken care of by 'k' flag above) +## r - no remote routing/squits +## N - allow this monitor to use umode +n for nick changes +## +## Some admins do not like remote tcm kills/klines. If this +## tcm oper gets compromised, the best they can do is +## rehash/trace/umode +cn , i.e. no global kills or "fun" for the +## compromised o line. But its still quite usuable for monitoring +## clones and nick flooders. +## +# +#o:tcm@*varner.com:-encrypted password-:tcm:kgorN:3 +# +## Of course, leaving out the flags entirely defaults to +## reasonable defaults, so if you don't want to worry about it, then don't. +## You can always add G later for example. +# +## O : Global operator +## No explicit G or G-line flag, no N or allow umode +n flag +## +#O:db@ircd.dianora.com:-encrypted password-:Dianora::3 +# +# o : local operator. +#o:trainee@shell.box.com:password:MyNick::3 +# +## +## The fifth field of an O line, is the new class this oper will join +## + +# C:, N: set up connections to other servers. +# +# C: specifies a server that your server may connect to. +# N: allows a remote server to connect to your own. +# +# The two lines are usually given in pairs. +# +# These lines may contain a password in the second field. In fact, to +# maintain proper security, *all* IRC server links must have passwords. +# +# If a C: line contains four fields (the fourth being a TCP port number) +# IRC will actively try to connect to that server. You should have at least +# one such line. +# +# If an N: line contains four fields, the fourth should contain a number that +# specifies how many components of your own server's name to strip off the +# front and be replaced with a *. This is done to implement hostmasking. +# For example, to make hayes.ims.alaska.edu present itself to the world as +# *.alaska.edu, I would use a 2 (to strip off the first two parts). If you +# use this, be sure to tell the administrator of the servers you link to -- +# they must add your hostmasked name to their configuration file or you will +# be unable to connect. +# +# The host part of C/N lines MUST contain a valid hostname or IP address +# The host part in the C:line MUST be identical to the host part in the N:line +# The name part of the C/N lines MUST match the associated H/L line name +# +# The fifth field may contain a connection class number. +# +# The following two lines tell my server to try connecting to +# byron.u.washington.edu. +# +#C:byron.u.washington.edu:crunchyfrog:byron.u.washington.edu:6667:2 +#N:byron.u.washington.edu:crunchyfrog:byron.u.washington.edu:2:2 +# +# The following two lines allow a server to connect to my server, but my +# server will not make any attempt to connect to it. Note that since the +# server is local to me, I am not using hostmasking. +# +#C:kaja.gi.alaska.edu:llamas:kaja.gi.alaska.edu::2 +#N:kaja.gi.alaska.edu:llamas:kaja.gi.alaska.edu::2 +# +# C and N lines may also use the "user@" combination in the same way as +# the I-lines. +# +#C:wisner@kaja.gi.alaska.edu:llamas:kaja.gi.alaska.edu::2 +#N:wisner@kaja.gi.alaska.edu:llamas:kaja.gi.alaska.edu::2 + +## The password in the N:line is usually an MD5 hash, not cleartext +## It must match the password in the C:line on the remote server. +## For serious security, the two servers should have different passwords +## in their C lines, with each other's hash in their N lines. + +# +# K: kill a user automatically upon connecting. This is used to deny +# troublesome users access to your server. The fields are, in order, +# hostname (wildcards are allowed), time of day, and username. + +## Timed k-lines and R: lines are not recommended by the hybrid +## team. They might not even work. Timed-klines made more sense +## for university ircd's but nowadays with so many open irc servers +## around, it just seems pointless. +## -Dianora + +# The second example restricts access from acad3.alaska.edu from +# 9:00am to noon, and 2:00pm to 5:00pm. This form is only supported if +# TIMED_KLINES is defined. +# +#K:*.alaska.edu::FSSPR +#K:acad3.alaska.edu:0900-1200,1400-1700:* + +# Note: it is preferable to place and remove K:lines from a running +# ircd, with the KLINE and UNKLINE commands, which write to the kline.conf +# file directly, in order to handle timestampts and distribution +# across the network cleanly. + +# +# R: restrict user access. This is an extended form of the K: line. +# It looks for a match then runs an outside program that will determine +# whether the person should be allowed on. The fields are hostname, +# program, and username. A full pathname to the program should be used. +# The output of the program should be a string of the form "Y " +# to allow the user, or "N " to block them. In the first case +# the message is ignored; in the latter, it is sent as an error message +# to the user. R: lines are only functional if activated in config.h. +# +#R:kaja.gi.alaska.edu:/usr/local/lib/irc/does-eric-get-in:ejo +# +## NOTE: L:lines are not really appropriate for centrally maintained +## networks. It is not recommended that you use them. +# +# L: leaf. This forces the server listed to act as a leaf. If such a +# server allows any other servers to connect to it, its link is +# dropped. If a port parameter is non-zero, it is used to control the +# maximum depth that link will allow, where depth is the tree depth of +# that branch. +# +#L:::kaja.gi.alaska.edu +#L:::cm5.eng.umd.edu:1 +# +# A new extension to the L-line allows you to be selective +# about which other servers you wish the connecting server to behave as +# as a leaf towards. The following would not allow any server connecting +# with a name that matches *.fi to introduce a server matching *.edu. +# +#L:*.edu::*.fi +# +# H: Hub. This is required to allow other servers which connect to you as +# a hub and introduce other servers. +# +#H:*.au:*:*.au +H:*::* +# +# P : port. The port line allows the server to listen on various ports for +# connections. Fields in order: unused, +# address to bind to, unused, port to listen on +# +# NOTE: As of hybrid-6, you MUST have at least one P: line defining a port +# to listen on, or the server won't do much. +# +P::::6667 +#P::209.42.128.252::31337 +# +# Listen on port 6665 on all available interfaces. Only allow connections from +# net 128.32. This is checked before existance of other access is available. +# 128.32.* == 128.32.0.0 where 0 is a wildcard. +# Also listen to port 31337 on only 209.42.128.252. Allow connections from +# anywhere. +# +# D : dump. Dumps all connect attempts from the matched IP +# without any procesing. +# +# First arg is target IP and CIDR mask, second is a comment. +# +#D:208.148.84.3:bot host that changes domain names frequently +#D:128.183.0/24:NASA users aren't supposed to be on IRC +# +# d : immunity to D dump +# As in D line , First arg is targe IP and CIDR mask, second is a comment. +# +#d:199.0.154.0/24:Don't D line ais.net: + +# +# +# Q lines, not the old server Q lines, but Quarantine lines for +# nicks. Only checked at NICK time, i.e. if added and hashed in +# will not kill users who match this nick. +# +#Q:dcc-*:dcc bots not allowed on this server +#Q:lamestbot:You have to be kidding me +#Q:crush:In memory of Janet Pippin +#Q:cwush:In memory of Janet Pippin +#Q:callas:Only allowed from this host:callas@oper.irc.arpa.com + +# +# if JUPE_CHANNEL is defined you can also jupe a channel locally +# +## NOTE: JUPE_CHANNEL is not defined by default. This may change later +## when it can be arranged for a jupe to propagate across all servers +## more effectively. +# +# i.e. no one on your server can join this channel. +# You need the backslash to escape the # in the channel +# +#Q:\#packet:I am tired of the packet fights for this channel +# +# X lines. +# Used to match gecos fields and prohibit users or warn about users +# who have matching strings in those fields from getting on the server. +# +# All X line matches are sent to opers in +r user mode +# On an X line, a non 0 value for port exits that client +# a 0 value, only warns on +r +# +# These three examples only warn +#X:*www*:Possible spambot warning 1::0 +#X:*http*:Possible spambot warning 2::0 +#X:*sex*:Possible spambot warning 3::0 +# +# These two examples reject the client +# use this to reject IPHONE users +#X:* vc:IPHONE user::1 +# This is a very probable spambot +#X:*see me at*:This has GOT to be a spambot::1 +#X:*hi baby*:This has GOT to be a spambot::1 + --- dancer-ircd-1.0.36.orig/debian/README.Debian +++ dancer-ircd-1.0.36/debian/README.Debian @@ -0,0 +1,38 @@ +dancer-ircd for Debian +---------------------- + +All encrypted passwords are MD5 hashes. mkpasswd in md5 mode will +generate these. While connected to the ircd, the MAKEPASS command will +also generate a correct hash. + +This copy of dancer is built specifically for small network or +standalone setups. Notably, SPLIT_SMALLNET_SIZE and +SPLIT_SMALLNET_USER_SIZE were 0 when it was compiled. To use dancer on +a large network, it is recommended that you rebuild the package with +larger values. + +Also, SPLIT_PONG has been #undeffed, and DEFAULT_SPLIT_RECOVERY_TIME +set to 0. These settings are inappropriate for a large network, but +bearable for a small one. They will be moved to config files at some +point in the future. + +This will be removed when dancer is capable of setting these values +from config instead of at compile time. + +/etc/dancer-ircd/omotd and /etc/dancer-ircd/ohelp are the oper motd +and help files, which are shown to opers in place of the normal +response to the MOTD and HELP commands, respectively. + +As of version 1.0.31 the syntax for I:lines has changed from its +traditional form. Where it used to match user@host, it now matches +nick@host. Given the general uselessness of ident, this is almost +certainly more useful, however, it means that you will need to update +any user-specific I:lines you have placed. Also note that the syntax +for I:line hostname spoofing has changed slightly. See +dancer-oper-guide in dancer-ircd-doc for more information. + +Additionally, the functionality that used to be bound to the +P umode +has been split between +BP@. Again, see dancer-oper-guide for full +details. + + -- Andrew Suffield , Sun Sep 28 17:17:39 2003 --- dancer-ircd-1.0.36.orig/debian/dancer-ircd-doc.doc-base.dancer-user-guide +++ dancer-ircd-1.0.36/debian/dancer-ircd-doc.doc-base.dancer-user-guide @@ -0,0 +1,15 @@ +Document: dancer-user-guide +Title: User's guide for the dancer IRC server +Author: Andrew Suffield +Abstract: This text contains important information for users of the dancer IRC server. +Section: Network/Communication + +Format: PostScript +Files: /usr/share/doc/dancer-ircd/dancer-user-guide.ps.gz + +Format: HTML +Index: /usr/share/doc/dancer-ircd/dancer-user-guide.html/index.htm +Files: /usr/share/doc/dancer-ircd/dancer-user-guide.html/*.htm + +Format: text +Files: /usr/share/doc/dancer-ircd/dancer-user-guide.txt.gz --- dancer-ircd-1.0.36.orig/debian/dancer-ircd-doc.doc-base.dancer-oper-guide +++ dancer-ircd-1.0.36/debian/dancer-ircd-doc.doc-base.dancer-oper-guide @@ -0,0 +1,15 @@ +Document: dancer-oper-guide +Title: Operators guide for the dancer IRC server +Author: Andrew Suffield +Abstract: This guide is required reading for opers on dancer-ircd servers. +Section: Network/Communication + +Format: PostScript +Files: /usr/share/doc/dancer-ircd/dancer-oper-guide.ps.gz + +Format: HTML +Index: /usr/share/doc/dancer-ircd/dancer-oper-guide.html/index.htm +Files: /usr/share/doc/dancer-ircd/dancer-oper-guide.html/*.htm + +Format: Text +Files: /usr/share/doc/dancer-ircd/dancer-oper-guide.txt.gz --- dancer-ircd-1.0.36.orig/debian/dancer-status.txt +++ dancer-ircd-1.0.36/debian/dancer-status.txt @@ -0,0 +1,40 @@ +Dancer was developed primarily to fit the needs of the freenode +network. With freenode's recent decision that they are no longer +interested in the features they once asked for (reliable, race-proof +services that properly integrate channel access and user +authentication, resiliance to lower-level transport problems that +would effectively eliminate netsplits, integration with external +projects, internationalisation, and something resembling secure +authentication), and with no other feature requests or bug reports in +many months, there is no longer anything left that needs to be done. + +As such, development on dancer is unexpectedly but effectively halted +due to the project being complete. It may or may not resume again in +the future, but don't expect to see any new releases any time soon, +unless somebody comes up with some new bugs. + +The last, and therefore current releases are dancer-ircd 1.0.36 and +dancer-services 1.8.0.6.9. + +------------------------------------------------------------------------ + +Personally, I am rather surprised by this; I was expecting to continue +developing and maintaining dancer for a few more years, given the +absence of anybody else willing to do it. Freenode's sudden +disinterest in developing the server software makes no sense to me, +and my questions about the reasons for this have been ignored. + +I have other things on my todo list that are more immediate +priorities, but at some point I intend to revisit the problem and +build a system which implements all this stuff, without the need to +construct an organisation to manage it (since no such organisation +exists and I have no real desire to create one). But that will +probably be two or three years in the future. + +Meanwhile, bugs and feature requests for dancer from its other users +can be sent to me at asuffield@suffields.me.uk; I'll consider them, +although I don't know how much time I'll have to deal with them. + +Please do not contact me about issues with Freenode; I can't help +you. Freenode doesn't run the release versions, but rather uses some +private patches for undisclosed reasons. --- dancer-ircd-1.0.36.orig/debian/dancer-ircd.install +++ dancer-ircd-1.0.36/debian/dancer-ircd.install @@ -0,0 +1 @@ +/usr/sbin/* --- dancer-ircd-1.0.36.orig/debian/olines +++ dancer-ircd-1.0.36/debian/olines @@ -0,0 +1,8 @@ +## O:lines are better described in the dancer-oper-guide than here +## The new format for dancer has the 4th field (port) as the allowed umodes, +## and the 6th field (after the connection class) as the default umodes to +## be set on OPER. +# Examples: + +#O:*:$1$nmNi3oKw$/TTB9SfKK3.KPYfKBYLy20:admin:abcdDfFgGhHkKlLmMnNpPrRsSUvVwWxXyzZ0123459*:1:acdDfFgGhHkKlRsSUvVWXyzZ0123459 +#O:*:$1$nmNi3oKw$/TTB9SfKK3.KPYfKBYLy20:luser::1: --- dancer-ircd-1.0.36.orig/debian/changelog +++ dancer-ircd-1.0.36/debian/changelog @@ -0,0 +1,370 @@ +dancer-ircd (1.0.36-8.1ubuntu2) raring; urgency=low + + * Changed source to check the retval from setuid() instead of + proceeding blindly, fixing FTBFS. + + -- Daniel T Chen Sat, 06 Apr 2013 15:16:15 -0400 + +dancer-ircd (1.0.36-8.1ubuntu1) raring; urgency=low + + * A new merge from Debian. Remaining changes: + - Applied fixes required to build with GCC4.1.1. + + -- Oussama Bounaim Thu, 01 Nov 2012 16:20:00 +0100 + +dancer-ircd (1.0.36-8.1) unstable; urgency=low + + * Non-maintainer upload. + * Create /var/run/dancer-ircd at runtime (Closes: #689886, thanks to Thomas + Goirand). + + -- Thomas Preud'homme Tue, 30 Oct 2012 15:12:29 +0100 + +dancer-ircd (1.0.36-8ubuntu1) karmic; urgency=low + + * Applied fixes required to build with GCC4.1.1 (LP: #448572) + + -- Joao Pinto Sat, 10 Oct 2009 14:24:18 +0100 + +dancer-ircd (1.0.36-8) unstable; urgency=medium + + * Bump Standards-Version to 3.7.3. + * Add the Vcs-Git/Vcs-Browser fields. + * Add the DM-Upload-Allowed field. + * Add docbook to Build-Depends. + * Fix lintian warning "init.d-script-missing-lsb-section + /etc/init.d/dancer-ircd". + + Add LSB headers. (Closes: #468881) + * Fix lintian warning "debian-rules-ignores-make-clean-error + line 38". + * Fix lintian warning "package-contains-empty-directory usr/bin/". + + Remove usr/bin/ from debian/dancer-ircd.dirs. + * Fix lintian warnings "copyright-without-copyright-notice". + + Add copyright notice to debian/copyright. + * Fix lintian warnings "doc-base-unknown-section dancer-user-guide:5 + Apps/Net" and "doc-base-unknown-section dancer-oper-guide:5 + Apps/Net". + + Switch to "Network/Communication". + + -- Aurélien GÉRÔME Sun, 06 Apr 2008 00:22:02 +0200 + +dancer-ircd (1.0.36-7) unstable; urgency=low + + * Adopt the package (Closes: #348746). + * Update to the latest Standards-Version. + * Update the package description. + * Remove .arch-ids/, {arch}/, .arch-inventory directories and files + from the previous maintainer. + + -- Aurélien GÉRÔME Sat, 22 Jul 2006 00:58:35 +0200 + +dancer-ircd (1.0.36-6) unstable; urgency=low + + * QA upload. + * src/m_stats.c (m_stats): Fix command type check. Closes: #361718. + + -- Matej Vela Sun, 9 Apr 2006 23:38:03 +0200 + +dancer-ircd (1.0.36-5) unstable; urgency=low + + * QA upload. + * src/s_cr.c (cr_hashstring): Restore reversed order to avoid breaking + backwards compatibility. + + -- Matej Vela Thu, 16 Feb 2006 11:13:26 +0100 + +dancer-ircd (1.0.36-4) unstable; urgency=low + + * QA upload. + * Package is orphaned (#348746); set maintainer to Debian QA Group. + * src/md5.c, include/md5.h: Apply Jim Kingdon's fixes for 64-bit + architectures (borrowed from cvs 1.12.9). Closes: #245420. + * src/s_cr.c (cr_hashstring): Write bytes in the correct order. + * Conforms to Standards version 3.6.2. + + -- Matej Vela Thu, 16 Feb 2006 10:04:55 +0100 + +dancer-ircd (1.0.36-3) unstable; urgency=low + + * Fix the stupid doc-base files. I hate you doc-base users + (closes: #296887). + + -- Andrew Suffield Mon, 28 Feb 2005 04:23:38 +0000 + +dancer-ircd (1.0.36-2) unstable; urgency=low + + * Actually build the documentation, or stuff breaks (closes: #296887) + * Fix symlink generation for the documentation; bitrot + + -- Andrew Suffield Fri, 25 Feb 2005 17:03:05 +0000 + +dancer-ircd (1.0.36-1) unstable; urgency=low + + * New upstream release (closes: #263100) + * With Freenode's loss of interest in developing the server code, and + the total absence of unsolved bug reports or realistic feature + requests for many months, this will in all probability be the last + upstream release, since there's nothing left to do. See + /usr/share/doc/dancer-ircd/dancer-status.txt for details. + + -- Andrew Suffield Thu, 24 Feb 2005 06:00:39 +0000 + +dancer-ircd (1.0.33-1) unstable; urgency=low + + * New upstream release + * Revamp debian/rules a bit. Migrate to debhelper 4 + + -- Andrew Suffield Fri, 5 Dec 2003 16:58:31 +0000 + +dancer-ircd (1.0.32-2) unstable; urgency=low + + * Update to asuffield@debian.org--dancer-2003/dancer--main--1.0--patch-13 + * This fixes some idiotic mishandling of pointers, which should let it + build on all arches again. + + -- Andrew Suffield Sat, 15 Nov 2003 15:15:24 +0000 + +dancer-ircd (1.0.32-1) unstable; urgency=low + + * New upstream version + * Builds with gcc 3.3 again (closes: #194891) + * Remove mkpasswd.dancer entirely (closes: #156934) + * All references to openprojects.net should be obliterated with this + release (closes: #196517) + * Update the copyright file + * Tidy up the init script a bit, and give a -d argument to the daemon + * Remove the conffile status from + /var/lib/dancer-ircd/{kline,dline}.conf and remove those files from + the package. Touch them in postinst to make sure they exist. + * Clean up some cruft in rules + * Update README.Debian a bit + + -- Andrew Suffield Sun, 28 Sep 2003 17:25:04 +0100 + +dancer-ircd (1.0.31+maint8-4) unstable; urgency=low + + * Check NO_PRINTF_CHECK and HAVE_ATTRIBUTE before using + __attribute__((printf(...))) in include/s_log.h as well as everywhere + else, so it actually builds. + * Coerce use of gcc (ie, skip gcc-3.0 check) to build with so errors + like this don't get missed. + + -- Andrew Suffield Fri, 19 Jul 2002 16:45:45 +0100 + +dancer-ircd (1.0.31+maint8-3) unstable; urgency=low + + * chmod /var/lib/dancer-ircd/{dline,kline}.conf to 0640 in debian/rules, + so they are created with more convinient permissions (you should chmod + by hand if you have an existing installation and want members of group + dancer to be able to read them; this is not done in postinst in case + you don't actually want this). + * chown the same files to dancer:dancer in postinst. They used to be + installed owned by root:root, which was broken (closes: #153492). + + -- Andrew Suffield Fri, 19 Jul 2002 02:50:06 +0100 + +dancer-ircd (1.0.31+maint8-2) unstable; urgency=low + + * The "could'a sworn I uploaded that" release. + * Set DPATH to /, not /var/lib/dancer-ircd/, so unkline actually works + (closes: #145330). + * Fixes from the development tree: + * Minor bug in m_unkline() parsing of kline.conf caused it to + crash when there aren't enough fields in a K:line. + * #undef __attribute__ at the end of send.h so we don't screw up + system includes (should build on potato again). + * Use --hash instead of -H in mkpasswd.dancer to work around broken + mkpasswd (see: #149071, closes: #152898). Users should note that + mkpasswd.dancer is now deprecated and provided only for compatibility. + + -- Andrew Suffield Thu, 18 Jul 2002 02:36:00 +0100 + +dancer-ircd (1.0.31+maint8-1) unstable; urgency=medium + + * New upstream release + * The "I hate my life" release. + * Couple more nasty long-running bugs nailed, this time in K:line + processing. + * Added a >/dev/null to the logrotate script. + + -- Andrew Suffield Fri, 12 Apr 2002 17:19:50 +0100 + +dancer-ircd (1.0.31+maint6-1) unstable; urgency=medium + + * New upstream release + * Added a note about mkpasswd.dancer to README.Debian. + * Fixes the nasty broken INVITE thing, amoungst other bugs. + * Fixes taken from the CVS tree: + * Reopen log on SIGHUP (for proper log rotation). + * Send IDLE from user, not server (so as not to crash +maint2 and + earlier servers). + * Inverted the sense of the test for when to reply with + ERR_NOSUCHNICK to PRIVMSG to a non-existant user. Damnit. + * Strip crap in bans from other servers as well, to stop services + placing silly irremovable ones. (also invex, exempt). + * Colour-strip +d channel mode arguments. + * Add a logrotate file. + * Bumped Suggests on ntp back up to Recommends, it's in main again now. + * Replaced mkpasswd.dancer with a shell script that calls mkpasswd. + * Added Recommends on whois, for mkpasswd + + -- Andrew Suffield Thu, 4 Apr 2002 01:39:24 +0100 + +dancer-ircd (1.0.31+maint2-1) unstable; urgency=medium + + * New upstream release + * This one fixes some obscure bugs, and one nasty memory leak. Hopefully + this will be the last update before woody releases. + + -- Andrew Suffield Mon, 18 Mar 2002 20:54:04 +0000 + +dancer-ircd (1.0.31-2) unstable; urgency=low + + * Fix from CVS: + * Changed some %d to %zd in s_debug.c and send.c, size_t portability + stuff. (closes: #121600, #123220) + * Added #define NO_PRINTF_CHECK to s_debug.c and send.c so they still + build with gcc 2.95. + + -- Andrew Suffield Fri, 21 Dec 2001 17:52:00 +0000 + +dancer-ircd (1.0.31-1) unstable; urgency=medium + + * New upstream release + * From upstream changelog: + * Changed printf format types for size_t to %zi in restart.c. + (closes: #123220, #121600) + * Changed vsprintf_irc() in sprintf_irc.c so it doesn't try to extract + items from a va_list as const (just promote them afterwards). I hate + powerpc's va_args implementation. (closes: #119602) + * Fixed a few other portability issues. + * NOTE: All prior versions have some rather nasty bugs. It is highly + recommended that you upgrade ASAP. Medium priority upload to get these + fixes into testing. + * The syntax and semantics of I:lines has changed, as have the semantics + of the +P umode. See README.Debian and dancer-ircd-doc for more + details. + + -- Andrew Suffield Sun, 16 Dec 2001 15:28:23 +0000 + +dancer-ircd (1.0.21-2) unstable; urgency=low + + * Downgraded recommendation of ntp to a suggestion, ntp moved to non-us + (sigh). + * Included ALL the sgml source, not just some of it. + + -- Andrew Suffield Sat, 24 Nov 2001 21:53:31 +0000 + +dancer-ircd (1.0.21-1) unstable; urgency=low + + * New upstream release + + -- Andrew Suffield Sat, 10 Nov 2001 17:15:29 +0000 + +dancer-ircd (1.0.20-1) unstable; urgency=low + + * New upstream release (closes: #118575) + * Note: this fixes a fairly serious stability bug. Upgrade ASAP. + * Decreased MIN_USERS_FOR_LIST from 4 to 2. Too many people are asking + me why channels don't appear in LIST. Sigh. + + -- Andrew Suffield Wed, 7 Nov 2001 18:30:04 +0000 + +dancer-ircd (1.0.17-2) unstable; urgency=low + + * Moved the sgml stuff to Build-Depends-Indep so the poor buildds don't + have to install a complete tetex environment before building. That + should get the build time down. + + -- Andrew Suffield Wed, 7 Nov 2001 18:29:04 +0000 + +dancer-ircd (1.0.17-1) unstable; urgency=low + + * New upstream release + * From upstream changelog: + * Added patch from David Roundy for use of __va_copy to handle + va_args idiosyncracity on powerpc. Watch this for portability to + non-GNU systems. (closes: #115036) + + -- Andrew Suffield Wed, 24 Oct 2001 10:57:01 +0100 + +dancer-ircd (1.0.15-2) unstable; urgency=low + + * Changed build-dep from cygnus-stylesheets (now obsolete) to + docbook-utils + * Added trailing period to default server name in ircd.conf + * Fixed debian/rules so that it doesn't build the arch-indep packages + when doing binary-arch. Sigh. dh-make sucks. + + -- Andrew Suffield Wed, 10 Oct 2001 22:57:11 +0100 + +dancer-ircd (1.0.15-1) unstable; urgency=low + + * New upstream release + * Fix from CVS: + * Fixed m_unkline.c so that klines without fields saying when they are + placed are removed at once (was random). + * Updated the description to reflect the fact that OPN still hasn't + gotten around to deploying dancer + + -- Andrew Suffield Mon, 17 Sep 2001 17:19:20 +0100 + +dancer-ircd (1.0.12-7) unstable; urgency=low + + * Added --quiet to adduser options in postinst + * Added -r to rm in postrm (oops) + * Updated viconf.8 a bit + + -- Andrew Suffield Mon, 17 Sep 2001 16:55:27 +0100 + +dancer-ircd (1.0.12-6) unstable; urgency=low + + * Changed Maintainer field address + * Added Section: field to doc-base files (closes: #112411) + * Added -Wno-unused to CFLAGS + + -- Andrew Suffield Thu, 16 Aug 2001 00:27:05 +0100 + +dancer-ircd (1.0.12-5) unstable; urgency=low + + * Added support for DEB_BUILD_OPTIONS=debug + * Turned SPLIT_PONG off and set DEFAULT_SERVER_SPLIT_RECOVERY_TIME to 0, + so that split mode is not set + + -- Andrew Suffield Thu, 16 Aug 2001 00:27:05 +0100 + +dancer-ircd (1.0.12-4) unstable; urgency=low + + * Fixes from CVS: + * Fixed buffer overruns when calculating the umode string during + netjoin. + * Moved cmode -f to the secondary buffer so it sorts properly (+f was + alredy moved) + * Added the text build of the sgml docs + * Fixed ircd.conf so it points to olines and not olines.conf (oops), and + added full path so it actually loads + * Added the AUTHORS file, added a reference to it to copyright + * Removed /etc/dancer-ircd/* from conffiles, debhelper adds these + anyway, no point having them twice. + + -- Andrew Suffield Thu, 16 Aug 2001 00:27:05 +0100 + +dancer-ircd (1.0.12-3) unstable; urgency=low + + * Fixed CFLAGS to be -O2 -g -Wall instead of -O0 + * Removed reference to "Universite of Alaska Fairbanks" from default + irc.conf + + -- Andrew Suffield Thu, 16 Aug 2001 00:27:05 +0100 + +dancer-ircd (1.0.12-2) unstable; urgency=low + + * Added dependency on adduser + + -- Andrew Suffield Tue, 14 Aug 2001 00:12:55 +0100 + +dancer-ircd (1.0.12-1) unstable; urgency=low + + * Initial Release. Closes: #108193 + + -- Andrew Suffield Tue, 14 Aug 2001 00:12:43 +0100 --- dancer-ircd-1.0.36.orig/tools/Makefile.in +++ dancer-ircd-1.0.36/tools/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -45,7 +45,7 @@ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/build-misc/mkinstalldirs +mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/include/setup.h CONFIG_CLEAN_FILES = SOURCES = --- dancer-ircd-1.0.36.orig/include/Makefile.in +++ dancer-ircd-1.0.36/include/Makefile.in @@ -1,8 +1,8 @@ -# Makefile.in generated by automake 1.9.4 from Makefile.am. +# Makefile.in generated by automake 1.9.5 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -# 2003, 2004 Free Software Foundation, Inc. +# 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -47,7 +47,7 @@ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) -mkinstalldirs = $(SHELL) $(top_srcdir)/build-misc/mkinstalldirs +mkinstalldirs = $(install_sh) -d CONFIG_HEADER = setup.h CONFIG_CLEAN_FILES = SOURCES = --- dancer-ircd-1.0.36.orig/include/md5.h +++ dancer-ircd-1.0.36/include/md5.h @@ -1,13 +1,14 @@ +/* See md5.c for explanation and copyright information. */ + #ifndef MD5_H #define MD5_H -#include "config.h" - -#ifdef __alpha -typedef unsigned int uint32; -#else +/* Unlike previous versions of this code, uint32 need not be exactly + 32 bits, merely 32 bits or more. Choosing a data type which is 32 + bits instead of 64 is not important; speed is considerably more + important. ANSI guarantees that "unsigned long" will be big enough, + and always using it seems to have few disadvantages. */ typedef unsigned long uint32; -#endif struct MD5Context { uint32 buf[4]; @@ -19,17 +20,11 @@ void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); void MD5Final(unsigned char digest[16], struct MD5Context *context); -void MD5Transform(uint32 buf[4], uint32 const in[16]); +void MD5Transform(uint32 buf[4], const unsigned char in[64]); /* * This is needed to make RSAREF happy on some MS-DOS compilers. */ typedef struct MD5Context MD5_CTX; -#ifdef WORDS_BIGENDIAN -void byteReverse(unsigned char *buf, unsigned longs); -#else -#define byteReverse(buf, len) /* Nothing */ -#endif - #endif /* !MD5_H */ --- dancer-ircd-1.0.36.orig/include/stamp-h.in +++ dancer-ircd-1.0.36/include/stamp-h.in @@ -0,0 +1 @@ +timestamp