| #
36095fdf |
| 25-Nov-2023 |
prlw1 <prlw1@NetBSD.org> |
ftpd: deduplicate gcc warning avoidance OK lukem@
|
| #
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 ...
|
| #
2f0bfbf3 |
| 15-Jun-2020 |
christos <christos@NetBSD.org> |
Rename blacklist -> blocklist
|
| #
384c9fdd |
| 15-Oct-2019 |
christos <christos@NetBSD.org> |
use strncpy...
|
| #
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 ...
|
| #
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.
|
| #
068e5a51 |
| 25-Jan-2015 |
christos <christos@NetBSD.org> |
blacklist hooks
|
| #
41592955 |
| 14-Aug-2011 |
christos <christos@NetBSD.org> |
remove gcc-4.5 hack
|
| #
c111245a |
| 22-Jun-2011 |
mrg <mrg@NetBSD.org> |
apply some -Wno-error and/or -fno-strict-aliasing.
all of this should be looked at closer, but some of them are not very trivial.
|
| #
07b0c75a |
| 24-Apr-2011 |
elric <elric@NetBSD.org> |
We no longer need -I/usr/include/krb5.
|
| #
0053962f |
| 15-Mar-2009 |
lukem <lukem@NetBSD.org> |
Fix WARNS=4 issues (const & sign mismatches, etc) Ensure various ftpd.conf values can't exceed their underlying types.
|
| #
de99131c |
| 16-Sep-2008 |
lukem <lukem@NetBSD.org> |
Support building with -DNO_INTERNAL_LS
|
| #
4f3847e7 |
| 27-Mar-2008 |
lukem <lukem@NetBSD.org> |
Reorganize USE_PAM support so that the reply(331,) from USER is performed by the pam_conv (PAM conversation) callback, which then getline()s the PASS reply internally. This involves calling auth_pam
Reorganize USE_PAM support so that the reply(331,) from USER is performed by the pam_conv (PAM conversation) callback, which then getline()s the PASS reply internally. This involves calling auth_pam() from user() and caching the result to use later in pass(). This allows the PAM modules to present a different password prompt dialog if necesary. For example: Name (localhost:lukem): 331 User lukem accepted, provide password [ otp-md4 89 xxxx12345 ]. versus Name (localhost:lukem): root 331 User root accepted, provide password.
This is independent of (and effectively exclusive to) USE_SKEY support.
Previously ftpd with USE_SKEY=yes would provide the skey prompt if the user had an skey configured, even if /etc/pam.d/ftpd didn't have pam_skey in use. I.e., ftpd shouldn't need special support for custom password prompts (such as skey) if PAM is in use.
show more ...
|
| #
0a97c3f6 |
| 14-Dec-2006 |
he <he@NetBSD.org> |
Complete the move of string_to_flags() and flags_to_string() from the bin/ls sources to libutil: o Bump libutil minor version number o Fix uses to include <util.h> to pick up the function definitio
Complete the move of string_to_flags() and flags_to_string() from the bin/ls sources to libutil: o Bump libutil minor version number o Fix uses to include <util.h> to pick up the function definitions o Fix most uses of flags_to_string() to release the now-malloc()ed result
show more ...
|
| #
2bb817a7 |
| 23-Mar-2006 |
wiz <wiz@NetBSD.org> |
Remove more references to kerberosIV.
|
| #
ceb0805a |
| 09-Mar-2005 |
christos <christos@NetBSD.org> |
Add -lcrypt where -lcrypto is specified.
|
| #
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 ...
|
| #
99fd5044 |
| 20-Feb-2005 |
christos <christos@NetBSD.org> |
Add PAM and LOGIN_CAP support. Mostly from FreeBSD. If pam is defined, then we don't fall back to other authentications even if PAM fails due to a system error (e.g. configuration problem).
|
| #
71570115 |
| 10-Jan-2005 |
lukem <lukem@NetBSD.org> |
Only compile in IPv6 support if ${USE_INET6} != "no"
MKINET6 is for providing IPv6 infrastructure. USE_INET6 is for compiling IPv6 support into the programs (needs MKINET6).
|
| #
e63468d8 |
| 23-Jul-2003 |
itojun <itojun@NetBSD.org> |
split MKKERBEROS4 from MKKERBEROS. based on work by lha at stacken.kth.se (build confirmed with both MKKERBEROS4=yes and MKKERBEROS4=no)
|
| #
bafe5da6 |
| 18-Sep-2002 |
lukem <lukem@NetBSD.org> |
use bsd.own.mk instead of the (obvious typo of) bsd.obj.mk
|
| #
d5935a17 |
| 22-Aug-2002 |
christos <christos@NetBSD.org> |
enable utmpx support. this doesn't work correctly for chrooted ftpd's, but I am leaving it to luke to fix.
|
| #
c0b21fbb |
| 20-Aug-2002 |
christos <christos@NetBSD.org> |
Disable UTMPX support for now, because ftpd might chroot and we need to keep files open.
|
| #
f794aa60 |
| 19-Aug-2002 |
lukem <lukem@NetBSD.org> |
Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
|
| #
9c33b55e |
| 22-Mar-2002 |
thorpej <thorpej@NetBSD.org> |
Split the notion of building Hesiod, Kerberos, S/key, and YP infrastructure and using that infrastructure in programs.
* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building of the infratsruc
Split the notion of building Hesiod, Kerberos, S/key, and YP infrastructure and using that infrastructure in programs.
* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building of the infratsructure (libraries, support programs, etc.)
* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control building of support for using the corresponding API in various libraries/programs that can use it.
As discussed on tech-toolchain.
show more ...
|