Re: [HEADSUP] Deprecation of the ftp support in pkg
- In reply to: Mehmet Erol Sanliturk : "Re: [HEADSUP] Deprecation of the ftp support in pkg"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Jan 2022 00:07:11 UTC
Am 23.01.22 um 22:41 schrieb Mehmet Erol Sanliturk:> On Sun, Jan 23, 2022 at 11:27 PM Stefan Esser <se@freebsd.org > <mailto:se@freebsd.org>> wrote: > > Am 23.01.22 um 18:12 schrieb Jose Quinteiro: > > On 1/23/22 09:06, tech-lists wrote: > >> On Sun, Jan 23, 2022 at 08:55:09AM -0800, Jose Quinteiro wrote: > >> > >>> You can run HTTP on a non-standard port. For example, 8080 is commonly > >>> used. As an added bonus, this means that the HTTP server need not run as > >>> root. > >> > >> Unless I'm mistaken, there is no web server in base. There is though, an > >> ftp server. > > > > Touche. I wouldn't mind having Thttpd in base. > > https://www.acme.com/software/thttpd/ <https://www.acme.com/software/thttpd/> > > An interesting idea, we have it as a port in www/thttpd. > > While we generally rather move base components that are not > generally required to ports, this might be a case where it > makes sense to replace one base system component by another > one currently only available as a port ... > > The thttpd binary is smaller than the ftpd currently in base, > and it might make sense to replace ftpd by this simple httpd: > > $ size /usr/libexec/ftpd > text data bss dec hex filename > 105901 4276 5984 116161 1c5c1 /usr/libexec/ftpd > > $ size work/stage/usr/local/sbin/* > text data bss dec hex filename > 5469 656 112 6237 185d work/stage/usr/local/sbin/makeweb > 7453 760 120 8333 208d work/stage/usr/local/sbin/thtpasswd > 81184 8336 2280 91800 16698 work/stage/usr/local/sbin/thttpd > > > > > > > The sources are distributed under a 2 clause BSD copyright. > > > > I checked all of the sources by downloading related compressed sources , > by reading all of the web pages in the shown website , I could not find > any license information . > > If it is possible for you , would you please supply a link to this license > information ? Each individual C source file starts with a Copyright note like this: /* thttpd.c - tiny/turbo/throttling HTTP server ** ** Copyright © 1995,1998,1999,2000,2001,2015 by ** Jef Poskanzer <jef@mail.acme.com>. All rights reserved. ** ** Redistribution and use in source and binary forms, with or without ** modification, are permitted provided that the following conditions ** are met: ** 1. Redistributions of source code must retain the above copyright ** notice, this list of conditions and the following disclaimer. ** 2. Redistributions in binary form must reproduce the above copyright ** notice, this list of conditions and the following disclaimer in the ** documentation and/or other materials provided with the distribution. ** ** THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ** ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE ** FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL ** DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS ** OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ** HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT ** LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY ** OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ** SUCH DAMAGE. */ The auto-configure files are under GPL, but not relevant for the resulting binary and not required for building in the base system. The install.sh script has a MIT license, but it is also not relevant for us. Regards, STefan