From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jan 17 13:20:22 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5619616A4D0 for ; Mon, 17 Jan 2005 13:20:22 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F2B443D48 for ; Mon, 17 Jan 2005 13:20:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0HDKLTQ092508 for ; Mon, 17 Jan 2005 13:20:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0HDKLXY092507; Mon, 17 Jan 2005 13:20:21 GMT (envelope-from gnats) Date: Mon, 17 Jan 2005 13:20:21 GMT Message-Id: <200501171320.j0HDKLXY092507@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Scott A. Morris" Subject: Re: ports/76297: Update port: irc/unreal (Security Fix) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Scott A. Morris" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 13:20:22 -0000 The following reply was made to PR ports/76297; it has been noted by GNATS. From: "Scott A. Morris" To: freebsd-gnats-submit@FreeBSD.org, tux@pinguru.net Cc: Subject: Re: ports/76297: Update port: irc/unreal (Security Fix) Date: Mon, 17 Jan 2005 05:14:26 -0800 (PST) Trying this, it appears that the list of master sites has changed, and 3.2.2 has been withdrawn from the mirrors to be replaced with 3.2.2b. Here's an updated version of the patch that uses 3.2.2b, and changes the list of download sites to match the project's download page (). It also omits files/patch-m_kick.c, as this patch appears to have been included in 3.2.2b. cheers -- Scott ---------------- diff -Nur unreal.orig/Makefile unreal.updated/Makefile --- unreal.orig/Makefile Wed Jul 21 20:01:55 2004 +++ unreal.updated/Makefile Mon Jan 17 04:57:41 2005 @@ -1,34 +1,39 @@ # Ports collection makefile for: Unreal-IRCd # Date created: 15 April 2004 # Whom: Gerrit Beine () -# ToDo: Make the configuration more flexible using -DOPTION for the -# configuration values, especially support for IPv6. # # $FreeBSD: ports/irc/unreal/Makefile,v 1.3 2004/07/22 02:01:55 ijliao Exp $ # PORTNAME= Unreal -PORTVERSION= 3.2.1 +PORTVERSION= 3.2.2b CATEGORIES= irc -MASTER_SITES= http://mirror.nimsay-networks.com/unrealircd/ \ - http://unrealircd.za.net/ \ - ftp://unrealircd.za.net/pub/UnrealIRCd/ +MASTER_SITES= http://unreal.atlanti-ka.org/ \ + http://unreal.stfu-n00b.net/ \ + http://unrealircd.funny-chat.net/ \ + http://unrealircd.fyrebird.net/ \ + http://unrealircd.chaosteam.hu/ \ + http://64.84.10.70/download/ \ + http://www.gower.net/unrealircd/ \ + http://www.ilmarinen.us/unreal/ \ + http://unrealircd.alert-net.com/ \ + http://www1.dnwt.net/unreal/ \ +# http://www.tiefighter.org/~unreal/downloads/ \ # file missing +# http://mirror.nimsay-networks.com/unrealircd/ \ # file missing +# http://unrealircd.za.net/ \ # file missing +# ftp://unrealircd.za.net/pub/UnrealIRCd/ \ # connect refused + DISTNAME= ${PORTNAME}${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= tux@pinguru.net COMMENT= Unreal - the next generation ircd -SQLMOD= Unreal/SQLMod.tar.gz - WRKSRC= ${WRKDIR}/${PORTNAME}3.2 HAS_CONFIGURE= yes -CONFIGURE_ARGS= --enable-nospoof \ - --enable-hub \ - --enable-ziplinks \ - --with-listen=5 \ +CONFIGURE_ARGS= --with-listen=5 \ --with-dpath=${PREFIX}/Unreal \ --with-spath=${PREFIX}/Unreal/ircd \ --with-nick-history=2000 \ @@ -38,15 +43,28 @@ --with-fd-setsize=1024 \ --enable-dynamic-linking +OPTIONS= HUB "Configure as a hub (otherwise configure as a leaf)" on \ + NOSPOOF "Enable anti-spoof protection" off \ + ZIPLINKS "Enable ziplinks support" off \ + SSL "Support SSL connecions" off \ + IPV6 "Enable ipv6 support" off \ + PREFIXAQ "Enable prefixes for chanadmin and chanowner" off +# REMOTE "Enable remote includes" off \ this does not work at the moment + +SQLMOD= Unreal/SQLMod.tar.gz + .include -.if exists(${DISTDIR}/${SQLMOD}) -USE_MYSQL= yes -WITH_SQLMOD= yes -MAKE_ARGS= all custommodule MODULEFILE=m_sqlmod -PLIST_FILES+= Unreal/modules/m_sqlmod.so Unreal/m_sqlmod.conf \ - Unreal/doc/Changes.sqlmod Unreal/doc/README.sqlmod \ - Unreal/doc/LICENSE.sqlmod +.if defined(WITH_HUB) +CONFIGURE_ARGS+= --enable-hub +.endif + +.if defined(WITH_NOSPOOF) +CONFIGURE_ARGS+= --enable-nospoof +.endif + +.if defined(WITH_ZIPLINKS) +CONFIGURE_ARGS+= --enable-ziplinks .endif .if defined(WITH_IPV6) @@ -58,6 +76,24 @@ USE_OPENSSL= yes .endif +.if defined(WITH_REMOTE) +LIB_DEPENDS+= curl.3:${PORTSDIR}/ftp/curl +CONFIGURE_ARGS+= --enable-libcurl=/usr/local +.endif + +.if defined(WITH_PREFIXAQ) +CONFIGURE_ARGS+= --enable-prefixaq +.endif + +.if exists(${DISTDIR}/${SQLMOD}) +USE_MYSQL= yes +WITH_SQLMOD= yes +MAKE_ARGS= all custommodule MODULEFILE=m_sqlmod +PLIST_FILES+= Unreal/modules/m_sqlmod.so Unreal/m_sqlmod.conf \ + Unreal/doc/Changes.sqlmod Unreal/doc/README.sqlmod \ + Unreal/doc/LICENSE.sqlmod +.endif + post-extract: .if defined(WITH_SQLMOD) @${TAR} xfz ${DISTDIR}/${SQLMOD} -C ${WRKSRC} @@ -69,6 +105,9 @@ .if defined(WITH_SQLMOD) @${PATCH} -d ${WRKSRC} < ${WRKSRC}/SQLMod/patch .endif + +pre-configure: + @${ECHO} ${CONFIGURE_ARGS} post-install: .if defined(WITH_SQLMOD) diff -Nur unreal.orig/distinfo unreal.updated/distinfo --- unreal.orig/distinfo Wed Jul 21 20:01:55 2004 +++ unreal.updated/distinfo Sun Jan 16 20:00:42 2005 @@ -1,2 +1,2 @@ -MD5 (Unreal3.2.1.tar.gz) = ebe56fd42fc229681f527932eaa173cc -SIZE (Unreal3.2.1.tar.gz) = 1614434 +MD5 (Unreal3.2.2b.tar.gz) = d6a90889ce937d77e6e63787d7b31b51 +SIZE (Unreal3.2.2b.tar.gz) = 1708120