pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/sendfile sendfile: fails to build with SSP/FORTIFY



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7aa916006d75
branches:  trunk
changeset: 771806:7aa916006d75
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Dec 27 10:06:31 2021 +0000

description:
sendfile: fails to build with SSP/FORTIFY

let's hope this code isn't a pile of buffer overflows...

diffstat:

 net/sendfile/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 4fdef0a6c20a -r 7aa916006d75 net/sendfile/Makefile
--- a/net/sendfile/Makefile     Mon Dec 27 10:03:04 2021 +0000
+++ b/net/sendfile/Makefile     Mon Dec 27 10:06:31 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2020/01/26 17:31:55 rillig Exp $
+# $NetBSD: Makefile,v 1.39 2021/12/27 10:06:31 nia Exp $
 #
 
 DISTNAME=      sendfile-2.1b
@@ -21,6 +21,10 @@
 CONF_FILES=    ${EGDIR}/sendfile.cf ${PKG_SYSCONFDIR}/sendfile.cf
 CONF_FILES+=   ${EGDIR}/sendfile.deny ${PKG_SYSCONFDIR}/sendfile.deny
 
+# nasty macro snprintf usage
+SSP_SUPPORTED=         no
+FORTIFY_SUPPORTED=     no
+
 OVERRIDE_GNU_CONFIG_SCRIPTS=   yes
 
 post-configure:



Home | Main Index | Thread Index | Old Index