From 38f45b50e3120988054209dd8b33dd0e624f8d45 Mon Sep 17 00:00:00 2001 From: Jonathan Leitschuh Date: Fri, 17 Jan 2020 05:05:53 -0500 Subject: [PATCH] Enables lgtm.com to process this project and create a CodeQL database Motivation: I'm performing some security research against various Java-based projects as a part of the new [GitHub Security Lab](https://securitylab.github.com/) Bug Bounty program. Currently, LGTM.com can't create a CodeQL database for this project because of missing dependencies. This fixes the build so it works correctly. The maintainers may also want to consider enabling the free [LGTM Integration](https://github.com/marketplace/lgtm) once this PR is merged. Modification: Adds a `.lgtm.yml` with a tested configuration: A successful build can be found here: https://lgtm.com/logs/6695df28f6b2b1d3fd4d03e968b600a3e9c9aecf/lang:java Result: LGTM.com will be able to process this repository to create a CodeQL database. --- .lgtm.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .lgtm.yml diff --git a/.lgtm.yml b/.lgtm.yml new file mode 100644 index 0000000000..9aa74b180b --- /dev/null +++ b/.lgtm.yml @@ -0,0 +1,13 @@ +extraction: + java: + prepare: + packages: + - "autoconf" + - "automake" + - "libtool" + - "make" + - "tar" + - "libaio-dev" + - "libssl-dev" + - "libapr1-dev" + - "lksctp-tools"