diff options
author | Augie Fackler <raf@durin42.com> | 2018-01-17 18:18:29 -0500 |
---|---|---|
committer | Abhishek Arya <inferno@chromium.org> | 2018-01-17 15:18:29 -0800 |
commit | b64e0b812d5a8626670cdbef3001ea41a70eac31 (patch) | |
tree | 115cde6e8d858470dffe6b3ff0d1cf4b498582c0 /projects/mercurial | |
parent | a461f392be65b4dafdd75df49272bd6283615069 (diff) | |
download | oss-fuzz-b64e0b812d5a8626670cdbef3001ea41a70eac31.tar.gz |
mercurial: initial import of fuzzer configuration for Mercurial (#1083)
Diffstat (limited to 'projects/mercurial')
-rw-r--r-- | projects/mercurial/Dockerfile | 23 | ||||
-rwxr-xr-x | projects/mercurial/build.sh | 19 | ||||
-rw-r--r-- | projects/mercurial/project.yaml | 6 |
3 files changed, 48 insertions, 0 deletions
diff --git a/projects/mercurial/Dockerfile b/projects/mercurial/Dockerfile new file mode 100644 index 000000000..afbc8e283 --- /dev/null +++ b/projects/mercurial/Dockerfile @@ -0,0 +1,23 @@ +# Copyright 2018 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 security@mercurial-scm.org +RUN apt-get update && apt-get install -y make autoconf automake libtool \ + python-dev mercurial +RUN hg clone https://www.mercurial-scm.org/repo/hg mercurial +WORKDIR mercurial +COPY build.sh $SRC/ diff --git a/projects/mercurial/build.sh b/projects/mercurial/build.sh new file mode 100755 index 000000000..c21c7bd69 --- /dev/null +++ b/projects/mercurial/build.sh @@ -0,0 +1,19 @@ +#!/bin/bash -eu +# Copyright 2018 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. +# +################################################################################ + +cd contrib/fuzz +make oss-fuzz diff --git a/projects/mercurial/project.yaml b/projects/mercurial/project.yaml new file mode 100644 index 000000000..ea376ce12 --- /dev/null +++ b/projects/mercurial/project.yaml @@ -0,0 +1,6 @@ +homepage: "https://www.mercurial-scm.org/" +primary_contact: "durin42@gmail.com" +auto_ccs: + - "gregory.szorc@gmail.com" + - "kbullock@ringworld.org" + - "security@mercurial-scm.org" |