From nobody Mon Jan 24 00:07:11 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E3760196EA91 for ; Mon, 24 Jan 2022 00:07:14 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jhqzk5l5Dz3q7w; Mon, 24 Jan 2022 00:07:14 +0000 (UTC) (envelope-from se@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642982834; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sjXjwl9dYOTYQ7o60igGB429Qm4opOnJxjtAfYqPLZE=; b=uIMPP5P//DDvUKoA8GrVRfnmcHvukvfgp+mcrUkAeq1xBdd9VIVj4Ec+mVe96z8RI5Yx1M xkZsfQEEcnRv688AoTiWXH7A2TKrc/mkZswNywi6b8tJ72tFvBj5y7jCoig5lbLpWMD7MI 3gCw87a2mgVmOQyUpNNzlefLxnQxbYBo8gdZ4lnILh/je65HU18MPnygY9oJnmeDhq/eFx 4UtgZ9A41O068LIJgLE1Gg3kE/1d5FoaCcruOKndWcuyZLlOrt0OfRbZLSIt0bgn0jxonX 2VGK6SN+DkipFfZTVyEFgTDFq+SCZlKWH2Uxc6CbIk43v/wnGAlPZ93/W786Kg== Received: from [IPV6:2003:cd:5f21:7e00:90f1:30fa:f21b:4823] (p200300cd5f217e0090f130faf21b4823.dip0.t-ipconnect.de [IPv6:2003:cd:5f21:7e00:90f1:30fa:f21b:4823]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 268B728317; Mon, 24 Jan 2022 00:07:14 +0000 (UTC) (envelope-from se@FreeBSD.org) Message-ID: <981088fc-faa4-3e75-2d0f-e9da59eb9a41@FreeBSD.org> Date: Mon, 24 Jan 2022 01:07:11 +0100 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [HEADSUP] Deprecation of the ftp support in pkg Content-Language: en-US To: Mehmet Erol Sanliturk Cc: Jose Quinteiro , FreeBSD Ports References: <20220120142519.a5juoe75oppmnyby@aniel.nours.eu> From: Stefan Esser In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------QmCeU0usEqoLDE0v5jpDyNUD" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642982834; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sjXjwl9dYOTYQ7o60igGB429Qm4opOnJxjtAfYqPLZE=; b=dbEzStfRHA8F4LWoEMU4fyhq7lIBMV8YiUNZcFvIPbSq7B7pPUyWCyTjz3nxHoqhVcLIl/ kvXGYFitBBHSTEIsEj2GUydDDHojYjhssmdbogYxrSp0JRa4PZhIHwLzSfUKG5zSLWCJS3 8FZGeYE6Vdfm0Dnytg09EbcIJxih2D4CTxfPLKDP8L8gqnSwIebNU4Zf6D+zykr3k2/618 EIQifXLXyaSGHnQqRrYG4KZ1PhaYNmNQG9vbcKxSsay4nNzQmcA3dWVKcc8pLnrkXoBN5Y LSNLVpQiREfjPgtp1Ss+pHoF96LOj50GRRfJcstMY/ByB3QTq4MOMceKhKhxDg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642982834; a=rsa-sha256; cv=none; b=it3ZJPHhoJlWh5l+Sh+/LD7waqwKfN4M3zf0otcElUprfiyHgDsf1rsvHmatm/tXiDCf1W +c4JyKHFLkgOm8SwWVOSMZknaKlyPL/u3g6Zmx4BGEC+5DatOExPuZmcy+JfK77v7sQcc1 B5PYKUrsf4bE1CrYY2O47SBAz1fEkxl1cM6Mi38SMzmtFvG6gU6dN3YUOvzhF6Kkcwqg0P spyRLOi8UhmcWoqwLB2rQaUyYHiPfDv2xzrnKcoBMVDHVtYvYMSdnDK0omJz1MhSBK7n5a qMEJD6qXYUOAtoVX5M09YzF/uVO4nkWQ/zoBfCIawv1PzR1wAxzBN9OJZ/1uhg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------QmCeU0usEqoLDE0v5jpDyNUD Content-Type: multipart/mixed; boundary="------------PUkMkssKd0s0jVoBD4f3v2Ne"; protected-headers="v1" From: Stefan Esser To: Mehmet Erol Sanliturk Cc: Jose Quinteiro , FreeBSD Ports 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> In-Reply-To: --------------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 > 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/ >=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 . 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--