Re: Use of fw_update to bootstrap OBSD

2023-10-10 Thread Andrew Hewus Fresh
On Mon, Oct 09, 2023 at 08:01:14PM -0700, Andrew Hewus Fresh wrote: > On Sun, Oct 08, 2023 at 02:36:16PM +0200, Thomas wrote: > > Hello, > > > > I am installing OpenBSD on an old xps13 9380. The WiFi is not > > supported and so I am using a usb dongle for which I need t

Re: Use of fw_update to bootstrap OBSD

2023-10-09 Thread Andrew Hewus Fresh
On Sun, Oct 08, 2023 at 02:36:16PM +0200, Thomas wrote: > Hello, > > I am installing OpenBSD on an old xps13 9380. The WiFi is not supported and > so I am using a usb dongle for which I need the athn-firmware. I get it to > work and now wanting to prep a USB disk with all necessary firmware. I'm

Re: any way to "redo" a botched upgrade?

2023-04-20 Thread Andrew Hewus Fresh
On Thu, Apr 20, 2023 at 12:49:35AM -0700, Jonathan Thornburg wrote: > Andrew Hewus Fresh wrote: > > This usually happens when an XS module is installed outside of the > > package ecosystem, often with a CPAN client. > > > > I would guess this error is Term::ReadLine::G

Re: any way to "redo" a botched upgrade?

2023-04-19 Thread Andrew Hewus Fresh
On Wed, Apr 19, 2023 at 07:25:17PM -0700, Jonathan Thornburg wrote: > I've just upgraded an amd64 machine from 7.1 to 7.3 (first a 7.1-->7.2 > upgrade, immediately followed by a 7.2-->7.3 upgrade, both following the > FAQ instructions). After a full 'pkg_add -uvv', at least one package > (p5-Term-

Re: Possible typo in fw_update

2022-12-11 Thread Andrew Hewus Fresh
On Sun, Dec 11, 2022 at 08:06:24PM -0500, Rob Whitlock wrote: > On line 408, fw_update has the expression ${LOCALSRC:#file:}. The parameter > substitution ${name:#word} is not documented in the manual page for ksh yet > its behavior seems to be equivalent to ${LOCALSRC#file:}. Assuming this is > a

Re: After upgrade to 6.9 pkg_add -u throws ListUtil.c error

2021-11-22 Thread Andrew Hewus Fresh
On Mon, Nov 22, 2021 at 11:34:44PM +0100, pas...@pascallen.nl wrote: > After a sysupgrade to 6.9 > I try to update the packages but get thrown an error: > > router# pkg_add -Uu > ListUtil.c: loadable library and perl binaries are mismatched (got > handshake key 0xb60, needed 0xec0) This e

Re: Minor upgrade issue

2021-05-04 Thread Andrew Hewus Fresh
On Tue, May 04, 2021 at 10:19:14AM -0400, Steven Shockley wrote: > When following https://www.openbsd.org/faq/upgrade69.html, I noticed a minor > error when deleting the Perl files: > > : rm -f /usr/bin/podselect \ > > /usr/lib/libperl.so.20.0 \ > [...] > > /usr/share/man/man3p

Re: Conditions that can trigger a package upgrade?

2020-11-05 Thread Andrew Hewus Fresh
On Wed, Nov 04, 2020 at 01:12:23PM -0500, Jeremy O'Brien wrote: > On Wed, Nov 4, 2020, at 11:37, Chris Bennett wrote: > > Easy answer. System libraries that these packages were built with have > > changed. Package is the same except for being rebuilt with newer > > libraries. > > > > This demons

Re: UTF-8 problem with php-7.4

2020-09-24 Thread Andrew Hewus Fresh
On Thu, Sep 24, 2020 at 11:30:35AM +0200, Boudewijn Dijkstra wrote: > Op Thu, 24 Sep 2020 02:56:51 +0200 schreef Andrew Hewus Fresh > : > > On Wed, Sep 23, 2020 at 09:11:44AM +0200, Boudewijn Dijkstra wrote: > > > Op Thu, 10 Sep 2020 04:01:30 +0200 schreef Bambero : > >

Re: UTF-8 problem with php-7.4

2020-09-23 Thread Andrew Hewus Fresh
On Wed, Sep 23, 2020 at 09:11:44AM +0200, Boudewijn Dijkstra wrote: > Op Thu, 10 Sep 2020 04:01:30 +0200 schreef Bambero : > > Hi, > > > > It seems that perl regular expressions lost one polish letter (ą): > > https://www.compart.com/en/unicode/U+0105 > > > > I can see this problem only under Ope

Re: perl hex possible bug

2020-07-21 Thread Andrew Hewus Fresh
= 12.34e-56; # exponential notation $n = "-12.34e56"; # number specified as a string $n = "1234";# number specified as a string http://man.openbsd.org/perlnumber On Tue, Jul 21, 2020 at 05:24:34PM -0700, Andrew Hewus Fresh wrote: > On Tue, Jul

Re: perl hex possible bug

2020-07-21 Thread Andrew Hewus Fresh
On Tue, Jul 21, 2020 at 07:10:34PM -0500, Edgar Pettijohn wrote: > I was playing around with the hex function in perl. So naturally I > started with: > > perldoc -f hex > > Which showed me a few examples namely the following: > > print hex '0xAf'; # prints '175' > print hex 'aF'; #

Re: Why does OpenBSD still include Perl in its base installation?

2020-05-21 Thread Andrew Hewus Fresh
On Tue, May 19, 2020 at 10:19:23PM +0200, Dawid Czeluśniak wrote: > 3. Are there people among this community who think that > the base installation of OpenBSD should not include Perl > and Perl-dependent programs and utilities? I assume there are people in the community who think that OpenBSD shou

Re: loading DBD-Pg under base httpd, works but it's wrong way

2020-05-01 Thread Andrew Hewus Fresh
On Fri, May 01, 2020 at 01:11:12AM -0400, Chris Bennett wrote: > On Thu, Apr 30, 2020 at 08:16:05PM -0700, Andrew Hewus Fresh wrote: > > I'm assuming this is using slowcgi, is that correct? > > Yes > > > > > Depending on your use case, it might be easier to

Re: perl privilege drop

2019-07-25 Thread Andrew Hewus Fresh
On Thu, Jul 25, 2019 at 09:35:44AM -0600, Theo de Raadt wrote: > Andrew Hewus Fresh wrote: > > https://perldoc.perl.org/5.30.0/functions/chroot.html > > > NOTE: It is good security practice to do chdir("/") > > > (chdir to the root directory) immediately a

Re: perl privilege drop

2019-07-25 Thread Andrew Hewus Fresh
On Thu, Jul 25, 2019 at 07:16:27AM -0500, Edgar Pettijohn wrote: > > On Jul 24, 2019 9:06 PM, Andrew Hewus Fresh wrote: > > > > On Sat, Jul 20, 2019 at 07:20:23PM -0500, Edgar Pettijohn wrote: > > > Is there a standard OpenBSD approved method for dropping privil

Re: perl privilege drop

2019-07-24 Thread Andrew Hewus Fresh
On Sat, Jul 20, 2019 at 07:20:23PM -0500, Edgar Pettijohn wrote: > Is there a standard OpenBSD approved method for dropping privileges in > a perl server? Currently looking into Privileges::Drop, but since it > isn't in base makes me curious if there is a better way. It's relatively easy to do it

Re: why thread is not usable in perl5 of OpenBSD6.4?

2018-11-26 Thread Andrew Hewus Fresh
On Sun, Nov 25, 2018 at 09:32:33PM -0800, Philip Guenther wrote: > On Sun, Nov 25, 2018 at 1:57 AM 岡本健二 wrote: > > > I have to use thread on the perl5 of OpenBSD 6.4. > > However, it was disabled on the distribution. > > > > Hmm, is this something that worked in previous releases, or is somethin

Re: how to install perl modules w/ dependencies that mix packages & CPAN

2018-08-31 Thread Andrew Hewus Fresh
On Fri, Aug 31, 2018 at 10:08:48PM -0300, Alceu Rodrigues de Freitas Junior wrote: > Em 31/08/2018 21:52, Jonathan Thornburg escreveu: > > What's the "OpenBSD way" to install Perl modules which don't exist > > as packages? > I'm afraid that is no such thing. My best would to search something on

Re: How to search for "hostap" in man pages.

2018-06-16 Thread Andrew Hewus Fresh
On Sat, Jun 16, 2018 at 10:39:51PM +0200, Karel Gardas wrote: > > Hello, > > was looking for "hostap" or "Host AP" using man -k and apropos, but this > somehow does not return expected results: An apropos(1) term lets you specify searching different "Macro Keys", including the "any" key that ca

Re: Unexpected security(8) output

2018-01-26 Thread Andrew Hewus Fresh
On Fri, Jan 26, 2018 at 10:43:47AM -0700, Clint Pachl wrote: > I received the following output from security(8): > > Running security(8): > Can't > opendir(/home/pachl/.cache/mozilla/seamonkey/e8cxa4g0.default/safebrowsing-backup): > No such file or directory at /usr/libexec/security line 594.