Date: Sun, 23 Jul 2023 19:44:10 -0700 From: Bakul Shah <bakul@iitbombay.org> To: k sridhar <ksrdhrbsd@gmail.com> Cc: imp@bsdimp.com, FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: Contributing to one of the projects in the Ideas page Message-ID: <5EBDAA39-3512-4AA9-A4E2-72741FAE414C@iitbombay.org> In-Reply-To: <CANYUEJx_g0=sgJzdAyJS-LXr-K9Vju4MbOMSCPHJC_WCE9CQtg@mail.gmail.com> References: <CANYUEJz_ADHMOV8j1wWgKZ_BqoMO4YfXYFjBLyAJ%2B9cfxvtCCg@mail.gmail.com> <CANYUEJw_nWoHuWod4KVsFXtYb7P-gveGy7G1UaqK_DwrET1GVg@mail.gmail.com> <CANCZdfpXHjmdJ4X=0ue0BfHYU6AQa69crWoKSssB480jOCt7gA@mail.gmail.com> <CANYUEJx_g0=sgJzdAyJS-LXr-K9Vju4MbOMSCPHJC_WCE9CQtg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_207BFE15-2476-48AF-89C3-BA8CBFD3A375 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Note that NetBSD seems to have the same version as FreeBSD's = ports/sysutils/isc-cron (modulo replacing sprintf, strcpy, strcat etc = with safer versions). Paul seems to be maintaining the original at = https://github.com/vixie/cron.git with a few fixes this year. Though his = CRON_VERSION says V4.999 compared to ports/isc-cron that has V5.0! I = would suggest keeping in sync with Paul's version at github and may be = feeding back improvements. > On Jul 23, 2023, at 7:06 PM, k sridhar <ksrdhrbsd@gmail.com> wrote: >=20 > Sure, I will start by reviewing what OpenBSD and NetBSD have done. >=20 > Thanks a lot. >=20 > On Sun, Jul 23, 2023 at 10:04=E2=80=AFPM Warner Losh <imp@bsdimp.com = <mailto:imp@bsdimp.com>> wrote: >>=20 >>=20 >> On Sun, Jul 23, 2023, 7:59 PM k sridhar <ksrdhrbsd@gmail.com = <mailto:ksrdhrbsd@gmail.com>> wrote: >>>=20 >>> Hello, >>>=20 >>> I was browsing the Ideas page for ways to contribute to BSD. >>> I came across this (which does not have any contact, I think). >>>=20 >>> If it is still open, I wanted to check if I could try to do this. >>>=20 >>> Briefly - I am in IT, and have been using UNIX since grad school in = the early 90s (Solaris, briefly Ultrix/Aix and then different Linuxes = and MacOS). C/C++/Java programming, scripting, installs, etc... and = various other stuff.=20 >>>=20 >>> I want to give it a shot if you all think that is ok. >>=20 >>=20 >> Nobody is working on this. Might be best to see what openbsd and = netbsd have done first and start from there. It will be the first = question people ask when you start the review process. I think yhey = have some fixes and a newer vixie cron import, but I'm not sure.=20 >>=20 >> Happy coding >>=20 >> Warner >>=20 >>> Thanks a lot >>> k.sridhar (U.S resident in Virginia) >>> Improve cron(8) and atrun(8) >>>=20 >>> Currently, cron(8) and atrun(8) are outdated in their = implementation. Here are some directions for improvement: >>>=20 >>> Update cron(8) to ISC cron with security fixes from OpenBSD. >>> Integrate the atrun(8) functionality into cron(8), as it was done in = NetBSD. >>>=20 >>> Requirements >>>=20 >>> Strong knowledge of the C language and Unix API. --Apple-Mail=_207BFE15-2476-48AF-89C3-BA8CBFD3A375 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"content-type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;">Note that = NetBSD seems to have the same version as FreeBSD's = ports/sysutils/isc-cron (modulo replacing sprintf, strcpy, strcat etc = with safer versions).<div><br></div><div>Paul seems to be maintaining = the original at https://github.com/vixie/cron.git with a few fixes this = year. Though his CRON_VERSION says V4.999 compared to ports/isc-cron = that has V5.0! I would suggest keeping in sync with Paul's version at = github and may be feeding back improvements.<br><div><br><blockquote = type=3D"cite"><div>On Jul 23, 2023, at 7:06 PM, k sridhar = <ksrdhrbsd@gmail.com> wrote:</div><br = class=3D"Apple-interchange-newline"><div><div dir=3D"ltr">Sure, I will = start by reviewing what OpenBSD and NetBSD have = done.<div><br></div><div>Thanks a lot.</div></div><br><div = class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Jul = 23, 2023 at 10:04=E2=80=AFPM Warner Losh <<a = href=3D"mailto:imp@bsdimp.com">imp@bsdimp.com</a>> = wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid = rgb(204,204,204);padding-left:1ex"><div dir=3D"auto"><div><br><br><div = class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Jul = 23, 2023, 7:59 PM k sridhar <<a href=3D"mailto:ksrdhrbsd@gmail.com" = target=3D"_blank">ksrdhrbsd@gmail.com</a>> = wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px = 0px 0px 0.8ex;border-left:1px solid = rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div = dir=3D"ltr"><br></div><div dir=3D"ltr"><div class=3D"gmail_quote"><div = dir=3D"ltr"><div>Hello,<br></div><div><br></div><div>I was browsing the = Ideas page for ways to contribute to BSD.</div><div>I came across this = (which does not have any contact, I think).</div><div><br></div><div>If = it is still open, I wanted to check if I could try to do = this.<br></div><div><br></div><div>Briefly - I am in IT, and have been = using UNIX since grad school in the early 90s (Solaris, briefly = Ultrix/Aix and then different Linuxes and MacOS). C/C++/Java = programming, scripting, installs, etc... and various other = stuff. <br><div><br></div><div>I want to give it a shot if you all = think that is = ok.</div></div></div></div></div></div></blockquote></div></div><div = dir=3D"auto"><br></div><div dir=3D"auto">Nobody is working on this. = Might be best to see what openbsd and netbsd have done first and = start from there. It will be the first question people ask when you = start the review process. I think yhey have some fixes and a = newer vixie cron import, but I'm not sure. </div><div = dir=3D"auto"><br></div><div dir=3D"auto">Happy coding</div><div = dir=3D"auto"><br></div><div dir=3D"auto">Warner</div><div = dir=3D"auto"><br></div><div dir=3D"auto"><div = class=3D"gmail_quote"><blockquote class=3D"gmail_quote" = style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid = rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div dir=3D"ltr"><div = class=3D"gmail_quote"><div dir=3D"ltr"><div><div>Thanks a = lot</div><div>k.sridhar (U.S resident in Virginia)</div><div><h2 = id=3D"m_-4542240635952591116m_6227940243927332475m_-6583457652973336899m_-= 7066719117085389368gmail-Improve_cron.288.29_and_atrun.288.29" = style=3D"font-family: Arial, "Lucida Grande", = sans-serif;"><i><font size=3D"1">Improve cron(8) and = atrun(8)</font></i></h2><i><font size=3D"1"><span = id=3D"m_-4542240635952591116m_6227940243927332475m_-6583457652973336899m_-= 7066719117085389368gmail-line-383" style=3D"font-family: Arial, = "Lucida Grande", sans-serif;"></span><span = id=3D"m_-4542240635952591116m_6227940243927332475m_-6583457652973336899m_-= 7066719117085389368gmail-line-384" style=3D"font-family: Arial, = "Lucida Grande", sans-serif;"></span></font></i><p = style=3D"font-family: Arial, "Lucida Grande", = sans-serif;"><i><font size=3D"1">Currently, cron(8) and atrun(8) are = outdated in their implementation. Here are some directions for = improvement:<span = id=3D"m_-4542240635952591116m_6227940243927332475m_-6583457652973336899m_-= 7066719117085389368gmail-line-385"></span><span = id=3D"m_-4542240635952591116m_6227940243927332475m_-6583457652973336899m_-= 7066719117085389368gmail-line-386"></span></font></i></p><ul = style=3D"font-family: Arial, "Lucida Grande", = sans-serif;"><li><i><font size=3D"1">Update cron(8) to ISC cron with = security fixes from OpenBSD.<span = id=3D"m_-4542240635952591116m_6227940243927332475m_-6583457652973336899m_-= 7066719117085389368gmail-line-387"></span></font></i></li><li><i><font = size=3D"1">Integrate the atrun(8) functionality into cron(8), as it was = done in NetBSD.<span = id=3D"m_-4542240635952591116m_6227940243927332475m_-6583457652973336899m_-= 7066719117085389368gmail-line-388"></span><span = id=3D"m_-4542240635952591116m_6227940243927332475m_-6583457652973336899m_-= 7066719117085389368gmail-line-389"></span></font></i></li></ul><div = style=3D"font-family: Arial, "Lucida Grande", sans-serif;"><br = class=3D"webkit-block-placeholder"></div><h5 = id=3D"m_-4542240635952591116m_6227940243927332475m_-6583457652973336899m_-= 7066719117085389368gmail-Requirements-20" style=3D"font-family: Arial, = "Lucida Grande", sans-serif;"><i><font = size=3D"1">Requirements</font></i></h5><i><font size=3D"1"><span = id=3D"m_-4542240635952591116m_6227940243927332475m_-6583457652973336899m_-= 7066719117085389368gmail-line-390" style=3D"font-family: Arial, = "Lucida Grande", sans-serif;"></span><span = id=3D"m_-4542240635952591116m_6227940243927332475m_-6583457652973336899m_-= 7066719117085389368gmail-line-391" style=3D"font-family: Arial, = "Lucida Grande", sans-serif;"></span></font></i><ul = style=3D"font-family: Arial, "Lucida Grande", = sans-serif;"><li><i><font size=3D"1">Strong knowledge of the C language = and Unix API.</font></i></li></ul></div></div></div> </div></div> </div> </blockquote></div></div></div> </blockquote></div> </div></blockquote></div><br></div></body></html>= --Apple-Mail=_207BFE15-2476-48AF-89C3-BA8CBFD3A375--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5EBDAA39-3512-4AA9-A4E2-72741FAE414C>