summaryrefslogtreecommitdiffstats
path: root/www/libepc
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-04-07 16:04:20 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-04-07 16:04:20 +0800
commitc314474c9f44cb42c03b6369a45bf44c7780968e (patch)
treee93e1023118cbb234776d5bb525dc6dae97a0582 /www/libepc
parentf28a9cbf555d9289990e6f9a6f7451ecf00b329f (diff)
downloadmarcuscom-ports-c314474c9f44cb42c03b6369a45bf44c7780968e.tar
marcuscom-ports-c314474c9f44cb42c03b6369a45bf44c7780968e.tar.gz
marcuscom-ports-c314474c9f44cb42c03b6369a45bf44c7780968e.tar.bz2
marcuscom-ports-c314474c9f44cb42c03b6369a45bf44c7780968e.tar.lz
marcuscom-ports-c314474c9f44cb42c03b6369a45bf44c7780968e.tar.xz
marcuscom-ports-c314474c9f44cb42c03b6369a45bf44c7780968e.tar.zst
marcuscom-ports-c314474c9f44cb42c03b6369a45bf44c7780968e.zip
Update to 0.3.11.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14027 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/libepc')
-rw-r--r--www/libepc/Makefile30
-rw-r--r--www/libepc/distinfo3
-rw-r--r--www/libepc/files/patch-docs_reference_libepc_Makefile.in11
-rw-r--r--www/libepc/files/patch-libepc_service-monitor.c15
-rw-r--r--www/libepc/files/patch-tests_framework.c22
-rw-r--r--www/libepc/pkg-descr11
-rw-r--r--www/libepc/pkg-plist76
7 files changed, 168 insertions, 0 deletions
diff --git a/www/libepc/Makefile b/www/libepc/Makefile
new file mode 100644
index 000000000..8e4080dc2
--- /dev/null
+++ b/www/libepc/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: libepc
+# Date created: 24 Mar 2008
+# Whom: Koop Mast <kwm@FreeBSD.org>
+#
+# $FreeBSD: ports/www/libepc/Makefile,v 1.10 2010/03/28 06:44:51 dinoex Exp $
+#
+
+PORTNAME= libepc
+PORTVERSION= 0.3.11
+CATEGORIES= www
+MASTER_SITES= GNOME
+
+MAINTAINER= kwm@FreeBSD.org
+COMMENT= The Easy Publish and Consume library
+
+LIB_DEPENDS= uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid \
+ soup-2.4.1:${PORTSDIR}/devel/libsoup \
+ avahi-ui.0:${PORTSDIR}/net/avahi-gtk
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GETTEXT= yes
+USE_GNOME= gnomeprefix gnomehack gtk20
+USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --enable-static
+
+.include <bsd.port.mk>
diff --git a/www/libepc/distinfo b/www/libepc/distinfo
new file mode 100644
index 000000000..5cd3b04e2
--- /dev/null
+++ b/www/libepc/distinfo
@@ -0,0 +1,3 @@
+MD5 (libepc-0.3.11.tar.bz2) = b0d63bf93c28a17ed84edd0eacc9781a
+SHA256 (libepc-0.3.11.tar.bz2) = ec38fe4206fab7a8939fb351d7b419cc681ac44afcdd5aab9bdb8fc3386df25c
+SIZE (libepc-0.3.11.tar.bz2) = 450567
diff --git a/www/libepc/files/patch-docs_reference_libepc_Makefile.in b/www/libepc/files/patch-docs_reference_libepc_Makefile.in
new file mode 100644
index 000000000..f8e9107bb
--- /dev/null
+++ b/www/libepc/files/patch-docs_reference_libepc_Makefile.in
@@ -0,0 +1,11 @@
+--- docs/reference/libepc/Makefile.in.orig 2008-03-24 11:01:18.000000000 +0100
++++ docs/reference/libepc/Makefile.in 2008-03-24 11:01:41.000000000 +0100
+@@ -224,7 +224,7 @@ AUTOMAKE_OPTIONS = 1.6
+ # of using the various options.
+
+ # The name of the module, e.g. 'glib'.
+-DOC_MODULE = libepc-1.0
++DOC_MODULE = libepc
+
+ # The top-level SGML file. You can change this if you want to.
+ DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml
diff --git a/www/libepc/files/patch-libepc_service-monitor.c b/www/libepc/files/patch-libepc_service-monitor.c
new file mode 100644
index 000000000..db6cff034
--- /dev/null
+++ b/www/libepc/files/patch-libepc_service-monitor.c
@@ -0,0 +1,15 @@
+--- libepc/service-monitor.c.orig 2008-03-24 00:54:58.000000000 +0100
++++ libepc/service-monitor.c 2008-03-24 00:56:35.000000000 +0100
+@@ -307,7 +307,11 @@ epc_service_monitor_dispose (GObject *ob
+
+ while (self->priv->browsers)
+ {
+- avahi_service_browser_free (self->priv->browsers->data);
++ // This is evil, the real fix would be to prevent NULL entries from being added.
++ if (self->priv->browsers->data != NULL)
++ {
++ avahi_service_browser_free (self->priv->browsers->data);
++ }
+ self->priv->browsers = g_slist_delete_link (self->priv->browsers, self->priv->browsers);
+ }
+
diff --git a/www/libepc/files/patch-tests_framework.c b/www/libepc/files/patch-tests_framework.c
new file mode 100644
index 000000000..e1eb61677
--- /dev/null
+++ b/www/libepc/files/patch-tests_framework.c
@@ -0,0 +1,22 @@
+--- tests/framework.c.orig 2008-08-05 02:14:30.000000000 +0200
++++ tests/framework.c 2008-08-05 02:26:57.000000000 +0200
+@@ -24,6 +24,7 @@
+ #include <avahi-client/client.h>
+ #include <avahi-common/error.h>
+
++#include <sys/socket.h>
+ #include <net/if.h>
+ #include <sys/ioctl.h>
+
+@@ -194,7 +195,11 @@ epc_test_list_ifaces (void)
+ goto out;
+ }
+
++#ifdef __FreeBSD__
++ ifaces[j].ifidx = req->ifr_index;
++#else
+ ifaces[j].ifidx = req->ifr_ifindex;
++#endif
+ ifaces[j].mask = epc_test_result;
+
+ g_print ("%s: name=%s, ifidx=%u, \n",
diff --git a/www/libepc/pkg-descr b/www/libepc/pkg-descr
new file mode 100644
index 000000000..d81335d68
--- /dev/null
+++ b/www/libepc/pkg-descr
@@ -0,0 +1,11 @@
+The Easy Publish and Consume library provides an easy method to:
+
+ * publish data per HTTPS
+ * announce that information via DNS-SD
+ * find that information
+ * and finally consume it
+
+You can use this library as key/value store published to the network,
+using encryption, authentication and service discovery.
+
+WWW: http://live.gnome.org/libepc/
diff --git a/www/libepc/pkg-plist b/www/libepc/pkg-plist
new file mode 100644
index 000000000..be26a9d7a
--- /dev/null
+++ b/www/libepc/pkg-plist
@@ -0,0 +1,76 @@
+include/libepc-1.0/libepc/consumer.h
+include/libepc-1.0/libepc/contents.h
+include/libepc-1.0/libepc/dispatcher.h
+include/libepc-1.0/libepc/enums.h
+include/libepc-1.0/libepc/marshal.h
+include/libepc-1.0/libepc/protocol.h
+include/libepc-1.0/libepc/publisher.h
+include/libepc-1.0/libepc/service-info.h
+include/libepc-1.0/libepc/service-monitor.h
+include/libepc-1.0/libepc/service-type.h
+include/libepc-1.0/libepc/shell.h
+include/libepc-1.0/libepc/tls.h
+include/libepc-ui-1.0/libepc-ui/password-dialog.h
+include/libepc-ui-1.0/libepc-ui/progress-window.h
+lib/libepc-1.0.a
+lib/libepc-1.0.la
+lib/libepc-1.0.so
+lib/libepc-1.0.so.2
+lib/libepc-ui-1.0.a
+lib/libepc-ui-1.0.la
+lib/libepc-ui-1.0.so
+lib/libepc-ui-1.0.so.2
+libdata/pkgconfig/libepc-1.0.pc
+libdata/pkgconfig/libepc-ui-1.0.pc
+%%DOCSDIR%%/EpcConsumer.html
+%%DOCSDIR%%/EpcDispatcher.html
+%%DOCSDIR%%/EpcPasswordDialog.html
+%%DOCSDIR%%/EpcProgressWindow.html
+%%DOCSDIR%%/EpcPublisher.html
+%%DOCSDIR%%/EpcServiceMonitor.html
+%%DOCSDIR%%/consuming.html
+%%DOCSDIR%%/dns-sd-support.html
+%%DOCSDIR%%/home.png
+%%DOCSDIR%%/index.html
+%%DOCSDIR%%/index.sgml
+%%DOCSDIR%%/internal-api.html
+%%DOCSDIR%%/left.png
+%%DOCSDIR%%/libepc-1.0.devhelp
+%%DOCSDIR%%/libepc-1.0.devhelp2
+%%DOCSDIR%%/libepc-10-EpcAuthContext.html
+%%DOCSDIR%%/libepc-10-EpcContents.html
+%%DOCSDIR%%/libepc-10-EpcProtocol.html
+%%DOCSDIR%%/libepc-10-EpcServiceInfo.html
+%%DOCSDIR%%/libepc-10-EpcServiceType.html
+%%DOCSDIR%%/libepc-10-EpcShell.html
+%%DOCSDIR%%/libepc-10-EpcTls.html
+%%DOCSDIR%%/publishing.html
+%%DOCSDIR%%/right.png
+%%DOCSDIR%%/style.css
+%%DOCSDIR%%/up.png
+%%DOCSDIR%%/widgets.html
+share/locale/ar/LC_MESSAGES/libepc.mo
+share/locale/ca/LC_MESSAGES/libepc.mo
+share/locale/cs/LC_MESSAGES/libepc.mo
+share/locale/da/LC_MESSAGES/libepc.mo
+share/locale/de/LC_MESSAGES/libepc.mo
+share/locale/el/LC_MESSAGES/libepc.mo
+share/locale/en_GB/LC_MESSAGES/libepc.mo
+share/locale/es/LC_MESSAGES/libepc.mo
+share/locale/fi/LC_MESSAGES/libepc.mo
+share/locale/fr/LC_MESSAGES/libepc.mo
+share/locale/gl/LC_MESSAGES/libepc.mo
+share/locale/it/LC_MESSAGES/libepc.mo
+share/locale/ja/LC_MESSAGES/libepc.mo
+share/locale/nb/LC_MESSAGES/libepc.mo
+share/locale/pl/LC_MESSAGES/libepc.mo
+share/locale/pt_BR/LC_MESSAGES/libepc.mo
+share/locale/sl/LC_MESSAGES/libepc.mo
+share/locale/sv/LC_MESSAGES/libepc.mo
+share/locale/th/LC_MESSAGES/libepc.mo
+share/locale/zh_CN/LC_MESSAGES/libepc.mo
+@dirrm %%DOCSDIR%%
+@dirrm include/libepc-ui-1.0/libepc-ui
+@dirrm include/libepc-ui-1.0
+@dirrm include/libepc-1.0/libepc
+@dirrm include/libepc-1.0