In OpenBSD how to upgrade individual system files like (grep, rcs, rlog ) to latest version?
I am attempting to run foswiki on OpenBSD. Things are installed and i am able to open /bin/Configure page of foswiki configuration screen. but the page reports few errors, complaining that following files are either not found or outdated and new versions are required. The Files are : grep, rcs, ci, co,rlog, rcsdiff I tried commands like pkg_add -Uu to upgrade packages installed, but it reports all packages are uptodate. I also tried pkg_add rcs pkg_add grep etcbut non works. So my basic question is how to I update above files to their latest version required by foswiki. Regards
Re: In OpenBSD how to upgrade individual system files like (grep, rcs, rlog ) to latest version?
On 2014-03-27 Thu 14:12 PM |, jignesh desai wrote: I am attempting to run foswiki on OpenBSD. Things are installed and i am able to open /bin/Configure page of foswiki configuration screen. but the page reports few errors, complaining that following files are either not found or outdated and new versions are required. The Files are : grep, rcs, ci, The webserver runs chrooted: http://www.openbsd.org/faq/faq10.html#httpdchroot
Re: In OpenBSD how to upgrade individual system files like (grep, rcs, rlog ) to latest version?
On 03/27/14 06:12, jignesh desai wrote: I am attempting to run foswiki on OpenBSD. Things are installed and i am able to open /bin/Configure page of foswiki configuration screen. but the page reports few errors, complaining that following files are either not found or outdated and new versions are required. The Files are : grep, rcs, ci, co,rlog, rcsdiff I tried commands like pkg_add -Uu to upgrade packages installed, but it reports all packages are uptodate. I also tried pkg_add rcs pkg_add grep etcbut non works. So my basic question is how to I update above files to their latest version required by foswiki. Regards What version of OpenBSD? The default httpd server in OpenBSD is chrooted by default so the webserver does not have access to the rest of the file system.
Re: In OpenBSD how to upgrade individual system files like (grep, rcs, rlog ) to latest version?
Hi Fred, No I have modifided config and Unchrooted it. After which i am successfully able to run http://localhost/foswiki/bin/configure page. and its this page that reports error about wrong file versions. therefore i wish to update those files to latest versions. The Files are : grep, rcs, ci, co ,rlog, rcsdiff. Infact I copied grep file from another folder into foswiki folder, after which it reported that grep is not a GNU grep, from the message i believe its looking for specific version of grep. Any further advice ? Regards From: Fred open...@crowsons.com To: jignesh desai jigs_de...@yahoo.com; misc@openbsd.org misc@openbsd.org Sent: Thursday, 27 March 2014 3:40 PM Subject: Re: In OpenBSD how to upgrade individual system files like (grep, rcs, rlog ) to latest version? On 03/27/14 06:12, jignesh desai wrote: I am attempting to run foswiki on OpenBSD. Things are installed and i am able to open /bin/Configure page of foswiki configuration screen. but the page reports few errors, complaining that following files are either not found or outdated and new versions are required. The Files are : grep, rcs, ci, co,rlog, rcsdiff I tried commands like pkg_add -Uu to upgrade packages installed, but it reports all packages are uptodate. I also tried pkg_add rcs pkg_add grep etc but non works. So my basic question is how to I update above files to their latest version required by foswiki. Regards What version of OpenBSD? The default httpd server in OpenBSD is chrooted by default so the webserver does not have access to the rest of the file system.
Re: In OpenBSD how to upgrade individual system files like (grep, rcs, rlog ) to latest version?
jignesh desai said: Hi Fred, ? No I have modifided config and Unchrooted? it. ? After which i am successfully able to run? http://localhost/foswiki/bin/configure page. and its this page that reports error about wrong file versions. ? therefore i wish to update those files to latest versions.? The Files are :? grep, rcs, ci, co ,rlog, rcsdiff. ? Infact I copied grep file from another folder into foswiki folder, after which it reported that grep is not a GNU grep, from the message i believe its looking for specific version of grep. ? Any further advice ? ? 1. Use chrooted httpd. Really. 2. Either patch foswiki to use proper tools or install GNU stuff it wants. Apparently you need ggrep package. Copy everything you need to the chroot. -- Dmitrij D. Czarkoff
Re: In OpenBSD how to upgrade individual system files like (grep, rcs, rlog ) to latest version?
Hi,Dmitrij Any advice what to type in Pkg_add .. ??? command to install GNU stuff ? Regards From: Dmitrij D. Czarkoff czark...@gmail.com To: jignesh desai jigs_de...@yahoo.com Cc: Fred open...@crowsons.com; misc@openbsd.org misc@openbsd.org Sent: Thursday, 27 March 2014 5:06 PM Subject: Re: In OpenBSD how to upgrade individual system files like (grep, rcs, rlog ) to latest version? jignesh desai said: Hi Fred, ? No I have modifided config and Unchrooted? it. ? After which i am successfully able to run? http://localhost/foswiki/bin/configurepage. and its this page that reports error about wrong file versions. ? therefore i wish to update those files to latest versions.? The Files are :? grep, rcs, ci, co ,rlog, rcsdiff. ? Infact I copied grep file from another folder into foswiki folder, after which it reported that grep is not a GNU grep, from the message i believe its looking for specific version of grep. ? Any further advice ? ? 1. Use chrooted httpd. Really. 2. Either patch foswiki to use proper tools or install GNU stuff it wants. Apparently you need ggrep package. Copy everything you need to the chroot. -- Dmitrij D. Czarkoff
Re: In OpenBSD how to upgrade individual system files like (grep, rcs, rlog ) to latest version?
On 03/27/14 10:41, jignesh desai wrote: Hi Fred, No I have modifided config and Unchrooted it. After which i am successfully able to run http://localhost/foswiki/bin/configure page. and its this page that reports error about wrong file versions. therefore i wish to update those files to latest versions. The Files are : grep, rcs, ci, co ,rlog, rcsdiff. Infact I copied grep file from another folder into foswiki folder, after which it reported that grep is not a GNU grep, from the message i believe its looking for specific version of grep. Any further advice ? Regards As Dmitrij has stated use the chroot and work out how to get Foswiki working in the chroot - it will be a valuable learning experience and then you will be able to maintain it safely. man pkg_add explains the use of the tool really well, as does all the documentation on OpenBSD - it is one of the reason's that OpenBSD is so good to use. Fred
Re: In OpenBSD how to upgrade individual system files like (grep, rcs, rlog ) to latest version?
jignesh desai said: Any advice what to type in Pkg_add .. ??? command to install GNU stuff ? Here is the best advice on the topic: man pkg_add If you want to get anywhere, you *must* read manuals. You may accidentally install and run foswiki (or whatever else) without getting familiar with documentation, but that will only lead to unexpected problems and actual reading of documentation when you don't have time for it. Nobody would be there handholding you. Prepare now. P.S.: Another advice - pkg_add, not Pkg_add. -- Dmitrij D. Czarkoff
Re: In OpenBSD how to upgrade individual system files like (grep, rcs, rlog ) to latest version?
On 2014-03-27 Thu 19:47 PM |, jignesh desai wrote: ? Any advice what to type in Pkg_add .. ??? ? command to install GNU stuff ? There are other wikis already ported come with specific instructions on how to use them on OpenBSD. If you have the ports tree installed, do this: $ cd /usr/ports $ make search key=wiki ... www/dokuwiki www/mediawiki www/moinmoin www/pmwiki www/trac www/twiki ... See: http://www.openbsd.org/faq/faq15.html#PkgFind http://www.openbsd.org/faq/faq15.html#PortsSearch