summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dummer <martin.dummer@gmx.net>2021-09-14 01:27:44 +0200
committerTobias Klausmann <klausman@gentoo.org>2021-09-14 22:15:04 +0200
commit3434fdb7c1eba3721771dece9523b70d9775bbe1 (patch)
treebd104f8f7aacb0ebb57926327e77ad501b72170d /net-ftp/atftp/files
parentdev-db/timescaledb: Bump to 2.4.1 (diff)
downloadgentoo-3434fdb7c1eba3721771dece9523b70d9775bbe1.tar.gz
gentoo-3434fdb7c1eba3721771dece9523b70d9775bbe1.tar.bz2
gentoo-3434fdb7c1eba3721771dece9523b70d9775bbe1.zip
net-ftp/atftp: version bump to 0.7.5
Version 0.7.5 (Bugfix, Security Fix Release) fix many bugs, fix denial-of-service buffer overflow CVE-2021-41054 new feature: add an option to prevent the Sorcerer's Apprentice Syndrome Closes: https://bugs.gentoo.org/813079 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Signed-off-by: Tobias Klausmann <klausman@gentoo.org>
Diffstat (limited to 'net-ftp/atftp/files')
-rw-r--r--net-ftp/atftp/files/atftp-0.7.5-CFLAGS.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/net-ftp/atftp/files/atftp-0.7.5-CFLAGS.patch b/net-ftp/atftp/files/atftp-0.7.5-CFLAGS.patch
new file mode 100644
index 000000000000..4f68d97f800f
--- /dev/null
+++ b/net-ftp/atftp/files/atftp-0.7.5-CFLAGS.patch
@@ -0,0 +1,32 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -69,29 +69,6 @@
+ dnl Check for AIX
+ AC_AIX
+
+-CFLAGS="$CFLAGS -g -Wall -D_REENTRANT"
+-
+-if test x$debug = xtrue; then
+- CFLAGS="$CFLAGS -O0 -DDEBUG"
+-else
+- if test -n "$auto_cflags"; then
+- if test -n "$GCC"; then
+- CFLAGS="$CFLAGS -g -O2 -Wall -Wno-implicit"
+- else
+- case "$host_os" in
+- *hpux*) CFLAGS="$CFLAGS +O3"
+- ;;
+- *ultrix* | *osf*) CFLAGS="$CFLAGS -O -Olimit 2000"
+- ;;
+- *) CFLAGS="$CFLAGS -O2"
+- ;;
+- esac
+- fi
+- else
+- CFLAGS="$CFLAGS -O2"
+- fi
+-fi
+-
+ case "$CC" in
+ gcc*|clang*) CFLAGS="$CFLAGS -std=gnu89"
+ ;;