diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-03-10 17:53:51 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-03-10 17:53:51 +0800 |
commit | 68e5bc32fa209bb20f40d173d370c21c93bc964a (patch) | |
tree | 040d2c84ef3196f83a2f96f316eaf1f2358e5f6e /net | |
parent | af7640ed5a4e0ed1dcd49af258458927cdd2890f (diff) | |
download | marcuscom-ports-68e5bc32fa209bb20f40d173d370c21c93bc964a.tar marcuscom-ports-68e5bc32fa209bb20f40d173d370c21c93bc964a.tar.gz marcuscom-ports-68e5bc32fa209bb20f40d173d370c21c93bc964a.tar.bz2 marcuscom-ports-68e5bc32fa209bb20f40d173d370c21c93bc964a.tar.lz marcuscom-ports-68e5bc32fa209bb20f40d173d370c21c93bc964a.tar.xz marcuscom-ports-68e5bc32fa209bb20f40d173d370c21c93bc964a.tar.zst marcuscom-ports-68e5bc32fa209bb20f40d173d370c21c93bc964a.zip |
Update to 2.99.3.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15448 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net')
-rw-r--r-- | net/vino3/Makefile | 43 | ||||
-rw-r--r-- | net/vino3/distinfo | 2 | ||||
-rw-r--r-- | net/vino3/files/patch-configure | 52 | ||||
-rw-r--r-- | net/vino3/files/patch-server_libvncserver_sockets.c | 30 | ||||
-rw-r--r-- | net/vino3/files/patch-server_vino-http.c | 24 | ||||
-rw-r--r-- | net/vino3/pkg-descr | 4 | ||||
-rw-r--r-- | net/vino3/pkg-plist | 135 |
7 files changed, 290 insertions, 0 deletions
diff --git a/net/vino3/Makefile b/net/vino3/Makefile new file mode 100644 index 000000000..141cc2a75 --- /dev/null +++ b/net/vino3/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: vino +# Date created: 16 July 2004 +# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org> +# +# $FreeBSD$ +# $MCom: ports/net/vino/Makefile,v 1.83 2011/03/07 08:48:34 kwm Exp $ +# + +PORTNAME= vino +PORTVERSION= 2.99.3 +CATEGORIES= net gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome3 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= VNC server that allows for remote access to your GNOME desktop + +LIB_DEPENDS= gnutls:${PORTSDIR}/security/gnutls \ + telepathy-glib.0:${PORTSDIR}/net-im/telepathy-glib \ + gnome-keyring.0:${PORTSDIR}/security/libgnome-keyring \ + avahi-glib.1:${PORTSDIR}/net/avahi-app \ + unique-1.0.2:${PORTSDIR}/x11-toolkits/unique + +USE_BZIP2= yes +USE_GETTEXT= yes +USE_GNOME= gnomeprefix intlhack gnomehack gtk30 +USE_XORG= xdamage xfixes xtst +USE_GMAKE= yes +GNOME_DESKTOP_VERSION=3 +GNU_CONFIGURE= yes +INSTALLS_ICONS= yes +CONFIGURE_ARGS= --without-network-manager \ + --disable-http-server +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +.if !defined(WITHOUT_NOTIFY) +LIB_DEPENDS+= notify.4:${PORTSDIR}/devel/libnotify +.else +CONFIGURE_ARGS+=--without-libnotify +.endif + +.include <bsd.port.mk> diff --git a/net/vino3/distinfo b/net/vino3/distinfo new file mode 100644 index 000000000..ba6616d0b --- /dev/null +++ b/net/vino3/distinfo @@ -0,0 +1,2 @@ +SHA256 (gnome3/vino-2.99.3.tar.bz2) = c16dcafea322350b543844f8e45241c8b46ce81fc7b6cf69ec7266ad282493a9 +SIZE (gnome3/vino-2.99.3.tar.bz2) = 846842 diff --git a/net/vino3/files/patch-configure b/net/vino3/files/patch-configure new file mode 100644 index 000000000..d54564642 --- /dev/null +++ b/net/vino3/files/patch-configure @@ -0,0 +1,52 @@ +--- configure.bak 2011-03-07 20:47:42.000000000 +0100 ++++ configure 2011-03-10 09:20:43.000000000 +0100 +@@ -15642,12 +15642,12 @@ + pkg_cv_VINO_SERVER_CFLAGS="$VINO_SERVER_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= \$GTK_VERSION \$TELEPATHY_GLIB_DEPS \$LIBNOTIFY_DEPS \$GNOME_KEYRING_DEPS \$NETWORKMANAGER_DEPS \$GNUTLS_DEPS \$AVAHI_DEPS\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= $GTK_VERSION $TELEPATHY_GLIB_DEPS $LIBNOTIFY_DEPS $GNOME_KEYRING_DEPS $NETWORKMANAGER_DEPS $GNUTLS_DEPS $AVAHI_DEPS") 2>&5 ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= \$GTK_VERSION \$TELEPATHY_GLIB_DEPS \$LIBNOTIFY_DEPS \$GNOME_KEYRING_DEPS \$GNUTLS_DEPS \$AVAHI_DEPS\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= $GTK_VERSION $TELEPATHY_GLIB_DEPS $LIBNOTIFY_DEPS $GNOME_KEYRING_DEPS $GNUTLS_DEPS $AVAHI_DEPS") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_VINO_SERVER_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= $GTK_VERSION $TELEPATHY_GLIB_DEPS $LIBNOTIFY_DEPS $GNOME_KEYRING_DEPS $NETWORKMANAGER_DEPS $GNUTLS_DEPS $AVAHI_DEPS" 2>/dev/null` ++ pkg_cv_VINO_SERVER_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= $GTK_VERSION $TELEPATHY_GLIB_DEPS $LIBNOTIFY_DEPS $GNOME_KEYRING_DEPS $GNUTLS_DEPS $AVAHI_DEPS" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -15658,12 +15658,12 @@ + pkg_cv_VINO_SERVER_LIBS="$VINO_SERVER_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= \$GTK_VERSION \$TELEPATHY_GLIB_DEPS \$LIBNOTIFY_DEPS \$GNOME_KEYRING_DEPS \$NETWORKMANAGER_DEPS \$GNUTLS_DEPS \$AVAHI_DEPS\""; } >&5 +- ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= $GTK_VERSION $TELEPATHY_GLIB_DEPS $LIBNOTIFY_DEPS $GNOME_KEYRING_DEPS $NETWORKMANAGER_DEPS $GNUTLS_DEPS $AVAHI_DEPS") 2>&5 ++ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= \$GTK_VERSION \$TELEPATHY_GLIB_DEPS \$LIBNOTIFY_DEPS \$GNOME_KEYRING_DEPS \$GNUTLS_DEPS \$AVAHI_DEPS\""; } >&5 ++ ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= $GTK_VERSION $TELEPATHY_GLIB_DEPS $LIBNOTIFY_DEPS $GNOME_KEYRING_DEPS $GNUTLS_DEPS $AVAHI_DEPS") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +- pkg_cv_VINO_SERVER_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= $GTK_VERSION $TELEPATHY_GLIB_DEPS $LIBNOTIFY_DEPS $GNOME_KEYRING_DEPS $NETWORKMANAGER_DEPS $GNUTLS_DEPS $AVAHI_DEPS" 2>/dev/null` ++ pkg_cv_VINO_SERVER_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= $GTK_VERSION $TELEPATHY_GLIB_DEPS $LIBNOTIFY_DEPS $GNOME_KEYRING_DEPS $GNUTLS_DEPS $AVAHI_DEPS" 2>/dev/null` + else + pkg_failed=yes + fi +@@ -15683,14 +15683,14 @@ + _pkg_short_errors_supported=no + fi + if test $_pkg_short_errors_supported = yes; then +- VINO_SERVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= $GTK_VERSION $TELEPATHY_GLIB_DEPS $LIBNOTIFY_DEPS $GNOME_KEYRING_DEPS $NETWORKMANAGER_DEPS $GNUTLS_DEPS $AVAHI_DEPS" 2>&1` ++ VINO_SERVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= $GTK_VERSION $TELEPATHY_GLIB_DEPS $LIBNOTIFY_DEPS $GNOME_KEYRING_DEPS $GNUTLS_DEPS $AVAHI_DEPS" 2>&1` + else +- VINO_SERVER_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= $GTK_VERSION $TELEPATHY_GLIB_DEPS $LIBNOTIFY_DEPS $GNOME_KEYRING_DEPS $NETWORKMANAGER_DEPS $GNUTLS_DEPS $AVAHI_DEPS" 2>&1` ++ VINO_SERVER_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= $GTK_VERSION $TELEPATHY_GLIB_DEPS $LIBNOTIFY_DEPS $GNOME_KEYRING_DEPS $GNUTLS_DEPS $AVAHI_DEPS" 2>&1` + fi + # Put the nasty error message in config.log where it belongs + echo "$VINO_SERVER_PKG_ERRORS" >&5 + +- as_fn_error "Package requirements (glib-2.0 >= $GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= $GTK_VERSION $TELEPATHY_GLIB_DEPS $LIBNOTIFY_DEPS $GNOME_KEYRING_DEPS $NETWORKMANAGER_DEPS $GNUTLS_DEPS $AVAHI_DEPS) were not met: ++ as_fn_error "Package requirements (glib-2.0 >= $GLIB_VERSION gio-unix-2.0 gtk+-x11-3.0 >= $GTK_VERSION $TELEPATHY_GLIB_DEPS $LIBNOTIFY_DEPS $GNOME_KEYRING_DEPS $GNUTLS_DEPS $AVAHI_DEPS) were not met: + + $VINO_SERVER_PKG_ERRORS + diff --git a/net/vino3/files/patch-server_libvncserver_sockets.c b/net/vino3/files/patch-server_libvncserver_sockets.c new file mode 100644 index 000000000..348ea91d3 --- /dev/null +++ b/net/vino3/files/patch-server_libvncserver_sockets.c @@ -0,0 +1,30 @@ +--- server/libvncserver/sockets.c.orig 2009-02-13 08:11:38.000000000 -0500 ++++ server/libvncserver/sockets.c 2009-03-07 20:19:28.000000000 -0500 +@@ -668,6 +669,11 @@ NewSocketListenTCP(struct sockaddr *addr + { + int sock = -1; + int one = 1; ++#ifdef ENABLE_IPV6 ++#ifdef IPV6_V6ONLY ++ int off = 0; ++#endif ++#endif + + if ((sock = socket(addr->sa_family, SOCK_STREAM, 0)) < 0) + return -1; +@@ -677,6 +683,15 @@ NewSocketListenTCP(struct sockaddr *addr + return -1; + } + ++#ifdef ENABLE_IPV6 ++#ifdef IPV6_V6ONLY ++ if (setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (void *)&off, sizeof(off)) < 0) { ++ close(sock); ++ return -1; ++ } ++#endif ++#endif ++ + if (bind(sock, addr, len) < 0) { + close(sock); + return -1; diff --git a/net/vino3/files/patch-server_vino-http.c b/net/vino3/files/patch-server_vino-http.c new file mode 100644 index 000000000..d51f95885 --- /dev/null +++ b/net/vino3/files/patch-server_vino-http.c @@ -0,0 +1,24 @@ +Index: server/vino-http.c +diff -u -p server/vino-http.c.orig server/vino-http.c +--- server/vino-http.c.orig Tue Feb 27 19:47:35 2007 ++++ server/vino-http.c Sun Mar 25 20:56:41 2007 +@@ -595,6 +595,9 @@ vino_http_create_listening_socket (VinoH + { + #ifdef ENABLE_IPV6 + struct sockaddr_in6 saddr_in6; ++#ifdef IPV6_V6ONLY ++ int off = 0; ++#endif + #endif + struct sockaddr_in saddr_in; + struct sockaddr *saddr; +@@ -621,6 +624,9 @@ vino_http_create_listening_socket (VinoH + + #ifdef ENABLE_IPV6 + sock = socket (AF_INET6, SOCK_STREAM, 0); ++#ifdef IPV6_V6ONLY ++ setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (void *)&off, sizeof(off)); ++#endif + + memset (&saddr_in6, 0, sizeof (struct sockaddr_in6)); + saddr_in6.sin6_family = AF_INET6; diff --git a/net/vino3/pkg-descr b/net/vino3/pkg-descr new file mode 100644 index 000000000..f56a27700 --- /dev/null +++ b/net/vino3/pkg-descr @@ -0,0 +1,4 @@ +Vino is a VNC server for GNOME - it allows someone to remotely connect +to your desktop session using the RFB protocol. + +WWW: http://www.gnome.org diff --git a/net/vino3/pkg-plist b/net/vino3/pkg-plist new file mode 100644 index 000000000..88337ff4a --- /dev/null +++ b/net/vino3/pkg-plist @@ -0,0 +1,135 @@ +bin/vino-passwd +bin/vino-preferences +etc/xdg/autostart/vino-server.desktop +libexec/vino-server +share/applications/vino-preferences.desktop +share/dbus-1/services/org.freedesktop.Telepathy.Client.Vino.service +share/locale/ar/LC_MESSAGES/vino.mo +share/locale/as/LC_MESSAGES/vino.mo +share/locale/ast/LC_MESSAGES/vino.mo +share/locale/az/LC_MESSAGES/vino.mo +share/locale/be/LC_MESSAGES/vino.mo +share/locale/be@latin/LC_MESSAGES/vino.mo +share/locale/bg/LC_MESSAGES/vino.mo +share/locale/bn/LC_MESSAGES/vino.mo +share/locale/bn_IN/LC_MESSAGES/vino.mo +share/locale/bs/LC_MESSAGES/vino.mo +share/locale/ca/LC_MESSAGES/vino.mo +share/locale/ca@valencia/LC_MESSAGES/vino.mo +share/locale/cs/LC_MESSAGES/vino.mo +share/locale/cy/LC_MESSAGES/vino.mo +share/locale/da/LC_MESSAGES/vino.mo +share/locale/de/LC_MESSAGES/vino.mo +share/locale/dz/LC_MESSAGES/vino.mo +share/locale/el/LC_MESSAGES/vino.mo +share/locale/en@shaw/LC_MESSAGES/vino.mo +share/locale/en_CA/LC_MESSAGES/vino.mo +share/locale/en_GB/LC_MESSAGES/vino.mo +share/locale/eo/LC_MESSAGES/vino.mo +share/locale/es/LC_MESSAGES/vino.mo +share/locale/et/LC_MESSAGES/vino.mo +share/locale/eu/LC_MESSAGES/vino.mo +share/locale/fa/LC_MESSAGES/vino.mo +share/locale/fi/LC_MESSAGES/vino.mo +share/locale/fr/LC_MESSAGES/vino.mo +share/locale/ga/LC_MESSAGES/vino.mo +share/locale/gl/LC_MESSAGES/vino.mo +share/locale/gu/LC_MESSAGES/vino.mo +share/locale/he/LC_MESSAGES/vino.mo +share/locale/hi/LC_MESSAGES/vino.mo +share/locale/hr/LC_MESSAGES/vino.mo +share/locale/hu/LC_MESSAGES/vino.mo +share/locale/id/LC_MESSAGES/vino.mo +share/locale/it/LC_MESSAGES/vino.mo +share/locale/ja/LC_MESSAGES/vino.mo +share/locale/ka/LC_MESSAGES/vino.mo +share/locale/kk/LC_MESSAGES/vino.mo +share/locale/kn/LC_MESSAGES/vino.mo +share/locale/ko/LC_MESSAGES/vino.mo +share/locale/ku/LC_MESSAGES/vino.mo +share/locale/lt/LC_MESSAGES/vino.mo +share/locale/lv/LC_MESSAGES/vino.mo +share/locale/mai/LC_MESSAGES/vino.mo +share/locale/mk/LC_MESSAGES/vino.mo +share/locale/ml/LC_MESSAGES/vino.mo +share/locale/mn/LC_MESSAGES/vino.mo +share/locale/mr/LC_MESSAGES/vino.mo +share/locale/ms/LC_MESSAGES/vino.mo +share/locale/nb/LC_MESSAGES/vino.mo +share/locale/ne/LC_MESSAGES/vino.mo +share/locale/nl/LC_MESSAGES/vino.mo +share/locale/nn/LC_MESSAGES/vino.mo +share/locale/oc/LC_MESSAGES/vino.mo +share/locale/or/LC_MESSAGES/vino.mo +share/locale/pa/LC_MESSAGES/vino.mo +share/locale/pl/LC_MESSAGES/vino.mo +share/locale/pt/LC_MESSAGES/vino.mo +share/locale/pt_BR/LC_MESSAGES/vino.mo +share/locale/ro/LC_MESSAGES/vino.mo +share/locale/ru/LC_MESSAGES/vino.mo +share/locale/rw/LC_MESSAGES/vino.mo +share/locale/si/LC_MESSAGES/vino.mo +share/locale/sk/LC_MESSAGES/vino.mo +share/locale/sl/LC_MESSAGES/vino.mo +share/locale/sq/LC_MESSAGES/vino.mo +share/locale/sr/LC_MESSAGES/vino.mo +share/locale/sr@latin/LC_MESSAGES/vino.mo +share/locale/sv/LC_MESSAGES/vino.mo +share/locale/ta/LC_MESSAGES/vino.mo +share/locale/te/LC_MESSAGES/vino.mo +share/locale/th/LC_MESSAGES/vino.mo +share/locale/tr/LC_MESSAGES/vino.mo +share/locale/ug/LC_MESSAGES/vino.mo +share/locale/uk/LC_MESSAGES/vino.mo +share/locale/vi/LC_MESSAGES/vino.mo +share/locale/wa/LC_MESSAGES/vino.mo +share/locale/xh/LC_MESSAGES/vino.mo +share/locale/zh_CN/LC_MESSAGES/vino.mo +share/locale/zh_HK/LC_MESSAGES/vino.mo +share/locale/zh_TW/LC_MESSAGES/vino.mo +share/telepathy/clients/Vino.client +%%DATADIR%%/vino-preferences.ui +%%DATADIR%%/vino-prompt.ui +%%DATADIR%%/webservices +@dirrm %%DATADIR%% +@dirrmtry share/telepathy/clients +@dirrmtry share/telepathy +@dirrmtry share/applications +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/xh/LC_MESSAGES +@dirrmtry share/locale/xh +@dirrmtry share/locale/ug/LC_MESSAGES +@dirrmtry share/locale/ug +@dirrmtry share/locale/te/LC_MESSAGES +@dirrmtry share/locale/te +@dirrmtry share/locale/sr@latin/LC_MESSAGES +@dirrmtry share/locale/sr@latin +@dirrmtry share/locale/si/LC_MESSAGES +@dirrmtry share/locale/si +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/oc/LC_MESSAGES +@dirrmtry share/locale/oc +@dirrmtry share/locale/mr/LC_MESSAGES +@dirrmtry share/locale/mr +@dirrmtry share/locale/mai/LC_MESSAGES +@dirrmtry share/locale/mai +@dirrmtry share/locale/ku/LC_MESSAGES +@dirrmtry share/locale/ku +@dirrmtry share/locale/kk/LC_MESSAGES +@dirrmtry share/locale/kk +@dirrmtry share/locale/en@shaw/LC_MESSAGES +@dirrmtry share/locale/en@shaw +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@dirrmtry share/locale/ca@valencia/LC_MESSAGES +@dirrmtry share/locale/ca@valencia +@dirrmtry share/locale/bn_IN/LC_MESSAGES +@dirrmtry share/locale/bn_IN +@dirrmtry share/locale/be@latin/LC_MESSAGES +@dirrmtry share/locale/be@latin +@dirrmtry share/locale/ast/LC_MESSAGES +@dirrmtry share/locale/ast +@dirrmtry share/locale/as/LC_MESSAGES +@dirrmtry share/locale/as |