Skip to content
Snippets Groups Projects
  1. Jan 29, 2014
  2. Jan 17, 2014
    • Markus Blatt's avatar
      [bugfix,buildsystem] Force searching for installed packages with pkg-config, again. · 20ef1b87
      Markus Blatt authored
      Somewhere along the many changes we stopped forcing usage of pkg-config when
      testing for installed versions of modules during configure. Without using
      pkg-config there is no way of detecting custom installation parts used by
      the user. In my case, this broke finding modules installed via cmake from
      modules that are to built with autotools.
      
      This patch forces DUNE_CHECK_MODULE to use pkg-config to setup the paths for
      installed modules by dunecontrol not provinding --with-module=<path> to configure
      for installed modules.
      20ef1b87
  3. Jan 16, 2014
  4. Jan 09, 2014
    • Markus Blatt's avatar
      [release,bugfix] Makes PKG_CONFIG_PATH honor all (lib lib/multiarch). · 8d81ff3b
      Markus Blatt authored
      Previously some of the pathes (e.g the multiarch ones) took precedence
      over the others. But as with same some of the pkgconfig files are installed
      below lib/<multiarch> and others (if there is not object library) are not.
      With this patch all possible install locations of pkgconfig files are added
      to the path if they exist.
      8d81ff3b
  5. Jan 08, 2014
  6. Jan 07, 2014
  7. Jan 04, 2014
    • Markus Blatt's avatar
      [autotools,bugfix] Feed include path of all modules to dune-autogen · c57e6037
      Markus Blatt authored
      Previously only the include path of the local modules were used. This
      caused errors with installed dune-common modules, similar to:
      
      --> aclocal...
      
      Error: Could not find dune-common/am!
      Usage: dune-autogen DUNE_MODULE_PATH_LIST [options]
        --ac=, --acversion=VERSION   use a specific VERSION of autoconf
        --am=, --amversion=VERSION   use a specific VERSION of automake
        -h,    --help                you already found this :-)
      --- Failed to build dune-typetree ---
      Terminating dunecontrol due to previous errors!
      
      This is also related to https://dune-project.org/flyspray/index.php?do=details&task_id=891
      
      With this patch we include the aclocal, m4 or am directory of all modules
      (installed and local ones) and everything works again as exspected.
      c57e6037
  8. Dec 03, 2013
  9. Dec 02, 2013
  10. Nov 22, 2013
  11. Sep 18, 2013
  12. Sep 09, 2013
  13. Sep 02, 2013
  14. Aug 30, 2013
  15. Aug 20, 2013
  16. Jun 13, 2013
  17. Jun 11, 2013
  18. Jun 05, 2013
  19. May 17, 2013
    • Steffen Müthing's avatar
      [dunecontrol] Add some rudimentary protection against user errors during git config parsing · ed0d829d
      Steffen Müthing authored
      The contents of the files containing git settings is evaluated by the shell, which can
      be dangerous if such a file contains a line like 'option value; rm -rf /'. While that is
      unlikely, it might happen when people try to create a Git alias.
      
      It would be possible to completely protect users from this problem by parsing the line
      completely manually (without involving the shell), but on the other hand, being able to
      use shell features for determining option values seems like a good thing to have as well.
      
      This patch adds some rudimentary protection that protects against errors like the one shown
      above. More advanced users can still wreak havoc by abusing shell substitution
      ('option $(echo value; rm -rf /)' comes to mind), but that's not something our average user
      will do.
      
      The protection works by splitting the input line into an array first; doing so does not
      actually execute the line and so prevents anything outside of value substitutions in $()
      from being executed.
      
      Also added a comment to explain why we need to go through the extra step with the array.
      ed0d829d
  20. May 16, 2013
  21. May 15, 2013
Loading