From 9c62f7b6edd6ce27da8a5e7f177143625e437f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 7 May 2025 22:11:08 +0200 Subject: [PATCH] Add complete WeeChat integration --- projects/weechat/Dockerfile | 48 +++++++++++++++++++++++++++++++++++ projects/weechat/build.sh | 18 +++++++++++++ projects/weechat/project.yaml | 3 ++- 3 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 projects/weechat/Dockerfile create mode 100644 projects/weechat/build.sh diff --git a/projects/weechat/Dockerfile b/projects/weechat/Dockerfile new file mode 100644 index 000000000000..9c2d20436f08 --- /dev/null +++ b/projects/weechat/Dockerfile @@ -0,0 +1,48 @@ +# Copyright 2025 Google LLC +# +# 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 +RUN apt-get update && apt-get install -y \ + cmake \ + curl \ + gcc \ + gem2deb \ + gettext \ + gnupg \ + guile-3.0-dev \ + libargon2-dev \ + libaspell-dev \ + libcjson-dev \ + libcurl3-gnutls-dev \ + libgcrypt20-dev \ + libgnutls28-dev \ + liblua5.3-dev \ + libncurses-dev \ + libperl-dev \ + libphp-embed \ + libsodium-dev \ + libxml2-dev \ + libzstd-dev \ + make \ + php-dev \ + pkg-config \ + python3-dev \ + tcl-dev \ + zlib1g-dev \ + ; +RUN git clone --depth=1 https://github.com/weechat/weechat +WORKDIR weechat +COPY build.sh $SRC/ diff --git a/projects/weechat/build.sh b/projects/weechat/build.sh new file mode 100644 index 000000000000..f7925236db2b --- /dev/null +++ b/projects/weechat/build.sh @@ -0,0 +1,18 @@ +#!/bin/sh +# Copyright 2025 Google LLC +# +# 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. +# +################################################################################ + +"${SRC}"/weechat/tests/fuzz/ossfuzz.sh diff --git a/projects/weechat/project.yaml b/projects/weechat/project.yaml index b49458eed78b..0235d1a484ad 100644 --- a/projects/weechat/project.yaml +++ b/projects/weechat/project.yaml @@ -1,4 +1,5 @@ -homepage: "https://github.com/weechat/weechat" +homepage: "https://weechat.org" +language: c main_repo: "https://github.com/weechat/weechat" primary_contact: "flashcode@flashtux.org" auto_ccs: