debian/0000755000000000000000000000000012237203034007162 5ustar debian/patches/0000755000000000000000000000000012236723474010627 5ustar debian/patches/make-celt-to-be-optional.patch0000644000000000000000000004573412176767010016353 0ustar From 29942be38e11b297164dcd838e82c96ea152f6ff Mon Sep 17 00:00:00 2001 From: Michael Tokarev Date: Sat, 5 May 2012 19:15:49 +0400 Subject: [PATCH] make celt to be optional Forwarded: yes Comment: upstream apparently does not want this patch With this patch applied, celt051 library isn't required anymore. It is still required by default, but there's a new configure option, --disable-celt051, which makes the configure code to omit checking/finding the celt library and makes resulting spice library to not use celt codec at all. The changes in the code - there are relatively many - are located in 3 source files (see diffstat): client/playback_channel.cpp client/record_channel.cpp server/snd_worker.c and are local/private to the library (client and server), so no external ABI/API is done. I found and marked hopefully all places where celt codec is being touched/referenced. The patch may help future development too, indicating all places where codec-specific code is used (just grep source for HAVE_CELT051 to see these). I plan to use this patch in the upcoming Debian release, codename wheezy, to get rid of celt codec library there, since we decided celt051 is not going to be included, but it is obviously not a good idea to drop spice entirely. I did some interoperability tests and the thing appears to work -- unpatched client to patched server, patched client to unpatched server and patched client to patched server. I didn't check old clients and servers, however. In all cases, raw audio stream is being choosen and used. But since I don't really know how spice works internally, maybe I didn't perform correct testing. Signed-off-By: Michael Tokarev Cc: Ron Lee Cc: Liang Guo --- client/audio_channels.h | 8 +++++ client/playback_channel.cpp | 25 ++++++++++--- client/record_channel.cpp | 21 +++++++++-- configure.ac | 16 ++++++--- server/snd_worker.c | 82 ++++++++++++++++++++++++++++++++++--------- 5 files changed, 122 insertions(+), 30 deletions(-) --- a/client/audio_channels.h +++ b/client/audio_channels.h @@ -18,7 +18,9 @@ #ifndef _H_AUDIO_CHANNELS #define _H_AUDIO_CHANNELS +#if HAVE_CELT051 #include +#endif #include "red_channel.h" #include "debug.h" @@ -45,7 +47,9 @@ void handle_start(RedPeer::InMessage* message); void handle_stop(RedPeer::InMessage* message); void handle_raw_data(RedPeer::InMessage* message); +#if HAVE_CELT051 void handle_celt_data(RedPeer::InMessage* message); +#endif void null_handler(RedPeer::InMessage* message); void disable(); @@ -57,8 +61,10 @@ WavePlaybackAbstract* _wave_player; uint32_t _mode; uint32_t _frame_bytes; +#if HAVE_CELT051 CELTMode *_celt_mode; CELTDecoder *_celt_decoder; +#endif bool _playing; uint32_t _frame_count; }; @@ -96,8 +102,10 @@ Mutex _messages_lock; std::list _messages; int _mode; +#if HAVE_CELT051 CELTMode *_celt_mode; CELTEncoder *_celt_encoder; +#endif uint32_t _frame_bytes; static int data_mode; --- a/client/playback_channel.cpp +++ b/client/playback_channel.cpp @@ -151,8 +151,10 @@ Platform::PRIORITY_HIGH) , _wave_player (NULL) , _mode (SPICE_AUDIO_DATA_MODE_INVALID) +#if HAVE_CELT051 , _celt_mode (NULL) , _celt_decoder (NULL) +#endif , _playing (false) { #ifdef WAVE_CAPTURE @@ -169,7 +171,9 @@ handler->set_handler(SPICE_MSG_PLAYBACK_MODE, &PlaybackChannel::handle_mode); +#if HAVE_CELT051 set_capability(SPICE_PLAYBACK_CAP_CELT_0_5_1); +#endif } void PlaybackChannel::clear() @@ -182,6 +186,7 @@ } _mode = SPICE_AUDIO_DATA_MODE_INVALID; +#if HAVE_CELT051 if (_celt_decoder) { celt051_decoder_destroy(_celt_decoder); _celt_decoder = NULL; @@ -191,6 +196,7 @@ celt051_mode_destroy(_celt_mode); _celt_mode = NULL; } +#endif } void PlaybackChannel::on_disconnect() @@ -214,8 +220,10 @@ if (_mode == SPICE_AUDIO_DATA_MODE_RAW) { handler->set_handler(SPICE_MSG_PLAYBACK_DATA, &PlaybackChannel::handle_raw_data); +#if HAVE_CELT051 } else if (_mode == SPICE_AUDIO_DATA_MODE_CELT_0_5_1) { handler->set_handler(SPICE_MSG_PLAYBACK_DATA, &PlaybackChannel::handle_celt_data); +#endif } else { THROW("invalid mode"); } @@ -224,8 +232,11 @@ void PlaybackChannel::handle_mode(RedPeer::InMessage* message) { SpiceMsgPlaybackMode* playbacke_mode = (SpiceMsgPlaybackMode*)message->data(); - if (playbacke_mode->mode != SPICE_AUDIO_DATA_MODE_RAW && - playbacke_mode->mode != SPICE_AUDIO_DATA_MODE_CELT_0_5_1) { + if (playbacke_mode->mode != SPICE_AUDIO_DATA_MODE_RAW +#if HAVE_CELT051 + && playbacke_mode->mode != SPICE_AUDIO_DATA_MODE_CELT_0_5_1 +#endif + ) { THROW("invalid mode"); } @@ -265,9 +276,6 @@ start_wave(); #endif if (!_wave_player) { - // for now support only one setting - int celt_mode_err; - if (start->format != SPICE_AUDIO_FMT_S16) { THROW("unexpected format"); } @@ -284,6 +292,10 @@ return; } +#if HAVE_CELT051 + // for now support only one setting + int celt_mode_err; + if (!(_celt_mode = celt051_mode_create(start->frequency, start->channels, frame_size, &celt_mode_err))) { THROW("create celt mode failed %d", celt_mode_err); @@ -292,6 +304,7 @@ if (!(_celt_decoder = celt051_decoder_create(_celt_mode))) { THROW("create celt decoder"); } +#endif } _playing = true; _frame_count = 0; @@ -333,6 +346,7 @@ _wave_player->write(data); } +#if HAVE_CELT051 void PlaybackChannel::handle_celt_data(RedPeer::InMessage* message) { SpiceMsgPlaybackPacket* packet = (SpiceMsgPlaybackPacket*)message->data(); @@ -352,6 +366,7 @@ } _wave_player->write((uint8_t *)pcm); } +#endif class PlaybackFactory: public ChannelFactory { public: --- a/client/record_channel.cpp +++ b/client/record_channel.cpp @@ -72,8 +72,10 @@ : RedChannel(client, SPICE_CHANNEL_RECORD, id, new RecordHandler(*this)) , _wave_recorder (NULL) , _mode (SPICE_AUDIO_DATA_MODE_INVALID) +#if HAVE_CELT051 , _celt_mode (NULL) , _celt_encoder (NULL) +#endif { for (int i = 0; i < NUM_SAMPLES_MESSAGES; i++) { _messages.push_front(new RecordSamplesMessage(*this)); @@ -89,8 +91,9 @@ handler->set_handler(SPICE_MSG_NOTIFY, &RecordChannel::handle_notify); handler->set_handler(SPICE_MSG_RECORD_START, &RecordChannel::handle_start); - +#if HAVE_CELT051 set_capability(SPICE_RECORD_CAP_CELT_0_5_1); +#endif } RecordChannel::~RecordChannel(void) @@ -115,7 +118,9 @@ SpiceMsgcRecordMode mode; mode.time = get_mm_time(); mode.mode = _mode = +#if HAVE_CELT051 test_capability(SPICE_RECORD_CAP_CELT_0_5_1) ? RecordChannel::data_mode : +#endif SPICE_AUDIO_DATA_MODE_RAW; _marshallers->msgc_record_mode(message->marshaller(), &mode); post_message(message); @@ -142,7 +147,11 @@ handler->set_handler(SPICE_MSG_RECORD_START, NULL); handler->set_handler(SPICE_MSG_RECORD_STOP, &RecordChannel::handle_stop); +#if HAVE_CELT051 ASSERT(!_wave_recorder && !_celt_mode && !_celt_encoder); +#else + ASSERT(!_wave_recorder); +#endif // for now support only one setting if (start->format != SPICE_AUDIO_FMT_S16) { @@ -160,8 +169,9 @@ } int frame_size = 256; - int celt_mode_err; _frame_bytes = frame_size * bits_per_sample * start->channels / 8; +#if HAVE_CELT051 + int celt_mode_err; if (!(_celt_mode = celt051_mode_create(start->frequency, start->channels, frame_size, &celt_mode_err))) { THROW("create celt mode failed %d", celt_mode_err); @@ -170,6 +180,7 @@ if (!(_celt_encoder = celt051_encoder_create(_celt_mode))) { THROW("create celt encoder failed"); } +#endif send_start_mark(); _wave_recorder->start(); @@ -182,6 +193,7 @@ delete _wave_recorder; _wave_recorder = NULL; } +#if HAVE_CELT051 if (_celt_encoder) { celt051_encoder_destroy(_celt_encoder); _celt_encoder = NULL; @@ -190,6 +202,7 @@ celt051_mode_destroy(_celt_mode); _celt_mode = NULL; } +#endif } void RecordChannel::handle_stop(RedPeer::InMessage* message) @@ -200,7 +213,9 @@ if (!_wave_recorder) { return; } +#if HAVE_CELT051 ASSERT(_celt_mode && _celt_encoder); +#endif clear(); } @@ -254,8 +269,9 @@ DBG(0, "blocked"); return; } - uint8_t celt_buf[CELT_COMPRESSED_FRAME_BYTES]; int n; +#if HAVE_CELT051 + uint8_t celt_buf[CELT_COMPRESSED_FRAME_BYTES]; if (_mode == SPICE_AUDIO_DATA_MODE_CELT_0_5_1) { n = celt051_encode(_celt_encoder, (celt_int16_t *)frame, NULL, celt_buf, @@ -264,7 +280,9 @@ THROW("celt encode failed"); } frame = celt_buf; - } else { + } else +#endif + { n = _frame_bytes; } RedPeer::OutMessage& peer_message = message->peer_message(); --- a/configure.ac +++ b/configure.ac @@ -147,6 +147,9 @@ if test "x$enable_smartcard" = "xyes"; then AC_DEFINE([USE_SMARTCARD], [1], [Define if supporting smartcard proxying]) fi +AC_ARG_ENABLE(celt051, +[ --disable-celt051 Disable celt051 audio codec (enabled by default)],, +[enable_celt051="yes"]) AC_ARG_ENABLE(client, [ --enable-client Enable spice client],, @@ -246,11 +249,14 @@ AC_SUBST(PIXMAN_LIBS) SPICE_REQUIRES+=" pixman-1 >= 0.17.7" -PKG_CHECK_MODULES(CELT051, celt051 >= 0.5.1.1) -AC_SUBST(CELT051_CFLAGS) -AC_SUBST(CELT051_LIBS) -AC_SUBST(CELT051_LIBDIR) -SPICE_REQUIRES+=" celt051 >= 0.5.1.1" +if test "x$enable_celt051" = "xyes"; then + PKG_CHECK_MODULES(CELT051, celt051 >= 0.5.1.1) + SPICE_REQUIRES+=" celt051 >= 0.5.1.1" + AC_DEFINE([HAVE_CELT051], 1, [Define if we have celt051 codec]) + AC_SUBST(CELT051_CFLAGS) + AC_SUBST(CELT051_LIBS) + AC_SUBST(CELT051_LIBDIR) +fi if test ! -e client/generated_marshallers.cpp; then AC_MSG_CHECKING([for pyparsing python module]) --- a/server/snd_worker.c +++ b/server/snd_worker.c @@ -25,7 +25,9 @@ #include #include #include +#if HAVE_CELT051 #include +#endif #include "common/marshaller.h" #include "common/generated_server_marshallers.h" @@ -140,12 +142,16 @@ AudioFrame *free_frames; AudioFrame *in_progress; AudioFrame *pending_frame; +#if HAVE_CELT051 CELTMode *celt_mode; CELTEncoder *celt_encoder; +#endif uint32_t mode; +#if HAVE_CELT051 struct { uint8_t celt_buf[CELT_COMPRESSED_FRAME_BYTES]; } send_data; +#endif uint32_t latency; }; @@ -182,13 +188,21 @@ uint32_t mode; uint32_t mode_time; uint32_t start_time; +#if HAVE_CELT051 CELTDecoder *celt_decoder; CELTMode *celt_mode; uint32_t celt_buf[FRAME_SIZE]; +#endif } RecordChannel; static SndWorker *workers; -static uint32_t playback_compression = SPICE_AUDIO_DATA_MODE_CELT_0_5_1; +static uint32_t playback_compression = +#if HAVE_CELT051 + SPICE_AUDIO_DATA_MODE_CELT_0_5_1 +#else + SPICE_AUDIO_DATA_MODE_RAW +#endif + ; static void snd_receive(void* data); @@ -323,6 +337,7 @@ packet = (SpiceMsgcRecordPacket *)message; size = packet->data_size; +#if HAVE_CELT051 if (record_channel->mode == SPICE_AUDIO_DATA_MODE_CELT_0_5_1) { int celt_err = celt051_decode(record_channel->celt_decoder, packet->data, size, (celt_int16_t *)record_channel->celt_buf); @@ -332,7 +347,9 @@ } data = record_channel->celt_buf; size = FRAME_SIZE; - } else if (record_channel->mode == SPICE_AUDIO_DATA_MODE_RAW) { + } else +#endif + if (record_channel->mode == SPICE_AUDIO_DATA_MODE_RAW) { data = (uint32_t *)packet->data; size = size >> 2; size = MIN(size, RECORD_SAMPLES_SIZE); @@ -387,8 +404,11 @@ SpiceMsgcRecordMode *mode = (SpiceMsgcRecordMode *)message; record_channel->mode = mode->mode; record_channel->mode_time = mode->time; - if (record_channel->mode != SPICE_AUDIO_DATA_MODE_CELT_0_5_1 && - record_channel->mode != SPICE_AUDIO_DATA_MODE_RAW) { + if (record_channel->mode != SPICE_AUDIO_DATA_MODE_RAW +#if HAVE_CELT051 + && record_channel->mode != SPICE_AUDIO_DATA_MODE_CELT_0_5_1 +#endif + ) { spice_printerr("unsupported mode"); } break; @@ -758,6 +778,7 @@ spice_marshall_msg_playback_data(channel->send_data.marshaller, &msg); +#if HAVE_CELT051 if (playback_channel->mode == SPICE_AUDIO_DATA_MODE_CELT_0_5_1) { int n = celt051_encode(playback_channel->celt_encoder, (celt_int16_t *)frame->samples, NULL, playback_channel->send_data.celt_buf, CELT_COMPRESSED_FRAME_BYTES); @@ -768,7 +789,9 @@ } spice_marshaller_add_ref(channel->send_data.marshaller, playback_channel->send_data.celt_buf, n); - } else { + } else +#endif + { spice_marshaller_add_ref(channel->send_data.marshaller, (uint8_t *)frame->samples, sizeof(frame->samples)); } @@ -1168,8 +1191,10 @@ reds_enable_mm_timer(); } +#if HAVE_CELT051 celt051_encoder_destroy(playback_channel->celt_encoder); celt051_mode_destroy(playback_channel->celt_mode); +#endif } static void snd_set_playback_peer(RedChannel *channel, RedClient *client, RedsStream *stream, @@ -1179,13 +1204,13 @@ SndWorker *worker = channel->data; PlaybackChannel *playback_channel; SpicePlaybackState *st = SPICE_CONTAINEROF(worker, SpicePlaybackState, worker); - CELTEncoder *celt_encoder; - CELTMode *celt_mode; - int celt_error; - RedChannelClient *rcc; snd_disconnect_channel(worker->connection); +#if HAVE_CELT051 + CELTEncoder *celt_encoder; + CELTMode *celt_mode; + int celt_error; if (!(celt_mode = celt051_mode_create(SPICE_INTERFACE_PLAYBACK_FREQ, SPICE_INTERFACE_PLAYBACK_CHAN, FRAME_SIZE, &celt_error))) { @@ -1197,6 +1222,7 @@ spice_printerr("create celt encoder failed"); goto error_1; } +#endif if (!(playback_channel = (PlaybackChannel *)__new_channel(worker, sizeof(*playback_channel), @@ -1213,16 +1239,20 @@ goto error_2; } worker->connection = &playback_channel->base; - rcc = playback_channel->base.channel_client; snd_playback_free_frame(playback_channel, &playback_channel->frames[0]); snd_playback_free_frame(playback_channel, &playback_channel->frames[1]); snd_playback_free_frame(playback_channel, &playback_channel->frames[2]); +#if HAVE_CELT051 playback_channel->celt_mode = celt_mode; playback_channel->celt_encoder = celt_encoder; - playback_channel->mode = red_channel_client_test_remote_cap(rcc, - SPICE_PLAYBACK_CAP_CELT_0_5_1) ? + playback_channel->mode = + red_channel_client_test_remote_cap(playback_channel->base.channel_client, + SPICE_PLAYBACK_CAP_CELT_0_5_1) ? playback_compression : SPICE_AUDIO_DATA_MODE_RAW; +#else + playback_channel->mode = SPICE_AUDIO_DATA_MODE_RAW; +#endif on_new_playback_channel(worker); if (worker->active) { @@ -1232,10 +1262,13 @@ return; error_2: +#if HAVE_CELT051 celt051_encoder_destroy(celt_encoder); error_1: celt051_mode_destroy(celt_mode); +#endif + return; } static void snd_record_migrate_channel_client(RedChannelClient *rcc) @@ -1379,10 +1412,12 @@ static void snd_record_cleanup(SndChannel *channel) { +#if HAVE_CELT051 RecordChannel *record_channel = SPICE_CONTAINEROF(channel, RecordChannel, base); celt051_decoder_destroy(record_channel->celt_decoder); celt051_mode_destroy(record_channel->celt_mode); +#endif } static void snd_set_record_peer(RedChannel *channel, RedClient *client, RedsStream *stream, @@ -1392,12 +1427,13 @@ SndWorker *worker = channel->data; RecordChannel *record_channel; SpiceRecordState *st = SPICE_CONTAINEROF(worker, SpiceRecordState, worker); - CELTDecoder *celt_decoder; - CELTMode *celt_mode; - int celt_error; snd_disconnect_channel(worker->connection); +#if HAVE_CELT051 + CELTDecoder *celt_decoder; + CELTMode *celt_mode; + int celt_error; if (!(celt_mode = celt051_mode_create(SPICE_INTERFACE_RECORD_FREQ, SPICE_INTERFACE_RECORD_CHAN, FRAME_SIZE, &celt_error))) { @@ -1409,6 +1445,7 @@ spice_printerr("create celt decoder failed"); goto error_1; } +#endif if (!(record_channel = (RecordChannel *)__new_channel(worker, sizeof(*record_channel), @@ -1427,8 +1464,10 @@ worker->connection = &record_channel->base; +#if HAVE_CELT051 record_channel->celt_mode = celt_mode; record_channel->celt_decoder = celt_decoder; +#endif on_new_record_channel(worker); if (worker->active) { @@ -1438,10 +1477,13 @@ return; error_2: +#if HAVE_CELT051 celt051_decoder_destroy(celt_decoder); error_1: celt051_mode_destroy(celt_mode); +#endif + return; } static void snd_playback_migrate_channel_client(RedChannelClient *rcc) @@ -1498,7 +1540,9 @@ client_cbs.migrate = snd_playback_migrate_channel_client; red_channel_register_client_cbs(channel, &client_cbs); red_channel_set_data(channel, playback_worker); +#if HAVE_CELT051 red_channel_set_cap(channel, SPICE_PLAYBACK_CAP_CELT_0_5_1); +#endif red_channel_set_cap(channel, SPICE_PLAYBACK_CAP_VOLUME); playback_worker->base_channel = channel; @@ -1525,7 +1569,9 @@ client_cbs.migrate = snd_record_migrate_channel_client; red_channel_register_client_cbs(channel, &client_cbs); red_channel_set_data(channel, record_worker); +#if HAVE_CELT051 red_channel_set_cap(channel, SPICE_RECORD_CAP_CELT_0_5_1); +#endif red_channel_set_cap(channel, SPICE_RECORD_CAP_VOLUME); record_worker->base_channel = channel; @@ -1572,7 +1618,11 @@ { SndWorker *now = workers; - playback_compression = on ? SPICE_AUDIO_DATA_MODE_CELT_0_5_1 : SPICE_AUDIO_DATA_MODE_RAW; + playback_compression = +#if HAVE_CELT051 + on ? SPICE_AUDIO_DATA_MODE_CELT_0_5_1 : +#endif + SPICE_AUDIO_DATA_MODE_RAW; for (; now; now = now->next) { if (now->base_channel->type == SPICE_CHANNEL_PLAYBACK && now->connection) { SndChannel* sndchannel = now->connection; debian/patches/fix-tests-warnings.patch0000644000000000000000000000322012176767010015416 0ustar Date: Mon, 11 Feb 2013 08:49:58 -0600 From: Serge Hallyn Subject: [PATCH (v2)] Small cleanups to address compiler warnings Message-ID: <20130211144958.GA6481@sergelap> Forwarded: yes Changelog: Feb 11: Address feedback by Marc-André: Signed-off-by: Serge Hallyn --- server/tests/basic_event_loop.c | 4 ++-- server/tests/test_display_base.c | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) --- a/server/tests/basic_event_loop.c +++ b/server/tests/basic_event_loop.c @@ -115,7 +115,7 @@ static void channel_event(int event, SpiceChannelEventInfo *info) { - DPRINTF(0, "channel event con, type, id, event: %ld, %d, %d, %d", + DPRINTF(0, "channel event con, type, id, event: %d, %d, %d, %d", info->connection_id, info->type, info->id, event); } @@ -215,7 +215,7 @@ if ((next_timer = get_next_timer()) != NULL) { calc_next_timeout(next_timer, &next_timer_timeout); timeout = &next_timer_timeout; - DPRINTF(2, "timeout of %zd.%06zd", + DPRINTF(2, "timeout of %ld.%06ld", timeout->tv_sec, timeout->tv_usec); } else { timeout = NULL; --- a/server/tests/test_display_base.c +++ b/server/tests/test_display_base.c @@ -88,10 +88,11 @@ pid = fork(); if (pid == 0) { char buf[PATH_MAX]; + char *argp[] = {NULL}; char *envp[] = {buf, NULL}; snprintf(buf, sizeof(buf), "PATH=%s", getenv("PATH")); - execve("regression_test.py", NULL, envp); + execve("regression_test.py", argp, envp); } else if (pid > 0) { return; } debian/patches/series0000644000000000000000000000027612236723445012047 0ustar fix-tests-warnings.patch make-celt-to-be-optional.patch link-server-test-with-libm-libpthread.patch enable_subdir-objects.patch fix-buffer-overflow-when-decrypting-client-spice-ticket.patch debian/patches/fix-buffer-overflow-when-decrypting-client-spice-ticket.patch0000644000000000000000000000706712236723474024523 0ustar From 8af619009660b24e0b41ad26b30289eea288fcc2 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Fri, 23 Aug 2013 09:29:44 +0000 Subject: Fix buffer overflow when decrypting client SPICE ticket reds_handle_ticket uses a fixed size 'password' buffer for the decrypted password whose size is SPICE_MAX_PASSWORD_LENGTH. However, RSA_private_decrypt which we call for the decryption expects the destination buffer to be at least RSA_size(link->tiTicketing.rsa) bytes long. On my spice-server build, SPICE_MAX_PASSWORD_LENGTH is 60 while RSA_size() is 128, so we end up overflowing 'password' when using long passwords (this was reproduced using the string: 'fullscreen=1proxy=#enter proxy here; e.g spice_proxy = http://[proxy]:[port]' as a password). When the overflow occurs, QEMU dies with: --- a/server/reds.c +++ b/server/reds.c @@ -1931,39 +1931,59 @@ static void reds_handle_ticket(void *opaque) { RedLinkInfo *link = (RedLinkInfo *)opaque; - char password[SPICE_MAX_PASSWORD_LENGTH]; + char *password; time_t ltime; + int password_size; //todo: use monotonic time time(<ime); - RSA_private_decrypt(link->tiTicketing.rsa_size, - link->tiTicketing.encrypted_ticket.encrypted_data, - (unsigned char *)password, link->tiTicketing.rsa, RSA_PKCS1_OAEP_PADDING); + if (RSA_size(link->tiTicketing.rsa) < SPICE_MAX_PASSWORD_LENGTH) { + spice_warning("RSA modulus size is smaller than SPICE_MAX_PASSWORD_LENGTH (%d < %d), " + "SPICE ticket sent from client may be truncated", + RSA_size(link->tiTicketing.rsa), SPICE_MAX_PASSWORD_LENGTH); + } + + password = g_malloc0(RSA_size(link->tiTicketing.rsa) + 1); + password_size = RSA_private_decrypt(link->tiTicketing.rsa_size, + link->tiTicketing.encrypted_ticket.encrypted_data, + (unsigned char *)password, + link->tiTicketing.rsa, + RSA_PKCS1_OAEP_PADDING); + if (password_size == -1) { + spice_warning("failed to decrypt RSA encrypted password: %s", + ERR_error_string(ERR_get_error(), NULL)); + goto error; + } + password[password_size] = '\0'; if (ticketing_enabled && !link->skip_auth) { int expired = taTicket.expiration_time < ltime; if (strlen(taTicket.password) == 0) { - reds_send_link_result(link, SPICE_LINK_ERR_PERMISSION_DENIED); spice_warning("Ticketing is enabled, but no password is set. " - "please set a ticket first"); - reds_link_free(link); - return; + "please set a ticket first"); + goto error; } - if (expired || strncmp(password, taTicket.password, SPICE_MAX_PASSWORD_LENGTH) != 0) { + if (expired || strcmp(password, taTicket.password) != 0) { if (expired) { spice_warning("Ticket has expired"); } else { spice_warning("Invalid password"); } - reds_send_link_result(link, SPICE_LINK_ERR_PERMISSION_DENIED); - reds_link_free(link); - return; + goto error; } } reds_handle_link(link); + goto end; + +error: + reds_send_link_result(link, SPICE_LINK_ERR_PERMISSION_DENIED); + reds_link_free(link); + +end: + g_free(password); } static inline void async_read_clear_handlers(AsyncRead *obj) debian/patches/link-server-test-with-libm-libpthread.patch0000644000000000000000000000052212176767010021070 0ustar Compile server/test/* with -lm -lpthread option, or compile will fail--- a/server/tests/Makefile.am +++ b/server/tests/Makefile.am @@ -17,6 +17,7 @@ LDADD = \ $(top_builddir)/spice-common/common/libspice-common.la \ $(top_builddir)/server/libspice-server.la \ + $(SPICE_NONPKGCONFIG_LIBS) \ $(NULL) COMMON_BASE = \ debian/patches/enable_subdir-objects.patch0000644000000000000000000000107212231234214016055 0ustar Description: enable sudir-objects in spice-common dir, too Bug-Debian: http://bugs.debian.org/724093 Forwarded: no Last-Update: 2013-10-21 --- spice-0.12.4.orig/spice-common/configure.ac +++ spice-0.12.4/spice-common/configure.ac @@ -13,7 +13,7 @@ AC_CONFIG_AUX_DIR([build-aux]) m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) # Checks for programs -AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip tar-ustar foreign -Wall -Werror]) +AM_INIT_AUTOMAKE([1.11 dist-xz no-dist-gzip tar-ustar subdir-objects foreign -Wall -Werror]) AM_MAINTAINER_MODE AM_SILENT_RULES([yes]) LT_INIT debian/compat0000644000000000000000000000000212176767010010373 0ustar 9 debian/control0000644000000000000000000000570112176767010010603 0ustar Source: spice Section: misc Priority: optional Maintainer: Liang Guo Uploaders: Michael Tokarev Build-Depends: debhelper (>= 9), pkg-config, dh-autoreconf, python, # libspice-protocol is actually not needed for build, # 0.12 always uses included definitions # libspice-protocol-dev (>= 0.10.1~), libpixman-1-dev (>= 0.17.7~), libxrandr-dev (>= 1.2~), libasound2-dev, libssl-dev, libxfixes-dev, # these might be required for opengl support # which has to be enabled explicitly and is not recommended # libglu1-mesa-dev, libgl1-mesa-dev, libsasl2-dev, libjpeg-dev, libxinerama-dev, python-pyparsing, libglib2.0-dev (>= 2.22~), Standards-Version: 3.9.4 Homepage: http://spice-space.org/ Vcs-Git: git://anonscm.debian.org/collab-maint/spice.git Vcs-Browser: http://anonscm.debian.org/git/collab-maint/spice.git Package: spice-client Architecture: i386 amd64 Depends: ${shlibs:Depends}, ${misc:Depends} Description: Implements the client side of the SPICE protocol The Simple Protocol for Independent Computing Environments (SPICE) is a remote display system built for virtual environments which allows you to view a computing 'desktop' environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures. . This package contains the SPICE client application. Package: libspice-server1 Section: libs Architecture: i386 amd64 Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Breaks: spice-client-gtk (<= 0.12-2), python-spice-client-gtk (<= 0.12-2), libspice-client-glib-2.0-1 (<= 0.12-2), libspice-client-gtk-2.0-1 (<= 0.12-2), libspice-client-gtk-3.0-1 (<= 0.12-2) Description: Implements the server side of the SPICE protocol The Simple Protocol for Independent Computing Environments (SPICE) is a remote display system built for virtual environments which allows you to view a computing 'desktop' environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures. . This package contains the run-time libraries for any application that wishes to be a SPICE server. Package: libspice-server-dev Section: libdevel Architecture: i386 amd64 Depends: libspice-server1 (= ${binary:Version}), ${misc:Depends}, libglib2.0-dev (>= 2.22~), libpixman-1-dev (>= 0.17.7~), libssl-dev, libxinerama-dev, libspice-protocol-dev (>= 0.12.0~) Suggests: pkg-config Description: Header files and development documentation for spice-server The Simple Protocol for Independent Computing Environments (SPICE) is a remote display system built for virtual environments which allows you to view a computing 'desktop' environment not only on the machine where it is running, but from anywhere on the Internet and from a wide variety of machine architectures. . This package contains the header files, static libraries and development documentation for spice-server. debian/libspice-server1.symbols0000644000000000000000000001231412176767010013767 0ustar libspice-server.so.1 libspice-server1 #MINVER# SPICE_SERVER_0.10.0@SPICE_SERVER_0.10.0 0.10.0 SPICE_SERVER_0.10.1@SPICE_SERVER_0.10.1 0.10.1 SPICE_SERVER_0.10.2@SPICE_SERVER_0.10.2 0.11.0 SPICE_SERVER_0.10.3@SPICE_SERVER_0.10.3 0.11.0 SPICE_SERVER_0.10.4@SPICE_SERVER_0.10.4 0.12.2 SPICE_SERVER_0.11.2@SPICE_SERVER_0.11.2 0.12.2 SPICE_SERVER_0.11.4@SPICE_SERVER_0.11.4 0.12.2 SPICE_SERVER_0.12.2@SPICE_SERVER_0.12.2 0.12.2 SPICE_SERVER_0.12.3@SPICE_SERVER_0.12.3 0.12.3 SPICE_SERVER_0.12.4@SPICE_SERVER_0.12.4 0.12.4 SPICE_SERVER_0.6.0@SPICE_SERVER_0.6.0 0.8.2 SPICE_SERVER_0.6.1@SPICE_SERVER_0.6.1 0.8.2 SPICE_SERVER_0.8.0@SPICE_SERVER_0.8.0 0.8.2 SPICE_SERVER_0.8.1@SPICE_SERVER_0.8.1 0.8.2 SPICE_SERVER_0.8.2@SPICE_SERVER_0.8.2 0.8.2 SPICE_SERVER_0.8.3@SPICE_SERVER_0.8.3 0.8.3 spice_get_current_compat_version@SPICE_SERVER_0.6.1 0.8.2 spice_qxl_add_memslot@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_add_memslot_async@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_create_primary_surface@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_create_primary_surface_async@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_del_memslot@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_destroy_primary_surface@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_destroy_primary_surface_async@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_destroy_surface_async@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_destroy_surface_wait@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_destroy_surfaces@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_destroy_surfaces_async@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_driver_unload@SPICE_SERVER_0.12.3 0.12.3 spice_qxl_flush_surfaces_async@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_loadvm_commands@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_monitors_config_async@SPICE_SERVER_0.10.4 0.12.2 spice_qxl_oom@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_reset_cursor@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_reset_image_cache@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_reset_memslots@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_start@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_stop@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_update_area@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_update_area_async@SPICE_SERVER_0.8.2 0.8.2 spice_qxl_wakeup@SPICE_SERVER_0.8.2 0.8.2 spice_server_add_client@SPICE_SERVER_0.10.1 0.10.1 spice_server_add_interface@SPICE_SERVER_0.6.0 0.8.2 spice_server_add_renderer@SPICE_SERVER_0.6.0 0.8.2 spice_server_add_ssl_client@SPICE_SERVER_0.10.1 0.10.1 spice_server_char_device_recognized_subtypes@SPICE_SERVER_0.6.0 0.8.2 spice_server_char_device_wakeup@SPICE_SERVER_0.6.0 0.8.2 spice_server_destroy@SPICE_SERVER_0.6.0 0.8.2 spice_server_get_image_compression@SPICE_SERVER_0.6.0 0.8.2 spice_server_get_num_clients@SPICE_SERVER_0.10.0 0.10.0 spice_server_get_peer_info@SPICE_SERVER_0.6.0 0.8.2 spice_server_get_sock_info@SPICE_SERVER_0.6.0 0.8.2 spice_server_init@SPICE_SERVER_0.6.0 0.8.2 spice_server_is_server_mouse@SPICE_SERVER_0.10.3 0.11.0 spice_server_kbd_leds@SPICE_SERVER_0.6.0 0.8.2 spice_server_migrate_client_state@SPICE_SERVER_0.6.0 0.8.2 spice_server_migrate_connect@SPICE_SERVER_0.8.3 0.8.3 spice_server_migrate_end@SPICE_SERVER_0.6.0 0.8.2 spice_server_migrate_info@SPICE_SERVER_0.6.0 0.8.2 spice_server_migrate_start@SPICE_SERVER_0.6.0 0.8.2 spice_server_migrate_switch@SPICE_SERVER_0.8.0 0.8.2 spice_server_new@SPICE_SERVER_0.6.0 0.8.2 spice_server_playback_get_buffer@SPICE_SERVER_0.6.0 0.8.2 spice_server_playback_put_samples@SPICE_SERVER_0.6.0 0.8.2 spice_server_playback_set_mute@SPICE_SERVER_0.10.0 0.10.0 spice_server_playback_set_volume@SPICE_SERVER_0.10.0 0.10.0 spice_server_playback_start@SPICE_SERVER_0.6.0 0.8.2 spice_server_playback_stop@SPICE_SERVER_0.6.0 0.8.2 spice_server_port_event@SPICE_SERVER_0.12.2 0.12.2 spice_server_record_get_samples@SPICE_SERVER_0.6.0 0.8.2 spice_server_record_set_mute@SPICE_SERVER_0.10.0 0.10.0 spice_server_record_set_volume@SPICE_SERVER_0.10.0 0.10.0 spice_server_record_start@SPICE_SERVER_0.6.0 0.8.2 spice_server_record_stop@SPICE_SERVER_0.6.0 0.8.2 spice_server_remove_interface@SPICE_SERVER_0.6.0 0.8.2 spice_server_set_addr@SPICE_SERVER_0.6.0 0.8.2 spice_server_set_agent_copypaste@SPICE_SERVER_0.8.1 0.8.2 spice_server_set_agent_file_xfer@SPICE_SERVER_0.12.4 0.12.4 spice_server_set_agent_mouse@SPICE_SERVER_0.6.0 0.8.2 spice_server_set_channel_security@SPICE_SERVER_0.6.0 0.8.2 spice_server_set_compat_version@SPICE_SERVER_0.6.1 0.8.2 spice_server_set_exit_on_disconnect@SPICE_SERVER_0.11.4 0.12.2 spice_server_set_image_compression@SPICE_SERVER_0.6.0 0.8.2 spice_server_set_jpeg_compression@SPICE_SERVER_0.6.0 0.8.2 spice_server_set_listen_socket_fd@SPICE_SERVER_0.10.2 0.11.0 spice_server_set_name@SPICE_SERVER_0.10.2 0.11.0 spice_server_set_noauth@SPICE_SERVER_0.6.0 0.8.2 spice_server_set_playback_compression@SPICE_SERVER_0.6.0 0.8.2 spice_server_set_port@SPICE_SERVER_0.6.0 0.8.2 spice_server_set_sasl@SPICE_SERVER_0.8.2 0.8.2 spice_server_set_sasl_appname@SPICE_SERVER_0.8.2 0.8.2 spice_server_set_seamless_migration@SPICE_SERVER_0.11.2 0.12.2 spice_server_set_streaming_video@SPICE_SERVER_0.6.0 0.8.2 spice_server_set_ticket@SPICE_SERVER_0.6.0 0.8.2 spice_server_set_tls@SPICE_SERVER_0.6.0 0.8.2 spice_server_set_uuid@SPICE_SERVER_0.10.2 0.11.0 spice_server_set_zlib_glz_compression@SPICE_SERVER_0.6.0 0.8.2 spice_server_vm_start@SPICE_SERVER_0.11.2 0.12.2 spice_server_vm_stop@SPICE_SERVER_0.11.2 0.12.2 debian/docs0000644000000000000000000000001412176767010010043 0ustar NEWS README debian/copyright0000644000000000000000000007174312176767010011144 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174 Upstream-Name: spice Source: http://www.spice-space.org/ Files: * spice-common/spice-protocol/spice/controller_prot.h spice-common/spice-protocol/spice/foreign_menu_prot.h Copyright: Copyright (C) 2009,2010,2011 Red Hat, Inc. License: LGPL-2.1+ Files: client/windows/stdint.h Copyright: NOT COPYRIGHTED License: Based on ISO/IEC SC22/WG14 9899 Committee draft (SC22 N2794) THIS SOFTWARE IS NOT COPYRIGHTED Contributor: Danny Smith This source code is offered for use in the public domain. You may use, modify or distribute it freely. This code is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY DISCLAIMED. This includes but is not limited to warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Files: spice-common/common/draw.h spice-common/common/messages.h server/zlib_encoder.h server/jpeg_encoder.h spice-common/spice-protocol/* Copyright: Copyright (C) 2009-2010 Red Hat, Inc. License: BSD-3-clause Files: spice-common/common/lines.h spice-common/common/lines.c Copyright: Copyright 1987, 1998 The Open Group Copyright 1987 by Digital Equipment Corporation License: Copyright 1987, 1998 The Open Group . Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. . Except as contained in this notice, the name of The Open Group shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. . Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts. . All Rights Reserved . Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Digital not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. . DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: spice-common/common/lz_decompress_tmpl.c spice-common/common/lz.c spice-common/common/lz_compress_tmpl.c Copyright: Copyright 2009 Red Hat, Inc. and/or its affiliates Copyright (C) 2005, 2006, 2007 Ariya Hidayat (ariya@kde.org) License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . This file incorporates work covered by the following copyright and permission notice: . Copyright (C) 2007 Ariya Hidayat (ariya@kde.org) Copyright (C) 2006 Ariya Hidayat (ariya@kde.org) Copyright (C) 2005 Ariya Hidayat (ariya@kde.org) . Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. . Files: spice-common/common/lz.h Copyright: NOT COPYRIGHTED License: MIT Files: debian/* Copyright: Copyright (C) 2010 Liang Guo License: LGPL-2.1+ Files: debian/spicec.1 Copyright: Copyright (C) 2010 Liang Guo License: CC-BY-SA-3.0 License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, see . . On Debian systems, the complete text of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-2.1". License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . \* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. \* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. \* Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: CC-BY-SA-3.0 THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. . BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. . 1. Definitions . a. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License. . b. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined below) for the purposes of this License. . c. "Creative Commons Compatible License" means a license that is listed at http://creativecommons.org/compatiblelicenses that has been approved by Creative Commons as being essentially equivalent to this License, including, at a minimum, because that license: (i) contains terms that have the same purpose, meaning and effect as the License Elements of this License; and, (ii) explicitly permits the relicensing of adaptations of works made available under that license under this License or a Creative Commons jurisdiction license with the same License Elements as this License. . d. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership. . e. "License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike. . f. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License. . g. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast. . h. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work. . i. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. . j. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images. . k. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium. . 2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws. . 3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: . a. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections; . b. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified."; . c. to Distribute and Publicly Perform the Work including as incorporated in Collections; and, . d. to Distribute and Publicly Perform Adaptations. . e. For the avoidance of doubt: . i. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; . ii. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and, . iii. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License. . The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved. . 4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: . a. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(c), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(c), as requested. . b. You may Distribute or Publicly Perform an Adaptation only under the terms of: (i) this License; (ii) a later version of this License with the same License Elements as this License; (iii) a Creative Commons jurisdiction license (either this or a later license version) that contains the same License Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons Compatible License. If you license the Adaptation under one of the licenses mentioned in (iv), you must comply with the terms of that license. If you license the Adaptation under the terms of any of the licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), you must comply with the terms of the Applicable License generally and the following provisions: (I) You must include a copy of, or the URI for, the Applicable License with every copy of each Adaptation You Distribute or Publicly Perform; (II) You may not offer or impose any terms on the Adaptation that restrict the terms of the Applicable License or the ability of the recipient of the Adaptation to exercise the rights granted to that recipient under the terms of the Applicable License; (III) You must keep intact all notices that refer to the Applicable License and to the disclaimer of warranties with every copy of the Work as included in the Adaptation You Distribute or Publicly Perform; (IV) when You Distribute or Publicly Perform the Adaptation, You may not impose any effective technological measures on the Adaptation that restrict the ability of a recipient of the Adaptation from You to exercise the rights granted to that recipient under the terms of the Applicable License. This Section 4(b) applies to the Adaptation as incorporated in a Collection, but this does not require the Collection apart from the Adaptation itself to be made subject to the terms of the Applicable License. . c. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Ssection 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(c) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties. . d. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise. . 5. Representations, Warranties and Disclaimer . UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. . 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. . 7. Termination . a. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. . b. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. . 8. Miscellaneous . a. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. . b. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. . c. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. . d. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. . e. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. . f. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law. debian/rules0000755000000000000000000000035512176767010010260 0ustar #!/usr/bin/make -f %: dh $@ --with autoreconf override_dh_auto_configure: dh_auto_configure -- --disable-celt051 --disable-silent-rules \ --disable-smartcard --enable-client override_dh_auto_clean: -$(RM) .version dh_auto_clean debian/spice-client.manpages0000644000000000000000000000002012176767010013261 0ustar debian/spicec.1 debian/spicec.10000644000000000000000000000765712176767010010544 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH SPICEC 1 "November 29, 2010" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME spicec \- Spice client .SH SYNOPSIS .B spicec .RI [ \-h,\ \-\-host\ ] .RI [\-p,\ \-\-port\ ] .RI [ \-s,\ \-\-secure\-port\ ] .RI [ \-\-secure\-channels\ ] .RI [ \-\-unsecure\-channels\ ] .RI [ \-w,\ \-\-password\ ] .RI [ \-f,\ \-\-full\-screen[\=auto\-conf] ] .RI [ \-\-canvas\-type\ ] .RI [ \-\-enable\-channels\ ] .RI [ \-\-disable\-channels\ ] .RI [ \-\-help ] .SH DESCRIPTION spicec is a Spice client, it can be used to connect to Spice server, such as spice compatible QEMU .SH OPTIONS .TP .B \-h,\ \-\-host\ Spice server address. .TP .B \-p,\ \-\-port\ Spice server port .TP .B \-s,\ \-\-secure\-port\ Spice server secure port .TP .B \-\-secure\-channels\ Force secure connection on the specified channels Channels are: main, display, inputs, cursor, playback and record By default, any channel can be secured, depending on the \-\-secure-port availability. .TP .B \-\-unsecure\-channels\ Force unsecure connection on the specified channels Channels are: main, display, inputs, cursor, playback and record. By default, any channel can be unsecured, depending on the \-\-port availability. .TP .B \-w,\ \-\-password\ Set a ticketing password (default is none) .TP .B \-s,\ \-\-secure\-port\ Spice server secure port .TP .B \-f,\ \-\-full\-screen[\=auto\-conf] Open in a full screen mode. Optional automatic configuration of the remote display settings according to the client display settings. A guest agent must be installed and started for this option. .TP .B \-\-canvas\-type\ Select the available renderer. The order determines precedence For Linux client : only “cairo” canvas type is available. For Windows client : available types are “gdi” and “cairo”. The default is “gdi”. .TP .B \-\-enable\-channels\ Enable the specified channels. Use “all” for enabling all possible channels. Use the following names for enabling only the selected channels: “display”, “inputs”, “cursor”, “playback” and “record”. By default all channels are enabled. .TP .B \-\-disable\-channels\ Disable the specified channels. Use “all” for disabling all possible channels. Use the following names for enabling only the selected channels: “display”, “inputs”, “cursor”, “playback” and “record.” By default all channels are enabled. .TP .B \-\-help Show command help. .SH CONTROL HOT KEYS .B Shift \+ F11 Toggle full-screen / window mode .TP .B Shift \+ F12 Release the cursor if captured in window .TP On debug mode, these are available as well: .TP .B Shift \+ F5 Connect to the server .TP .B Shift \+ F6 Disconnect from the server .SH SEE ALSO Spice related documents can be found at http://www.spice-space.org/documentation.html .SH AUTHOR Spice project .PP This manual page was written by Liang Guo , for the Debian project (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the Creative Commons Attribution-Share Alike 3.0 United States License. (See http://creativecommons.org/licenses/by-sa/3.0/us/legalcode) . debian/watch0000644000000000000000000000013612176767010010226 0ustar version=3 http://www.spice-space.org/download/releases/spice-(\d+\.\d*[02468]\.\d+)\.tar\.bz2 debian/spice-client.install0000644000000000000000000000001712176767010013142 0ustar usr/bin/spicec debian/libspice-server1.install0000644000000000000000000000002412176767010013740 0ustar usr/lib/*/lib*.so.* debian/libspice-server-dev.install0000644000000000000000000000010712176767010014435 0ustar usr/include/* usr/lib/*/lib*.a usr/lib/*/lib*.so usr/lib/*/pkgconfig/* debian/changelog0000644000000000000000000001627312236723706011061 0ustar spice (0.12.4-0nocelt2) unstable; urgency=high * Fix CVE-2013-4282 (Closes: #728314) -- Liang Guo Thu, 07 Nov 2013 22:44:29 +0800 spice (0.12.4-0nocelt1.1) unstable; urgency=low * Non-maintainer upload. * debian/patches - add enable_subdir-objects.patch (Closes: #724093) -- Hideki Yamane Mon, 21 Oct 2013 12:27:35 +0900 spice (0.12.4-0nocelt1) unstable; urgency=low * New upstream release (Closes: #717030) * Remove .version after build (Closes: #671627) * debian/control: - Bump Standards-Version to 3.9.4 (no changes) - Update VCS-* to use canonical URIs * debian/patches: - fix-tests-warnings.patch, refresh - link-server-test-with-libm-libpthread.patch, add (Closes: #713681) * Refresh libspice-server1.symbols -- Liang Guo Thu, 25 Jul 2013 00:10:00 +0800 spice (0.12.3-0nocelt1) unstable; urgency=low * New upstream release * debian/patches: - fix-build-warning-PIXEL.patch, remove, applied upstream - link-libspice-server-with-libm-libpthread.patch, remove, applied upstream - spice-common-remove-version-construction.patch, remove, applied upstream - fix-tests-warnings.patch, refresh - make-celt-to-be-optional.patch, refresh * libspice-server-dev should depends on libglib2.0-dev, or qxl driver compile will fail. * Refresh libspice-server1.symbols -- Liang Guo Sun, 19 May 2013 11:10:10 +0800 spice (0.12.2-0nocelt3) unstable; urgency=low * Upload to unstable -- Liang Guo Fri, 10 May 2013 09:10:16 +0800 spice (0.12.2-0nocelt2exp) experimental; urgency=low * added two patches from Serge Hallyn to fix numerous compiler warnings: fix-build-warning-PIXEL.patch fix-tests-warnings.patch * spice-common-remove-version-construction.patch - to stop spice-common from produce a ton of `build-aux/git-version-gen: not found' errors during autoreconf. -- Michael Tokarev Mon, 11 Feb 2013 23:29:11 +0400 spice (0.12.2-0nocelt1exp) experimental; urgency=low * New upstream release * debian/patches: - Refresh link-libspice-server-with-libm-libpthread.patch * Refresh debian/cpyright, new files added * Build client, upstream don't build client by default * Refresh libspice-server1.symbols * Add libglib2.0-dev to Build-Depends [ Michael Tokarev ] * refresh make-celt-to-be-optional.patch (minor context diff) * do not build-depend on libspice-protocol-dev (upstream always uses included copy) * add (versioned) dependency on libspice-protocol-dev to libspice-server-dev package, since when the latter is installed, embedded protocol headers are not installed * do not build-depend on mesa libs (OpenGL is not enabled by default and is not recommended by upstream) * do not build-depend on libogg-dev * configure with --disable-silent-rules, so that the compiler command line is visible (this fixes the lintian warnings about hardening flags) -- Michael Tokarev Thu, 17 Jan 2013 19:19:30 +0400 spice (0.11.0-1) unstable; urgency=low * New upstream release * Breaks spice-gtk (<= 0.12-2) * Refresh debian/libspice-server1.symbols * debian/control: - Update my e-mail address - Add python-pyparsing to Build-Depends * debian/patches: - Remove fix-error-path-return-in-snd_set_record_peer.patch, applied upstream - Refresh make-celt-to-be-optional.patch - Refresh link-libspice-server-with-libm-libpthread.patch * Simplify debian/rules, celt removed, no reason to use traditional one * Disable smartcard, not in debian yet * Refresh debian/copyright -- Liang Guo Sat, 09 Jun 2012 11:33:05 +0800 spice (0.10.1-3~nocelt) experimental; urgency=low * Applying for co-maintenance, adding myself to Uploaders (Closes: #671627) * Bump Standards-Version to 3.9.3 (no changes) * link-libspice-server-with-libm-libpthread.patch - missing libraries * Enable multiarch for libspice-server, bump debhelper compat to 9 * do not require root in clean target * build-depend on dh-autoreconf and python to be able to run autoreconf and python code generator * use dh_autoreconf, do not ship debian/source/options anymore * consolidate clean target in debian/rules * 2 patches: - fix-error-path-return-in-snd_set_record_peer.patch (from upstream git), which is a pre-requisite for the next patch, and - make-celt-to-be-optional.patch (sent to upstream). This makes it possible to build spice without celt. * Disable celt051 usage. -- Michael Tokarev Sat, 02 Jun 2012 16:18:56 +0400 spice (0.10.1-2) unstable; urgency=low * added dependency on libxinerama-dev to libspice-server-dev, temporarily, till either upstream or we will have better solution. libspice-server does not use xinerama in any way, yet it is listed in the requiriments in the pkg-config file, which is generated at configure time. (Closes: #658173) -- Michael Tokarev Wed, 01 Feb 2012 01:08:34 +0400 spice (0.10.1-1) unstable; urgency=low * New upstream release * Refresh libspice-server1.symbols * debian/control - Change Build-Depends on libspice-protocol-dev to (>= 0.10.1~) - Add libxinerama-dev to Build-Depends -- Liang Guo Fri, 27 Jan 2012 23:28:26 +0800 spice (0.10.0-1) unstable; urgency=low [ Liang Guo ] * New upstream release (Closes: #651262) * Refresh debian/copyright * Remove fix-typo-in-cmd_line_parser-cpp.patch, applied upstream * Remove fix-typo-in-record-cpp.patch, applied upstream * Remove use-requires-private-for-libspice-pkgconfig.patch, applied upstream * Change Build-Depends on libspice-protocol-dev to (>= 0.9.1~) * Refresh libspice-server1.symbols * Update debian/rules clean target * Ignore common/win/my_getopt-1.5/Makefile change when building package * debian/control: set DMUA [ Michael Tokarev ] * use `rm -f' instead of `-rm' in debian/rules clean targets * remove python_modules/*.pyc in clean target -- Liang Guo Tue, 29 Nov 2011 14:37:08 +0800 spice (0.8.3-1) unstable; urgency=low * New upstream release * Update debian/copyright to fit DEP-5 * Remove drop-unnecessary-build-request.patch, applied upstream * Update Build-Depends on libspice-protocol-dev to 0.8.2~ * Disable GUI support, CEGUI version in Debian not supported * Add libjpeg-dev to Build-Depends * Refresh libspice-server1.symbols -- Liang Guo Thu, 20 Oct 2011 11:13:23 +0800 spice (0.8.2-2) unstable; urgency=low [ Michael Tokarev ] * move libraries used internally by libspice-server from Requires to Requires.private in pkg-config file [ Liang Guo ] * Add libpixman-1-dev and libssl-dev to libspice-server-dev Depends (Closes: #637189) * Remove alsa, xrandr, xfixes, x11, xext and xrender from spice-server.pc Requires * Fix typo in debian/spicec.1 -- Liang Guo Tue, 16 Aug 2011 10:36:31 +0800 spice (0.8.2-1) unstable; urgency=low * Initial release (Closes: #560721) -- Liang Guo Sat, 23 Jul 2011 12:21:04 +0800 debian/source/0000755000000000000000000000000012176767010010475 5ustar debian/source/format0000644000000000000000000000001412176767010011703 0ustar 3.0 (quilt)