aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-01-26 21:45:01 +0100
committerAbhishek Arya <inferno@chromium.org>2020-01-26 12:45:01 -0800
commitd56ec878e01a3878e763ed072c0e0cb5ce52edfa (patch)
tree226a86489ae08c48766aa5b27736a152698b3ef6
parent57601d4b6c97627ffdff16d6a27fffa19a174a9d (diff)
downloadoss-fuzz-d56ec878e01a3878e763ed072c0e0cb5ce52edfa.tar.gz
[PROJ4] Fix build / move build script to PROJ repository itself (#3294)
-rw-r--r--projects/proj4/Dockerfile15
-rwxr-xr-xprojects/proj4/build.sh24
-rw-r--r--projects/proj4/project.yaml5
3 files changed, 15 insertions, 29 deletions
diff --git a/projects/proj4/Dockerfile b/projects/proj4/Dockerfile
index 12235d23c..56f887c98 100644
--- a/projects/proj4/Dockerfile
+++ b/projects/proj4/Dockerfile
@@ -16,7 +16,14 @@
FROM gcr.io/oss-fuzz-base/base-builder
MAINTAINER even.rouault@spatialys.com
-RUN apt-get update && apt-get install -y make autoconf automake libtool g++ sqlite3 libsqlite3-dev pkg-config
-RUN git clone --depth 1 https://github.com/OSGeo/proj.4 proj.4
-WORKDIR proj.4
-COPY build.sh $SRC/
+RUN dpkg --add-architecture i386 && \
+ apt-get update && \
+ apt-get install -y make autoconf automake libtool g++ sqlite3 pkg-config
+
+RUN git clone --depth 1 https://github.com/OSGeo/proj proj
+
+RUN git clone --depth 1 https://github.com/curl/curl.git proj/curl
+
+WORKDIR proj
+
+RUN cp test/fuzzers/build.sh $SRC/
diff --git a/projects/proj4/build.sh b/projects/proj4/build.sh
deleted file mode 100755
index 37c65f77f..000000000
--- a/projects/proj4/build.sh
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash -eu
-# Copyright 2016 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.
-#
-################################################################################
-
-./autogen.sh
-./configure --disable-shared
-make clean -s
-make -j$(nproc) -s
-
-./test/fuzzers/build_google_oss_fuzzers.sh
-./test/fuzzers/build_seed_corpus.sh
diff --git a/projects/proj4/project.yaml b/projects/proj4/project.yaml
index 91e991a65..71bdcf8cd 100644
--- a/projects/proj4/project.yaml
+++ b/projects/proj4/project.yaml
@@ -1,6 +1,9 @@
-homepage: "http://proj4.org/"
+homepage: "https://proj.org/"
primary_contact: "even.rouault@gmail.com"
auto_ccs:
- "hobu.inc@gmail.com"
- "kristianevers@gmail.com"
- "knudsen.thomas@gmail.com"
+architectures:
+ - x86_64
+ - i386