Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2022 01:07:11 +0100
From:      Stefan Esser <se@FreeBSD.org>
To:        Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com>
Cc:        Jose Quinteiro <freebsd@quinteiro.org>, FreeBSD Ports <ports@freebsd.org>
Subject:   Re: [HEADSUP] Deprecation of the ftp support in pkg
Message-ID:  <981088fc-faa4-3e75-2d0f-e9da59eb9a41@FreeBSD.org>
In-Reply-To: <CAOgwaMu2ySHTt3tDgn884K%2BMuc=_QFvxNYuuDaNJPJCY4vXxxA@mail.gmail.com>
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> <f7c524bc-a69c-46c8-e639-331b4f5d674e@FreeBSD.org> <CAOgwaMu2ySHTt3tDgn884K%2BMuc=_QFvxNYuuDaNJPJCY4vXxxA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------QmCeU0usEqoLDE0v5jpDyNUD
Content-Type: multipart/mixed; boundary="------------PUkMkssKd0s0jVoBD4f3v2Ne";
 protected-headers="v1"
From: Stefan Esser <se@FreeBSD.org>
To: Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com>
Cc: Jose Quinteiro <freebsd@quinteiro.org>, FreeBSD Ports <ports@freebsd.org>
Message-ID: <981088fc-faa4-3e75-2d0f-e9da59eb9a41@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>
 <f7c524bc-a69c-46c8-e639-331b4f5d674e@FreeBSD.org>
 <CAOgwaMu2ySHTt3tDgn884K+Muc=_QFvxNYuuDaNJPJCY4vXxxA@mail.gmail.com>
In-Reply-To: <CAOgwaMu2ySHTt3tDgn884K+Muc=_QFvxNYuuDaNJPJCY4vXxxA@mail.gmail.com>

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

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:
>=20
>     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 c=
ommonly
>     >>> used. As an added bonus, this means that the HTTP server need n=
ot run as
>     >>> root.
>     >>
>     >> Unless I'm mistaken, there is no web server in base. There is th=
ough, an
>     >> ftp server.
>     >
>     > Touche. I wouldn't mind having Thttpd in base.
>     > https://www.acme.com/software/thttpd/ <https://www.acme.com/softw=
are/thttpd/>
>=20
>     An interesting idea, we have it as a port in www/thttpd.
>=20
>     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 ...
>=20
>     The thttpd binary is smaller than the ftpd currently in base,
>     and it might make sense to replace ftpd by this simple httpd:
>=20
>     $ size /usr/libexec/ftpd
>     =C2=A0 =C2=A0text=C2=A0 =C2=A0 data=C2=A0 =C2=A0 =C2=A0bss=C2=A0 =C2=
=A0 =C2=A0dec=C2=A0 =C2=A0 =C2=A0hex filename
>     =C2=A0105901=C2=A0 =C2=A0 4276=C2=A0 =C2=A0 5984=C2=A0 116161=C2=A0=
 =C2=A01c5c1 /usr/libexec/ftpd
>=20
>     $ size work/stage/usr/local/sbin/*
>     =C2=A0 =C2=A0text=C2=A0 =C2=A0 data=C2=A0 =C2=A0 =C2=A0bss=C2=A0 =C2=
=A0 =C2=A0dec=C2=A0 =C2=A0 =C2=A0hex filename
>     =C2=A0 =C2=A05469=C2=A0 =C2=A0 =C2=A0656=C2=A0 =C2=A0 =C2=A0112=C2=A0=
 =C2=A0 6237=C2=A0 =C2=A0 185d work/stage/usr/local/sbin/makeweb
>     =C2=A0 =C2=A07453=C2=A0 =C2=A0 =C2=A0760=C2=A0 =C2=A0 =C2=A0120=C2=A0=
 =C2=A0 8333=C2=A0 =C2=A0 208d work/stage/usr/local/sbin/thtpasswd
>     =C2=A0 81184=C2=A0 =C2=A0 8336=C2=A0 =C2=A0 2280=C2=A0 =C2=A091800=C2=
=A0 =C2=A016698 work/stage/usr/local/sbin/thttpd
>=20
>=20
>=20
>=20
> =C2=A0
>=20
>     The sources are distributed under a 2 clause BSD copyright.
>=20
>=20
>=20
> I checked all of the sources=C2=A0 by downloading related compressed so=
urces ,
> by reading all of the web pages in the shown website , I could not find=

> any license information .
>=20
> If it is possible for you , would you please supply a link to this lice=
nse
> information ?

Each individual C source file starts with a Copyright note like this:

/* thttpd.c - tiny/turbo/throttling HTTP server
**
** Copyright =C2=A9 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=
=2E
**
** 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 PUR=
POSE
** ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABL=
E
** FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUEN=
TIAL
** DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOOD=
S
** OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
** HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, ST=
RICT
** 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 resultin=
g
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

--------------PUkMkssKd0s0jVoBD4f3v2Ne--

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

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

wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmHt7bAFAwAAAAAACgkQR+u171r99UTy
/gf+L4dDOCsY4FH/E+yitFH6vjuJEJjJcKm8eaDbSRoaj23vGBwrki9DbsoJpiSAgEltE9kpDLzO
7BU79jBq0ktBzoKEYalp1P2tqeXBxsA+5kxnJLByuA3npv3oZ3IjKp28AESHMo2mBFpuujsWFOJy
Keokqt93y6ILqt4lkJNTiHO1F6VXc+znarY5x51+KRSgupISTOSjuZIpoc6kJDFgYi2LdFKnfpCG
QI0/1+WuDKCP0dgjozw+sA0Rq9LTch2Qm4376dKJfxPSmpaT9MZpriOudffV3I9vwEMfs5IPyWwU
2xRIkbB9tWgE62fuS9Gof4z33g5jxRmZC14bHwUFlA==
=x/Un
-----END PGP SIGNATURE-----

--------------QmCeU0usEqoLDE0v5jpDyNUD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?981088fc-faa4-3e75-2d0f-e9da59eb9a41>