diff --git a/support-specify-cc.patch b/support-specify-cc.patch new file mode 100644 index 0000000000000000000000000000000000000000..d9eb2d25f387729784c3db617267084d8df67b41 --- /dev/null +++ b/support-specify-cc.patch @@ -0,0 +1,10 @@ +diff -up vsftpd-3.0.5/Makefile.orig vsftpd-3.0.5/Makefile +--- vsftpd-3.0.5/Makefile.orig 2023-04-11 15:19:45.754221605 +0800 ++++ vsftpd-3.0.5/Makefile 2023-04-11 15:19:50.802256625 +0800 +@@ -1,5 +1,5 @@ + # Makefile for systems with GNU tools +-CC = gcc ++CC ?= gcc + INSTALL = install + IFLAGS = -idirafter dummyinc + #CFLAGS = -g diff --git a/vsftpd.spec b/vsftpd.spec index b1a9c7cec2314e19f89dc7c3fdc2c2df8e333149..aea3cc48c26ae18ff4e13886535d72dd111285a4 100644 --- a/vsftpd.spec +++ b/vsftpd.spec @@ -2,7 +2,7 @@ Name: vsftpd Version: 3.0.5 -Release: 1 +Release: 2 Summary: It is a secure FTP server for Unix-like systems # OpenSSL link exception License: GPLv2 with exceptions @@ -153,6 +153,9 @@ cp -f %{SOURCE1} ./ %{_mandir}/man8/vsftpd.* %changelog +* Tue Apr 11 2023 SaltyFruit - 3.0.5-2 +- Support specify cc + * Thu Nov 17 2022 zhouyihang - 3.0.5-1 - Type:requirement - ID:NA