aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/libepc/Makefile29
-rw-r--r--www/libepc/distinfo3
-rw-r--r--www/libepc/files/patch-configure20
-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/pkg-descr11
-rw-r--r--www/libepc/pkg-plist62
8 files changed, 152 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 7376c51aafcd..1992099fd648 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -282,6 +282,7 @@
SUBDIR += kompozer
SUBDIR += larbin
SUBDIR += libapreq2
+ SUBDIR += libepc
SUBDIR += libghttp
SUBDIR += libgtkhtml
SUBDIR += libmicrohttpd
diff --git a/www/libepc/Makefile b/www/libepc/Makefile
new file mode 100644
index 000000000000..2322280b2479
--- /dev/null
+++ b/www/libepc/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: libepc
+# Date created: 24 Mar 2008
+# Whom: Koop Mast <kwm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libepc
+PORTVERSION= 0.3.4
+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"
+
+.include <bsd.port.mk>
diff --git a/www/libepc/distinfo b/www/libepc/distinfo
new file mode 100644
index 000000000000..54e4ea594bbd
--- /dev/null
+++ b/www/libepc/distinfo
@@ -0,0 +1,3 @@
+MD5 (libepc-0.3.4.tar.bz2) = 5384bcb26c9186fbd3e5c0daaeb63775
+SHA256 (libepc-0.3.4.tar.bz2) = d894480901927b98d7b981277bd107319fe7fe881a03e051ac44fa64f1c1124b
+SIZE (libepc-0.3.4.tar.bz2) = 410172
diff --git a/www/libepc/files/patch-configure b/www/libepc/files/patch-configure
new file mode 100644
index 000000000000..7cc80526610e
--- /dev/null
+++ b/www/libepc/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig 2008-01-21 11:22:47.000000000 +0100
++++ configure 2008-03-22 00:28:15.000000000 +0100
+@@ -22421,7 +22421,7 @@
+ have_gio=yes
+ fi
+
+-if test "2.2" == "$LIBSOUP_API"
++if test "2.2" = "$LIBSOUP_API"
+ then
+
+ cat >>confdefs.h <<\_ACEOF
+@@ -22430,7 +22430,7 @@
+
+ fi
+
+-if test "yes" == "$have_gio"
++if test "yes" = "$have_gio"
+ then
+ LIBEPC_CFLAGS="$LIBEPC_CFLAGS $GIO_CFLAGS"
+ LIBEPC_LIBS="$LIBEPC_LIBS $GIO_LIBS"
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 000000000000..f8e9107bbc36
--- /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 000000000000..db6cff0345c8
--- /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/pkg-descr b/www/libepc/pkg-descr
new file mode 100644
index 000000000000..d81335d68918
--- /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 000000000000..af0d0fcaa2e2
--- /dev/null
+++ b/www/libepc/pkg-plist
@@ -0,0 +1,62 @@
+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.1
+lib/libepc-ui-1.0.a
+lib/libepc-ui-1.0.la
+lib/libepc-ui-1.0.so
+lib/libepc-ui-1.0.so.1
+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/ca/LC_MESSAGES/libepc.mo
+share/locale/de/LC_MESSAGES/libepc.mo
+share/locale/es/LC_MESSAGES/libepc.mo
+share/locale/sv/LC_MESSAGES/libepc.mo
+@dirrmtry share/locale/ca/LC_MESSAGES
+@dirrmtry share/locale/ca
+@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