pkgsrc/net/libupnp/Makefile

36 lines
747 B
Makefile
Raw Normal View History

2008-02-04 22:52:16 +01:00
# $NetBSD: Makefile,v 1.12 2008/02/04 21:52:16 tnn Exp $
#
DISTNAME= libupnp-1.6.5
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pupnp/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= obache@NetBSD.org
2006-10-13 03:36:07 +02:00
HOMEPAGE= http://pupnp.sourceforge.net/
COMMENT= Portable Universal Plug and Play (UPnP) SDK
USE_LANGUAGES= c
USE_TOOLS+= pkg-config
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-documentation
PKGCONFIG_OVERRIDE+= libupnp.pc.in
BUILDLINK_TRANSFORM+= rm:-lcompat
Update libupnp to 1.6.1. While here, add DESTDIR support. Changes: ******************************************************************************* Version 1.6.1 ******************************************************************************* 2007-11-07 Marcelo Jimenez <mroberto(at)users.sourceforge.net> * SF Bug Tracker [ 1825278 ] AdvertiseAndReply sleeps with handle lock out Applied patch from Alex (afaucher) to change some write locks to read locks. 2007-11-06 Marcelo Jimenez <mroberto(at)users.sourceforge.net> * Adjusting libtool library numbers to reflect the last changes. 2007-11-06 Marcelo Jimenez <mroberto(at)users.sourceforge.net> * SF Bug Tracker [ 1825278 ] AdvertiseAndReply sleeps with handle lock out GlobalHndMutex, which was a mutex is now GlobalHndRWLock, which is a rwlock. HandleLock() is mapped to HandleWriteLock() while all other instances have not been checked. One instance in AdvertiseAndReply() has been changed to HandleReadLock(). Thanks to Alex (afaucher) for the bug report and suggestions. 2007-11-06 Marcelo Jimenez <mroberto(at)users.sourceforge.net> * Added support for rwlocks. 2007-11-05 Marcelo Jimenez <mroberto(at)users.sourceforge.net> * SF Bug Tracker [ 1825929 ] woker thread still alive after UpnpFinish() Submitted By: Luke Kim - nereusuj Worker thread still alive after calling UpnpFinish() because ThreadPoolShutdown() is in the #ifdef DEBUG block. 421 422 #ifdef DEBUG 423 ThreadPoolShutdown( &gSendThreadPool ); 424 ThreadPoolShutdown( &gRecvThreadPool ); 2007-08-28 Marcelo Jimenez <mroberto(at)users.sourceforge.net> * Changed the calls to virtualDirCallback.open(filename, UPNP_WRITE) to (virtualDirCallback.open)(filename, UPNP_WRITE) (notice the parenthesis) due to a change in glibc that produces compilation errors. 2007-08-28 Marcelo Jimenez <mroberto(at)users.sourceforge.net> * Initialization of the "randomness" struct so that valgrind does not complain. 2007-08-06 Marcelo Jimenez <mroberto(at)users.sourceforge.net> * Merge of patch submitted By Keith Brindley - brindlk SF Bug Tracker [ 1762758 ] Seek not working for large files Problem: Requests from the uPnP client to seek to a position beyond 2GB in a large file are handled as a request to see from the 2GB point. Impact: Varies depending on client. The Xbox 360 kills the connection when it realises. Solution: GetNextRange function (webserver.c) is updated to handle large file sizes. Fix should also recognise when built on a 32bit platform rather than 64 and handle accordingly. 2007-08-05 Marcelo Jimenez <mroberto(at)users.sourceforge.net> * Merge of Mac OS X patch from Stephane Corthesy (davelopper), SF Bug Tracker [ 1686420 ] Modifications for MacOSX. Some of the proposed changes were already done by Rene Hexel's patch.
2007-11-08 04:56:58 +01:00
PKG_DESTDIR_SUPPORT= user-destdir
TEST_TARGET= check
2008-02-04 22:52:16 +01:00
.include "../../mk/bsd.prefs.mk"
.include "../../mk/pthread.buildlink3.mk"
2008-02-04 22:52:16 +01:00
.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
PTHREAD_LIBS+= -lrt
.endif
.include "../../mk/bsd.pkg.mk"