pkgsrc-Bugs archive

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

pkg/49540: Fix build on OSX + update to latest stable for Unrealircd



>Number:         49540
>Category:       pkg
>Synopsis:       Fix build on OSX + update to latest stable for Unrealircd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 06 23:55:00 +0000 2015
>Originator:     Jonathan Buschmann
>Release:        
>Organization:
>Environment:
>Description:
I saw that chat/unrealircd package wasn't compiling on OSX so I tried to make it compile but I haven't try running it.

Also I'm not sure it's correct to set CFLAGS like I did.
I also changed URL to .org domain as it seems to be the current one.


Changelog:

== Unreal3.2.10.4 ==

Fixes a compile problem on FreeBSD and other OS's where clang is the default compiler.
Also some minor problems with newer services such as anope 2.0 have been fixed

== Unreal3.2.10.3 ==

Mostly bug fixes. There's no need to update existing servers unless you are experiencing problems or if you are using SASL and have ping-cookie disabled (neither is the default).

== Unreal3.2.10.2 ==

The following major issues were present in 3.2.10 & 3.2.10.1 and have been fixed in this version:
- A remote crash issue when compiled with SSL (NULL pointer dereference)
- A second issue that can potentially lead to a crash (read-after-free)
There were also some other bugs fixed, mostly in the area of server linking and flood hardening.


>How-To-Repeat:

>Fix:
diff --git a/chat/unrealircd/Makefile b/chat/unrealircd/Makefile
index 3ed224f..4077274 100644
--- a/chat/unrealircd/Makefile
+++ b/chat/unrealircd/Makefile
@@ -1,13 +1,12 @@
 # $NetBSD: Makefile,v 1.40 2014/11/02 05:35:39 obache Exp $
 
-DISTNAME=      Unreal3.2.10.1
+DISTNAME=      Unreal3.2.10.4
 PKGNAME=       ${DISTNAME:tl:S/l/lircd-/1}
-PKGREVISION=   1
 CATEGORIES=    chat
-MASTER_SITES=  http://unrealircd.com/downloads/
+MASTER_SITES=  http://unrealircd.org/downloads/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://www.unrealircd.com/
+HOMEPAGE=      http://www.unrealircd.org/
 COMMENT=       Advanced IRC server with IPv6 and SSL support
 LICENSE=       gnu-gpl-v2
 
@@ -102,6 +101,7 @@ INSTALLATION_DIRS=  sbin ${IRCD_DOCS} ${IRCD_EG} ${IRCD_SHARE}/aliases \
 
 .if ${OPSYS} == "Darwin"
 INSTALL_UNSTRIPPED=YES
+CFLAGS+=       -DUSE_LOCALE
 .endif
 
 CFLAGS.SunOS+= -DUSE_LOCALE
diff --git a/chat/unrealircd/distinfo b/chat/unrealircd/distinfo
index f7e3fac..5556b7e 100644
--- a/chat/unrealircd/distinfo
+++ b/chat/unrealircd/distinfo
@@ -1,8 +1,8 @@
 $NetBSD: distinfo,v 1.14 2013/07/14 15:42:34 rodent Exp $
 
-SHA1 (Unreal3.2.10.1.tar.gz) = 09428d3d7724dfc80f5add94f33665bf825c7175
-RMD160 (Unreal3.2.10.1.tar.gz) = a8698c9028b4436743cb9fdeffdc552db21c9394
-Size (Unreal3.2.10.1.tar.gz) = 3135615 bytes
+SHA1 (Unreal3.2.10.4.tar.gz) = fa2b828b98afeab8677cb04aed9a634f7e43c386
+RMD160 (Unreal3.2.10.4.tar.gz) = 07c4854a59432dfa8a2ef16c5c9517e08b20cb6b
+Size (Unreal3.2.10.4.tar.gz) = 3540227 bytes
 SHA1 (patch-ab) = b66ae1990e25479abe9087a9308a2185692fcba2
 SHA1 (patch-ac) = 4c3e7219d03e93c2a3e8f735c350d919efdf8fbb
 SHA1 (patch-ae) = dc5f4d080d1027e229f9817d1d4f1e501124f7ba



Home | Main Index | Thread Index | Old Index