Date: Mon, 28 Nov 2011 19:04:37 GMT From: Jr Aquino <tanawts@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/162928: Update UnrealIRCD to 3.2.9 Message-ID: <201111281904.pASJ4bbN050543@red.freebsd.org> Resent-Message-ID: <201111281910.pASJAAVM067235@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162928 >Category: ports >Synopsis: Update UnrealIRCD to 3.2.9 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Nov 28 19:10:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jr Aquino >Release: 8.2 >Organization: >Environment: FreeBSD snowcrash.hbtk.org 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Submitting patch to update FreeBSD Port: UnrealIRCD from 3.2.8 to 3.2.9. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN unreal/Makefile unreal/Makefile --- unreal/Makefile 2011-09-23 15:23:34.000000000 -0700 +++ unreal/Makefile 2011-11-08 14:32:37.000000000 -0800 @@ -2,12 +2,12 @@ # Date created: 15 April 2004 # Whom: Gerrit Beine (<tux@pinguru.net>) # -# $FreeBSD: ports/irc/unreal/Makefile,v 1.24 2011/09/23 22:23:34 amdmi3 Exp $ +# $FreeBSD: ports/irc/unreal/Makefile,v 1.25 2011/11/28 10:50:22 zi Exp $ # PORTNAME= Unreal -PORTVERSION= 3.2.8.1 -PORTREVISION= 3 +PORTVERSION= 3.2.9 +PORTREVISION= 1 CATEGORIES= irc ipv6 MASTER_SITES= http://www.unrealircd.com/downloads/ DISTNAME= ${PORTNAME}${PORTVERSION} @@ -38,6 +38,7 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= ${CPPFLAGS} +CONFIGURE_ENV= LDFLAGS="${LDFLAGS}" CONFIGURE_ARGS= --with-listen=5 \ --with-dpath=${CONFIGDIR} \ --with-spath=${PREFIX}/libexec/ircd \ diff -ruN unreal/distinfo unreal/distinfo --- unreal/distinfo 2011-03-19 05:30:35.000000000 -0700 +++ unreal/distinfo 2011-11-08 14:32:26.000000000 -0800 @@ -1,2 +1,2 @@ -SHA256 (Unreal3.2.8.1.tar.gz) = 009add8da68b6fb66608d06302e59fa9fb994f901cbd92e6f4f10963f2077741 -SIZE (Unreal3.2.8.1.tar.gz) = 2866456 +SHA256 (Unreal3.2.9.tar.gz) = 3f581a331825d9179f5367ea6367dd0dc71c7ba615ac3c0134332086bee0e1d8 +SIZE (Unreal3.2.9.tar.gz) = 3064571 diff -ruN unreal/files/patch-Makefile.in unreal/files/patch-Makefile.in --- unreal/files/patch-Makefile.in 2009-08-18 13:48:24.000000000 -0700 +++ unreal/files/patch-Makefile.in 2011-11-28 10:37:28.000000000 -0800 @@ -1,11 +1,11 @@ ---- Makefile.in 2009-04-13 13:03:55.000000000 +0200 -+++ Makefile.in 2009-08-18 16:14:35.000000000 +0200 +--- Makefile.in 2011-11-05 02:25:24.000000000 -0700 ++++ Makefile.in 2011-11-28 10:21:38.000000000 -0800 @@ -38,7 +38,7 @@ CRYPTOLIB=@CRYPTOLIB@ OPENSSLINCLUDES= --XCFLAGS=-I@TREINCDIR@ -I@CARESINCDIR@ @CARESLIBDIR@ @CFLAGS@ -+XCFLAGS=-I@TREINCDIR@ @CFLAGS@ +-XCFLAGS=@TRE_CFLAGS@ @CARES_CFLAGS@ @CFLAGS@ ++XCFLAGS=-I@TREINCDIR@ @TRE_CFLAGS@ @CFLAGS@ # # use the following on MIPS: #CFLAGS= -systype bsd43 -DSYSTYPE_BSD43 -I$(INCLUDEDIR) diff -ruN unreal/files/patch-ircd.c unreal/files/patch-ircd.c --- unreal/files/patch-ircd.c 2009-08-18 13:48:24.000000000 -0700 +++ unreal/files/patch-ircd.c 2011-11-28 10:38:22.000000000 -0800 @@ -1,14 +1,18 @@ ---- src/ircd.c 2009-03-01 19:37:58.000000000 +0100 -+++ src/ircd.c 2009-08-18 16:20:39.000000000 +0200 -@@ -1369,9 +1369,9 @@ +--- src/ircd.c 2011-11-05 02:25:24.000000000 -0700 ++++ src/ircd.c 2011-11-28 10:21:38.000000000 -0800 +@@ -1407,12 +1407,12 @@ } #endif #ifndef _WIN32 - mkdir("tmp", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the tmp dir, if it doesn't exist */ + mkdir("%%RUNDIR%%/tmp", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the tmp dir, if it doesn't exist */ + #if defined(USE_LIBCURL) && defined(REMOTEINC_SPECIALCACHE) + mkdir("cache", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the cache dir, if using curl and it doesn't exist */ + #endif #else - mkdir("tmp"); + mkdir("%%RUNDIR%%/tmp"); - #endif - #ifndef _WIN32 - /* + #if defined(USE_LIBCURL) && defined(REMOTEINC_SPECIALCACHE) + mkdir("cache"); + #endif + diff -ruN unreal/files/patch-s_conf.c unreal/files/patch-s_conf.c --- unreal/files/patch-s_conf.c 2005-04-11 11:56:40.000000000 -0700 +++ unreal/files/patch-s_conf.c 2011-11-28 10:37:58.000000000 -0800 @@ -1,11 +1,12 @@ ---- src/s_conf.c Mon Mar 21 09:10:42 2005 -+++ src/s_conf.c Mon Mar 21 09:15:09 2005 -@@ -8609,7 +8609,7 @@ - { - char *urlfile = url_getfilename(url); - char *file = unreal_getfilename(urlfile); -- char *tmp = unreal_mktemp("tmp", file); -+ char *tmp = unreal_mktemp("%%RUNDIR%%/tmp", file); - unreal_copyfileex(inc->file, tmp, 1); - add_remote_include(tmp, url, 0, NULL); - free(urlfile); +--- src/s_conf.c 2011-11-05 02:25:24.000000000 -0700 ++++ src/s_conf.c 2011-11-28 10:21:38.000000000 -0800 +@@ -9652,7 +9652,7 @@ + { + char *urlfile = url_getfilename(url); + char *file_basename = unreal_getfilename(urlfile); +- char *tmp = unreal_mktemp("tmp", file_basename); ++ char *tmp = unreal_mktemp("%%RUNDIR%%/tmp", file); + free(urlfile); + + if (cached) + >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111281904.pASJ4bbN050543>