From nobody Sun Jan 23 21:41:34 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 3199C197219A for ; Sun, 23 Jan 2022 21:42:12 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JhmmM3Lctz4crf; Sun, 23 Jan 2022 21:42:11 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: by mail-ot1-x32b.google.com with SMTP id t9-20020a9d7489000000b0059e4c1adceaso4893380otk.5; Sun, 23 Jan 2022 13:42:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UzsuoBA8kfRVz64AWF+fiFRevWKp/sjg9WqLHJkPvHQ=; b=J44+fiyPCv2WzaoutpD4Ohk5sfelsDIYgqu9arcRX+zW4yWCm/yMMb8eMJf2WF+Xxo G6BPSU/gSu94qAiWcHWGb3oGOPf+gcsffwR8kLu06YhTnPQ7YDF4in54VqfvTYXRjVpj ntPPVPmkyUZ1o4bM9qQXFw12JLAXk8IT8p81/fWV0qOiAGAy+r1X+xzgSoozpkH5XDXv F+QuoGBrCdhqdfvQ3TpcNkv7nTDc9wszwX0PYN2MFlxKTCzgyspcuLI6IsIs+ih6htq7 ktX3/moG7u6zYGkxpKdJu13FOPnztDvZ76+N3T4bTN+ThX/vdHBEG56fyU+ZEvJXNFqt fAuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UzsuoBA8kfRVz64AWF+fiFRevWKp/sjg9WqLHJkPvHQ=; b=mSbVPB9S2h7VrEgNmWN7pIbpR2nwLxZSgt18PqDH7bKfh73S0YlOVaJZTITyttocmI P43drPzZGI9mJmeh27BkwkRGFzrj1jilaJvkIRv7riDhBCjbX+1fROfgkatEWbuO9jgt 8qB903kw+vAgW3EeOac1aMtKOc4YTi3WrsuHvjJw/lUqAH2BrZOtgq2LxQe/EbmaQ+hf aKXtkuKU+bVYPjq4o58OJkoSIx3E2uLj4LYcWPukFNciXLwVCiFkUbiwUte74j/5Oy1l 8dVHCmrjz9kT2Xg50c7AItHxiC4j87sw7p3sTOSSEmhNsYc9xG3oBf+YUdBzGoX7tC59 tISQ== X-Gm-Message-State: AOAM532zQ0TSZ24MQUYEAyQHEgAm1yVmOBn15qpavg+4BWV+77T/A99u UnJ0xt94HQDqQD637KEPA3TITuO+Xrp0KXccrzrqzQKEw5k= X-Google-Smtp-Source: ABdhPJzxSSwWc3/rD8v2ghaLh4xg+ikMDejHgoSXvG3y/Supxs4J9p+g4iSVsKm5DSfGyndsgPGulwaq7CuH9NDCyUs= X-Received: by 2002:a05:6830:55:: with SMTP id d21mr3466844otp.283.1642974130702; Sun, 23 Jan 2022 13:42:10 -0800 (PST) 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 References: <20220120142519.a5juoe75oppmnyby@aniel.nours.eu> In-Reply-To: From: Mehmet Erol Sanliturk Date: Mon, 24 Jan 2022 00:41:34 +0300 Message-ID: Subject: Re: [HEADSUP] Deprecation of the ftp support in pkg To: Stefan Esser Cc: Jose Quinteiro , FreeBSD Ports Content-Type: multipart/alternative; boundary="0000000000006f8e4305d646b97b" X-Rspamd-Queue-Id: 4JhmmM3Lctz4crf X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=J44+fiyP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mesanliturk@gmail.com designates 2607:f8b0:4864:20::32b as permitted sender) smtp.mailfrom=mesanliturk@gmail.com X-Spamd-Result: default: False [-1.99 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; NEURAL_HAM_LONG(-0.99)[-0.987]; NEURAL_SPAM_SHORT(1.00)[1.000]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32b:from]; MLMMJ_DEST(0.00)[ports]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --0000000000006f8e4305d646b97b Content-Type: text/plain; charset="UTF-8" On Sun, Jan 23, 2022 at 11:27 PM Stefan Esser 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/ > > 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 ? Mehmet Erol Sanliturk > Maybe having a HTTP server in base is more useful than a FTP > server, today ... > > Regards, STefan > --0000000000006f8e4305d646b97b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, Jan 23, 2022= at 11:27 PM Stefan Esser <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/

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
=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=A01= c5c1 /usr/libexec/ftpd

$ 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




=C2=A0
The sources are distributed under a 2 clause BSD copyright.



I checked all= of the sources=C2=A0 by downloading related compressed sources ,
by reading all of the web pages in the shown website , I could not fi= nd
any license information .

If it is possible for you , would you please supply a link to this lic= ense information ?


= Mehmet Erol Sanliturk




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

Regards, STefan
--0000000000006f8e4305d646b97b--