From nobody Sun Jan 23 20:08:30 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 8CDA8198706D for ; Sun, 23 Jan 2022 20:08:35 +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 4JhkhM2Bhjz4jKY; Sun, 23 Jan 2022 20:08:35 +0000 (UTC) (envelope-from se@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642968515; 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=qrq7/Bfo6XeyYSni2wq96VL+hdL59poV6ebFuXhgozc=; b=ALoYkT6HYpQ0k0P9n9b/PnRVEcmNC0JtYwegcK8PEuk79f07YQV7FZTT/6z7DJzn1XUKhn PKfufqbJ3XjJYmoOOPKY0maHPUYyVlTiet+qd1BWkx0AyOcB0TeyuHT18p8Wh7OBDTGWKN sc1INlOOLiBpef9a9Dhdq/v/GkZs+wydnGE9m0rxu7vywRFMKcGxEWRUnAKMYO4/vtMEwK 9u00Pcu4Mog07v56j/VTrmIL4ePb/1TXlrSHlKXdXPTAQ67M3mRwb76dV2VcyVSnmKyefr FJnemD9fsBgaLKHUhAzh0+U3zXnoW+idjooKWoC9POQZTME72wj5ppbpdc1euw== 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 B410525DEE; Sun, 23 Jan 2022 20:08:34 +0000 (UTC) (envelope-from se@FreeBSD.org) Message-ID: Date: Sun, 23 Jan 2022 21:08:30 +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: Jose Quinteiro References: <20220120142519.a5juoe75oppmnyby@aniel.nours.eu> From: Stefan Esser Cc: ports@freebsd.org In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------L0xXWOMWKCmGRdpOvOYGY2Zf" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642968515; 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=qrq7/Bfo6XeyYSni2wq96VL+hdL59poV6ebFuXhgozc=; b=tmOvVADHrkj2isq1QlI/MjjMFvqzNoUs5LWlrOETTYHaEtJFpW9U3JYM8neaDjVo60WhFD /3IXmG5jTZkLd+DjiFn8fhfrAQCz5EAICQxCAmKwlXOYunVOaqO+aWkcrD7IgZG/HYA4GH P512puiMF8oNvlRuI2aHbG6naCHvyC3aWPaMbDh+q1sEuT2ao0oPEUdOwgQbOC1msIl+W2 hpQ8gIxwrIPHSQF8w62fWqyfdRcXc4pNWQK5B/qCHR8sAIHDkCNiEUw1Y++PB02KuSgfGN O1fl7e9Fi0bVhAz2l77DfL/S0iK32M5CMBAqQ7AbNHUjRZKcXhtc9QIod3rrhg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642968515; a=rsa-sha256; cv=none; b=CBD/K3QwEEFvhgjfL3APpXv9hGos+1VN44twl693EQ5+9ait5UZkP2wLs0QZgbtuhffydy yxUZ/g3VlSSuliUb2Fel4dzzzTsfu9AsopU16zutttKCsawibhB8fZGOj3jbguxBiJ9Xxy dP/pnGPUzWn9CAcxuQyiYBA9Z5R5rBAVGXklEG6QSAfJ8mcgb9ubdjlBOJiJswMlk6g6I+ Wfg+i/fk4vyWvWObz/VH4yPO8OHd4g/NdWyQJCrTyON3kHyyQd23usFHCdkFtJph4sBib0 sq6RYl60+FuiJQtMfz1ML6diJRxoEWQYTxw2rVD2FKvBAe/bpxL5vh3qJTGIAQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------L0xXWOMWKCmGRdpOvOYGY2Zf Content-Type: multipart/mixed; boundary="------------rUNiKuqcjOJbiGK2X0cmw3Mi"; protected-headers="v1" From: Stefan Esser To: Jose Quinteiro Cc: ports@freebsd.org Message-ID: Subject: Re: [HEADSUP] Deprecation of the ftp support in pkg References: <20220120142519.a5juoe75oppmnyby@aniel.nours.eu> In-Reply-To: --------------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--