Date: Mon, 24 Jan 2022 00:41:34 +0300 From: Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> To: Stefan Esser <se@freebsd.org> Cc: Jose Quinteiro <freebsd@quinteiro.org>, FreeBSD Ports <ports@freebsd.org> Subject: Re: [HEADSUP] Deprecation of the ftp support in pkg Message-ID: <CAOgwaMu2ySHTt3tDgn884K%2BMuc=_QFvxNYuuDaNJPJCY4vXxxA@mail.gmail.com> In-Reply-To: <f7c524bc-a69c-46c8-e639-331b4f5d674e@FreeBSD.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> <f7c524bc-a69c-46c8-e639-331b4f5d674e@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000006f8e4305d646b97b Content-Type: text/plain; charset="UTF-8" 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 > 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 <div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon= t-family:tahoma,sans-serif;font-size:large"><br></div></div><br><div class= =3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Jan 23, 2022= at 11:27 PM Stefan Esser <<a href=3D"mailto:se@freebsd.org">se@freebsd.= org</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"marg= in:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1e= x">Am 23.01.22 um 18:12 schrieb Jose Quinteiro:<br> > On 1/23/22 09:06, tech-lists wrote:<br> >> On Sun, Jan 23, 2022 at 08:55:09AM -0800, Jose Quinteiro wrote:<br= > >><br> >>> You can run HTTP on a non-standard port. For example, 8080 is = commonly<br> >>> used. As an added bonus, this means that the HTTP server need = not run as<br> >>> root.<br> >><br> >> Unless I'm mistaken, there is no web server in base. There is = though, an<br> >> ftp server.<br> > <br> > Touche. I wouldn't mind having Thttpd in base.<br> > <a href=3D"https://www.acme.com/software/thttpd/" rel=3D"noreferrer" t= arget=3D"_blank">https://www.acme.com/software/thttpd/</a><br> <br> An interesting idea, we have it as a port in www/thttpd.<br> <br> While we generally rather move base components that are not<br> generally required to ports, this might be a case where it<br> makes sense to replace one base system component by another<br> one currently only available as a port ...<br> <br> The thttpd binary is smaller than the ftpd currently in base,<br> and it might make sense to replace ftpd by this simple httpd:<br> <br> $ size /usr/libexec/ftpd<br> =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<br> =C2=A0105901=C2=A0 =C2=A0 4276=C2=A0 =C2=A0 5984=C2=A0 116161=C2=A0 =C2=A01= c5c1 /usr/libexec/ftpd<br> <br> $ size work/stage/usr/local/sbin/*<br> =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<br> =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<br> =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<br> =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<br> <br></blockquote><div><br></div><div><br></div><div><br></div><div>=C2=A0</= div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor= der-left:1px solid rgb(204,204,204);padding-left:1ex"> The sources are distributed under a 2 clause BSD copyright.<br> <br></blockquote><div><br></div><div><br></div><div><div style=3D"font-fami= ly:tahoma,sans-serif;font-size:large" class=3D"gmail_default">I checked all= of the sources=C2=A0 by downloading related compressed sources ,</div><div= style=3D"font-family:tahoma,sans-serif;font-size:large" class=3D"gmail_def= ault">by reading all of the web pages in the shown website , I could not fi= nd</div><div style=3D"font-family:tahoma,sans-serif;font-size:large" class= =3D"gmail_default">any license information .</div><div style=3D"font-family= :tahoma,sans-serif;font-size:large" class=3D"gmail_default"><br></div><div = style=3D"font-family:tahoma,sans-serif;font-size:large" class=3D"gmail_defa= ult">If it is possible for you , would you please supply a link to this lic= ense information ?</div><div style=3D"font-family:tahoma,sans-serif;font-si= ze:large" class=3D"gmail_default"><br></div><div style=3D"font-family:tahom= a,sans-serif;font-size:large" class=3D"gmail_default"><br></div><div style= =3D"font-family:tahoma,sans-serif;font-size:large" class=3D"gmail_default">= Mehmet Erol Sanliturk</div><div style=3D"font-family:tahoma,sans-serif;font= -size:large" class=3D"gmail_default"><br></div><div style=3D"font-family:ta= homa,sans-serif;font-size:large" class=3D"gmail_default"></div><br></div><d= iv><br></div><div><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quo= te" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204= );padding-left:1ex"> Maybe having a HTTP server in base is more useful than a FTP<br> server, today ...<br> <br> Regards, STefan<br> </blockquote></div></div> --0000000000006f8e4305d646b97b--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgwaMu2ySHTt3tDgn884K%2BMuc=_QFvxNYuuDaNJPJCY4vXxxA>