From 25e93737e3ba1c42248444e3c401d481ec92b766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 26 Feb 2019 19:06:00 +0100 Subject: [PATCH] Add casync project (#2185) The necessary counterpart in casync: https://github.com/systemd/casync/pull/193. --- projects/casync/Dockerfile | 36 ++++++++++++++++++++++++++++++++++++ projects/casync/build.sh | 18 ++++++++++++++++++ projects/casync/project.yaml | 9 +++++++++ 3 files changed, 63 insertions(+) create mode 100644 projects/casync/Dockerfile create mode 100755 projects/casync/build.sh create mode 100644 projects/casync/project.yaml diff --git a/projects/casync/Dockerfile b/projects/casync/Dockerfile new file mode 100644 index 000000000..6351a4c25 --- /dev/null +++ b/projects/casync/Dockerfile @@ -0,0 +1,36 @@ +# Copyright 2018 Red Hat 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 zbyszek@in.waw.pl +RUN apt-get update && \ + apt-get install -y \ + python3-pip pkg-config wget \ + liblzma-dev \ + libzstd-dev \ + libcurl4-openssl-dev \ + libssl-dev \ + libudev-dev \ + zlib1g-dev \ + libacl1-dev \ + libfuse-dev \ + rsync \ + udev \ + && \ + pip3 install meson ninja +RUN git clone --depth 1 https://github.com/systemd/casync casync +WORKDIR casync +COPY build.sh $SRC/ diff --git a/projects/casync/build.sh b/projects/casync/build.sh new file mode 100755 index 000000000..655f62271 --- /dev/null +++ b/projects/casync/build.sh @@ -0,0 +1,18 @@ +#!/bin/bash -eu +# Copyright 2018 Red Hat 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. +# +################################################################################ + +tools/oss-fuzz.sh diff --git a/projects/casync/project.yaml b/projects/casync/project.yaml new file mode 100644 index 000000000..9afb4ec6e --- /dev/null +++ b/projects/casync/project.yaml @@ -0,0 +1,9 @@ +homepage: "https://github.com/casync/casync" +primary_contact: "lennart@poettering.net" +sanitizers: + - address + - undefined + - memory +auto_ccs: + - zbyszek@in.waw.pl + - poettering@gmail.com