pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/unrealircd Update to 3.2.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/91f2df982153
branches:  trunk
changeset: 507583:91f2df982153
user:      adrianp <adrianp%pkgsrc.org@localhost>
date:      Sat Feb 04 21:13:54 2006 +0000

description:
Update to 3.2.4

This is just a summary of changes, for full details see:
        http://www.unrealircd.com/txt/unreal3_2_4_release_notes.txt

> ==[ MAJOR BUGS FIXED ]==
> - Two issues with an incorrect badword { } block in the config file causing a crash.
> - Incorrect TKL/*LINE causing a crash
> - Complete resolver recode: now using c-ares + caching to fix some (rare?) crash bugs and
>   to make our code much more cleaner.
> - Using GCC4 caused a crash on-link.
> - Crash when a class block was removed and had any other blocks were referencing it.
> - OpenBSD crash on /REHASH.
> - Several AMD64 crash issues.
> - Sometimes a serious flood of notices was generated if link::options::nodnscache was used.
> - Spamfilter: action 'viruschan' combined with target 'user' caused crashes.
> - chinese-* nick characters support caused memory corruption.
> - Crash issue regarding SSL and junk snomask.
>
> ==[ MINOR BUGS FIXED ]==
> - Now properly resolves hostnames again that use CNAME delegation (got broken in 3.2.3).
> - Fedora Core w/IPv6 failed to compile.
> - A few read-after-free bugs that could have caused crashes.
> - ./Config was not loading the settings properly on Solaris 10
> - Crash if high ascii in set::network-name
> - Fixed advanced channel aliases not working properly
> - Fixed \* and \? escaping not always working properly (for example in ~r/~c bans).

diffstat:

 chat/unrealircd/Makefile         |  21 +++++++++++------
 chat/unrealircd/distinfo         |  10 ++++----
 chat/unrealircd/patches/patch-aa |  47 ++++++++++++++++++++++++++++++++++-----
 3 files changed, 58 insertions(+), 20 deletions(-)

diffs (172 lines):

diff -r a1844185d8bc -r 91f2df982153 chat/unrealircd/Makefile
--- a/chat/unrealircd/Makefile  Sat Feb 04 21:02:31 2006 +0000
+++ b/chat/unrealircd/Makefile  Sat Feb 04 21:13:54 2006 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2005/12/29 06:21:33 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2006/02/04 21:13:54 adrianp Exp $
 
-DISTNAME=      Unreal3.2.3
-PKGNAME=       unrealircd-3.2.3
-PKGREVISION=   1
+DISTNAME=      Unreal3.2.4
+PKGNAME=       unrealircd-3.2.4
 CATEGORIES=    chat
 MASTER_SITES=  http://unrealircd.atlanti-ka.org/ \
                http://www.ilmarinen.us/unreal/ \
@@ -15,16 +14,21 @@
 CONFLICTS+=    ircu-[0-9]*
 
 GNU_CONFIGURE= YES
-USE_TOOLS+=    pkg-config
+USE_TOOLS+=    pkg-config gmake
 WRKSRC=                ${WRKDIR}/Unreal3.2
 TRE_NEEDED=    0.7.2
+CARES_NEEDED=  1.3.0
 
 BUILDLINK_DEPENDS.tre+=        tre-${TRE_NEEDED}
+BUILDLINK_DEPENDS.libcares+= libcares-${CARES_NEEDED}
 
 .include "../../mk/bsd.prefs.mk"
 
 CONFIGURE_ENV+=        tre_version=${TRE_NEEDED:Q}
 CONFIGURE_ENV+=        TRELIBS="-L${PREFIX}/lib -ltre"
+CONFIGURE_ENV+= cares_version=${CARES_NEEDED:Q}
+CONFIGURE_ENV+= CARESINCDIR="${PREFIX}/include"
+CONFIGURE_ENV+= CARESLIBS="-L${PREFIX}/lib -lcares"
 
 CONFIGURE_ARGS+=       --with-dpath=${UIRCD_HOME:Q}
 CONFIGURE_ARGS+=       --with-spath=${PREFIX}/sbin/ircd
@@ -57,7 +61,7 @@
 UIRCD_LISTEN?=         5
 UIRCD_BUFFER?=         18
 UIRCD_NICKHIST?=       2000
-UIRCD_FDSIZE?=         512
+UIRCD_FDSIZE?=         1024
 UIRCD_USER?=           uircd
 UIRCD_GROUP?=          uircd
 UIRCD_HOST?=           localhost
@@ -73,7 +77,7 @@
 RCD_SCRIPTS=   unrealircd
 
 MESSAGE_SRC+=  ${WRKDIR}/.MESSAGE_SRC
-MESSAGE_SUBST+=        UIRCD_HOME=${UIRCD_HOME}
+MESSAGE_SUBST+=        UIRCD_HOME=${UIRCD_HOME:Q}
 FILES_SUBST+=  UIRCD_HOME=${UIRCD_HOME:Q}
 FILES_SUBST+=  UIRCD_USER=${UIRCD_USER:Q}
 FILES_SUBST+=  UIRCD_GROUP=${UIRCD_GROUP:Q}
@@ -83,7 +87,7 @@
 SUBST_FILES.homedir=   doc/example.conf
 SUBST_SED.homedir=     -e "s|src/modules|${IRCD_SHARE}/modules|g" \
                        -e "s|include \"|include \"${IRCD_SHARE}/|g"
-SUBST_MESSAGE.homedir= "Fixing home directory of IRC server."
+SUBST_MESSAGE.homedir= Fixing home directory of the IRC server.
 
 OWN_DIRS_PERMS+=       ${UIRCD_HOME} ${UIRCD_USER} ${UIRCD_GROUP} 0770
 OWN_DIRS_PERMS+=       ${UIRCD_HOME}/tmp ${UIRCD_USER} ${UIRCD_GROUP} 0770
@@ -92,6 +96,7 @@
 INSTALL_UNSTRIPPED=YES
 .endif
 
+.include "../../net/libcares/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../devel/tre/buildlink3.mk"
 
diff -r a1844185d8bc -r 91f2df982153 chat/unrealircd/distinfo
--- a/chat/unrealircd/distinfo  Sat Feb 04 21:02:31 2006 +0000
+++ b/chat/unrealircd/distinfo  Sat Feb 04 21:13:54 2006 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.3 2005/12/16 15:52:03 joerg Exp $
+$NetBSD: distinfo,v 1.4 2006/02/04 21:13:54 adrianp Exp $
 
-SHA1 (Unreal3.2.3.tar.gz) = 5820906434f0c9e2cd027882e85900a919a2065d
-RMD160 (Unreal3.2.3.tar.gz) = e304e58457847fd371216d2e68293f7daad08dd5
-Size (Unreal3.2.3.tar.gz) = 1881275 bytes
-SHA1 (patch-aa) = 70dbd3e7c40f8be5e8e5f759845d9100770c269a
+SHA1 (Unreal3.2.4.tar.gz) = 9cc51736fc4815cba3c8724e70e9053727b36677
+RMD160 (Unreal3.2.4.tar.gz) = 95a9867f451ba6893f53450d85ea11cde7d27463
+Size (Unreal3.2.4.tar.gz) = 2446695 bytes
+SHA1 (patch-aa) = 762764ac4b520f3e4497f1ded834dc08bb2868e2
 SHA1 (patch-ab) = b66ae1990e25479abe9087a9308a2185692fcba2
 SHA1 (patch-ac) = 4c3e7219d03e93c2a3e8f735c350d919efdf8fbb
 SHA1 (patch-ad) = 3bef7c197efb59def9e77114ad9356ef2f23fa26
diff -r a1844185d8bc -r 91f2df982153 chat/unrealircd/patches/patch-aa
--- a/chat/unrealircd/patches/patch-aa  Sat Feb 04 21:02:31 2006 +0000
+++ b/chat/unrealircd/patches/patch-aa  Sat Feb 04 21:13:54 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2005/12/01 18:09:37 adrianp Exp $
+$NetBSD: patch-aa,v 1.3 2006/02/04 21:13:54 adrianp Exp $
 
---- configure.orig     2005-03-13 21:02:17.000000000 +0000
+--- configure.orig     2006-02-03 13:57:17.000000000 +0000
 +++ configure
-@@ -10221,7 +10221,7 @@ if test "${enable_libcurl+set}" = set; t
+@@ -10247,7 +10247,7 @@ if test "${enable_libcurl+set}" = set; t
                CURLLIBS=`$enableval/bin/curl-config --libs`
  
                                if test "x`echo $CURLLIBS |grep .*ares.*`" = x ; then
@@ -11,7 +11,7 @@
                fi
                IRCDLIBS="$IRCDLIBS $CURLLIBS"
                URL="url.o"
-@@ -10614,39 +10614,6 @@ IRCDLIBS="$IRCDLIBS -lresolv "
+@@ -10692,72 +10692,6 @@ IRCDLIBS="$IRCDLIBS -lresolv "
  ;;
  esac
  
@@ -32,13 +32,13 @@
 -echo "$as_me:$LINENO: result: configuring TRE regex library" >&5
 -echo "${ECHO_T}configuring TRE regex library" >&6
 -cd tre-$tre_version
--./configure --disable-agrep --disable-shared --disable-system-abi --disable-wchar --disable-multibyte --prefix=$cur_dir/extras/regexp
+-./configure --disable-agrep --disable-shared --disable-system-abi --disable-wchar --disable-multibyte --prefix=$cur_dir/extras/regexp || exit 1
 -echo "$as_me:$LINENO: result: compiling TRE regex library" >&5
 -echo "${ECHO_T}compiling TRE regex library" >&6
--$ac_cv_prog_MAKER
+-$ac_cv_prog_MAKER || exit 1
 -echo "$as_me:$LINENO: result: installing TRE regex library" >&5
 -echo "${ECHO_T}installing TRE regex library" >&6
--$ac_cv_prog_MAKER install
+-$ac_cv_prog_MAKER install || exit 1
 -TREINCDIR="$cur_dir/extras/regexp/include"
 -
 -if test "x$ac_cv_path_PKGCONFIG" = "x" ; then
@@ -48,6 +48,39 @@
 -fi
 -
 -cd $cur_dir
+-
+-
+-cares_version="1.3.0"
+-echo "$as_me:$LINENO: result: extracting c-ares resolver library" >&5
+-echo "${ECHO_T}extracting c-ares resolver library" >&6
+-cur_dir=`pwd`
+-cd extras
+-rm -rf c-ares-$cares_version
+-if test "x$ac_cv_path_GUNZIP" = "x" ; then
+-      tar xfz c-ares.tar.gz
+-else
+-      cp c-ares.tar.gz c-ares.tar.gz.bak
+-      gunzip -f c-ares.tar.gz
+-      cp c-ares.tar.gz.bak c-ares.tar.gz
+-      tar xf c-ares.tar
+-fi
+-echo "$as_me:$LINENO: result: configuring c-ares library" >&5
+-echo "${ECHO_T}configuring c-ares library" >&6
+-cd c-ares-$cares_version
+-./configure --prefix=$cur_dir/extras/c-ares || exit 1
+-echo "$as_me:$LINENO: result: compiling c-ares resolver library" >&5
+-echo "${ECHO_T}compiling c-ares resolver library" >&6
+-$ac_cv_prog_MAKER || exit 1
+-echo "$as_me:$LINENO: result: installing c-ares resolver library" >&5
+-echo "${ECHO_T}installing c-ares resolver library" >&6
+-$ac_cv_prog_MAKER install || exit 1
+-CARESINCDIR="$cur_dir/extras/c-ares/include"
+-
+-CARESLIBS="-L../extras/c-ares/lib -lcares"
+-
+-cd $cur_dir
+-
+-
  ac_config_files="$ac_config_files Makefile src/modules/Makefile unreal ircdcron/ircdchk"
  cat >confcache <<\_ACEOF
  # This file is a shell script that caches the results of configure



Home | Main Index | Thread Index | Old Index