Re: mountd

2024-01-09 Thread Marc Espie
On Tue, Jan 09, 2024 at 07:27:47AM +0100, Otto Moerbeek wrote: > resreved means that the port number is below 1024. The RPC system, > (which is used to implement NFS) iuses portmapper to determine which > service runs on which port. What problem are you trying to solve? I'm not a fan of that

Re: cumbersome mtree

2023-11-28 Thread Marc Espie
We used to use mtree for packages at well. At some point, it was simpler to just give up and roll our own format for the same thing. There are many many limitations to mtree

Re: Upgrading, release by release, from 6.8 to 7.4 -- my experience

2023-11-16 Thread Marc Espie
On Wed, Nov 15, 2023 at 03:12:09PM -0700, Austin Hook wrote: > One little glitch from all the process is that somehow I must have lost a > file or failed to delete a file that has something to do the default > character set files or pointers for xterm under "fvwm". A new xterm > starts

Re: __dead

2023-11-07 Thread Marc Espie
On Tue, Nov 07, 2023 at 03:08:18PM +, Lucretia wrote: > I've seen __dead a few places in the source code, does this mean it isn't > functional anymore, or maybe just deprecated? > It's the old non-standard representation for __attribute__(__noreturn__) in code, to stop the compiler whining

Re: mount softdep — does it improve the situation for unexpected shutdowns?

2023-11-05 Thread Marc Espie
Not quite sure how much has been discussed publically, but we don't currently have the manpower to handle lots of complicated parts, and it seems that softdep, in its current state, needs the hand of Kirk McKusick to work. So the current strategy has been to make the moving parts simpler

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Marc Espie
On Wed, Oct 18, 2023 at 09:38:32PM +0200, Theo Buehler wrote: > On Thu, Oct 19, 2023 at 01:39:00AM +0900, Yoshihiro Kawamata wrote: > > From: Marc Espie > > Subject: Re: ldd error with setuid/setgid binaries > > Date: Wed, 18 Oct 2023 18:04:45 +0200 > > > > &

Re: ldd error with setuid/setgid binaries

2023-10-18 Thread Marc Espie
On Wed, Oct 18, 2023 at 11:41:12PM +0900, Yoshihiro Kawamata wrote: > From: "Theo de Raadt" > Subject: Re: ldd error with setuid/setgid binaries > Date: Wed, 18 Oct 2023 06:35:51 -0600 > > > You don't explain why you need to do this. You just completely skipped > > that. > > You don't justify

Re: Understanding -current as 7.4 is released

2023-10-06 Thread Marc Espie
On Thu, Oct 05, 2023 at 12:45:56PM -0400, Ronald Dahlgren wrote: > Hello friends, > > I’ve been running -current for several months now. Recently I started using > “-D snap” when updating packages with pkg_add. > > I ask the list to help me understand what, if anything, I need to do with > my

Re: undocumented command switches -OR- fix documentation fully

2023-09-26 Thread Marc Espie
On Mon, Sep 25, 2023 at 09:05:40PM +0200, Rudolf Leitgeb wrote: > If you document a switch, you are basically required to keep that > functionality around forever. Given that the OpenBSD devs don't like > these --options all that much, I don't see that happening. Submitting > a patch won't change

Re: undocumented command switches -OR- fix documentation fully

2023-09-25 Thread Marc Espie
Don't rant that long. Sometimes, documentation and code get out-of-synch for a lot of reasons. - trying out stuff and documenting later. - plain forgetting to update the documentation. - having some stuff for a transition period, and then killing it. Your point that stuff that stays around,

Re: undocumented command switches -OR- fix documentation fully

2023-09-23 Thread Marc Espie
Apart from the obvious troll, I believe there is a point. >From time to time, I go to other projects and try to figure out how far we are from compatibility... Not documenting compat options means that somebody outside the project would have to guess at stuff, instead of just reading the manpage

Re: pkg_add -vV slow progression

2023-09-19 Thread Marc Espie
On Sun, Sep 17, 2023 at 09:17:58PM +0300, Mihai Popescu wrote: > Hello, > > Is there any recent major change in base packages or pkg_add? > I ask because the pkg_add -vV is slower than usual at each package, > most of the time spent in Extracting ... phase. > I use amd64 recent snapshot. I

Re: Update from 6.5 to 7.3

2023-09-08 Thread Marc Espie
On Fri, Sep 08, 2023 at 06:36:57PM +0200, Alessandro Baggi wrote: > > > Il 08/09/23 18:24, Peter N. M. Hansteen ha scritto: > > On Fri, Sep 08, 2023 at 10:01:45AM +0200, Alessandro Baggi wrote: > > > I've a problem. I need to upgrade OpenBSD from 6.5 to 7.3 on an APU2D. > > > This > > > is a

Re: Why does `pkg_info -m` show quirks?

2023-08-20 Thread Marc Espie
On Sat, Aug 19, 2023 at 07:21:58PM +0200, Ingo Schwarze wrote: > Hi, > > Stuart Henderson wrote on Fri, Aug 18, 2023 at 05:52:07PM -: > > On 2023-08-18, l...@ena.re wrote: > > >> Also, what is the reason the quirks package does not have a man page? > > Usually, there is no manual page

Re: error when pkg_add'ing

2023-07-02 Thread Marc Espie
On Tue, Jun 27, 2023 at 08:56:41PM +0100, li...@xza.fr wrote: > > Having A LOTS of problems in pkg_check usually means something in your > > process is REALLY BAD. > > > > As the guy who wrote (most of) pkg_add/pkg_check, I don't need pkg_check > > all that often. > > > Just wanted to say:

Re: error when pkg_add'ing

2023-06-25 Thread Marc Espie
On Sat, Jun 24, 2023 at 06:44:11PM +0200, Pau A.S. wrote: > thanks so much, Marcus; pkg_check helped to identify a LOT of corrupted > files, which I deleted; after that I ran pkg_add -vu and it looks that one > file survived: Having A LOTS of problems in pkg_check usually means something in your

ifconfig vs lladdr

2022-11-25 Thread Marc Espie
Maybe I'm stupid, but the way we proceeded with disks was with making euids integral part of mount(8). Why not do the same with lladdr and ifconfig (and lower parts) (possibly with an option, though 60a44ce81465 is rather recognizable as a MAC) ?

Re: xine's ffmpegaudio doesn't downmix, sio_getpar() reports 6 channels instead of 2

2022-10-03 Thread Marc Espie
On Mon, Oct 03, 2022 at 09:26:31AM +0200, Alexandre Ratchov wrote: > On Thu, Sep 22, 2022 at 04:31:58PM +, adr wrote: > > Hi, > > > > first of all, I've never contributed to the xine project, and > > I don't have any experience with sndio, so bear with me... > > > > Frustrated with the bad

Re: A minimal browser in base

2022-09-14 Thread Marc Espie
We used to have lynx in the base system. It was removed because of security concerns and no-one willing to audit/replace it. This is a fairly common pattern in OpenBSD. Considering the complexity of the web, I don't see this ending any differently with any other text browser.

Re: port builds with inline source

2022-07-05 Thread Marc Espie
On Wed, Jun 29, 2022 at 04:51:49PM -0700, Lyndon Nerenberg (VE7TFX/VE6BBM) wrote: > We have a number of in-house utilities that we push out as packages. > Right now these are built using the standard make framework, with > a bunch of hand-crafted glue to build and sign the packages before >

reminder: ports snapshots go with base snapshots

2022-06-04 Thread Marc Espie
If you don't update base first (as you should always do), recent package snapshots will break. Code to parse the hash after @option always-update was added on May 26. Package snapshots built after May 28 use that new syntax. You will notice fairly early, as quirks uses @option always-update

Re: broken Compress::Bzip2 module in OpenBSD 7.1

2022-05-31 Thread Marc Espie
On Mon, May 30, 2022 at 08:22:27PM -0300, Alceu Rodrigues de Freitas Junior wrote: > Hello folks, > > I think I might have found a bug with OpenBSD 7.1 (7.1 GENERIC.MP#465 amd64) > default perl, but first I would like to at least investigate a bit further. > > During a execution of a CPAN

Re: OpenBSD ftp and libtls: how to use session resumption with -S

2022-05-08 Thread Marc Espie
On Sun, May 08, 2022 at 10:42:52AM +0200, Hiltjo Posthuma wrote: > On Sat, May 07, 2022 at 10:13:40PM +0200, Marc Espie wrote: > > On Fri, May 06, 2022 at 08:13:42AM -, Stuart Henderson wrote: > > > On 2022-05-06, Theo Buehler wrote: > > > > While we could

Re: OpenBSD ftp and libtls: how to use session resumption with -S

2022-05-07 Thread Marc Espie
On Fri, May 06, 2022 at 08:13:42AM -, Stuart Henderson wrote: > On 2022-05-06, Theo Buehler wrote: > > While we could readily make libssl fall back to the legacy stack if > > SSL_OP_NO_TICKET is disabled, I don't think this optimization outweighs > > the overall benefit of TLSv1.3 - better

Re: Howto do "a detailed cleanup with the aid of the sysclean package"?

2022-05-06 Thread Marc Espie
Look, can we all just agree it is just a question of adding appropriate verbiage to the port/package, sticking a huge CAVEAT on the documentation leading to it, and go back to writing actual code ?

Re: Howto do "a detailed cleanup with the aid of the sysclean package"?

2022-05-04 Thread Marc Espie
On Wed, May 04, 2022 at 07:45:32AM -0400, Raul Miller wrote: > On Wed, May 4, 2022 at 4:15 AM Sebastien Marie wrote: > > The main problem I am seeing would be maintaining such lists, and it > > necessary > > means manual addition to add only "safe" files to remove (no libraries at > > least). >

Re: pkg-readmes missing for gnome and kde?

2022-05-02 Thread Marc Espie
On Sun, May 01, 2022 at 11:31:07PM +0300, Mihai Popescu wrote: > On Sun, May 1, 2022 at 11:17 PM Antoine Jacoutot > wrote: > > > > On Sun, May 01, 2022 at 11:06:15PM +0300, Mihai Popescu wrote: > > > On Sun, May 1, 2022 at 9:05 PM Antoine Jacoutot > > > wrote: > > > > > > > > On Sun,

Re: Font Path prompt in pkg_add

2022-04-29 Thread Marc Espie
On Thu, Apr 28, 2022 at 02:37:39PM -0500, Christopher Turkel wrote: > I'm on OpenBSD AMD64 7.1, fresh install > I noticed when adding fonts via pkg_add it no longer prints out "You may > wish to" after installation is finished. It's related to the evolution of X windows. Quite a few years

Re: OpenBSD and multitasking

2022-04-27 Thread Marc Espie
On Tue, Apr 26, 2022 at 01:40:46PM +0200, Stefan Hagen wrote: > Mihai Popescu wrote (2022-04-26 01:13 CEST): > > I use OpenBSD amd64 snapshots on the following dmesg hardware. > > The download rate on a browser was slow and I figured out with some > > memory mapped partition that disk transfer

Re: Auto layout for disk partitions - a new user's perspective

2022-04-19 Thread Marc Espie
For people who really want to tinker with the ports system, perhaps non intuitively, bulk(8) is the manpage that contains the most exhaustive set of information about how you might want to configure your system and the choices involved.

Re: [www] ports: delete note about $OpenBSD$

2022-04-07 Thread Marc Espie
On Thu, Apr 07, 2022 at 02:33:36PM +0300, Mikhail wrote: > This advice no longer needed. > > diff --git a/faq/ports/guide.html b/faq/ports/guide.html > index 9cfe0db80..ae3d1d79c 100644 > --- a/faq/ports/guide.html > +++ b/faq/ports/guide.html > @@ -1303,12 +1303,6 @@ OpenBSD is strongly

Re: chroot for go webserver with pledge and unveil

2022-03-16 Thread Marc Espie
On Tue, Mar 15, 2022 at 11:32:19PM +0100, i...@tutanota.com wrote: > Since Go has support for pledge and unveil, I was thinking about > "imitating" the setup for httpd. > > I basically need to run a Go webserver with access to MariaDB, > but would like to chroot the Go webserver. > > I was

Re: Please put vi in base

2022-03-14 Thread Marc Espie
On Sun, Mar 13, 2022 at 05:54:03PM -0700, Jacqueline Jolicoeur wrote: > Hi, > > On Mar 12 16:39, i...@tutanota.com wrote: > > I know I am not going to get any points for this, but I had to fix a broken > > OpenBSD box today that could not boot and I didn't have any network for a > > couple of

Re: What happened to www/art on CVSWeb? Why is it empty?

2022-02-10 Thread Marc Espie
On Thu, Feb 10, 2022 at 11:25:40AM -0500, Nick Holland wrote: > On 2/10/22 6:34 AM, Kacper Wilgus wrote: > > I tried to download some artwork from these pages: > > > > https://www.openbsd.org/art1.html > > https://www.openbsd.org/art2.html > > https://www.openbsd.org/art3.html > > > > But only

Re: pkg_add -u fails with "failed to open CA file '/etc/ssl/cert.pem': Permission denied"

2022-01-24 Thread Marc Espie
On Mon, Jan 24, 2022 at 10:21:33AM +0100, Harald Dunkel wrote: > I highly appreciate the carefulness, but the error message doesn't > indicate a user "_pkgfetch", nor is it mentioned on pkg_add(1). > Please reconsider my suggestion made on 2022-01-14: > Note that smtpd(8) doesn't mention all the

Re: pkg_add -u fails with "failed to open CA file '/etc/ssl/cert.pem': Permission denied"

2022-01-18 Thread Marc Espie
On Tue, Jan 18, 2022 at 04:37:00PM +0100, Harald Dunkel wrote: > On 2022-01-17 18:02:25, Marc Espie wrote: > > > > Lol. > > > > cert.pem only contains public certificates. Insisting on only root being > > able to read it means you are going to run code a

Re: pkg_add -u fails with "failed to open CA file '/etc/ssl/cert.pem': Permission denied"

2022-01-17 Thread Marc Espie
On 2022-01-14, Harald Dunkel wrote: > On 2022-01-14 10:42:56, Harald Dunkel wrote: >> >> Hi folks, >> >> trying to upgrade the installed packages I get >> >> # pkg_add -u >> https://cdn.openbsd.org/pub/OpenBSD/7.0/packages-stable/amd64/: TLS connect >> failure: failed to open CA file

Re: Install latest package without prompts on OpenBSD 7.0

2022-01-10 Thread Marc Espie
On Mon, Jan 10, 2022 at 10:54:22AM -0500, Ian Darwin wrote: > > > > I am working on OpenBSD 7.0, x86_64. I'm trying to script an install > > > > of developer tools I use, like GCC and Git. When I attempt to install > > > > GCC I am prompted: > > > > > > > > $ sudo pkg_add gcc g++ > > > >

Re: Install latest package without prompts on OpenBSD 7.0

2022-01-10 Thread Marc Espie
[forgot to Cc the list] On Mon, Jan 10, 2022 at 11:36:04AM +0100, Marc Espie wrote: > On Sun, Jan 09, 2022 at 10:03:01PM -0500, Jeffrey Walton wrote: > > Hi Everyone, > > > > I am working on OpenBSD 7.0, x86_64. I'm trying to script an install > > of developer tools I

Re: pkg_add issues

2022-01-03 Thread Marc Espie
On Mon, Jan 03, 2022 at 12:21:17PM -, Stuart Henderson wrote: > On 2022-01-02, Jon Fineman wrote: > > I am in New Jersey. Is there a way for me to tell what the cdn was > > pointing to to help find the slow/sick server? > > It's shown in HTTP response headers from cdn. Almost certainly > it

Re: Exit status of pkg_add

2021-10-21 Thread Marc Espie
On Tue, Oct 19, 2021 at 10:42:04AM +0900, Yuichiro NAITO wrote: > Following patch changes pkg_add to return a error code, > if a package name is wrong. > > diff --git a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm > b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm > index 7a968cbf05d..39bee874ff1 100644 > ---

Re: Keeping a personal ports branch

2021-10-15 Thread Marc Espie
On Fri, Oct 15, 2021 at 10:25:17AM -, Rubén Llorente wrote: > Hi there! > > I am wondering how does people around here keep local branches of the ports > tree for personal use. > > The reason I am asking is because I keep some patched ports which are suited > to solve my problems, but not

Re: pkg_add still reporting incorrect actions

2021-10-12 Thread Marc Espie
On Sun, Oct 10, 2021 at 09:29:24AM -, Stuart Henderson wrote: > On 2021-10-10, Otto Moerbeek wrote: > > On Sun, Oct 10, 2021 at 11:09:58AM +0300, Mihai Popescu wrote: > > > >> On Sat, Oct 9, 2021 at 11:55 PM Chris Bennett < > >> cpb_m...@bennettconstruction.us> wrote: > >> > >> > On Sat, Oct

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::

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: 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: 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: Cultural underground legende Seymour Cray and his legacy

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

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: 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: 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: 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: 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: 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-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: 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-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: __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: __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: 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: 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: 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: 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: 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: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: 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: 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: 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: 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: 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: 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: 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 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: 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: 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 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: 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: 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: 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: 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: 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: 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: "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: 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: 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: 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: 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: 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: 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: 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.

  1   2   3   4   5   6   7   8   9   10   >