| #
230c41e4 |
| 03-Jun-2023 |
lukem <lukem@NetBSD.org> |
adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH}
Use ${CC_WNO_IMPLICIT_FALLTHROUGH} instead of the older style more complex expressions.
|
| #
c4b7a9e7 |
| 03-Jun-2023 |
lukem <lukem@NetBSD.org> |
bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler.
GCC_NO_IMPL
bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler.
GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH
Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
show more ...
|
| #
de11d876 |
| 13-Oct-2019 |
mrg <mrg@NetBSD.org> |
introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRI
introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)
use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come.
we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
show more ...
|
| #
21303c93 |
| 29-Sep-2019 |
mrg <mrg@NetBSD.org> |
convert HAVE_GCC == 7 to HAVE_GCC >= 7.
|
| #
a5ca97c6 |
| 04-Feb-2019 |
mrg <mrg@NetBSD.org> |
apply -Wno-error=implicit-fallthrough on files that have fallthru comments but are missed by the current checker.
|
| #
f96d98db |
| 05-Jan-2019 |
maya <maya@NetBSD.org> |
Bump WARNS to 5, and remove unnecessary -Wno (tested with pkgsrc clang 7)
|
| #
d9e6b51a |
| 05-Jan-2019 |
maya <maya@NetBSD.org> |
Remove advertising clause, permitted by the copyright author.
|
| #
7c20b206 |
| 13-Dec-2018 |
maya <maya@NetBSD.org> |
unifdef TN3270 which is never defined (and wouldn't build if it was) delete tn3270 file no longer needed. SetIn3270(); expands to nothing now, so remove it.
No functional change.
|
| #
2e193233 |
| 25-Feb-2018 |
mrg <mrg@NetBSD.org> |
add LIBKRB5_LDADD/LIBKRB5_DPADD and their static counterparts to bsd.prog.mk. use them instead of hard coding various lists of libraries for krb5.
this fixes static builds.
|
| #
ef315f79 |
| 21-May-2017 |
riastradh <riastradh@NetBSD.org> |
Remove MKCRYPTO option.
Originally, MKCRYPTO was introduced because the United States classified cryptography as a munition and restricted its export. The export controls were substantially relaxed
Remove MKCRYPTO option.
Originally, MKCRYPTO was introduced because the United States classified cryptography as a munition and restricted its export. The export controls were substantially relaxed fifteen years ago, and are essentially irrelevant for software with published source code.
In the intervening time, nobody bothered to remove the option after its motivation -- the US export restriction -- was eliminated. I'm not aware of any other operating system that has a similar option; I expect it is mainly out of apathy for churn that we still have it. Today, cryptography is an essential part of modern computing -- you can't use the internet responsibly without cryptography.
The position of the TNF board of directors is that TNF makes no representation that MKCRYPTO=no satisfies any country's cryptography regulations.
My personal position is that the availability of cryptography is a basic human right; that any local laws restricting it to a privileged few are fundamentally immoral; and that it is wrong for developers to spend effort crippling cryptography to work around such laws.
As proposed on tech-crypto, tech-security, and tech-userlevel to no objections:
https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html
P.S. Reviewing all the uses of MKCRYPTO in src revealed a lot of *bad* crypto that was conditional on it, e.g. DES in telnet... That should probably be removed too, but on the grounds that it is bad, not on the grounds that it is (nominally) crypto.
show more ...
|
| #
ce31bd9d |
| 28-Jan-2017 |
christos <christos@NetBSD.org> |
add sqlite3
|
| #
9edf9a04 |
| 10-Aug-2012 |
joerg <joerg@NetBSD.org> |
Remove many HAVE_GCC || HAVE_PCC conditionals as the options also apply to Clang. Add a few cases of HAVE_LLVM for -fno-strict-aliasing.
|
| #
fcdbba42 |
| 09-Jan-2012 |
christos <christos@NetBSD.org> |
PR/45805: Borodin Oleg: telnet/telnetd with -DAUTHENTICATION -DENCRYPTION (rfc2941) - Minimal diffs to separate MKCRYPTO from USE_KERBEROS
|
| #
47e1ece0 |
| 05-Oct-2011 |
roy <roy@NetBSD.org> |
Use terminfo and the non-standard ttytype rather than termcap.
|
| #
75e42fa7 |
| 20-Jun-2011 |
mrg <mrg@NetBSD.org> |
remove most of the remaining HAVE_GCC tests that are always true in the modern world.
|
| #
a216da57 |
| 26-May-2011 |
joerg <joerg@NetBSD.org> |
Default to -Wno-sign-compare -Wno-pointer-sign for clang. Push -Wno-array-bounds down to the cases that depend on it. Selectively disable warnings for 3rd party software or non-trivial issues to be r
Default to -Wno-sign-compare -Wno-pointer-sign for clang. Push -Wno-array-bounds down to the cases that depend on it. Selectively disable warnings for 3rd party software or non-trivial issues to be reviewed later to get clang -Werror to build most of the tree.
show more ...
|
| #
07b0c75a |
| 24-Apr-2011 |
elric <elric@NetBSD.org> |
We no longer need -I/usr/include/krb5.
|
| #
98eb8895 |
| 03-Feb-2010 |
roy <roy@NetBSD.org> |
Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
|
| #
c1ceae17 |
| 14-Apr-2009 |
lukem <lukem@NetBSD.org> |
Enable WARNS=4 by default for usr.bin, except for: awk bdes checknr compile_et error gss hxtool kgetcred kinit klist ldd less lex locale login m4 man menuc mk_cmds mklocale msgc
Enable WARNS=4 by default for usr.bin, except for: awk bdes checknr compile_et error gss hxtool kgetcred kinit klist ldd less lex locale login m4 man menuc mk_cmds mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh string2key telnet tn3270 verify_krb5_conf xlint
show more ...
|
| #
3c9a9591 |
| 29-Aug-2008 |
gmcgarry <gmcgarry@NetBSD.org> |
Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
|
| #
4147a3c5 |
| 28-May-2007 |
tls <tls@NetBSD.org> |
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to various string and memory copy and set functions (as
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to various string and memory copy and set functions (as well as a few system calls and other miscellany) where known at function entry. RedHat has evidently built all "core system packages" with this option for some time.
This option should be used at the top of Makefiles (or Makefile.inc where this is used for subdirectories) but after any setting of LIB.
This is only useful for userland code, and cannot be used in libc or in any code which includes the libc internals, because it overrides certain libc functions with macros. Some effort has been made to make USE_FORT=yes work correctly for a full-system build by having the bsd.sys.mk logic disable the feature where it should not be used (libc, libssp iteself, the kernel) but no attempt has been made to build the entire system with USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.
Adjust the system build so that all programs and libraries that are setuid, directly handle network data (including serial comm data), perform authentication, or appear likely to have (or have a history of having) data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default, with the exception of libc, which cannot use USE_FORT and thus uses only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no per-directory or in a system build will disable if desired.
show more ...
|
| #
aadd7d48 |
| 11-May-2006 |
mrg <mrg@NetBSD.org> |
sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
|
| #
85e611dd |
| 20-Mar-2006 |
christos <christos@NetBSD.org> |
Goodbye KerberosIV
|
| #
51525186 |
| 04-Mar-2005 |
he <he@NetBSD.org> |
Add -lcrypt to link lines for applications using -lkrb5, so that they link successfully when MKPIC=no, as is always the case for our ports which do not support shared libraries.
Discussed with thorp
Add -lcrypt to link lines for applications using -lkrb5, so that they link successfully when MKPIC=no, as is always the case for our ports which do not support shared libraries.
Discussed with thorpej and christos.
show more ...
|
| #
8e8728c4 |
| 04-Mar-2005 |
he <he@NetBSD.org> |
Introduce PAM_STATIC_LDADD and PAM_STATIC_DPADD. When compiling with MKPIC=no, possibly because the target does not support shared libraries, these include libraries required to resolve all symbols
Introduce PAM_STATIC_LDADD and PAM_STATIC_DPADD. When compiling with MKPIC=no, possibly because the target does not support shared libraries, these include libraries required to resolve all symbols which end up referenced from PAM-using applications. The libraries presently required are -lcrypt, -lrpcsvc and -lutil.
Add use of these variables which are currently set up to use PAM, so that they compile when MKPIC=no.
Also, in the telnetd case, reorder the order of the libraries, so that libtelnet.a comes before -ltermcap and -lutil, again to fix link error when MKPIC=no.
Discussed with thorpej and christos.
show more ...
|