View | Details | Raw Unified | Return to bug 202754 | Differences between
and this patch

Collapse All | Expand All

(-)UIDs (+1 lines)
Lines 251-256 Link Here
251
munin:*:842:842::0:0:Munin:/var/munin:/usr/sbin/nologin
251
munin:*:842:842::0:0:Munin:/var/munin:/usr/sbin/nologin
252
subsonic:*:844:844::0:0:Subsonic standalone-server:/nonexistent:/usr/sbin/nologin
252
subsonic:*:844:844::0:0:Subsonic standalone-server:/nonexistent:/usr/sbin/nologin
253
sogod:*:846:846::0:0:SOGo groupware:/nonexistent:/usr/sbin/nologin
253
sogod:*:846:846::0:0:SOGo groupware:/nonexistent:/usr/sbin/nologin
254
guacamole:*:899:899::0:0:Guacamole user:/nonexistent:/usr/sbin/nologin
254
fossy:*:901:901::0:0:FOSSology user:/usr/local/share/fossology:/usr/local/bin/bash
255
fossy:*:901:901::0:0:FOSSology user:/usr/local/share/fossology:/usr/local/bin/bash
255
scanlogd:*:902:902::0:0:scanlogd user:/nonexistent:/usr/sbin/nologin
256
scanlogd:*:902:902::0:0:scanlogd user:/nonexistent:/usr/sbin/nologin
256
_ocserv:*:903:903::0:0:ocserv user:/nonexistent:/usr/sbin/nologin
257
_ocserv:*:903:903::0:0:ocserv user:/nonexistent:/usr/sbin/nologin
(-)GIDs (+1 lines)
Lines 240-245 Link Here
240
dahdi:*:843:asterisk
240
dahdi:*:843:asterisk
241
subsonic:*:844:
241
subsonic:*:844:
242
sogod:*:846:
242
sogod:*:846:
243
guacamole:*:899:
243
fossy:*:901:www
244
fossy:*:901:www
244
scanlogd:*:902:
245
scanlogd:*:902:
245
_ocserv:*:903:
246
_ocserv:*:903:
(-)net/Makefile (+1 lines)
Lines 189-194 Link Here
189
    SUBDIR += gtic
189
    SUBDIR += gtic
190
    SUBDIR += gtk-vnc
190
    SUBDIR += gtk-vnc
191
    SUBDIR += gtknetcat
191
    SUBDIR += gtknetcat
192
    SUBDIR += guacamole-server
192
    SUBDIR += gupnp
193
    SUBDIR += gupnp
193
    SUBDIR += gupnp-av
194
    SUBDIR += gupnp-av
194
    SUBDIR += gupnp-dlna
195
    SUBDIR += gupnp-dlna
(-)net/guacamole-server/Makefile (+76 lines)
Line 0 Link Here
1
# Created by: Ultima <ultima1252@gmail.com>
2
# $FreeBSD$
3
4
PORTNAME=	guacamole-server
5
PORTVERSION=	0.9.9
6
CATEGORIES=	net
7
8
MAINTAINER=	ultima1252@gmail.com
9
COMMENT=	HTML5 Clientless Remote Desktop
10
11
LICENSE=	MIT
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
14
LIB_DEPENDS=	libuuid.so:${PORTSDIR}/misc/ossp-uuid \
15
		libpng.so:${PORTSDIR}/graphics/png \
16
		libcairo.so:${PORTSDIR}/graphics/cairo \
17
		libjpeg.so:${PORTSDIR}/graphics/jpeg-turbo
18
19
CONFLICTS_BUILD=	e2fsprogs-libuuid-* pulseaudio-*+jack_* \
20
			ffmpeg-*+jack_*
21
22
USE_GITHUB=	yes
23
GH_ACCOUNT=	glyptodon
24
GH_TAGNAME=	${PORTVERSION}
25
26
USES=		autoreconf libtool localbase pkgconfig shebangfix
27
SHEBANG_FILES=	${WRKSRC}/src/protocols/rdp/keymaps/generate.pl
28
29
GNU_CONFIGURE=	yes
30
CONFIGURE_ARGS+=	--with-guacd-conf=${PREFIX}/etc/guacd/guacd.conf
31
USE_LDCONFIG=	yes
32
MAKE_JOBS_UNSAFE=	yes
33
USERS=		guacamole
34
GROUPS=		guacamole
35
36
USE_RC_SUBR=	guacd
37
SUB_LIST+=	GUACD_USER=${USERS} \
38
		GUACD_GROUP=${GROUPS}
39
40
OPTIONS_DEFINE=		RDP SSH VNC VORBIS PULSEAUDIO
41
OPTIONS_DEFAULT=	SSH
42
OPTIONS_SUB=		yes
43
PULSEAUDIO_LIB_DEPENDS=	libpulse.so:${PORTSDIR}/audio/pulseaudio
44
PULSEAUDIO_DESC?=	VNC audio support (Experimental)
45
RDP_LIB_DEPENDS=	libfreerdp.so:${PORTSDIR}/net/freerdp
46
RDP_DESC?=		RDP Protocal Support
47
SSH_LIB_DEPENDS=	libpango-1.0.so:${PORTSDIR}/x11-toolkits/pango \
48
			libssh2.so:${PORTSDIR}/security/libssh2
49
SSH_DESC?=		SSH Support
50
VNC_LIB_DEPENDS=	libvncserver.so:${PORTSDIR}/net/libvncserver
51
VNC_DESC?=		VNC Protocol Support
52
VORBIS_LIB_DEPENDS=	libvorbis.so:${PORTSDIR}/audio/libvorbis
53
VORBIS_DESC?=		Ogg Vorbis for compression
54
55
.include <bsd.port.pre.mk>
56
57
post-patch:
58
	@${REINPLACE_CMD} 's|/etc/ssl|${PREFIX}/etc/ssl|g ; \
59
			 s|/etc/guacamole|${PREFIX}/etc/guacd|g' \
60
			 ${WRKSRC}/src/guacd/man/guacd.conf.5
61
post-install:
62
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libguac.so.*
63
.if ${PORT_OPTIONS:MSSH}
64
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libguac-client-ssh.so.*
65
.endif
66
.if ${PORT_OPTIONS:MRDP}
67
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/freerdp/guacsnd-client.so
68
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/freerdp/guacdr-client.so
69
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/freerdp/guacsvc-client.so
70
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libguac-client-rdp.so.*
71
.endif
72
.if ${PORT_OPTIONS:MVNC}
73
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libguac-client-vnc.so.*
74
.endif
75
76
.include <bsd.port.post.mk>
(-)net/guacamole-server/distinfo (+2 lines)
Line 0 Link Here
1
SHA256 (glyptodon-guacamole-server-0.9.9_GH0.tar.gz) = 9d397a9efa6adce62c62d453829308bcd8f1949e692741976ce38db8e5140ef3
2
SIZE (glyptodon-guacamole-server-0.9.9_GH0.tar.gz) = 264912
(-)net/guacamole-server/files/guacd.in (+47 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
# $FreeBSD$
4
#
5
# PROVIDE: guacd
6
# REQUIRE: LOGIN
7
#
8
# Add these lines to /etc/rc.conf.local or /etc/rc.conf
9
# to enable this service:
10
#
11
# guacd_enable (bool):		Set to "NO" by default.
12
#				Set it to "YES" to enable guacd.
13
# guacd_user (str):		User to run guacd as
14
#				Default to "%%GUACD_USER%%" created by the port
15
# guacd_group (str):		Group to run guacd as
16
#				Default to "%%GUACD_GROUP%%" created by the port
17
# guacd_pidfile (str):		Set to "" by default will use the path
18
19
. /etc/rc.subr
20
21
name=guacd
22
rcvar=${name}_enable
23
24
load_rc_config ${name}
25
26
: ${guacd_enable:="NO"}
27
: ${guacd_user:="%%GUACD_USER%%"}
28
: ${guacd_group:="%%GUACD_GROUP%%"}
29
: ${guacd_pidfile:="/var/run/${name}/${name}.pid"}
30
31
command=%%PREFIX%%/sbin/guacd
32
pidfile=${guacd_pidfile}
33
34
command_args="-p ${pidfile}"
35
36
start_precmd="guacd_prestart"
37
guacd_prestart() {
38
        if [ -f ${pidfile} ]; then
39
                rm -f ${pidfile}
40
                echo "Removing stale pidfile."
41
        elif [ ! -d ${pidfile%/*} ]; then
42
                install -d -o ${guacd_user} -g ${guacd_group} ${pidfile%/*}
43
        fi
44
}
45
46
47
run_rc_command "$1"
(-)net/guacamole-server/pkg-descr (+10 lines)
Line 0 Link Here
1
The guacamole-server package is a set of software which forms the basis of the
2
Guacamole stack. It consists of guacd, libguac, and several protocol support
3
libraries.
4
5
guacd is the Guacamole proxy daemon used by the Guacamole web application and
6
framework. As JavaScript cannot handle binary protocols (like VNC and remote
7
desktop) efficiently, a new test-based protocol was developed which would
8
contain a common superset of the operations needed for efficient remote desktop
9
access, but would be easy for JavaScript programs to process. guacd is the
10
proxy which translates between arbitrary protocols and the Guacamole protocol.
(-)net/guacamole-server/pkg-plist (+55 lines)
Line 0 Link Here
1
include/guacamole/audio-fntypes.h
2
include/guacamole/audio-types.h
3
include/guacamole/audio.h
4
include/guacamole/client-constants.h
5
include/guacamole/client-fntypes.h
6
include/guacamole/client-types.h
7
include/guacamole/client.h
8
include/guacamole/error-types.h
9
include/guacamole/error.h
10
include/guacamole/hash.h
11
include/guacamole/instruction-constants.h
12
include/guacamole/instruction-types.h
13
include/guacamole/instruction.h
14
include/guacamole/layer-types.h
15
include/guacamole/layer.h
16
include/guacamole/object-types.h
17
include/guacamole/object.h
18
include/guacamole/plugin-constants.h
19
include/guacamole/plugin-types.h
20
include/guacamole/plugin.h
21
include/guacamole/pool-types.h
22
include/guacamole/pool.h
23
include/guacamole/protocol-types.h
24
include/guacamole/protocol.h
25
include/guacamole/socket-constants.h
26
include/guacamole/socket-fntypes.h
27
include/guacamole/socket-types.h
28
include/guacamole/socket.h
29
include/guacamole/stream-types.h
30
include/guacamole/stream.h
31
include/guacamole/timestamp-types.h
32
include/guacamole/timestamp.h
33
include/guacamole/unicode.h
34
%%RDP%%lib/freerdp/guacdr-client.so
35
%%RDP%%lib/freerdp/guacsnd-client.so
36
%%RDP%%lib/freerdp/guacsvc-client.so
37
%%RDP%%lib/libguac-client-rdp.a
38
%%RDP%%lib/libguac-client-rdp.so
39
%%RDP%%lib/libguac-client-rdp.so.0
40
%%RDP%%lib/libguac-client-rdp.so.0.0.0
41
%%SSH%%lib/libguac-client-ssh.a
42
%%SSH%%lib/libguac-client-ssh.so
43
%%SSH%%lib/libguac-client-ssh.so.0
44
%%SSH%%lib/libguac-client-ssh.so.0.0.0
45
%%VNC%%lib/libguac-client-vnc.a
46
%%VNC%%lib/libguac-client-vnc.so
47
%%VNC%%lib/libguac-client-vnc.so.0
48
%%VNC%%lib/libguac-client-vnc.so.0.0.0
49
lib/libguac.a
50
lib/libguac.so
51
lib/libguac.so.11
52
lib/libguac.so.11.0.0
53
man/man5/guacd.conf.5.gz
54
man/man8/guacd.8.gz
55
sbin/guacd

Return to bug 202754