augeas/augeas-modprobe-lense.patch
Ismail Dönmez e0ad7be0d4 Accepting request 107526 from home:dmacvicar:branches:devel:libraries:c_c++
- update to 0.10.0
  - support relative paths by taking them relative to the value of
    /augeas/context in all API functions where paths are used
  - add aug_to_xml to API: transform tree(s) into XML, exposed as dump-xml in
    aug_srun and augtool. Introduces dependency on libxml2
  - fix regular expression escaping. Previously, /[/]/ match either a backslash
    or a slash. Now it only matches a slash
  - path expressions: add function 'int' to convert a node value (string) to an
    integer
  - path expressions: make sure the regexp produced by empty nodesets from
    regexp() and glob() matches nothing, rather than the empty word
  - fix --autosave when running single command from command line, BZ 743023
  - aug_srun: support 'insert' and 'move' as aliases for 'ins' and 'mv'
  - aug_srun: allow escaping of spaces, quotes and brackets with \
  - aug_init: accept AUG_NO_ERR_CLOSE flag; return augeas handle even when
    initialization fails so that caller gets some details about why
    initialization failed
  - aug_srun: tolerate trailing white space in commands
  - much improved, expanded documentation of many lenses
  - always interpret lens filter paths as absolute, bug #238
  - fix bug in libfa that would incorrectly calculate the difference of a case
    sensistive and case insensitive regexp (/[a-zA-Z]+/ - /word/i would match
    'worD')
  - new builtin 'regexp_match' for .aug files to make testing regexp matching
    easier during development
  - fix 'span' command, bug #220
  - Lens changes/additions
    * Access: parse user@host and (group) in users field; field separator need
      not be surrounded by spaces
    * Aliases: allow spaces before colons

OBS-URL: https://build.opensuse.org/request/show/107526
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/augeas?expand=0&rev=32
2012-02-29 10:32:49 +00:00

25 lines
906 B
Diff

diff --git a/lenses/modprobe.aug b/lenses/modprobe.aug
index f4bb27b..6b02b9c 100644
--- a/lenses/modprobe.aug
+++ b/lenses/modprobe.aug
@@ -70,6 +70,11 @@ let blacklist = Build.key_value_line_comment "blacklist" sep_space
sto_no_spaces
comment
+(* View: allow_unsupported_modules *)
+let allow_unsupported_modules = Build.key_value_line_comment "allow_unsupported_modules" sep_space
+ sto_no_spaces
+ comment
+
(* View: config *)
let config = Build.key_value_line_comment "config" sep_space
(store /binary_indexes|yes|no/)
@@ -80,6 +85,7 @@ let entry = alias
| options
| kv_line_command /install|remove/
| blacklist
+ | allow_unsupported_modules
| config
(************************************************************************