Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2022 21:08:30 +0100
From:      Stefan Esser <se@FreeBSD.org>
To:        Jose Quinteiro <freebsd@quinteiro.org>
Cc:        ports@freebsd.org
Subject:   Re: [HEADSUP] Deprecation of the ftp support in pkg
Message-ID:  <f7c524bc-a69c-46c8-e639-331b4f5d674e@FreeBSD.org>
In-Reply-To: <da4916d6-2994-ca0e-fb2d-5df5c4b53ebb@quinteiro.org>
References:  <20220120142519.a5juoe75oppmnyby@aniel.nours.eu> <Yex3RV8zqHqgizCk@ceres.zyxst.net> <CAKBkRUyufyy-tvE2MKPZJ_yyhxet-K3S%2BDJzYqZdBmTS-xqrQg@mail.gmail.com> <Ye2Gs3nIUCgn7Yb9@ceres.zyxst.net> <db6afa38-bb98-ddc3-9b68-be4ca1fe9342@quinteiro.org> <Ye2LEDJ8OZh1CYpc@ceres.zyxst.net> <da4916d6-2994-ca0e-fb2d-5df5c4b53ebb@quinteiro.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------L0xXWOMWKCmGRdpOvOYGY2Zf
Content-Type: multipart/mixed; boundary="------------rUNiKuqcjOJbiGK2X0cmw3Mi";
 protected-headers="v1"
From: Stefan Esser <se@FreeBSD.org>
To: Jose Quinteiro <freebsd@quinteiro.org>
Cc: ports@freebsd.org
Message-ID: <f7c524bc-a69c-46c8-e639-331b4f5d674e@FreeBSD.org>
Subject: Re: [HEADSUP] Deprecation of the ftp support in pkg
References: <20220120142519.a5juoe75oppmnyby@aniel.nours.eu>
 <Yex3RV8zqHqgizCk@ceres.zyxst.net>
 <CAKBkRUyufyy-tvE2MKPZJ_yyhxet-K3S+DJzYqZdBmTS-xqrQg@mail.gmail.com>
 <Ye2Gs3nIUCgn7Yb9@ceres.zyxst.net>
 <db6afa38-bb98-ddc3-9b68-be4ca1fe9342@quinteiro.org>
 <Ye2LEDJ8OZh1CYpc@ceres.zyxst.net>
 <da4916d6-2994-ca0e-fb2d-5df5c4b53ebb@quinteiro.org>
In-Reply-To: <da4916d6-2994-ca0e-fb2d-5df5c4b53ebb@quinteiro.org>

--------------rUNiKuqcjOJbiGK2X0cmw3Mi
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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 commonl=
y
>>> 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.
>=20
> Touche. I wouldn't mind having Thttpd in base.
> 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/thtpass=
wd
  81184	   8336	   2280	  91800	  16698	work/stage/usr/local/sbin/thttpd

The sources are distributed under a 2 clause BSD copyright.

Maybe having a HTTP server in base is more useful than a FTP
server, today ...

Regards, STefan

--------------rUNiKuqcjOJbiGK2X0cmw3Mi--

--------------L0xXWOMWKCmGRdpOvOYGY2Zf
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmHttb4FAwAAAAAACgkQR+u171r99USl
DQf/Zmx9PW/QfaHdWWN+Dkl0ZNC/c5uOd4P2/gn8mUSOIq6cR7P/qaH2WdaI7EVhCp5OJa0ajz9Z
ze0TEpR6GFEhhayJkpMJjMsavCXLDEetsRnC6rGIfDU8Yn7KBZfdxGjzUQYLjLwxMhHppyH4R5TF
AGZ4UOSXpJdbXepjVU713LMy5TJfCgiM5gVwY/nDyIw+9Z198QJOkCyFFZZG+yQyuZ3zwLhMI6/F
Fpc2Fx/teog7bFspAbomDpM+btVMxjbT9TaHY/tWE5LJx8yV5WJjegIzSjHHzLYBoUAAdxLKcOyr
PfSRzlgxU4+Af/Na/RFipsEgiaRC0+6r2gdXhKhvhA==
=f2g6
-----END PGP SIGNATURE-----

--------------L0xXWOMWKCmGRdpOvOYGY2Zf--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f7c524bc-a69c-46c8-e639-331b4f5d674e>