Revision eafd0e30
b/debian/changelog | ||
---|---|---|
1 |
vncauthproxy (1.0-1) UNRELEASED; urgency=low |
|
2 |
|
|
3 |
* Initial release. |
|
4 |
|
|
5 |
-- Faidon Liambotis <paravoid@debian.org> Mon, 20 Jun 2011 16:32:06 +0300 |
b/debian/compat | ||
---|---|---|
1 |
7 |
b/debian/control | ||
---|---|---|
1 |
Source: vncauthproxy |
|
2 |
Section: python |
|
3 |
Priority: optional |
|
4 |
Maintainer: Faidon Liambotis <paravoid@debian.org> |
|
5 |
Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.5), python-setuptools |
|
6 |
Standards-Version: 3.9.2 |
|
7 |
XS-Python-Version: >= 2.5 |
|
8 |
Homepage: https://code.grnet.gr/projects/vncauthproxy |
|
9 |
|
|
10 |
Package: vncauthproxy |
|
11 |
Architecture: all |
|
12 |
Depends: ${misc:Depends}, ${python:Depends} |
|
13 |
Provides: ${python:Provides} |
|
14 |
XB-Python-Version: ${python:Versions} |
|
15 |
Description: VNC authentication proxy |
|
16 |
vncauthproxy listens on a UNIX domain socket for control messages and sets up |
|
17 |
one-time port forwardings upon request. |
|
18 |
. |
|
19 |
Main features include: |
|
20 |
* Lightweight, coroutine-based main loop with gevent |
|
21 |
* Supports RFB protocol version 3.8 |
|
22 |
* IPv4 and IPv6 support |
|
23 |
* Configurable timeout for client connections |
b/debian/dirs | ||
---|---|---|
1 |
var/log/vncauthproxy |
|
2 |
var/run/vncauthproxy |
b/debian/init.d | ||
---|---|---|
1 |
#!/bin/sh |
|
2 |
|
|
3 |
### BEGIN INIT INFO |
|
4 |
# Provides: vncauthproxy |
|
5 |
# Required-Start: $remote_fs $syslog $network |
|
6 |
# Required-Stop: $remote_fs $syslog |
|
7 |
# Should-Start: |
|
8 |
# Should-Stop: |
|
9 |
# Default-Start: 2 3 4 5 |
|
10 |
# Default-Stop: 0 1 6 |
|
11 |
# Short-Description: VNC authentication proxy |
|
12 |
# Description: VNC authentication proxy |
|
13 |
### END INIT INFO |
|
14 |
|
|
15 |
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin |
|
16 |
DAEMON=/usr/sbin/vncauthproxy |
|
17 |
NAME="vncauthproxy" |
|
18 |
DESC="VNC authentication proxy" |
|
19 |
PIDFILE=/var/run/$NAME/$NAME.pid |
|
20 |
|
|
21 |
. /lib/lsb/init-functions |
|
22 |
|
|
23 |
test -x $DAEMON || exit 0 |
|
24 |
|
|
25 |
DAEMON_OPTS="--pid-file=$PIDFILE" |
|
26 |
|
|
27 |
case "$1" in |
|
28 |
start) |
|
29 |
if pidofproc -p $PIDFILE $DAEMON > /dev/null; then |
|
30 |
log_failure_msg "Starting $DESC (already started)" |
|
31 |
exit 0 |
|
32 |
fi |
|
33 |
log_daemon_msg "Starting $DESC" "$NAME" |
|
34 |
start-stop-daemon --start --quiet --pidfile $PIDFILE \ |
|
35 |
--exec $DAEMON -- $DAEMON_OPTS |
|
36 |
log_end_msg $? |
|
37 |
;; |
|
38 |
stop) |
|
39 |
log_daemon_msg "Stopping $DESC" "$NAME" |
|
40 |
start-stop-daemon --stop --quiet --pidfile $PIDFILE |
|
41 |
case "$?" in |
|
42 |
0) log_end_msg 0 ;; |
|
43 |
1) log_progress_msg "(already stopped)" |
|
44 |
log_end_msg 0 ;; |
|
45 |
*) log_end_msg 1 ;; |
|
46 |
esac |
|
47 |
;; |
|
48 |
force-reload|restart) |
|
49 |
$0 stop |
|
50 |
$0 start |
|
51 |
;; |
|
52 |
status) |
|
53 |
status_of_proc -p $PIDFILE $BIN $NAME && exit 0 || exit $? |
|
54 |
;; |
|
55 |
*) |
|
56 |
echo "Usage: ${0} {start|stop|restart|force-reload|status}" >&2 |
|
57 |
exit 1 |
|
58 |
;; |
|
59 |
esac |
b/debian/rules | ||
---|---|---|
1 |
#!/usr/bin/make -f |
|
2 |
|
|
3 |
%: |
|
4 |
dh $@ --with python2 |
|
5 |
|
|
6 |
override_dh_auto_install: |
|
7 |
dh_auto_install |
|
8 |
|
|
9 |
mkdir -p debian/vncauthproxy/usr/sbin |
|
10 |
-mv debian/vncauthproxy/usr/bin/vncauthproxy.py \ |
|
11 |
debian/vncauthproxy/usr/sbin/vncauthproxy |
|
12 |
rmdir debian/vncauthproxy/usr/bin |
b/debian/source/format | ||
---|---|---|
1 |
3.0 (quilt) |
Also available in: Unified diff