Displaying 14 results from an estimated 14 matches for "use_network".
Did you mean:
set_network
2014 May 02
5
[PATCH 1/3] build: fix srcdir!=builddir builds
Fix the build system to support a build directory different than the
source directory:
- fix the include path to gnulib
- properly depend on and use files in the source directory
- fix the ocaml dependency calculation, making sure it picks the files
from all the places
---
src/Makefile.am | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/Makefile.am
2014 Aug 13
2
Re: How make check with test-harder.sh screw my box !!!!!
...=======================================
> # TOTAL: 8
> # PASS: 8
> # SKIP: 0
> # XFAIL: 0
> # FAIL: 0
> # XPASS: 0
> # ERROR: 0
>
> see https://github.com/gabx/supermin for my commits
It seems the main effect of the changes was to accidentally
disable network tests.
USE_NETWORK=1 command
and
USE_NETWORK=1
command
have quite different effects in bash.
Anyway an easier way to do that is to:
./configure --disable-network-tests
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://r...
2014 Mar 15
4
[supermin 1/2] chroot: Fix corner case introduced with dpkg-divert support
---
src/chroot.ml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/chroot.ml b/src/chroot.ml
index b5c1e53..9e522d9 100644
--- a/src/chroot.ml
+++ b/src/chroot.ml
@@ -26,7 +26,9 @@ let build_chroot debug files outputdir =
List.iter (
fun file ->
try
- let path = file.ft_source_path in
+ let path = if file_exists file.ft_source_path
+
2020 Apr 03
1
[supermin PATCH] tests: different dirs for formats in test-build-bash.sh
...le changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/test-build-bash.sh b/tests/test-build-bash.sh
index 44a8c89..0b75d8b 100755
--- a/tests/test-build-bash.sh
+++ b/tests/test-build-bash.sh
@@ -27,6 +27,7 @@ tmpdir=`mktemp -d`
d1=$tmpdir/d1
d2=$tmpdir/d2
+d3=$tmpdir/d3
test "$USE_NETWORK" = 1 || USE_INSTALLED=--use-installed
@@ -37,6 +38,8 @@ arch="$(uname -m)"
# Check all supermin-helper formats work.
../src/supermin -v --build -f chroot --host-cpu $arch $d1 -o $d2
-../src/supermin -v --build -f ext2 --host-cpu $arch $d1 -o $d2
+../src/supermin -v --build -f e...
2007 Oct 19
0
8 commits - libswfdec/swfdec_movie_as_drawing.c libswfdec/swfdec_player.c libswfdec/swfdec_resource.c libswfdec/swfdec_resource.h libswfdec/swfdec_sprite_movie.c
...0644
--- a/libswfdec/swfdec_resource.c
+++ b/libswfdec/swfdec_resource.c
@@ -58,10 +58,12 @@ swfdec_resource_check_rights (SwfdecResource *resource)
SwfdecFlashSecurity *sec = SWFDEC_FLASH_SECURITY (resource);
SwfdecSwfDecoder *dec = SWFDEC_SWF_DECODER (resource->decoder);
- if (dec->use_network && sec->sandbox == SWFDEC_SANDBOX_LOCAL_FILE)
- sec->sandbox = SWFDEC_SANDBOX_LOCAL_NETWORK;
- SWFDEC_INFO ("enabling local-with-network sandbox for %s",
- swfdec_url_get_url (swfdec_loader_get_url (resource->loader)));
+ if (resource->initial) {
+ if (dec...
2007 Oct 18
0
18 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_flash_security.c
...diff --git a/libswfdec/swfdec_tag.c b/libswfdec/swfdec_tag.c
index 7913383..c9ce1a6 100644
--- a/libswfdec/swfdec_tag.c
+++ b/libswfdec/swfdec_tag.c
@@ -517,7 +517,6 @@ tag_func_file_attributes (SwfdecSwfDecoder *s, guint tag)
SWFDEC_INFO ("reserved bits (2) aren't 0");
s->use_network = swfdec_bits_getbit (&s->b);
SWFDEC_LOG (" use network: %d", s->use_network);
- g_print (" use network: %d\n", s->use_network);
if (swfdec_bits_getbits (&s->b, 24))
SWFDEC_INFO ("reserved bits (3) aren't 0");
/* initialize defa...
2016 Aug 31
0
[PATCH] tests: use /etc/os-release in test-harder
...[ -f /etc/arch-release ]; then
distro=arch
elif [ -f /etc/debian_version ]; then
distro=debian
@@ -63,6 +70,10 @@ case $distro in
ibm-powerkvm)
pkgs="augeas hivex tar"
;;
+ *)
+ echo "Unhandled distro '$distro'"
+ exit 77
+ ;;
esac
test "$USE_NETWORK" = 1 || USE_INSTALLED=--use-installed
--
2.7.4
2007 Oct 17
0
28 commits - configure.ac debian/changelog debian/control debian/copyright debian/.gitignore debian/libswfdec0.dirs debian/libswfdec0.files debian/libswfdec0.shlibs debian/libswfdec-dev.dirs debian/libswfdec-dev.files debian/rules debian/swf-player.dirs
...gt;
Date: Wed Oct 17 23:26:18 2007 +0200
Merge branch 'master' of ssh://company at git.freedesktop.org/git/swfdec/swfdec
commit 6eaa4d583a246c55db75dbf84e7e0b5f35a7aa7a
Author: Benjamin Otte <otte at gnome.org>
Date: Wed Oct 17 23:22:33 2007 +0200
actually implement the use_network flag
diff --git a/libswfdec/swfdec_swf_instance.c b/libswfdec/swfdec_swf_instance.c
index 4523f05..97e8460 100644
--- a/libswfdec/swfdec_swf_instance.c
+++ b/libswfdec/swfdec_swf_instance.c
@@ -29,6 +29,7 @@
#include "swfdec_character.h"
#include "swfdec_debug.h"
#include &q...
2016 Aug 31
8
[PATCH 0/2] supermin: use /etc/os-release
Hi,
let's make supermin use /etc/os-release as primary source instead of
the various release files in /etc; apparently distros (e.g. openSUSE)
are starting removing them.
Thanks,
Pino Toscano (2):
Add simple handling of /etc/os-release
Use os-release to detect the distro
src/Makefile.am | 3 +++
src/dpkg.ml | 3 ++-
src/os_release.ml | 78
2007 Jun 15
0
Branch 'as' - 5 commits - libswfdec/swfdec_as_native_function.c libswfdec/swfdec_edittext.c libswfdec/swfdec_edittext.h libswfdec/swfdec_font.c libswfdec/swfdec_font.h libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_morphshape.h
...rn tag_func_define_font_info (s, 1);
-}
-
-static int
-tag_func_define_font_info_2 (SwfdecSwfDecoder *s)
-{
- return tag_func_define_font_info (s, 2);
-}
-
-static int
-tag_func_file_attributes (SwfdecSwfDecoder *s)
+tag_func_file_attributes (SwfdecSwfDecoder *s, guint tag)
{
int has_metadata, use_network;
@@ -535,7 +509,7 @@ tag_func_file_attributes (SwfdecSwfDecod
}
int
-tag_func_export_assets (SwfdecSwfDecoder * s)
+tag_func_export_assets (SwfdecSwfDecoder * s, guint tag)
{
SwfdecBits *bits = &s->b;
guint count, i;
@@ -568,7 +542,7 @@ tag_func_export_assets (SwfdecSwfDecoder...
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c
...SwfdecSprite * main_sprite; /* the root sprite */
SwfdecSprite * parse_sprite; /* the sprite that parsed at the moment */
- GArray ** root_actions; /* actions to be executed by the root sprite */
GHashTable * scripts; /* buffer -> script mapping for all scripts */
gboolean use_network; /* allow network or local access */
@@ -102,9 +84,6 @@ gpointer swfdec_swf_decoder_create_character (SwfdecSwfDecoder * s,
guint id,
GType type);
-void swfdec_swf_decoder_add_root_action (SwfdecSwfDecoder * s,
- SwfdecRootActionType type,
- gpointer d...
2008 Jan 21
0
70 commits - configure.ac libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_socket.c libswfdec-gtk/swfdec_gtk_socket.h libswfdec-gtk/swfdec_playback_alsa.c
...SwfdecSwfDecoder *dec = SWFDEC_SWF_DECODER (instance->decoder);
instance->sandbox = swfdec_sandbox_get_for_url (player,
- swfdec_loader_get_url (instance->loader),
+ swfdec_loader_get_url (instance->loader), instance->version,
SWFDEC_SWF_DECODER (instance->decoder)->use_network);
if (instance->sandbox) {
movie->sprite = dec->main_sprite;
diff --git a/libswfdec/swfdec_sandbox.c b/libswfdec/swfdec_sandbox.c
index bdc7bf1..f10b102 100644
--- a/libswfdec/swfdec_sandbox.c
+++ b/libswfdec/swfdec_sandbox.c
@@ -76,7 +76,7 @@ swfdec_sandbox_init (SwfdecSandbox...
2007 Nov 15
2
Changes to 'refs/tags/0.5.4'
Tag '0.5.4' created by Benjamin Otte <otte at gnome.org> at 2007-11-15 10:12 -0800
release 0.5.4 ("Turkish Cycling Federation")
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQBHPBurvMv5VCdLq8QRAj1KAJ40NHRRS3gKyJjSjyyoH7gDaGi/tQCeOha/
R5PF4bZQqmSdJ64t8EbD4cA=
=8qBy
-----END PGP SIGNATURE-----
Changes since the dawn of time:
Benjamin Otte (40):
2007 Nov 07
0
36 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_amf.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_buffer.c libswfdec/swfdec_buffer.h
...-61,7 +72,7 @@ swfdec_resource_check_rights (SwfdecResource *resource)
SwfdecFlashSecurity *sec = SWFDEC_FLASH_SECURITY (resource);
SwfdecSwfDecoder *dec = SWFDEC_SWF_DECODER (resource->decoder);
- if (resource->initial) {
+ if (swfdec_resource_is_root (resource)) {
if (dec->use_network && sec->sandbox == SWFDEC_SANDBOX_LOCAL_FILE)
sec->sandbox = SWFDEC_SANDBOX_LOCAL_NETWORK;
SWFDEC_INFO ("enabling local-with-network sandbox for %s",
@@ -93,8 +104,9 @@ swfdec_resource_loader_target_image (SwfdecResource *instance)
}
static void
-swfdec_resou...