Re: How can I remove sets installed by sysupgrade?

2019-09-17 Thread Marc Espie
On Tue, Sep 17, 2019 at 01:08:45PM +0200, Florian Obser wrote: > On Tue, Sep 17, 2019 at 09:43:20AM +0200, Marc Espie wrote: > > I'm a bit surprised nobody looked at instrumenting what sets are actually > > installed on a machine during install/manual upgrade and cloning that >

Re: How can I remove sets installed by sysupgrade?

2019-09-17 Thread Marc Espie
On Tue, Sep 17, 2019 at 01:48:19PM +0200, Paul de Weerd wrote: > On Tue, Sep 17, 2019 at 01:27:23PM +0200, Marc Espie wrote: > | > By having each set install a specific file in a well-known location. > | > Before sysupgrade I wrote my own script to upgrade machines, this uses >

Re: How can I remove sets installed by sysupgrade?

2019-09-17 Thread Marc Espie
On Tue, Sep 17, 2019 at 02:31:59PM -, Stuart Henderson wrote: > (To be clear, I think installing a restricted subset of the OS for > security reasons is pointless here, but can be really helpful when you > have to deal with limited space in partitions - and those just saying > "storage is

Re: Impossible to remove a broken package on 6.5.

2019-09-10 Thread Marc Espie
On Fri, Sep 06, 2019 at 10:55:32AM +0200, Angelo Rossi wrote: > # pkg_delete -v kicad > Can't locate object method "updateset_with_new" via package > "OpenBSD::PkgDelete::State" at /usr/libdata/perl5/OpenBSD/Dependencies.pm > line 309. Update your pkg tools to -current, nothing bad will happen to

Re: Impossible to remove a broken package on 6.5.

2019-09-10 Thread Marc Espie
On Fri, Sep 06, 2019 at 07:13:21AM -0700, Chris Cappuccio wrote: > Angelo Rossi [angelo.rossi.home...@gmail.com] wrote: > > > > # pkg_delete -v kicad > > Can't locate object method "updateset_with_new" via package > > "OpenBSD::PkgDelete::State" at /usr/libdata/perl5/OpenBSD/Dependencies.pm > >

Re: Host Header Redirection on openbsd.org

2019-08-05 Thread Marc Espie
On Mon, Aug 05, 2019 at 08:59:46AM -0400, Daniel Jakots wrote: > On Mon, 5 Aug 2019 05:38:46 -0700, Claus Assmann > wrote: > > > On Mon, Aug 05, 2019, Marc Espie wrote: > > > [[...]] the same useless mp4 video. > > > > Maybe it is/contains an (attempt of a

Re: Host Header Redirection on openbsd.org

2019-08-05 Thread Marc Espie
Well, the main issue I've seen so far is you flooding my mailboxen with lots of copies of the same useless mp4 video. What a douche.

Re: When will OpenBSD become a friendly place for bug reporters?

2019-07-09 Thread Marc Espie
On Tue, Jul 09, 2019 at 08:04:23PM +0300, Leonid Bobrov wrote: > > An all-arches package snapshot currently runs at 200GB and adding > > symbols across the board would add a lot to this. > > Stuart and Espie, have you ever heard of compression? WTF is wrong with you ? I haven't participated to

Re: TCP wrapper alternative?

2019-07-09 Thread Marc Espie
On Tue, Jul 09, 2019 at 11:03:36AM -0700, Thomas Smith wrote: > Hi, > > I'm considering an option to evaluate connecting IPs before they're evaluated > by `pf` in order to make some decisions about the "reputation" of a > connecting IP. Then if that reputation is low enough, some action could

Re: 4GB RAM too little for Firefox?

2019-07-10 Thread Marc Espie
On Wed, Jul 10, 2019 at 09:52:02AM +0200, ropers wrote: > I wouldn't say the file name information is "meaningless". On Linux, > if a program opened and then unlinked a file, but you still remember > the file name, > then you can still find the file by grepping for its former name, > because the

Re: 4GB RAM too little for Firefox?

2019-07-10 Thread Marc Espie
On Tue, Jul 09, 2019 at 11:16:24PM +0200, ropers wrote: > On 09/07/2019, Stuart Henderson wrote: > > The lsof port didn't display filenames. That information is not > > available on OpenBSD (and is not trustworthy on other OS either; > > files could have been moved/replaced since opening). > >

Re: Is there an easier way to browse ports?

2019-11-07 Thread Marc Espie
On Wed, Nov 06, 2019 at 04:44:48PM -0600, Adam Thompson wrote: > Also http://openports.se/ and http://ports.su/ . Don't use those, they don't know how the openbsd ports are named.

Re: Is there an easier way to browse ports?

2019-11-07 Thread Marc Espie
On Thu, Nov 07, 2019 at 08:03:54AM -0600, Adam Thompson wrote: > Oh, ok... Do you recall an example offhand? (I haven't noticed systemic > problems with either, but then I'm hardly a ports expert!) > Thanks, > -Adam About anything that's an heavy flavor/pseudo-flavors/multi-packages user.

Re: When will be created a great desktop experience for OpenBSD?

2019-10-28 Thread Marc Espie
On Fri, Oct 25, 2019 at 05:35:27PM +, flauenroth wrote: > Apparently not just theo is using fvwm after all. :) Considering all the people using it, it would be great if someone were to look at the enhancements of fvwm2 (wrong license, so not base) and backport some of these to our elderly

Re: When will be created a great desktop experience for OpenBSD?

2019-10-28 Thread Marc Espie
On Mon, Oct 28, 2019 at 08:10:16AM -0700, Chris Bennett wrote: > On Mon, Oct 28, 2019 at 09:38:20AM +0100, Marc Espie wrote: > > On Fri, Oct 25, 2019 at 05:35:27PM +, flauenroth wrote: > > > Apparently not just theo is using fvwm after all. :) > > > > Co

Re: Requesting vi tips

2019-10-20 Thread Marc Espie
On Fri, Oct 18, 2019 at 03:45:42PM +0100, cho...@jtan.com wrote: > Claudio Jeker writes: > > set wl=72 will limit the line lenght to around 72. Additionally you > > can use !fmt with movement chars to reformat sections. I use !{fmt > > or {!}fmt frequently to reformat the paragraph I'm in. > > I

Re: pkg_info -Q bug?

2019-11-19 Thread Marc Espie
On Tue, Nov 19, 2019 at 12:13:37PM +0200, Dumitru Moldovan wrote: > On Mon, Nov 18, 2019 at 11:15:05AM +0100, Antonio Bibiano wrote: > > Hello, > > I just wanted to add to this thread that I incurred in the same > > issue on a fresh 6.6 installation. > > I also tried with a different mirror in

Re: Installing OpenBSD -current snapshots

2019-11-28 Thread Marc Espie
On Wed, Nov 27, 2019 at 08:05:30PM -0600, Clay Daniels wrote: > I have successfully installed OpenBSD 6.6 release and would like to give > the Current Snapshots a try. I went to a mirror, and to: Just run sysupgrade -s Done.

Re: Contribute to base

2019-10-10 Thread Marc Espie
On Wed, Oct 09, 2019 at 08:49:56PM +0200, ports wrote: > Hello everybody, > > I've been a great fan of openbsd for a while and wanted to start out > contributing to openbsd's base. > > For that reason I wondered if there is a recommended way of getting to > know how the internals of openbsd

Re: What TERM fixes Emacs?

2020-02-26 Thread Marc Espie
On Mon, Feb 24, 2020 at 09:35:21PM -0800, Emilia wrote: > > > It is impossible to use Emacs on OpenBSD Terminal (no X). > > Look at this screenshots: > > On Linux / macOs -- this same version of Emacs and org-mode would > display this file with colors etc. As stuart said, pccon is the

Re: "not MAP_STACK" message in dmesg / system message buffer

2020-02-26 Thread Marc Espie
On Tue, Feb 25, 2020 at 08:30:11PM -0500, Andre Smagin wrote: > Hello. > > While prototyping something in C, I made a mistake with > pre-processor macros, which I narrowed down to this: > > int > main() > { > char *test[10][2097152] = { { 0 } }; > } > > Running it results in > $ ./a.out

Re: size of size_t (diff angle)

2020-02-26 Thread Marc Espie
On Tue, Feb 25, 2020 at 08:56:06AM +0100, zeurk...@volny.cz wrote: > Haai, > > The definition of size_t keeps biting me. > > Some background: in nnx, me's been using the equiv of caddr_t for > counts. This works well; yet, while writing against existing code that > uses size_t, an issue has

Re: size of size_t (diff angle)

2020-02-26 Thread Marc Espie
On Wed, Feb 26, 2020 at 11:01:56PM +0100, zeurk...@volny.cz wrote: > Haai, > > "Marc Espie" wrote: > > On Tue, Feb 25, 2020 at 08:56:06AM +0100, zeurk...@volny.cz wrote: > > > > You're looking at the wrong type. size_t is very good for what it does. > &g

Re: man to render pure text? (or a pipe in vi macros ?)

2020-03-04 Thread Marc Espie
On Mon, Mar 02, 2020 at 06:25:47PM +0100, Ingo Schwarze wrote: > Yikes. I had no idea what either of these are doing and had to > try them out. vi(1) contains so much bloat that is never really > needed and doesn't belong in a text editor at all. No, all of this does belong in a text editor. I

Re: man to render pure text? (or a pipe in vi macros ?)

2020-03-04 Thread Marc Espie
On Wed, Mar 04, 2020 at 03:42:47PM +0100, Marc Espie wrote: > On Mon, Mar 02, 2020 at 06:25:47PM +0100, Ingo Schwarze wrote: > > Yikes. I had no idea what either of these are doing and had to > > try them out. vi(1) contains so much bloat that is never really > > need

Re: texlive_texmf-full package broken on cdn.openbsd.org

2020-01-29 Thread Marc Espie
On Tue, Jan 28, 2020 at 05:05:51PM -0600, Manuel Solis wrote: > Hello Misc, > > Just to confirm that the package textlive_texmf-full is broken on > cdn.openbsd and cloudfare.cdn.openbsd > > Error: > doas pkg_add textlive_texmf-full > quirks-3.182 signed on 2020-01-25T17:59Z >

Re: Awaiting a diff [was: Re: File systems...]

2020-01-09 Thread Marc Espie
On Thu, Jan 09, 2020 at 09:07:38AM +1000, Stuart Longland wrote: > On 9/1/20 12:56 am, Ian Darwin wrote: > >> - If we could clean-room implement a BSD-licensed > >> EXT3/EXT4/BTRFS/XFS/JFS/whatever, following style(8), would there be > >> interest in supporting that in OpenBSD? > > > > And which

Re: Awaiting a diff [was: Re: File systems...]

2020-01-09 Thread Marc Espie
If you want a useful project related to filesystems, try the automounter. Yes, that ancient code. Look very closely. It has tendrils in NFSv2. And some people, most prominently Theo, use amd(8). Write an automounter that does not depend on NFSv2, and then, most probably we can kill NFSv2.

Re: SSIZE_MAX

2020-01-16 Thread Marc Espie
On Thu, Jan 16, 2020 at 09:35:38AM +, cho...@jtan.com wrote: > Raymond, David writes: > > I am confused about SSIZE_MAX and read(2)/write(2). The POSIX > > SSIZE_MAX is something like 2^15 -1. This seems to be a real > > limitation when writing to a TCP/IP socket, as I learned from > >

Re: Can't locate OpenBSD/Quirks.pm in @INC

2020-01-18 Thread Marc Espie
On Sat, Jan 18, 2020 at 01:41:20PM +0100, Antoine Jacoutot wrote: > On Fri, Jan 17, 2020 at 07:46:23PM -0700, myml...@gmx.com wrote: > > > > On 1/17/20 7:25 PM, Jordan Geoghegan wrote: > > > > > > > > > On 2020-01-17 18:10, myml...@gmx.com wrote: > > > > HI, > > > > > > > > > > > > I

Re: Can't locate OpenBSD/Quirks.pm in @INC

2020-01-19 Thread Marc Espie
On Sat, Jan 18, 2020 at 01:41:20PM +0100, Antoine Jacoutot wrote: > On Fri, Jan 17, 2020 at 07:46:23PM -0700, myml...@gmx.com wrote: > > > > On 1/17/20 7:25 PM, Jordan Geoghegan wrote: > > > > > > > > > On 2020-01-17 18:10, myml...@gmx.com wrote: > > > > HI, > > > > > > > > > > > > I

Re: Awaiting a diff [was: Re: File systems...]

2020-01-10 Thread Marc Espie
On Fri, Jan 10, 2020 at 11:28:07AM +0100, Stefan Sperling wrote: > On Fri, Jan 10, 2020 at 12:52:44PM +0300, Consus wrote: > > On 20:06 Thu 09 Jan, Marc Espie wrote: > > > It's been that way for ages. But no-one volunteered > > > to work on this. > > > > A

Re: perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2020-01-02 Thread Marc Espie
On Thu, Jan 02, 2020 at 04:22:08PM +0100, Marc Chantreux wrote: > hello, > > > > my %user = qw( > > > login mc > > > shell /bin/zsh > > > ); > > > print $user{login}; > > > my %user = ( login => 'mc', shell => 'bin/zsh'); > > is way more readable in that case, I

Re: perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2020-01-02 Thread Marc Espie
On Thu, Jan 02, 2020 at 12:40:51PM +0100, Marc Chantreux wrote: > the quoting system > > # qw( for a list of barewords ) > my %user = qw( > login mc > shell /bin/zsh > ); > print $user{login}; I wouldn't write it that way my %user = ( login => 'mc', shell =>

Re: perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2020-01-02 Thread Marc Espie
On Thu, Jan 02, 2020 at 02:40:25PM -0600, danieljb...@icloud.com wrote: > What if you want named parameters? (i.e. sending a hash as your > argument) > > sub m4 > { > my $self = shift; > my %args = @_; > > # and then optionally > my ($arg1, $arg2, $arg3) = @args{qw/arg1 arg2

Re: perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2020-01-02 Thread Marc Espie
On Thu, Jan 02, 2020 at 03:24:41PM -0500, Chris Bennett wrote: > mod_perl, from reading the mailing list, looks like it will die off > before long. Lack of developers and funding and interest given all the > newer replacements. Don't even think about using mod_perl these days. Fast-cgi is the

Re: perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2020-01-02 Thread Marc Espie
On Thu, Jan 02, 2020 at 07:49:28PM +0100, Marc Chantreux wrote: > On Thu, Jan 02, 2020 at 10:42:54AM -0600, danieljb...@icloud.com wrote: > > I don't understand why people say that perl's flexibility is a negative. > > because sometimes, flexibility permit some endless sterile debates about > the

Re: perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2020-01-02 Thread Marc Espie
On Thu, Jan 02, 2020 at 04:10:43PM -0500, Paul Wisehart wrote: > On Thu, Jan 02, 2020 at 09:12:42PM +0100, Marc Espie wrote: > > > > Here are my current guidelines for OpenBSD perl tools. > > > > Can you eleborate in greater detail? > Not really, just go read th

Re: perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2020-01-02 Thread Marc Espie
On Fri, Jan 03, 2020 at 09:43:21AM +1000, Stuart Longland wrote: > On 3/1/20 8:50 am, Marc Chantreux wrote: > >> Like this thread, or worse? > > * long doesn't mean endless > > * sharing points of view is never sterile (yours is inspired by other > > ones, right?) > > I would say it's been

Re: perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2020-01-02 Thread Marc Espie
On Thu, Jan 02, 2020 at 11:52:03PM +0100, Marc Chantreux wrote: > > You have something like 3 lines of perl to play with ;) > > is there a todo list somewhere ? More or less in my head, with lots of subprojects progressing at any given time. - I want to retire PackageLocator and have more

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Marc Espie
On Tue, Dec 31, 2019 at 06:57:02AM -0600, Daniel Boyd wrote: > As one of the few remaining people out there who considers perl to be their > favorite language—starting to wonder if it’s just me and Larry Wall at this > point—I’d like to say that perl should stay in base on its merits, all the >

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-31 Thread Marc Espie
On Tue, Dec 31, 2019 at 10:45:34PM +1000, Stuart Longland wrote: > On 31/12/19 3:54 pm, Marc Espie wrote: > > Contrary to what some people might think, the tools in question won't be > > easier to understand and manage if written in another language. > > I'm of the opin

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2019-12-30 Thread Marc Espie
Removing perl from base would be very painful. I don't fancy rewriting all the perl tools in something else (specifically, most of the ports and package infrastructure) lua would definitely NOT be appropriate for that. The only half valid candidate would be python. Contrary to what some people

Re: How to use proot?

2019-12-30 Thread Marc Espie
On Mon, Dec 30, 2019 at 01:11:51PM -0800, Xiyue Deng wrote: > (Adding misc@openbsd.org back to CC.) > > Marc Espie writes: > > > Just have your ports tree checked out under your mount point. > > Next time it will be much faster ;) > > Unfortunately my loongson box

Re: perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2020-01-01 Thread Marc Espie
On Tue, Dec 31, 2019 at 10:36:15PM +0100, Anders Andersson wrote: > Of course its age is showing in some areas but in my experience, those > things are actually still worked on, and have been fixed without major > incompatibilities (python3 anyone?). The only thing that's really missing in perl

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2020-01-01 Thread Marc Espie
On Tue, Dec 31, 2019 at 10:01:50PM -0500, Steve Litt wrote: > On Tue, 31 Dec 2019 15:57:47 -0600 > Eric Zylstra wrote: > > > Proposing such a huge project without the ability to do it? I may > > have been a little disrespectful, but not the first one in the > > thread. And my point wasn’t to

Re: perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2020-01-01 Thread Marc Espie
On Wed, Jan 01, 2020 at 03:43:38PM +0100, Marc Chantreux wrote: > hello, > > > The only thing that's really missing in perl is proper thread support. > > Don't know if that's going to happen. > > seems ... complicated ... Tell me about it. The only existing thread support was so clunky it got

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2020-01-01 Thread Marc Espie
On Wed, Jan 01, 2020 at 10:06:47AM +0100, Anders Andersson wrote: > On Wed, Jan 1, 2020 at 4:51 AM Stuart Longland > wrote: > > > Perl 6 will be a major change though, more disruptive than the Python2→3 > > mess was. So we may be in for some "fun" in the near future. > > Gotta stop this before

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2020-01-01 Thread Marc Espie
On Tue, Dec 31, 2019 at 09:06:38PM +0100, Christer Solskogen wrote: > On Tue, Dec 31, 2019 at 5:50 PM Marc Espie wrote: > > > We did retire vax, and we no longer have any platform without dynamic > > libraries. > > > > > OT but: out of sheer curiosity, why did

Re: Suggestion: Replace Perl with Lua in the OpenBSD Base System

2020-01-01 Thread Marc Espie
On Tue, Dec 31, 2019 at 11:56:46PM -0700, Bob Beck wrote: > read fucking code. change fucking things. send some fucking diffs. get > fucking yelled at. learn from your fucking mistakes. show some fucking > passion. filter fucking misc@ and all this useless bleating into the > toilet. > > none

Re: perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2020-01-01 Thread Marc Espie
On Wed, Jan 01, 2020 at 04:44:48PM +0100, Marc Chantreux wrote: > > I still thing DBIx::Class is overkill. The DB::Rose stuff was way simpler > > and I would have preferred for it to win. > > Well... i liked the simplicity until i had some cases like having 2 > different DBs with the same model:

Re: perl popularity inside openbsd community? (Re: Suggestion: Replace Perl ...)

2020-01-02 Thread Marc Espie
On Thu, Jan 02, 2020 at 07:34:22PM +1000, Stuart Longland wrote: > On 2/1/20 12:30 am, Marc Chantreux wrote: > > * the python community was unfair comparing the langages (using ugly > > perl code and nice python counterparts). instead of taking time to > > explain all the biases, perl

Re: Automated OS builds?

2020-01-05 Thread Marc Espie
On Sun, Jan 05, 2020 at 06:08:55PM +, Paul Suh wrote: > On Jan 5, 2020, at 12:43 PM, Morten Gade Liebach wrote: > > > > Read release(8), then write a script runs through the described process. > > I can do that, and will if I have to, but if someone has already done it or > has a base to

Re: But there is Fossil...

2020-01-06 Thread Marc Espie
On Mon, Jan 06, 2020 at 09:34:55PM +0100, Anders Andersson wrote: > One good thing with this trainwreck of a discussion is that it pointed > me to GoT. I've been looking for an alternative to CVS on my Amiga, > but git is too convoluted to even start trying to build on a > mostly-C89-semi-POSIX

Re: How to use proot?

2019-12-28 Thread Marc Espie
On Fri, Dec 27, 2019 at 06:35:34PM -0800, Xiyue Deng wrote: > Hi, > > I'm trying to set up a chroot for dpb using proot, but it looks like I'm > doing something wrong and nothing has been created in the chroot > directory. According to proot man page the following command should be > sufficient,

Re: why the c99 mandate?

2020-04-10 Thread Marc Espie
On Fri, Apr 10, 2020 at 11:55:00AM +, Mayuresh Kathe wrote: > i am not a c hotshot, so pardon my ignorance. > i read that all new code under openbsd has to be c99. > may i know what's so special about c99 over c89 which has been under heavy > use for so long? Like duh, ISO-C99 bis mostly

Re: List a package's dependencies

2020-04-20 Thread Marc Espie
On Mon, Apr 20, 2020 at 07:45:37PM +0100, Kevin Chadwick wrote: > > > There are some unavoidable complexities to the sheer size of the tree, > > and the necessities of updates not to fail... > > I have noticed recently that I occasionally get a gz truncated message (I > think > due to tcp

Re: List a package's dependencies

2020-04-20 Thread Marc Espie
On Sun, Apr 19, 2020 at 04:36:48PM +0200, Ingo Schwarze wrote: > All this is kind of typical for the pkg tools: one question typically > allows several different answers. There typically isn't one single, > canonical way of doing something. There typically isn't one unified > output format, but

Re: Keeping distfiles actual with port tree and cleaning old distfiles from storage automatically

2020-04-20 Thread Marc Espie
On Mon, Apr 20, 2020 at 09:45:41AM +, Martin wrote: > I'm looking for a way to keep distfiles up-to-date locally with auto remove > 'old' ones in sync with actual ports tree. dpb + clean-old-distfiles even if you don't build/fetch with dpb, dpb -DHISTORY_ONLY will do exactly what you want.

Re: List a package's dependencies

2020-04-20 Thread Marc Espie
On Mon, Apr 20, 2020 at 02:48:20PM +0100, Chris Rawnsley wrote: > Hi Marc, > > On Mon, 20 Apr 2020, at 14:05, Marc Espie wrote: > > Actually, not having recursive depends easily available on an installed > > package base is somewhat tedu-ish. > > > > Most s

Re: List a package's dependencies

2020-04-20 Thread Marc Espie
On Mon, Apr 20, 2020 at 02:48:20PM +0100, Chris Rawnsley wrote: > > BTW, any supplementary tool that does similar things directly in shell > > has exactly zero chance to be included in the distribution. > > Acknowledged. I put it out there for those that might find it useful > but was not

Re: Ports: how to install dependencies from binaries?

2020-04-09 Thread Marc Espie
On Tue, Apr 07, 2020 at 11:29:50PM -0400, Daniel Jakots wrote: > On Wed, 8 Apr 2020 13:12:54 +1000, Stuart Longland > wrote: > > > Silly question… how do you install the dependencies of a port from > > binaries automatically? > > https://man.openbsd.org/bsd.port.mk#FETCH_PACKAGES but it doesn't

Re: pkg_add can't resolve package - bad major

2020-05-04 Thread Marc Espie
On Sun, May 03, 2020 at 12:58:41PM -0400, Chris Bennett wrote: > I have had this exact same problem before > > pkg_info -q > packages_installed > pkg_delete gettext. > pkg_add gettext-runtime > pkg_add -u > pkg_add -zl packages_installed > Update your procedures, use pkg_info -z and not pkg_add

Re: Why isn't src included with OpenBSD? (documentation)

2020-05-18 Thread Marc Espie
On Mon, May 18, 2020 at 01:07:36PM -0400, Andras Farkas wrote: > I saw in fsck_ffs.8 > https://man.openbsd.org/fsck_ffs.8 > that the answers could be found in > Fsck_ffs - The UNIX File System Check Program > This is perfectly fine. Not every piece of information belongs in a > man page. Man

Re: Why isn't src included with OpenBSD? (documentation)

2020-05-19 Thread Marc Espie
On Mon, May 18, 2020 at 08:43:19PM +0100, Ottavio Caruso wrote: > Some of these documents have a proprietary licence attached to it and > I believe it's due to the 1994 AT settlement. There are third party > collections (like this: https://github.com/sergev/4.4BSD-Lite2) but > I'm not sure if one

Re: fw_update verify firmware?

2020-05-14 Thread Marc Espie
On Thu, May 14, 2020 at 04:25:11AM +, Mogens Jensen wrote: > I was just trying out the fw_update program on OpenBSD 6.5, deleting/ > installing all the firmware and was wondering if fw_update will verify > the files before installing? Others pointed out that firmwares are signed. For a while

Re: Start point to learn OpenBSD programming

2020-03-16 Thread Marc Espie
On Mon, Mar 16, 2020 at 10:00:31PM +0100, Ingo Schwarze wrote: > Hi Martijn, > > Martijn van Duren wrote on Mon, Mar 16, 2020 at 09:24:26PM +0100: > > On 3/16/20 9:22 AM, Ingo Schwarze wrote: > >> Martijn van Duren wrote on Mon, Mar 16, 2020 at 08:52:54AM +0100: > > >>> On 3/16/20 8:23 AM,

Re: OpenBSD sysupgrade rocks

2020-05-20 Thread Marc Espie
On Tue, May 19, 2020 at 07:06:05AM +, Frank Beuth wrote: > On Wed, May 20, 2020 at 02:07:27PM -0400, Chris Bennett wrote: > > Please don't beg for features. > > That's very irritating and wastes everyone's time. > > > > Please don't ask for features, once again. > > Really, I mean it. Don't

Re: Problem with pkg_add -uv after 6.7 upgrade on i386

2020-05-25 Thread Marc Espie
On Mon, May 25, 2020 at 01:01:07PM +0200, Paolo Aglialoro wrote: > Hello Folks, > > I just upgraded a PIII box freshly installed with 6.6 last month. > Everything went right with sysupgrade (big kudos do devs). > > Problems started when upgrading installed packages, here follows the output >

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

2020-05-25 Thread Marc Espie
Another thing to consider: why is perl in the base system. Assume you need a script language, because writing everything in C is cumbersome. What are the choices ? - you need something under and acceptable licence, so python is out. (Artistic Licence is "close enough"); - you need something that

Re: Article OpenBSD: Not Free Not Fuctional and Definetly Not Secure and BSD, the truth blog

2020-05-28 Thread Marc Espie
On Thu, May 28, 2020 at 01:16:59AM -0300, Quantum Robin wrote: > Hi, > > While surfing on the Google to learn more about OpenBSD, I encountered this > one: "OpenBSD: Not Free Not Fuctional and Definetly Not Secure ( > https://aboutthebsds.wordpress.com/2013/01/25/20/) > > Is the author telling

Re: Article OpenBSD: Not Free Not Fuctional and Definetly Not Secure and BSD, the truth blog

2020-05-28 Thread Marc Espie
On Thu, May 28, 2020 at 07:58:45PM +, Kevin Chadwick wrote: > On 2020-05-28 18:38, Amarendra Godbole wrote: > > It indeed is written by someone lacking knowledge about everything. It > > is funny, and gave me a good laugh - the comments are even funnier! > > Be aware that the author deletes

Re: Article OpenBSD: Not Free Not Fuctional and Definetly Not Secure and BSD, the truth blog

2020-05-28 Thread Marc Espie
On Thu, May 28, 2020 at 01:15:36PM -0700, Amarendra Godbole wrote: > Aha! So my hunch was right -- I thought that'd be the case seeing the > comments under your name that were totally out of character from your > posts here. > > -ag > > On Thu, May 28, 2020 at 12:08 PM Kevin Chadwick wrote: > >

Re: Forgetting pkg_add -u after sysupgrade can cause ansible msyscall errors

2020-05-31 Thread Marc Espie
On Sun, May 31, 2020 at 08:19:18PM +0200, Jurjen Oskam wrote: > Hi, > > For the sake of the archives and future search engine users, I'll share what > can happen when you use sysupgrade to upgrade your OpenBSD host but then > forget to run update your installed packages. (Yep, silly mistake, I

Re: Using ports and updates to the release

2020-10-28 Thread Marc Espie
On Sun, Oct 11, 2020 at 09:12:13PM +0200, Ingo Schwarze wrote: > Hi Ed, > > Ed Gray wrote on Sun, Oct 11, 2020 at 07:21:32PM +0100: > > > I'm still fairly new to openbsd and the idea of using ports > > in general rather than binary packages. > > You are usually better off using packages than

Re: strlcpy version speed tests?

2020-07-01 Thread Marc Espie
On Wed, Jul 01, 2020 at 07:05:02AM -0500, Luke Small wrote: > Are you clinging to traditions for some purpose? I gave two different > versions. strlcpy3 is clearly more easily understood and even slightly > faster and strlcpy4 which sets up the following workhorse lines which > through timing the

Re: New tool to (quickly) check for available package upgrades

2020-06-17 Thread Marc Espie
On Wed, Jun 17, 2020 at 08:28:02AM -0400, Jeremy O'Brien wrote: > On Tue, Jun 16, 2020, at 21:02, Marc Espie wrote: > > > > The concept you need to understand is snapshot shearing. > > > > A full package snapshot is large enough that it's hard to guarantee that > &

Re: New tool to (quickly) check for available package upgrades

2020-06-17 Thread Marc Espie
On Wed, Jun 17, 2020 at 09:44:32AM -0400, Jeremy O'Brien wrote: > On Wed, Jun 17, 2020, at 08:47, Marc Espie wrote: > > On Wed, Jun 17, 2020 at 08:28:02AM -0400, Jeremy O'Brien wrote: > > > On Tue, Jun 16, 2020, at 21:02, Marc Espie wrote: > > > > > > &g

Re: How do I get the man page for a package I haven't installed yet?

2020-06-26 Thread Marc Espie
On Tue, Jun 23, 2020 at 12:20:35PM -0600, Theo de Raadt wrote: > Ottavio Caruso wrote: > > > Hi, > > > > Unless I've got it all wrong, will only > > display man pages for programs and commands in base. Is there a way to > > display the man page for a package/port I

Re: New tool to (quickly) check for available package upgrades

2020-06-18 Thread Marc Espie
On Wed, Jun 17, 2020 at 09:12:08PM -, Stuart Henderson wrote: > On 2020-06-17, Marc Espie wrote: > > The only way you end up with broken installations is when porters don't do > > their jobs, that is they fail to bump a shared library or something like > > that. >

Re: New tool to (quickly) check for available package upgrades

2020-06-18 Thread Marc Espie
On Wed, Jun 17, 2020 at 09:12:08PM -, Stuart Henderson wrote: > This is already a problem when pkg_add fetches the directory listing > (though a smaller one because the filenames don't change as often). > > Firstly the contents of the mirror can change during the pkg_add run > so the listing

Re: New tool to (quickly) check for available package upgrades

2020-06-16 Thread Marc Espie
On Tue, Jun 16, 2020 at 04:59:07PM -0400, Jeremy O'Brien wrote: > Hey misc@, > > I wrote a quick little tool here: > https://github.com/neutralinsomniac/obsdpkgup in Go to show available package > upgrades from your configured mirror. > > It takes no more than a few seconds (the time it takes

Re: writing aucat output

2020-06-05 Thread Marc Espie
On Fri, Jun 05, 2020 at 12:06:54PM +0200, Peter J. Philipp wrote: > Hi, > > I'm wondering how I can write to stdout on aucat? Here is what I have: > > beta$ /usr/bin/aucat -r 44100 -h wav -i ewhist2.wav -o - | hexdump -C > stdout: failed to seek back to header > beta$ /usr/bin/aucat -r 44100 -h

Re: writing aucat output

2020-06-05 Thread Marc Espie
On Fri, Jun 05, 2020 at 01:02:18PM +0200, Peter J. Philipp wrote: > On Fri, Jun 05, 2020 at 12:50:53PM +0200, Marc Espie wrote: > > On Fri, Jun 05, 2020 at 12:06:54PM +0200, Peter J. Philipp wrote: > > > Hi, > > > > > > I'm wondering how I can write to s

Re: __printflike macro on OpenBSD

2020-06-11 Thread Marc Espie
On Thu, Jun 11, 2020 at 04:37:34AM +, sensiblehue wrote: > Hello, > I was wondering why OpenBSD doesn't have a `__printflike' macro in > ? FreeBSD, NetBSD, and DragonflyBSD have it and it's also > available from libbsd on Linux. > Personally I think it's cleaner and just as portable if not

Re: __printflike macro on OpenBSD

2020-06-11 Thread Marc Espie
On Thu, Jun 11, 2020 at 06:22:55PM +, sensiblehue wrote: > On Thu, Jun 11, 2020 at 03:08:01PM +0200, Marc Espie wrote: > > On Thu, Jun 11, 2020 at 04:37:34AM +, sensiblehue wrote: > > > Hello, > > > I was wondering why OpenBSD doesn't have a `__printflike' macro

Re: pkg_add version scripting ?

2020-11-01 Thread Marc Espie
On Sun, Nov 01, 2020 at 12:59:22PM +, Laura Smith wrote: > > > I did actually try "pkg_add gnupg%2" but pkg_add didn't like that. Will go > try "pkg_add gnupg%gnupg2" instead The branches are directly picked from the pkgpath in the ports tree. It's the one case where they have an

Re: pkg_add version scripting ?

2020-11-01 Thread Marc Espie
On Sun, Nov 01, 2020 at 12:23:44PM +, Laura Smith wrote: > Hi > > As far as I can tell from the docs, only pkg_info supports spec style ? > > I am trying to script an OpenBSD setup and as part of that certain packages > need to be installed. For most packages that is not a problem, however,

Re: Who is responsible for ports.su? (admittedly a non-canon resource)

2021-06-15 Thread Marc Espie
I think that his approach is doomed to fail. There are a lot of tricky parts to flavors and multipackages and normalization. If you don't use the actual ports/packages framework code, you have to figure it out all over again by yourself. and there are lots of gremlins. The official code is

Re: Packages/libraries in disarray after sysupgrade

2021-05-14 Thread Marc Espie
On Thu, May 13, 2021 at 10:47:11PM +, tetrahe...@danwin1210.me wrote: > After upgrading 6.8->6.9 (stable, not current) using sysupgrade, I am > finding it not possible to install packages via pkg_add > > When I try to install something, I get a series of errors like " dependency library

Re: Can't compile php from ports

2021-05-08 Thread Marc Espie
On Fri, May 07, 2021 at 11:08:00PM +, Mik J wrote: > Hello, > Does anyone knows why compiling php from ports systematically fails ? It's > been since openbsd 6.8 that it acts this way Why do you ask this on misc@ instead of ports@ ? Second, it actually works for all of us... so it must be

Re: Why 16 year old zlib 1.2.3 in OpenBSD 6.9 released May 2021 please?

2021-07-06 Thread Marc Espie
On Thu, Jun 24, 2021 at 02:56:16PM -0600, Theo de Raadt wrote: > > I think the easiest path here is to incorporate the new upstream into a > > port, unless someone is familiar with zlib and can cherrypick out the > > commit(s) that resolve the issue. (I didn't find zlib in ports already.) > >

Re: Cultural underground legende Seymour Cray and his legacy

2021-04-22 Thread Marc Espie
Is this a new UMF experiment ?

Re: Fwd: rethinking terminal login with security in mind

2021-05-05 Thread Marc Espie
On Wed, May 05, 2021 at 01:44:24AM +0200, Alessandro Pistocchi wrote: > Sorry, my keyboard went crazy and the message was sent incomplete. > > Continuing: normally the entry of username is immediately followed by the > password entry. > However, if the OS is busy for any reason between the two

Re: Documentation on OpenBSD's 3-process privsep model?

2021-03-30 Thread Marc Espie
to skeleton examples at > > github.com/krwesterback/newd and github.com/krwesterback/newdctl, but > > those repos are now dead and it's unclear how authoritative they were > > in the first place. > > > > > > Blind leading the blind here, but I think a good sta

Re: GCC only on OpenBSD adds -L/usr/lib as prefix, why? Re: OpenBSD: Failing to link custom libpng to custom libz, any thoughts how fix?

2021-03-03 Thread Marc Espie
On Wed, Mar 03, 2021 at 06:10:22PM +, Bob wrote: > Does that -L/usr/lib really need to be in the leading position??? I have zero idea how to do that purely in specs. Have fun tinkering. This is probably something we'll adopt but low priority. > * Where is GCC's default specs file say

Re: OpenBSD: Failing to link custom libpng to custom libz, any thoughts how fix?

2021-02-24 Thread Marc Espie
On Wed, Feb 24, 2021 at 02:17:14PM -, Stuart Henderson wrote: > On 2021-02-23, Bob wrote: > > Hi, > > > > I am trying to make a custom build of libpng in my home directory, > > using a libz build that I made in my home directory also. > > > > Both are latest version, libpng 1.6.37 same as

Re: GCC only on OpenBSD adds -L/usr/lib as prefix, why? Re: OpenBSD: Failing to link custom libpng to custom libz, any thoughts how fix?

2021-03-03 Thread Marc Espie
Do you have some actual reason to use gcc for that project instead of clang ?... as far as -L goes you've got a lot of choices, between linking directly to the .so, linking with --nostdlib and putting back the pieces manually. it's been a long time since I've last looked at gcc, we've moved

Re: Why is tmpfs not working on OpenBSD?

2021-09-13 Thread Marc Espie
On Wed, Sep 08, 2021 at 09:54:52AM -0700, Chris Bennett wrote: > On Mon, Sep 06, 2021 at 12:44:59AM +, iio7 wrote: > > > > Why isn't it removed? It is kinda "misguiding". > > > > > > Shucks, you must feel terrible about our decision. > > > > Well, compared to the fact that you, back in 2016,

Re: Why is tmpfs not working on OpenBSD?

2021-09-06 Thread Marc Espie
On Sun, Sep 05, 2021 at 10:12:33PM +, iio7 wrote: > > On 2021-09-05, iio7 < > i...@protonmail.com > > wrote: > >> # mount -t tmpfs tmpfs /home/foo/tmp/ > >> mount_tmpfs: tmpfs on /home/foo/tmp: Operation not supported > > > It isn't built into the standard kernels, disabled with this commit::

<    4   5   6   7   8   9   10   >