From 5bba9919de02547f804656307ef176449ee490fd Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 27 2020 18:48:39 +0000 Subject: import containernetworking-plugins-0.8.6-2.module+el8.3.0+7716+ce654703 --- diff --git a/SPECS/containernetworking-plugins.spec b/SPECS/containernetworking-plugins.spec index 610c5e3..c8f64ce 100644 --- a/SPECS/containernetworking-plugins.spec +++ b/SPECS/containernetworking-plugins.spec @@ -24,7 +24,7 @@ go build -buildmode pie -compiler gc -tags="rpm_crashtraceback no_openssl ${BUIL Name: containernetworking-plugins Version: 0.8.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: CNI network plugins License: ASL 2.0 URL: https://%{provider_prefix} @@ -57,6 +57,7 @@ fi export GOPATH=$(pwd)/gopath export GO111MODULE=off +export CGO_CFLAGS="%{optflags} -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" mkdir -p $(pwd)/bin echo "Building plugins" @@ -119,6 +120,10 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath} %{_libexecdir}/cni/* %changelog +* Tue Aug 11 2020 Jindrich Novy - 0.8.6-2 +- propagate proper CFLAGS to CGO_CFLAGS to assure code hardening and optimization +- Related: #1821193 + * Thu May 14 2020 Jindrich Novy - 0.8.6-1 - update to https://github.com/containernetworking/plugins/releases/tag/v0.8.6 - Related: #1821193