aboutsummaryrefslogtreecommitdiff
path: root/libexec/ftpd/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Move ftpusers to libexec/ftpd/Brad Davis2018-08-211-0/+1
| | | | | | | | | | | Thsi helps with pkgbase by switching to CONFS so that ftpusers will be properly tagged as a config file. Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16787 Notes: svn path=/head/; revision=338147
* libexec: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-041-3/+2
| | | | | | | | | | This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314653
* Add blacklist support to ftpdKurt Lidl2016-06-031-0/+7
| | | | | | | | | | | Reviewed by: rpaulo Approved by: rpaulo Relnotes: YES Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D6703 Notes: svn path=/head/; revision=301241
* Upgrade libxo to 0.4.5.Marcel Moolenaar2015-08-241-1/+1
| | | | | | | | | | Local changes incorporated by 0.4.5: r284340 Local changes retained: r276260, r282117 Obtained from: https://github.com/Juniper/libxo Notes: svn path=/head/; revision=287111
* Fix build after converting ls(1) to use libxo(3).Marcel Moolenaar2015-06-101-1/+1
| | | | Notes: svn path=/head/; revision=284221
* Convert to LIBADDBaptiste Daroussin2014-11-251-8/+4
| | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275077
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* Fix compilation of ftpcmd.y without -DINET6.Yaroslav Tykhiy2006-06-051-1/+4
| | | | | | | | | | Respect MK_INET6_SUPPORT in Makefile. Requested by: Attila Nagy <bra at fsn dot hu> MFC after: 1 week Notes: svn path=/head/; revision=159276
* Reimplementation of world/kernel build options. For details, see:Ruslan Ermilov2006-03-171-1/+3
| | | | | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine) Notes: svn path=/head/; revision=156813
* NOPAM -> NO_PAMRuslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139126
* ftpd(8) seems to be WARNS=2 clean now.Yaroslav Tykhiy2004-07-311-0/+1
| | | | | | | Tested on: i386, ia64, amd64, sparc64, alpha Notes: svn path=/head/; revision=132932
* Reorder dependencies to fix static NOPAM build.Ruslan Ermilov2004-02-021-4/+4
| | | | | | | Submitted by: lorder(1) Notes: svn path=/head/; revision=125336
* Extend the format of /etc/ftpchroot so an alternative chrootYaroslav Tykhiy2003-01-261-1/+1
| | | | | | | | | | | | | | directory can be specified for a user or a group. Add the manpage ftpchroot(5) since the file's format has grown complex enough. PR: bin/45327 Portions submitted by: Hideki SAKAMOTO <sakamoto@hlla.is.tsukuba.ac.jp> MFC after: 1 week Notes: svn path=/head/; revision=109893
* Teach "ls -Z" to use the policy-agnostic MAC label interfaces ratherRobert Watson2002-10-241-1/+1
| | | | | | | | | | | | | | than the LOMAC-specific interfaces for listing MAC labels. This permits ls to view MAC labels in a manner similar to getfmac, when ls is used with the -l argument. Next generation LOMAC will use the MAC Framework so should "just" work with this and other policies. Not the prettiest code in the world, but then, neither is ls(1). Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Notes: svn path=/head/; revision=105832
* Remove a GCC-specific command-line option. We should be using WARNS=nMark Murray2002-06-281-1/+1
| | | | | | | for this stuff. Notes: svn path=/head/; revision=98973
* Put the last added source file in proper order.David E. O'Brien2002-02-271-1/+1
| | | | | | | (and dcc the committer a dictionary) Notes: svn path=/head/; revision=91404
* Lock down with WFORMAT?=1, with overrides in the subdirectories whichKris Kennaway2002-02-041-0/+1
| | | | | | | are not yet warning-clean. Tested on i386 and alpha. Notes: svn path=/head/; revision=90164
* Fixed missing DPADD in previous commit. Fixed most style bugs related toBruce Evans2001-12-291-2/+3
| | | | | | | DPADD and LDADD. Notes: svn path=/head/; revision=88673
* Link with libm to take advantage of the -h flag to ls.Josef Karthauser2001-12-291-0/+1
| | | | | | | Submitted by: Mike Makonnen <mike_makonnen@yahoo.com> Notes: svn path=/head/; revision=88669
* Add lomac.c.Brian Feldman2001-11-271-1/+1
| | | | | | | Found by: ken Notes: svn path=/head/; revision=86943
* Remove S/Key. PAM can do its job. Well, not quite - there is an issueMark Murray2001-07-091-4/+8
| | | | | | | | | | with the conversation function and challenges which needs to be revisited, so in the interim a hack is introduced to provide an OPIE challenge (which is random if OPIE does not apply) at all non-anonymnous logins. Notes: svn path=/head/; revision=79469
* Cleaner method of making PAMable apps static (in the optional case ofMark Murray2001-04-281-5/+0
| | | | | | | wanting static apps). Notes: svn path=/head/; revision=76106
* Damn. That should be _enable_ static linking, not _force_ static linking.Mark Murray2001-04-281-1/+0
| | | | Notes: svn path=/head/; revision=76098
* Enable (optional) static linking.Mark Murray2001-04-281-0/+6
| | | | | | | Asked for by: BDE Notes: svn path=/head/; revision=76097
* Add full PAM support for account management and sessions.Mark Murray2001-03-271-3/+2
| | | | | | | | | | The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux package's PAM patches to the BSD login.c Submitted by: "David J. MacKenzie" <djm@web.us.uu.net> Notes: svn path=/head/; revision=74874
* - Backout botched attempt to intoduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74814
* Set the default manual section for libexec/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74529
* The GCC 2.96 snapshots have slightly different rules for finding includeDavid E. O'Brien2000-12-011-0/+1
| | | | | | | | | | files. Mostly -I${.CURDIR} was needed -- especially for YACC generated files as the new cpp does not look in the ultimate source file (ie, the .y file)'s directory as told by the "#line" directive. Some were misspellings of "-I${.CURDIR}" as "-I.". Notes: svn path=/head/; revision=69453
* There is no src/contrib-crypto/ anything directory. So don't look forDavid E. O'Brien2000-12-011-2/+1
| | | | | | | include files in subdirs of it. Notes: svn path=/head/; revision=69443
* Switch over to using the new fflagstostr and strtofflags library calls.Josef Karthauser2000-06-171-2/+2
| | | | Notes: svn path=/head/; revision=61749
* Finally unifdef -DINTERNAL_LS.Ruslan Ermilov2000-03-131-1/+1
| | | | Notes: svn path=/head/; revision=57978
* Revert part of the last commit, remove {g|s}etflags from the libcJosef Karthauser2000-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | interface, and statically link them to the programs using them. These functions, upon reflection and discussion, are too generically named for a library interface with such specific functionality. Also the api that they use, whilst ok for private use, isn't good enough for a libc function. Additionally there were complications with the build/install-world process. It depends heavily upon xinstall, which got broken by the change in api, and caused bootstrap problems and general mayhem. There is work in progress to address future problems that may be caused by changes in install-chain tools, and better names for {g|s}etflags can be derived when some future program requires them. For now the code has been left in src/lib/libc/gen (it started off in src/bin/ls). It's important to provide library functions for manipulating file flag strings if we ever want this interface to be adopted outside of the source tree, but now isn't necessarily the right moment with 4.0-release just around the corner. Approved: jkh Notes: svn path=/head/; revision=57003
* Remove unnecessary -g for CFLAGS.Yoshinobu Inoue2000-02-031-1/+1
| | | | | | | | | | -g for CFLAGS which was set at debugging time was mistakenly committed, so removed it. Approved by: jkh Notes: svn path=/head/; revision=56975
* another tcp apps IPv6 updates.(should be make world safe)Yoshinobu Inoue2000-01-271-0/+1
| | | | | | | | | | ftp, telnet, ftpd, faithd also telnet related sync with crypto, secure, kerberosIV Obtained from: KAME project Notes: svn path=/head/; revision=56668
* Moved flags_to_string and string_to_flags into libutil. It's used inJosef Karthauser1999-12-301-1/+1
| | | | | | | many places nowadays. Notes: svn path=/head/; revision=55270
* Fix for new Kerberos4. Make a fist cut at PAM-ising while I'm here.Mark Murray1999-09-191-7/+5
| | | | Notes: svn path=/head/; revision=51433
* Add common error lib for the Kerberos case.Mark Murray1999-09-061-2/+2
| | | | Notes: svn path=/head/; revision=50990
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* unifdef -DINTERNAL_LS - it's too useful to be off by default. If anyonePeter Wemm1999-08-261-3/+1
| | | | | | | | really dislikes this, we could add a switch to disable it at runtime and check in popen.c. Notes: svn path=/head/; revision=50380
* Find "klogin.c" in "src/lib/libpam/modules/pam_kerberosIV" insteadJohn Polstra1998-11-211-2/+2
| | | | | | | | of in "src/usr.bin/login". The latter instance is going away. As soon as ftpd is PAMized, it won't need to use klogin.c at all. Notes: svn path=/head/; revision=41278
* Simplified by using new yacc rules and by not generating y.tab.h.Bruce Evans1998-05-041-4/+3
| | | | Notes: svn path=/head/; revision=35700
* Changes to support full make parallelism (-j<n>) in the worldJordan K. Hubbard1997-10-051-3/+4
| | | | | | | | | target. Reviewed by: <many different folks> Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su> Notes: svn path=/head/; revision=30113
* Adds anon ftp virtual host capability to ftpd, using /etc/ftphosts forDavid Nugent1997-04-291-2/+2
| | | | | | | definition of a system's virtual hosts. Notes: svn path=/head/; revision=25283
* Adds optional "internal ls" support for ftpd, by collectingDavid Nugent1997-04-261-1/+8
| | | | | | | | | | | | | | modules from src/bin/ls, and handling exec(_PATH_LS,..) as a special case, very useful in an environment where many users are given chroot access. "~/etc/{s}pwd.db" files are still needed if uid/gid->user/group translation is desired. To enable this it must be compiled with the make variable FTP_INTERNAL_LS defined, either in /etc/make.conf or the environment. Notes: svn path=/head/; revision=25165
* Add basic login.conf (sans authentication) support.David Nugent1997-04-231-2/+2
| | | | Notes: svn path=/head/; revision=25101
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22989
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Tidy up the Kerberised bits. While I'm here, fix some -Wall complaints.Mark Murray1996-08-091-1/+4
| | | | Notes: svn path=/head/; revision=17478
* Convert STATS and PARANOID to run-time options.Paul Traina1996-08-051-1/+8
| | | | | | | | | | | Document the new -R (relax paranoia) option. From NetBSD/Lite2: code and man page cleanups, Kerberos IV hooks (relax, we're still exportable), and /etc/ftpchroot feature for semi-anonymous accounts Notes: svn path=/head/; revision=17435
* If PARANOID is set, do not allow PORT commands to remote ports less than 1024Paul Traina1996-08-041-1/+1
| | | | | | | | | | | | | | | | | | | | or addresses other than the requestor's address. This violates the FTP protocol (hmm...as I write this, I'm going to change this to a run-time var.) Require login before PASV and RNTO commands. Close unused PASV ports so they don't hang around forever. Do not allow file overwrites via rename or STOR when anonymous (suspenders). Clean up buffer utilization. My code, but heavily inspired by Hobbit's changes to wu-ftpd as pointed out by Mike Prettejohn and Kit Knox. Notes: svn path=/head/; revision=17433