aboutsummaryrefslogtreecommitdiff
path: root/projects/libtpms
diff options
context:
space:
mode:
authorMarc-Andre Lureau <marcandre.lureau@gmail.com>2019-03-28 18:54:49 +0100
committerAbhishek Arya <inferno@chromium.org>2019-03-28 10:54:49 -0700
commit1c590dcc35d8c64311551f04b76860bdd443fb82 (patch)
tree57b08a618578977e4aa6ec957d217e0807b84a6b /projects/libtpms
parentdf1bdcdbe379c4b144aab6c4a03886d0fd01ade7 (diff)
downloadoss-fuzz-1c590dcc35d8c64311551f04b76860bdd443fb82.tar.gz
Add libtpms project (#2266)
Signed-off-by: Marc-André Lureau <mlureau@redhat.com>
Diffstat (limited to 'projects/libtpms')
-rw-r--r--projects/libtpms/Dockerfile27
-rwxr-xr-xprojects/libtpms/build.sh18
-rw-r--r--projects/libtpms/project.yaml4
3 files changed, 49 insertions, 0 deletions
diff --git a/projects/libtpms/Dockerfile b/projects/libtpms/Dockerfile
new file mode 100644
index 000000000..f1b1872c9
--- /dev/null
+++ b/projects/libtpms/Dockerfile
@@ -0,0 +1,27 @@
+# Copyright 2019 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+################################################################################
+
+FROM gcr.io/oss-fuzz-base/base-builder
+MAINTAINER marcandre.lureau@redhat.com
+RUN \
+ apt-get update && \
+ apt-get install -y \
+ make autoconf automake libtool \
+ libstdc++-5-dev \
+ libssl-dev libseccomp-dev
+RUN git clone --depth 1 https://github.com/stefanberger/libtpms libtpms
+WORKDIR libtpms
+COPY build.sh $SRC/
diff --git a/projects/libtpms/build.sh b/projects/libtpms/build.sh
new file mode 100755
index 000000000..7411e1942
--- /dev/null
+++ b/projects/libtpms/build.sh
@@ -0,0 +1,18 @@
+#!/bin/bash -eu
+# Copyright 2019 Google Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+################################################################################
+
+tests/oss-fuzz.sh
diff --git a/projects/libtpms/project.yaml b/projects/libtpms/project.yaml
new file mode 100644
index 000000000..ee0c52161
--- /dev/null
+++ b/projects/libtpms/project.yaml
@@ -0,0 +1,4 @@
+homepage: "https://github.com/stefanberger/libtpms"
+primary_contact: "stefanb@us.ibm.com"
+auto_ccs:
+ - "marcandre.lureau@redhat.com"