Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-539

Allow distribustion log4j to be used for socketservertest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.13.0
    • Tests
    • None

    Description

      (This is a patch I need for the Debian packaging)

      In the CMakeLists.txt for the socket server tries to download log4j-1.2 from apache.

      Debian does not allow that resources be downloaded during build and has a policy that (if possible) packaged resources are to be used. In Debian log4j version 1.2 is packaged in the packge liblog4j1.2-java, so I need to use this one.

      The patch (will also be provided as PR) changes the logic that it will only download log4j if find_jar could not find it using default search paths.

      Additionally, I changed the md5 to a sha256 checksum, as md5s are insecure.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              coldtobi Tobias Frost
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: