Tobias Brunner
4ab38d98a7
Fixed some typos
2014-02-18 10:36:25 +01:00
Tobias Brunner
34d3bfcf14
lib: Add global config namespace
2014-02-12 14:34:31 +01:00
Martin Willi
19cb07b890
automake: replace INCLUDES by AM_CPPFLAGS
...
INCLUDES are now deprecated and throw warnings when using automake 1.13.
We now also differentiate AM_CPPFLAGS and AM_CFLAGS, where includes and
defines are passed to AM_CPPFLAGS only.
2013-07-18 14:59:19 +02:00
Tobias Brunner
1ee1163214
dumm: Sort templates by name
2013-07-15 14:37:05 +02:00
Martin Willi
783b55cc5c
dumm: add include for in.h, if_bridge.h now uses struct in6_addr
2013-07-12 18:21:24 +02:00
Tobias Brunner
caccc0e8cc
Avoid that ruby 1.9 redefines snprintf(3) etc.
...
Otherwise our custom printf specifiers won't work.
2012-12-10 11:41:37 +01:00
Tobias Brunner
12e70a7efc
Properly initialize linked list when enumerating interface addresses
2012-12-10 09:47:46 +01:00
Tobias Brunner
6a25122bfc
rb_cvar_set() takes three arguments in Ruby 1.9
2012-12-10 09:47:46 +01:00
Tobias Brunner
d972975d87
Use rb_errinfo() instead of ruby_errinfo for Ruby 1.9
2012-12-10 09:47:46 +01:00
Tobias Brunner
afabe7b0ef
Use proper Ruby library depending on the available version
2012-12-10 09:47:46 +01:00
Tobias Brunner
f05b427265
Moved debug.[ch] to utils folder
2012-10-24 16:00:51 +02:00
Tobias Brunner
12642a6831
Moved data structures to new collections subfolder
2012-10-24 16:00:49 +02:00
Tobias Brunner
2e7cc07ecd
Moved host_t and host_resolver_t to a new networking subfolder
2012-10-24 15:06:18 +02:00
Tobias Brunner
a05f3b2021
Make sure first argument is an int when using %.*s to print e.g. chunks
2012-09-28 18:01:49 +02:00
Martin Willi
a24f83e97a
Use "-include config.h" when building ruby dumm extension
2012-07-11 18:07:19 +02:00
Tobias Brunner
e6c824959c
Migrated dumm_t to INIT/METHOD macros.
2011-10-03 16:35:15 +02:00
Tobias Brunner
3df8e57e9a
Migrated iface_t to INIT/METHOD macros.
2011-10-03 16:25:45 +02:00
Tobias Brunner
59e1c865f4
Migrated cowfs_t to INIT/METHOD macros.
2011-10-03 16:19:21 +02:00
Tobias Brunner
e6cf719ce9
Migrated mconsole_t to INIT/METHOD macros.
2011-10-03 16:15:37 +02:00
Tobias Brunner
41100c2429
Migrated guest_t to INIT/METHOD macros.
2011-10-03 16:11:55 +02:00
Tobias Brunner
d6c8c0caa8
Migrated bridge_t to INIT/METHOD macros.
2011-10-03 15:59:20 +02:00
Tobias Brunner
50937e8b80
DUMM: Allow addresses to be configured with net prefix.
2011-07-29 12:14:02 +02:00
Tobias Brunner
60d62b9e5c
Don't install the libraries directly in lib/.
...
Instead use a subdirectory (prefix/lib/ipsec by default). Also moved the
plugins from libexec to a subdirectory of that dir.
2011-07-05 14:42:14 +02:00
Martin Willi
8c1bfe6545
Link libstrongswan against libdumm, fixes build of ruby extension
2011-05-20 14:59:17 +02:00
Martin Willi
b8509b7164
Link libstrongswan directly to dumm/irdumm, fixes build with newer binutils
2011-05-19 15:47:40 +02:00
Martin Willi
61e3819d04
Do not use deprecated vte_terminal_fork_command()
2011-05-11 12:12:02 +02:00
Tobias Brunner
d4b8f98c1a
Store the exit code of executed commands in Dumm::Guest.execstatus.
...
Also, no exception is risen for failed exec calls, anymore.
2010-10-12 15:41:17 +02:00
Tobias Brunner
d679266fe1
Map the guests to a ruby hash to avoid creating new ruby objects on each call of Guest.each or Guest[].
2010-10-12 15:04:38 +02:00
Tobias Brunner
9b0847dd9a
Exposed the mutli-overlay functionality in the ruby bindings.
...
Overlays can be added to individual guests (which overlays exactly the
supplied directory) or to all guests (which overlays a subdirectory
with the guest's name to each guest).
The template functionality is provided as before.
2010-10-12 15:03:37 +02:00
Tobias Brunner
f29396b87e
Added support for multiple overlays to the main library.
...
Also implemented the template functionality using the new overlay functions.
2010-10-12 15:03:27 +02:00
Tobias Brunner
0dbbd47fe7
Added support for multiple overlays to guests (replaces the template functionality).
...
Compared to a template an overlay is an arbitrary directory, not the
parent directory of a directory with the guest's name.
2010-10-12 15:03:26 +02:00
Tobias Brunner
4542920a3e
Added support for multiple overlays to the copy-on-write filesystem.
2010-10-12 15:03:19 +02:00
Tobias Brunner
8b0e09103b
Adding DBG_LIB to all calls of libstrongswan's version of DBG*.
2010-04-06 12:47:40 +02:00
Tobias Brunner
4a5a5dd290
Using the thread wrapper in charon, libstrongswan and their plugins.
2009-12-23 17:03:41 +01:00
Martin Willi
f469754f7f
Undef PACKAGE_BUG/URL of strongSwan before including ruby variants
2009-12-08 14:36:22 +01:00
Martin Willi
7b3814f75d
remove spaces before tabs at the beginning of lines (^( )+\t)
2009-09-04 15:02:11 +02:00
Martin Willi
323f9f990f
replaces four spaces by tabs, where appropriate
2009-09-04 14:50:23 +02:00
Martin Willi
7daf5226b7
removed trailing spaces ([[:space:]]+$)
2009-09-04 13:46:09 +02:00
Martin Willi
d9796a4311
fixed printf fromat for length limited string
2009-08-07 10:31:21 +02:00
Martin Willi
2b7129f9b3
added mconsole exec patch based on 2.6.30
2009-07-01 13:53:46 +02:00
Martin Willi
fb64239cab
added mconsole exec patch based on 2.6.29
2009-07-01 13:52:54 +02:00
Martin Willi
66b8345f9f
added generated extconf.rb to .gitignore, removed it from distribution
2009-05-25 15:45:05 +02:00
Tobias Brunner
ad36ab252e
Automatically build (and install) the DUMM Ruby extension.
2009-05-20 19:38:01 +02:00
Tobias Brunner
2d9ce480fa
Enable building the DUMM Ruby extension in a VPATH build.
2009-05-20 19:38:01 +02:00
Tobias Brunner
d2e9cbc9a2
The configure script now tries to figure out where ruby.h is located.
...
This is required because the location depends on the architecture.
2009-05-20 19:38:01 +02:00
Martin Willi
4a0c97e7d4
also update permission in template/guest folders
...
some identation cleanups
2009-05-11 17:26:13 +02:00
Martin Willi
db879fdfac
removed @brief doxygen keywords
2009-05-11 17:24:51 +02:00
Martin Willi
5d47f284b8
list available templates using "template" alias
2009-05-11 17:20:01 +02:00
Martin Willi
47a9a48f5b
ruby bindings for template enumerator
2009-05-11 17:19:36 +02:00
Martin Willi
608046c09c
added a Dumm template enumerator
2009-05-11 17:18:59 +02:00