- Add HUpnp, a library for building UPnP devices and control points

Feature safe:	yes
This commit is contained in:
Dima Panov 2011-02-05 16:16:13 +00:00
parent 469d31b39f
commit 9cef710ada
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=268683
7 changed files with 173 additions and 0 deletions

View file

@ -238,6 +238,7 @@
SUBDIR += http_ping
SUBDIR += httping
SUBDIR += httpry
SUBDIR += hupnp
SUBDIR += iaxmodem
SUBDIR += icmpinfo
SUBDIR += icpld

38
net/hupnp/Makefile Normal file
View file

@ -0,0 +1,38 @@
# New ports collection makefile for: hupnp
# Date created: 2010-12-29
# Whom: Dima Panov <fluffy@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= hupnp
PORTVERSION= 0.7.0
CATEGORIES= net devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
DISTNAME= herqq-${PORTVERSION}
MAINTAINER= fluffy@FreeBSD.org
COMMENT= A library for building UPnP devices and control points
USE_ZIP= yes
USE_GMAKE= yes
USE_QT_VER= 4
QT_COMPONENTS= corelib network xml dbus gui \
qmake_build moc_build rcc_build uic_build
QMAKE_ARGS= PREFIX=${PREFIX} herqq.pro
do-configure:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
post-install:
cd ${WRKSRC}/hupnp/include && ${COPYTREE_SHARE} \* ${PREFIX}/include
cd ${WRKSRC}/hupnp/deploy/include && ${COPYTREE_SHARE} H\* ${PREFIX}/include
${INSTALL_LIB} ${WRKSRC}/hupnp/bin/libHUpnp.so.1.0.0 \
${PREFIX}/lib/libHUpnp.so.1 && \
${LN} -s ${PREFIX}/lib/libHUpnp.so.1 \
${PREFIX}/lib/libHUpnp.so
${INSTALL_LIB} ${WRKSRC}/hupnp/bin/libQtSolutions_SOAP-2.7.so.1.0.0 \
${PREFIX}/lib/libQtSolutions_SOAP-2.7.so.1 && \
${LN} -s ${PREFIX}/lib/libQtSolutions_SOAP-2.7.so.1 \
${PREFIX}/lib/libQtSolutions_SOAP-2.7.so
.include <bsd.port.mk>

2
net/hupnp/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (herqq-0.7.0.zip) = 1fd717d9bba05d562c9c1309a0332c8882a2efb66946f8d52952d8a996e2e68f
SIZE (herqq-0.7.0.zip) = 1060518

View file

@ -0,0 +1,9 @@
--- ./herqq.pro.orig 2010-12-29 18:14:34.330078044 +1000
+++ ./herqq.pro 2010-10-06 22:12:40.000000000 +1100
@@ -2,5 +2,4 @@
CONFIG += ordered
SUBDIRS = \
hupnp/lib/qtsoap-2.7-opensource/buildlib \
- hupnp \
- apps/simple_test-app
+ hupnp

View file

@ -0,0 +1,11 @@
--- ./hupnp/src/hupnp_core/socket/hmulticast_socket.cpp.orig 2010-12-29 14:08:26.000000000 +1000
+++ ./hupnp/src/hupnp_core/socket/hmulticast_socket.cpp 2010-12-29 14:10:00.000000000 +1000
@@ -27,6 +27,8 @@
#include <ws2tcpip.h>
#else
#include <arpa/inet.h>
+#include <netinet/in.h>
+#include <sys/socket.h>
#endif
#include <QtNetwork/QNetworkProxy>

4
net/hupnp/pkg-descr Normal file
View file

@ -0,0 +1,4 @@
Herqq UPnP (HUPnP) is a software library for building UPnP devices and control
points conforming to the UPnP Device Architecture version 1.1.
WWW: http://www.herqq.org/

108
net/hupnp/pkg-plist Normal file
View file

@ -0,0 +1,108 @@
include/HUpnpCore/HAction
include/HUpnpCore/HActionArgument
include/HUpnpCore/HActionArguments
include/HUpnpCore/HActionInfo
include/HUpnpCore/HActionInvoke
include/HUpnpCore/HActionInvokeCallback
include/HUpnpCore/HActionSetup
include/HUpnpCore/HActionsSetupData
include/HUpnpCore/HAsyncOp
include/HUpnpCore/HClonable
include/HUpnpCore/HControlPoint
include/HUpnpCore/HControlPointConfiguration
include/HUpnpCore/HDevice
include/HUpnpCore/HDeviceConfiguration
include/HUpnpCore/HDeviceCreator
include/HUpnpCore/HDeviceHost
include/HUpnpCore/HDeviceHostConfiguration
include/HUpnpCore/HDeviceHostRuntimeStatus
include/HUpnpCore/HDeviceInfo
include/HUpnpCore/HDeviceProxy
include/HUpnpCore/HDeviceProxyCreator
include/HUpnpCore/HDeviceSetup
include/HUpnpCore/HDevicesSetupData
include/HUpnpCore/HDiscoveryRequest
include/HUpnpCore/HDiscoveryResponse
include/HUpnpCore/HDiscoveryType
include/HUpnpCore/HEndpoint
include/HUpnpCore/HExecArgs
include/HUpnpCore/HFunctor
include/HUpnpCore/HMulticastSocket
include/HUpnpCore/HProductToken
include/HUpnpCore/HProductTokens
include/HUpnpCore/HReadableStateVariable
include/HUpnpCore/HResourceAvailable
include/HUpnpCore/HResourceType
include/HUpnpCore/HResourceUnavailable
include/HUpnpCore/HResourceUpdate
include/HUpnpCore/HService
include/HUpnpCore/HServiceId
include/HUpnpCore/HServiceInfo
include/HUpnpCore/HServiceProxy
include/HUpnpCore/HServiceSetup
include/HUpnpCore/HServicesSetupData
include/HUpnpCore/HSsdp
include/HUpnpCore/HStateVariable
include/HUpnpCore/HStateVariableInfo
include/HUpnpCore/HStateVariableLocker
include/HUpnpCore/HStateVariablesSetupData
include/HUpnpCore/HUdn
include/HUpnpCore/HUpnp
include/HUpnpCore/HUpnpDataTypes
include/HUpnpCore/HWritableStateVariable
include/HUpnpCore/private/hdevice_p.h
include/HUpnpCore/private/hdeviceproxy_p.h
include/HUpnpCore/private/hservice_p.h
include/HUpnpCore/private/hserviceproxy_p.h
include/HUpnpCore/private/hstatevariable_p.h
include/HUpnpCore/public/haction.h
include/HUpnpCore/public/hactionarguments.h
include/HUpnpCore/public/hactioninfo.h
include/HUpnpCore/public/hactioninvoke.h
include/HUpnpCore/public/hactioninvoke_callback.h
include/HUpnpCore/public/hactions_setupdata.h
include/HUpnpCore/public/hasyncop.h
include/HUpnpCore/public/hclonable.h
include/HUpnpCore/public/hcontrolpoint.h
include/HUpnpCore/public/hcontrolpoint_configuration.h
include/HUpnpCore/public/hdevice.h
include/HUpnpCore/public/hdevicecreator.h
include/HUpnpCore/public/hdevicehost.h
include/HUpnpCore/public/hdevicehost_configuration.h
include/HUpnpCore/public/hdeviceinfo.h
include/HUpnpCore/public/hdeviceproxy.h
include/HUpnpCore/public/hdeviceproxy_creator.h
include/HUpnpCore/public/hdevices_setupdata.h
include/HUpnpCore/public/hdiscovery_messages.h
include/HUpnpCore/public/hdiscoverytype.h
include/HUpnpCore/public/hendpoint.h
include/HUpnpCore/public/hevent_connectors.h
include/HUpnpCore/public/hexecargs.h
include/HUpnpCore/public/hfunctor.h
include/HUpnpCore/public/hglobal.h
include/HUpnpCore/public/hmulticast_socket.h
include/HUpnpCore/public/hproduct_tokens.h
include/HUpnpCore/public/hreadable_statevariable.h
include/HUpnpCore/public/hresourcetype.h
include/HUpnpCore/public/hservice.h
include/HUpnpCore/public/hserviceid.h
include/HUpnpCore/public/hserviceinfo.h
include/HUpnpCore/public/hserviceproxy.h
include/HUpnpCore/public/hservices_setupdata.h
include/HUpnpCore/public/hssdp.h
include/HUpnpCore/public/hstatevariable.h
include/HUpnpCore/public/hstatevariableinfo.h
include/HUpnpCore/public/hstatevariables_setupdata.h
include/HUpnpCore/public/hudn.h
include/HUpnpCore/public/hupnp_datatypes.h
include/HUpnpCore/public/hupnp_defs.h
include/HUpnpCore/public/hupnp_fwd.h
include/HUpnpCore/public/hupnp_global.h
include/HUpnpCore/public/hwritable_statevariable.h
lib/libHUpnp.so
lib/libHUpnp.so.1
lib/libQtSolutions_SOAP-2.7.so
lib/libQtSolutions_SOAP-2.7.so.1
@dirrm include/HUpnpCore/public
@dirrm include/HUpnpCore/private
@dirrm include/HUpnpCore