pkgsrc/net/gupnp/Makefile

46 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.55 2018/08/16 11:34:18 wiz Exp $
DISTNAME= gupnp-1.0.3
CATEGORIES= net
Updated gupnp to 1.0.0. 1.0.0 ===== - Only version changed 0.99.0 ====== - Fix build on OS X All contributors to this release: - Tomasz Pajor <tomek@polishgeeks.com> - Jens Georg <mail@jensge.org> 0.20.18 ======= - Retry description URL on failure. Bugs fixed in this release: - https://bugzilla.gnome.org/show_bug.cgi?id=694450 All contributors to this release: - Jens Georg <mail@jensge.org> - Jozef Šiška <jozef.siska@streamunlimited.com> 0.20.17 ======= - Update autogen.sh from GNOME template - Cache user agents by IP - Remove intltool - Use newTargetValue in light example Bugs fixed in this release: - https://bugzilla.gnome.org/show_bug.cgi?id=653894 - https://bugzilla.gnome.org/show_bug.cgi?id=763945 - https://bugzilla.gnome.org/show_bug.cgi?id=764050 All contributors to this release: - Jens Georg <mail@jensge.org> - Philip Withnall <philip@tecnocode.co.uk> 0.20.16 ======= - Don't hardcode python path in gupnp-binding-tool - Check for IFA_FLAGS to not bind ourselves to a recent kernel version - Add missing m4 files - Fix issues with introspection - Make GUPnPServiceAction boxed - Some JavaScript examples - Distribute VAPI file in tarball Bugs fixed in this release: - https://bugzilla.gnome.org/show_bug.cgi?id=760217 - https://bugzilla.gnome.org/show_bug.cgi?id=760430 - https://bugzilla.gnome.org/show_bug.cgi?id=761265 All contributors to this release: - Jens Georg <mail@jensge.org> - Ting-Wei Lan <lantw@src.gnome.org> 0.20.15 ======= - Remove gnome-common - Fix issue with gupnp_service_signals_autoconnect() blocking endlessly. - Fix return type for BIN_HEX. - Update some m4 macros. - Fix typos in API docs. NetworkManager context manager: - Fix use-after-free issue. - Fix various static code analysis findings. Netlink context manager: - Use proper macros for RTM_*ADDRESS messages. - Use device name from netlink. - Add possibility to dump received netlink packets for debugging. - Fix issues with losing contexts after DHCP renew happens. - Some style fixes. Added/updated dependencies: - GSSDP >= 0.14.13 Bugs fixed in this release: - https://bugzilla.gnome.org/show_bug.cgi?id=736365 - https://bugzilla.gnome.org/show_bug.cgi?id=741257 - https://bugzilla.gnome.org/show_bug.cgi?id=750936 - https://bugzilla.gnome.org/show_bug.cgi?id=752490 - https://bugzilla.gnome.org/show_bug.cgi?id=759000 All contributors to this release: - Jens Georg <mail@jensge.org> - Debarshi Ray <debarshir@gnome.org> - Olivier Crête <olivier.crete@collabora.com> - Guillaume Marquebielle <guillaume.marquebielle@parrot.com> - Bastien Nocera <hadess@hadess.net> 0.20.14 ======= Changes since 0.20.13: Added/updated dependencies: GLib 2.0 >= 2.40.0 - Simplify UUID handling. Bugs fixed in this release: - https://bugzilla.gnome.org/show_bug.cgi?id=743072 - https://bugzilla.gnome.org/show_bug.cgi?id=744221 All contributors to this release: - Jens Georg <mail@jensge.org>
2016-09-30 16:52:05 +02:00
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gupnp/1.0/}
Update to 0.18.3 * Bump BUILDLINK_API_DEPENDS and BUILDLINK_ABI_DEPENDS * Increase version number in uuid.pc for other gupnp packages Changelog: 0.18.4 ====== Changes since 0.18.3: - Make sure that subscribtion timeouts are always removed. - Update tutorial to use correct upnp.org links. - Add missing includes. - Remove deprecated g_thread_init() calls. - Don't leak internal functions from context managers. - Make "linux" context manager the default context manager when building on Linux. - Fix some more deprecation warnings. - Connman and NM context managers fall back to linux context manager now if available. - Add support for device aliases (such as eth0:1) in the linux context manager. - Really report a bug on faulty device descripton XMLs. - Silence libxml2 console output. All contributors to this release: Jens Georg <mail@jensge.org> Riko Yamada <rik0yamada@yahoo.co.jp> Ludovic Ferrandis <ludovic.ferrandis@linux.intel.com> Sven Neumann <s.neumann@raumfeld.com> Andreas Henriksson <andreas@fatal.se> Bugs fixed: - https://bugzilla.gnome.org/show_bug.cgi?id=680322 - https://bugzilla.gnome.org/show_bug.cgi?id=681963 - https://bugzilla.gnome.org/show_bug.cgi?id=673100 - https://bugzilla.gnome.org/show_bug.cgi?id=673933 - https://bugzilla.gnome.org/show_bug.cgi?id=676803 - https://bugzilla.gnome.org/show_bug.cgi?id=682005 - https://bugzilla.gnome.org/show_bug.cgi?id=679204 0.18.3 ====== Changes since 0.18.2: - Add a Connman (http://connman.net) context manager. - Add a work-around for one of the lock-ups in bug 667494. - Don't leak private symbols. - Don't leak DBus proxies in network-manager context-manager. - Fix some g-i annotations. All contributors to this release: Ludovic Ferrandis <ludovic.ferrandis@linux.intel.com> Jens Georg <mail@jensge.org> Andreas Henriksson <andreas@fatal.se> Changes in dependencies: If the Connman context-manager is enabled (--with-context-manager=connman), the required glib version is 2.28. Bugs fixed: - https://bugzilla.gnome.org/show_bug.cgi?id=673933 - https://bugzilla.gnome.org/show_bug.cgi?id=674410 - https://bugzilla.gnome.org/show_bug.cgi?id=672998 0.18.2 ====== Changes since 0.18.1: - Revert the charset quoting patch from 0.18.1. Apparently this issue was only present in a special version of libsoup. - Fix subscription timeout calculation. - Minor fixes from static code analysis. - Fix byte-range requests. - Add a unit-test for byte-range requests. All contributors: Jens Georg <mail@jensge.org> Sven Neumann <s.neumann@raumfeld.com> Lukasz Pawlik <lukasz.pawlik@comarch.com> Bugs fixed: - https://bugzilla.gnome.org/show_bug.cgi?id=670518 0.18.1 ====== Changes since 0.18.0: - Properly quote charset in SOAP requests. - Fix GUPnPContextManager documentation. - Fix several build warnings. - Several documentation fixes. - Error handling fix in gupnp-binding-tool. - Always send the initial event after a subscribtion even if the client immediately unsubscribes. - Some minor code clean-up. All contributors: Jens Georg <mail@jensge.org> Zeeshan Ali (Khattak) <zeeshanak@gnome.org> Ville Skyttä <ville.skytta@iki.fi> Lukasz Pawlik <lucas.pawlik@gmail.com> Bugs fixed: - https://bugzilla.gnome.org/show_bug.cgi?id=658633 - https://bugzilla.gnome.org/show_bug.cgi?id=658486 0.18.0 ====== Changes since 0.17.2: - Fix a crash in Linux context manager if the USB cable is unplugged from a USB network device interface. All contributors: Jens Georg <mail@jensge.org> 0.17.2 ====== Changes since 0.17.1: - Drop main-context property - Fix a small leak from the default-language property. - Refactor and clean-up internals of GUPnPContextManager. Dependency-related changes: - Require gssdp >= 0.11.2. All contributors: Jens Georg <mail@jensge.org> 0.17.1 ====== Changes since 0.17.1: - Drop deprecated conic support. - A Linux context manager. Unlinke the generic static unix context-manger, the Linux context-manager can dynamically react to device and address changes, similar to the NetworkManager-based context-manager, but without depending on DBus or NetworkManager. - Fix for a SOAP action parameter validation regression. - Updates to the build system such as: - Modernized autotools. - xz tarballs as default. - Improved OpenBSD support. - More stable RootDevice URIs. All contributors: Jens Georg <mail@jensge.org> Jasper Lievisse Adriaanse <jasper@humppa.nl> Javier Jardón <jjardon@gnome.org> Zeeshan Ali (Khattak) <zeeshanak@gnome.org> 0.17.0 ====== Changes since 0.16.1: - Fix several crashes during initial introspection. - Several fixes regarding SOAP action parameter validation. - Always append a Content-Language header if the client has an Accept-Language header. - Always append an Ext header in SOAP responses. - Improve introspection support: * Classes that throw an error during construction implement GInitable. * Update gobject-introspection autotools integration. * Many annotation fixes. - Tutorial improvements. Dependency-related changes: - Require gssdp >= 0.11.0. All contributors: Jens Georg <mail@jensge.org> Zeeshan Ali (Khattak) <zeeshanak@gnome.org> Sven Neumann <s.neumann@raumfeld.com> Santakivi Topi <Topi.Santakivi@digia.com> 0.16.1 ====== Changes since 0.16.0: - Port to new (0.9) NetworkManager APIs. - Correction to 'Content-Type' HTTP header values. - Satisfy strict compiler checks. All contributors: Dan Williams <dcbw@redhat.com> Sven Neumann <s.neumann@raumfeld.com> Zeeshan Ali (Khattak) <zeeshanak@gnome.org> 0.16.0 ====== Changes since 0.15.1: - Set the thread context before doing GDBus operations. - Use the default timeout on DBus calls. - Fix documentation of gupnp_context_manager_new(). - Remove redundant code. - Clear the (obsolete) ChangeLog file. - Add some checks on variants. - Don't use uninitialized pointer. - Some coding-style fixes. Bugs fixed in this release: 2224 - GUPnP accesses dbus properties without checking that they exist 2223 - Missing handling of gio-style multi-main-context in GUPnPNetworkManager All contributors: Olivier Crête <olivier.crete@collabora.co.uk> Zeeshan Ali (Khattak) <zeeshanak@gnome.org> Sven Neumann <s.neumann@raumfeld.com> Jens Georg <mail@jensge.org> Ross Burton <ross@linux.intel.com> Luis de Bethencourt <luis@debethencourt.com> 0.15.1 ====== Changes since 0.15.0: - Set 'ESSID' on WiFi contexts. - Fix a crasher bug. - Fix some leaks. - Remove a cyclic-reference - Fix logic to find service from list and therefore the issue of wrongly ignoring new services. - Remove all hosted paths from SoupServer before unrefing it. Dependency related changes: - Require gssdp >= 0.9.2. Bugs fixed in this release: 2212 - Leak in gupnp_root_device_construct 2215 - gupnp-control-point ignores services at startup 2216 - Leak in gupnp_resource_factory 2217 - gupnp-unix-context-manager leaks contexts if interfaces are not up 2218 - gupnp-context creates new SoupServers on shutdown All contributors: Zeeshan Ali (Khattak) <zeeshanak@gnome.org> Jens Georg <mail@jensge.org> 0.15.0 ====== Changes since 0.14.0 not included in 0.14.1: - Port from dbus-glib to GDBus. - Enable gzip compression for large action response bodies. - Fix gupnp-binding-tool to generate headers usable in C++. Dependency related changes: - Require glib >= 2.24.0. - Require libsoup >= 2.28.2. - Require gio >= 2.26 (new dependency). - Drop dependency on dbus-glib. Bugs fixed in this release: 2184 - Migrate from dbus-glib to glib's GDBus All contributors: Ross Burton <ross@linux.intel.com> Sven Neumann <s.neumann@raumfeld.com> Henry Hoegelow <h.hoegelow@raumfeld.com> Zeeshan Ali (Khattak) <zeeshanak@gnome.org> Fargier Sylvain <fargier.sylvain@free.fr> 0.14.0 ====== Changes since 0.13.5: - Don't use deprecated glib, gobject and libsoup APIs. - Check for libuuid only on platforms where we need it. - Explicitly link example apps to needed libraries. - Fix some potential crashes and leaks. - Fix pointer to/from integer conversion on 64-bit machines. - Fix parsing of unsigned integers. - Use locale-independent float <-> string conversions. - Remove some redundant functions and variables. - Remove some unused variables noticed. - Use correct mime-type for XML data. - Various non-functional improvements. Bugs fixed in this release: 2192 - 64bit portability issue with *_register_*_type functions 2190 - Build fails because explicit linking is missing 2188 - configure.ac should leave out the uuid module check on OSX All contributors: Ross Burton <ross@linux.intel.com> Sven Neumann <s.neumann@raumfeld.com> Jens Georg <mail@jensge.org> Zeeshan Ali (Khattak) <zeeshanak@gnome.org> Nader Morshed <morshed.nader@gmail.com> 0.13.5 ====== Changes since 0.13.4: - Chain up in GUPnPXMLDoc's finalize(). - Correct transfer annotation for gupnp_context_get_session(). - Prefer g_strcmp0() over strcmp(). - Check for body length rather than Content-Length in SOAP requests so we can satsify DLNA CTT test 7.2.5.7. - Explicitly link test apps to needed libraries. Bugs fixed in this release: 2186 - Missing annotation for context_get_session All contributors: Sven Neumann <s.neumann@raumfeld.com> Zeeshan Ali (Khattak) <zeeshanak@gnome.org> Zach Goldberg <zgold@corvette.(none)> 0.13.4 ====== Changes since 0.13.3: - GUPnPService should remove all handlers installed on the shared SoupServer instance when it is disposed. - Fixate subscription timeout to be 300s as per DLNA requirement (7.2.22.1). - Correct type of action argument of GUPnPService::action-invoked. - Remove redundant copying of GValue content in a few places. - Handle multiple variables inside property node in event notifications to be compatible with server-side implementations using older GUPnP - Fix syntax of event notifications with multiple properties. - Add/fix gobject-introspection annotations for various functions. - Some non-functional improvements. Bugs fixed in this release: 2084 - Add scope annotations to various functions 2131 - GUPnPServiceAction is a boxed, not a pointer 2086 - Fix gtk-doc format on all functions in public GUPnP API All contributors: Sven Neumann <s.neumann@raumfeld.com> Zeeshan Ali (Khattak) <zeeshanak@gnome.org> Zach Goldberg <zgold@corvette.(none)>
2012-10-06 10:14:20 +02:00
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gupnp.org/
COMMENT= Framework for UPnP devices
Update to 0.13.2: 0.13.2 ====== Changes since 0.13.1: - Utilize libconic (Maemo5) if available. - Unix context manager must signal the unavailibility of all contexts when disposed. - Enable silent build rules if they are available. - Fix race-conditions in client-side notification handling. - Unix context manager ignores point-to-point interfaces. - Context manager ignores interfaces without IP addresses. - Don't require timeouts to be specified in subscription requests. - Fix build against gcc 4.[1,2]. - Make network manager thread-safe. - Remove idle source on dispose in context manager implementations. - Warn in docs that gupnp_service_info_get_introspection() is evil and why. - Service retrieves introspection data in truly async way. - Fix some leaks. - A bunch of code clean-ups. All contributors: Olivier Crête <olivier.crete@collabora.co.uk> Zeeshan Ali (Khattak) <zeeshanak@gnome.org> Ross Burton <ross@linux.intel.com> Jens Georg <mail@jensge.org> Cem Eliguzel <celiguzel@ubicom.com> Bugs fixed: 1890 - Timeout parsing problem with SUBSCRIBE method 1880 - subscription/notification handling is racy 1906 - Tests failed with gupnp 0.13 1849 - Compile error when using gcc 4.[1,2] and strict aliasing 1494 - Ability to deal with multiple network interfaces 1881 - networkmanager interaction should use its own dbus connection 0.13.1 ====== Changes since 0.13: - Use unix context manager if NetworkManager service is not available. - Fix some minor leaks. All contributors: Zeeshan Ali (Khattak) <zeeshanak@gnome.org> Ross Burton <ross@linux.intel.com> 0.13 ==== Changes since 0.12.8: - Print reason when fail to fetch description doc - Support for dynamic/multiple networks through a new class, ContextManager. This class creates/destroys new context as new network interfaces go up/down. It also provides two convenient methods to take care of control point and device reference managment for you. Currently we have two implementations of context manager: * unix: The static but guaranteed to work on Unix, implementation. This is the default if none chosen at configure-time. * network-manager: A NetworkManager based implementation. - Idle handlers should use the assigned GMainContext. - Gracefully handle 'no root element in description' scenerio. - "host-ip" property moved from GUPnPContext to parent GSSDPClient. - ControlPoint set itself inactive before getting disposed. - New function to retrieve the capabilities of a DLNA device as announced in the device description. - New function to retrieve the content of arbitrary elements in the device description. - Fixed a crash that happens when service-proxy goes down before subscribtion to it completes. - Correct condition for SID being NULL. - Don't create redundant proxies. - Must not announce earlier versions of resources. This is strictly forbidden according to the latest UPnP specs. Instead GSSDP now handles M-SEARCH requests independent of version requested. - Free app developer from hosting of description documents. - New API to get SoupMessage associated with ServiceAction. - Handle the SOAPAction header being missing. - Fixed strrchr result checking. - Provide and use a wrapper class for xmlDoc objects, GUPnPXMLDoc that is a first-class gobject. - New domains for XML errors. - Many other minor fixes. Bugs fixed: 1626 - Print reason when fail to fetch description doc 1769 - audit issues 1760 - missing/invalid SOAPAction header crashes gupnp 1705 - Provide a public API to get information about a GUPnPServiceAction's HTTP request Dependencies changed: - gssdp >= 0.7 All contributors: Zeeshan Ali (Khattak) <zeeshanak@gnome.org> Ross Burton <ross@linux.intel.com> Sven Neumann <s.neumann@raumfeld.com> Jens Georg <mail@jensge.org> Steven Dorigotti <steven.dorigotti@tvblob.com> WARNING: This release is API and ABI incompatible with previous releases.
2010-01-20 14:44:26 +01:00
LICENSE= gnu-lgpl-v2
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
PKGCONFIG_OVERRIDE+= gupnp-1.0.pc.in
REPLACE_PYTHON= tools/gupnp-binding-tool
TEST_TARGET= check
#CFLAGS=-O0 -g
#CONFIGURE_ARGS+= CFLAGS=${CFLAGS:Q}
#CONFIGURE_ARGS+= --disable-shared
#CONFIGURE_ARGS+= --enable-static
.include "../../mk/bsd.prefs.mk"
2011-11-22 20:28:21 +01:00
.if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" || ${OPSYS} == "Darwin"
pre-configure:
cp ${FILESDIR}/uuid.pc ${BUILDLINK_DIR}/lib/pkgconfig/
.else
.include "../../devel/libuuid/buildlink3.mk"
.endif
.include "../../archivers/xz/buildlink3.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.39.90
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../lang/python/application.mk"
2015-06-07 16:05:57 +02:00
BUILDLINK_API_DEPENDS.libsoup+= libsoup>=2.48.0
.include "../../net/libsoup/buildlink3.mk"
Updated gupnp to 1.0.0. 1.0.0 ===== - Only version changed 0.99.0 ====== - Fix build on OS X All contributors to this release: - Tomasz Pajor <tomek@polishgeeks.com> - Jens Georg <mail@jensge.org> 0.20.18 ======= - Retry description URL on failure. Bugs fixed in this release: - https://bugzilla.gnome.org/show_bug.cgi?id=694450 All contributors to this release: - Jens Georg <mail@jensge.org> - Jozef Šiška <jozef.siska@streamunlimited.com> 0.20.17 ======= - Update autogen.sh from GNOME template - Cache user agents by IP - Remove intltool - Use newTargetValue in light example Bugs fixed in this release: - https://bugzilla.gnome.org/show_bug.cgi?id=653894 - https://bugzilla.gnome.org/show_bug.cgi?id=763945 - https://bugzilla.gnome.org/show_bug.cgi?id=764050 All contributors to this release: - Jens Georg <mail@jensge.org> - Philip Withnall <philip@tecnocode.co.uk> 0.20.16 ======= - Don't hardcode python path in gupnp-binding-tool - Check for IFA_FLAGS to not bind ourselves to a recent kernel version - Add missing m4 files - Fix issues with introspection - Make GUPnPServiceAction boxed - Some JavaScript examples - Distribute VAPI file in tarball Bugs fixed in this release: - https://bugzilla.gnome.org/show_bug.cgi?id=760217 - https://bugzilla.gnome.org/show_bug.cgi?id=760430 - https://bugzilla.gnome.org/show_bug.cgi?id=761265 All contributors to this release: - Jens Georg <mail@jensge.org> - Ting-Wei Lan <lantw@src.gnome.org> 0.20.15 ======= - Remove gnome-common - Fix issue with gupnp_service_signals_autoconnect() blocking endlessly. - Fix return type for BIN_HEX. - Update some m4 macros. - Fix typos in API docs. NetworkManager context manager: - Fix use-after-free issue. - Fix various static code analysis findings. Netlink context manager: - Use proper macros for RTM_*ADDRESS messages. - Use device name from netlink. - Add possibility to dump received netlink packets for debugging. - Fix issues with losing contexts after DHCP renew happens. - Some style fixes. Added/updated dependencies: - GSSDP >= 0.14.13 Bugs fixed in this release: - https://bugzilla.gnome.org/show_bug.cgi?id=736365 - https://bugzilla.gnome.org/show_bug.cgi?id=741257 - https://bugzilla.gnome.org/show_bug.cgi?id=750936 - https://bugzilla.gnome.org/show_bug.cgi?id=752490 - https://bugzilla.gnome.org/show_bug.cgi?id=759000 All contributors to this release: - Jens Georg <mail@jensge.org> - Debarshi Ray <debarshir@gnome.org> - Olivier Crête <olivier.crete@collabora.com> - Guillaume Marquebielle <guillaume.marquebielle@parrot.com> - Bastien Nocera <hadess@hadess.net> 0.20.14 ======= Changes since 0.20.13: Added/updated dependencies: GLib 2.0 >= 2.40.0 - Simplify UUID handling. Bugs fixed in this release: - https://bugzilla.gnome.org/show_bug.cgi?id=743072 - https://bugzilla.gnome.org/show_bug.cgi?id=744221 All contributors to this release: - Jens Georg <mail@jensge.org>
2016-09-30 16:52:05 +02:00
BUILDLINK_API_DEPENDS.gssdp+= gssdp>=0.14.15
.include "../../net/gssdp/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"