diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-02-28 09:43:23 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-02-28 09:43:23 +0800 |
commit | dec68e05bb5518351e146c1d28e48865cbdd0ff3 (patch) | |
tree | e4d1f8560050b9779744050c678f60f9fc3d3bbc /net/vino | |
parent | 1342eef391ad09aff394aee2ce914dfdd99208db (diff) | |
download | marcuscom-ports-dec68e05bb5518351e146c1d28e48865cbdd0ff3.tar marcuscom-ports-dec68e05bb5518351e146c1d28e48865cbdd0ff3.tar.gz marcuscom-ports-dec68e05bb5518351e146c1d28e48865cbdd0ff3.tar.bz2 marcuscom-ports-dec68e05bb5518351e146c1d28e48865cbdd0ff3.tar.lz marcuscom-ports-dec68e05bb5518351e146c1d28e48865cbdd0ff3.tar.xz marcuscom-ports-dec68e05bb5518351e146c1d28e48865cbdd0ff3.tar.zst marcuscom-ports-dec68e05bb5518351e146c1d28e48865cbdd0ff3.zip |
Update to 2.25.91.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11958 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/vino')
-rw-r--r-- | net/vino/Makefile | 42 | ||||
-rw-r--r-- | net/vino/distinfo | 3 | ||||
-rw-r--r-- | net/vino/files/patch-configure | 28 | ||||
-rw-r--r-- | net/vino/files/patch-server_libvncserver_sockets.c | 20 | ||||
-rw-r--r-- | net/vino/files/patch-server_vino-dbus-listener.c | 12 | ||||
-rw-r--r-- | net/vino/files/patch-server_vino-http.c | 24 | ||||
-rw-r--r-- | net/vino/pkg-descr | 4 | ||||
-rw-r--r-- | net/vino/pkg-plist | 118 |
8 files changed, 251 insertions, 0 deletions
diff --git a/net/vino/Makefile b/net/vino/Makefile new file mode 100644 index 000000000..288aa61b2 --- /dev/null +++ b/net/vino/Makefile @@ -0,0 +1,42 @@ +# 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.63 2008/10/20 23:08:47 kwm Exp $ +# + +PORTNAME= vino +PORTVERSION= 2.25.91 +CATEGORIES= net gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= VNC server that allows for remote access to your GNOME desktop + +LIB_DEPENDS= gnutls:${PORTSDIR}/security/gnutls \ + unique-1.0.2:${PORTSDIR}/x11-toolkits/unique + +USE_BZIP2= yes +USE_GETTEXT= yes +USE_GNOME= gnomeprefix intlhack gnomehack gnomepanel +USE_XORG= xtst +USE_GMAKE= yes +GNOME_DESKTOP_VERSION=2 +GNU_CONFIGURE= yes +INSTALLS_ICONS= yes +CONFIGURE_ARGS= --enable-session-support +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +GCONF_SCHEMAS= vino-server.schemas + +.if !defined(WITHOUT_NOTIFY) +LIB_DEPENDS+= notify.1:${PORTSDIR}/devel/libnotify +CONFIGURE_ARGS+=--enable-libnotify=yes +.else +CONFIGURE_ARGS+=--enable-libnotify=no +.endif + +.include <bsd.port.mk> diff --git a/net/vino/distinfo b/net/vino/distinfo new file mode 100644 index 000000000..c3165a418 --- /dev/null +++ b/net/vino/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/vino-2.25.91.tar.bz2) = fe5e003727ecb36600316eeeeef9c372 +SHA256 (gnome2/vino-2.25.91.tar.bz2) = 2da891a62311da2f007aae65267591a20d44479902d286281b3561fddd3c01e0 +SIZE (gnome2/vino-2.25.91.tar.bz2) = 703242 diff --git a/net/vino/files/patch-configure b/net/vino/files/patch-configure new file mode 100644 index 000000000..c7da75af7 --- /dev/null +++ b/net/vino/files/patch-configure @@ -0,0 +1,28 @@ +--- configure.orig 2009-02-27 20:32:40.000000000 -0500 ++++ configure 2009-02-27 20:34:44.000000000 -0500 +@@ -17882,6 +17882,8 @@ cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + ++ #include <sys/types.h> ++ #include <sys/socket.h> + #include <ifaddrs.h> + + int +@@ -17896,6 +17898,7 @@ main () + } + _ACEOF + rm -f conftest.$ac_objext ++have_getifaddrs=yes + if { (ac_try="$ac_compile" + case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +@@ -17921,7 +17924,7 @@ sed 's/^/| /' conftest.$ac_ext >&5 + fi + + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- if test $"$have_getifaddrs" = "yes"; then ++ if test x"$have_getifaddrs" = x"yes"; then + HAVE_GETIFADDRS_TRUE= + HAVE_GETIFADDRS_FALSE='#' + else diff --git a/net/vino/files/patch-server_libvncserver_sockets.c b/net/vino/files/patch-server_libvncserver_sockets.c new file mode 100644 index 000000000..9014b85a2 --- /dev/null +++ b/net/vino/files/patch-server_libvncserver_sockets.c @@ -0,0 +1,20 @@ +--- server/libvncserver/sockets.c.orig 2009-02-13 08:11:38.000000000 -0500 ++++ server/libvncserver/sockets.c 2009-02-27 20:24:02.000000000 -0500 +@@ -580,6 +580,7 @@ ListenOnTCPPort(rfbScreenInfoPtr rfbScre + { + #ifdef ENABLE_IPV6 + struct sockaddr_in6 s6; ++ int off = 0; + + memset(&s6, 0, sizeof(s6)); + s6.sin6_family = AF_INET6; +@@ -587,6 +588,9 @@ ListenOnTCPPort(rfbScreenInfoPtr rfbScre + s6.sin6_addr = in6addr_any; + + sock = NewSocketListenTCP ((struct sockaddr*)&s6, sizeof(s6)); ++#ifdef IPV6_V6ONLY ++ setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (void *)&off, sizeof(off)); ++#endif + rfbLog("Listening IPv{4,6}://*:%d\n", port); + #endif + if(sock < 0) { diff --git a/net/vino/files/patch-server_vino-dbus-listener.c b/net/vino/files/patch-server_vino-dbus-listener.c new file mode 100644 index 000000000..8057b9410 --- /dev/null +++ b/net/vino/files/patch-server_vino-dbus-listener.c @@ -0,0 +1,12 @@ +--- server/vino-dbus-listener.c.orig 2009-02-27 20:36:08.000000000 -0500 ++++ server/vino-dbus-listener.c 2009-02-27 20:36:30.000000000 -0500 +@@ -35,6 +35,9 @@ + #include <string.h> + #include <unistd.h> + #include <netdb.h> ++#include <sys/types.h> ++#include <sys/socket.h> ++#include <netinet/in.h> + #include <net/if.h> + #include <arpa/inet.h> + diff --git a/net/vino/files/patch-server_vino-http.c b/net/vino/files/patch-server_vino-http.c new file mode 100644 index 000000000..d51f95885 --- /dev/null +++ b/net/vino/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/vino/pkg-descr b/net/vino/pkg-descr new file mode 100644 index 000000000..f56a27700 --- /dev/null +++ b/net/vino/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/vino/pkg-plist b/net/vino/pkg-plist new file mode 100644 index 000000000..dc464aed7 --- /dev/null +++ b/net/vino/pkg-plist @@ -0,0 +1,118 @@ +bin/vino-passwd +bin/vino-preferences +etc/xdg/autostart/vino-server.desktop +libexec/vino-server +share/applications/vino-preferences.desktop +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@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/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_CA/LC_MESSAGES/vino.mo +share/locale/en_GB/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/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/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/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 +%%DATADIR%%/vino-preferences.glade +%%DATADIR%%/vino-prompt.glade +%%DATADIR%%/webservices +@dirrm %%DATADIR%% +@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/ku/LC_MESSAGES +@dirrmtry share/locale/ku +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz +@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 +@dirrmtry etc/xdg/autostart +@dirrmtry etc/xdg |