Re: VLC

2021-05-27 Thread Jeffrey Walton
On Thu, May 27, 2021 at 8:44 PM Todd Gruhn wrote: > > I been using VLC to listen to music recently. > I tried to watch a DVD -- and it refuses to work. > > Is it better to invoke VLC 2 different ways : > One way for music > Another way for video > > Then I can stick them in an mwm menu an

Re: Python 3.x fails build on Solaris 10

2021-05-25 Thread Jeffrey Walton
On Tue, May 25, 2021 at 5:06 PM John H wrote: > > Setting up pkgsrc-2021Q1 on Solaris 10 x86 for an experiment. Going quite > well so far, but still using an old gcc version (3.4.3) to build a newer one > within the pkgsrc ecosystem, however, seems I need Python > first. whenever I attempt to bu

Re: Is it possible to force an application to use newer OpenSSL from pkgsrc?

2021-03-29 Thread Jeffrey Walton
On Mon, Mar 29, 2021 at 3:02 PM Jason Mitchell wrote: > > > This loads the newer SSL libs. before the normal shared libs. are > > tried. The runtime linker will then be able to satisfy program function > > dependencies using the preloaded libraries. > > > > I still prefer the "building stunnel fro

Re: Is it possible to force an application to use newer OpenSSL from pkgsrc?

2021-03-28 Thread Jeffrey Walton
On Mon, Mar 29, 2021 at 12:11 AM Jason Mitchell wrote: > > Sorry for top posting, but the app is compiled against libcrypyo.so.14 > (openssl 1.1.1g) whereas I want it to use libcrypto.so.1.1 (OpenSSL 1.1.1i) OpenSSL 1.1.x are all binary compatible. You can swap them in and out. For example, you

Re: Strange ssh hangups, netbsd-9 GENERIC

2021-03-18 Thread Jeffrey Walton
On Thu, Mar 18, 2021 at 2:49 PM Louis Guillaume wrote: > > On 3/18/21 12:37 PM, RVP wrote: > > On Thu, 18 Mar 2021, Louis Guillaume wrote: > > > >> Ok - i did something similar with "nc" and text files in /var/log. It > >> is able to connect and transfer up to and no more that 6144 bytes > >> befo

Re: Strange ssh hangups, netbsd-9 GENERIC

2021-03-12 Thread Jeffrey Walton
On Fri, Mar 12, 2021 at 7:55 AM Louis Guillaume wrote: > ... > > > > Are you sure that this is not a server-side bug? What server software > > is it? > > OpenSSH_8.0 NetBSD_Secure_Shell-20190418-hpn13v14-lpk, OpenSSL 1.1.1g > 21 Apr 2020 OpenSSH 8.0 is a bit old. It was released about 3 years ag

Re: Running VLC

2021-03-08 Thread Jeffrey Walton
On Mon, Mar 8, 2021 at 9:08 AM Todd Gruhn wrote: > > I just played with it some more > > I can play a music-CD. > I still cannot view a movie of DVD... VLC needs libdvdcss on other operating systems like Ubuntu. libdvdcss performs decryption of protected media. I'm not sure if it applies to NetB

Re: Unicode to ASCII

2021-02-20 Thread Jeffrey Walton
On Sat, Feb 20, 2021 at 2:59 PM Silas wrote: > > On Fri, Feb 19, 2021 at 08:08:25PM -0700, Bob Proulx wrote: > >I'll be honest and say I did not look but on another system I am using > >"iconv" for this type of thing routinely. I will cross my fingers and > >hope it is available in pkgsrc. > > >

Re: [9.1 AMD64 gcc] How to distinguish between AMD64 and I386 from C code?

2021-01-27 Thread Jeffrey Walton
On Wed, Jan 27, 2021 at 8:13 AM Martin Husemann wrote: > > On Wed, Jan 27, 2021 at 04:07:09PM +0300, Lord Vader wrote: > > Hi! > > > > On different linuxes with gcc 8.x and 9.x there is __WORDSIZE, that is > > either 32 or 64 depending on the architecture. > > The classic test is #ifdef _LP64 > >

Re: firefox52 core dump on RPI2 NetBSD9.1

2020-11-28 Thread Jeffrey Walton
On Sat, Nov 28, 2020 at 3:15 AM wrote: > > On Sat, Nov 28, 2020 at 08:41:50AM +0100, Martin Husemann wrote: > > On Fri, Nov 27, 2020 at 11:29:13PM -0500, Jeffrey Walton wrote: > > > > Concerning the core dumps, there is another thing to look at: > > > > _FORTIF

Re: firefox52 core dump on RPI2 NetBSD9.1

2020-11-27 Thread Jeffrey Walton
On Fri, Nov 27, 2020 at 6:47 AM wrote: > ... > Concerning the core dumps, there is another thing to look at: > _FORTIFY_SOURCE. There are checks about the use of strings functions > that can cause an abort even if the actual use is probably, with > a classic C implementation, safe---I hit it with

Re: sponsor NetBSD for 2020 https://github.com/sponsors/NetBSD

2020-11-10 Thread Jeffrey Walton
On Tue, Nov 10, 2020 at 11:53 AM Jason Thorpe wrote: > > > On Nov 10, 2020, at 6:18 AM, Jeffrey Walton wrote: > > > > NetBSD should consider Amazon, too. They have a program for donations > > to nonprofits. Amazon is a big marketplace with lots of users. The > >

Re: sponsor NetBSD for 2020 https://github.com/sponsors/NetBSD

2020-11-10 Thread Jeffrey Walton
On Tue, Nov 10, 2020 at 8:33 AM matthew sporleder wrote: > > Indeed -- casting a wide net is in our interest. I hope you are able > to use one of our many potential donation offerings -- paypal, stripe, > amazon smile, github sponsorship.. any I am missing? Multiple channels is a good thing. If

Re: Booting CDs in Qemu

2020-08-07 Thread Jeffrey Walton
On Fri, Aug 7, 2020 at 7:54 AM Robert Nestor wrote: > > OK, I tried doing this with just the rEFInd CD and it still didn’t boot - > just get a blank screen. Since you did this by copying the rEFInd files over > to a bootable NetBSD CD (or did you copy them to an installed NetBSD disk?) > the

Re: Getting undefined reference to ___tls_get_addr when building packages on netbsd-5.2/i386

2020-08-02 Thread Jeffrey Walton
On Sun, Aug 2, 2020 at 9:29 PM Brian Buhrow wrote: > > hello. I've noticed that for some packages in the pkgsrc tree, I'm > getting build errors that look like: > > ./.libs/libgdbm.so: undefined reference to `___tls_get_addr' https://duckduckgo.com/?q=undefined+symbol+"__tls_get_addr";

Re: does anyone have a working mozilla firefox-74.0 on 9.0 amd64?

2020-07-03 Thread Jeffrey Walton
On Fri, Jul 3, 2020 at 11:22 PM Mayuresh wrote: > > On Fri, Jul 03, 2020 at 02:41:41PM -0400, Jeffrey Walton wrote: > > +1. Not to mention how insecure it is. I don't mind GMail for low > > value stuff like personal emails. But corporations have no business > >

Re: does anyone have a working mozilla firefox-74.0 on 9.0 amd64?

2020-07-03 Thread Jeffrey Walton
On Fri, Jul 3, 2020 at 9:32 AM Ottavio Caruso wrote: > > On Fri, 3 Jul 2020 at 13:15, Sad Clouds wrote: > > > The current trend of moving native desktop applications to cloud and > > web browsers, simply frustrates and infuriates me. Yes you could build > > a house out of Weetabix, but that doesn

Re: does anyone have a working mozilla firefox-74.0 on 9.0 amd64?

2020-07-03 Thread Jeffrey Walton
On Fri, Jul 3, 2020 at 8:16 AM Sad Clouds wrote: > > On Fri, 3 Jul 2020 10:17:03 +0100 > Mike Pumford wrote: > > > There are many people that hate the fact that this level of > > development in a browser is possible but the is no denying its > > usefulness as its a cross system platform for writi

Re: cvs better than git?

2020-06-20 Thread Jeffrey Walton
On Sat, Jun 20, 2020 at 2:09 PM Gua Chung Lim wrote: > > * Riccardo Mottola wrote: > > Mercurial? no go: python, please not. Just for this reason, maybe it would > > be perfect if written in equivalent C/C++! And please, don't cite me > > "rust"... even worse. Core things should be written with c

Re: Checking out src with Mercurial

2020-06-19 Thread Jeffrey Walton
On Fri, Jun 19, 2020 at 12:19 PM Greg Troxel wrote: > > Sad Clouds writes: > > >> The idea of having to build rust to get a "less resource demanding > >> implementation" would be great comedy if it weren't such a serious > >> problem. > > > > The Mercurial developers have an opinion that it is ve

Re: cvs better than git?

2020-06-17 Thread Jeffrey Walton
On Wed, Jun 17, 2020 at 3:56 PM Michael Cheponis wrote: > > Where I work, we are forced into using git. So, I've made peace using it. > Yes, it sucks. Yes, it's glitter on ...something. But there it is. And I > personally use gitless, and find it's a clear model that works. > ... > > If som

Re: Securing DNS traffic

2020-05-23 Thread Jeffrey Walton
On Sat, May 23, 2020 at 3:08 AM Sad Clouds wrote: >... > > > What I'm not sure about is this - unbound(8) has "root-hints" that > > > points to root DNS servers and it will handle recursive queries, > > > but it can also specify "forward-zone" where it can forward to > > > Cloudflare or Google rec

Re: Securing DNS traffic

2020-05-22 Thread Jeffrey Walton
On Fri, May 22, 2020 at 5:38 PM Sad Clouds wrote: > > ... > What I'm not sure about is this - unbound(8) has "root-hints" that > points to root DNS servers and it will handle recursive queries, but it > can also specify "forward-zone" where it can forward to Cloudflare or > Google recursive DNS se

Re: HP ProLiant server running NetBSD 9 setup suggestions?

2020-05-20 Thread Jeffrey Walton
On Wed, May 20, 2020 at 3:21 PM Chris Hanson wrote: > > On May 20, 2020, at 1:08 AM, Jeffrey Walton wrote: > > > > On Wed, May 20, 2020 at 12:49 AM Chris Hanson > > wrote: > >> > >> And, perhaps most importantly, is there anything I should install, >

Re: HP ProLiant server running NetBSD 9 setup suggestions?

2020-05-20 Thread Jeffrey Walton
On Wed, May 20, 2020 at 12:49 AM Chris Hanson wrote: > > And, perhaps most importantly, is there anything I should install, configure, > or tune to keep the fans nice and quiet? Booting the NetBSD 9.0 installer > from a USB key, the system was plenty quiet, but I know those fans can move a > lo

Re: Perlman

2020-05-10 Thread Jeffrey Walton
On Sun, May 10, 2020 at 4:25 PM Todd Gruhn wrote: > > I have a book titled " Advanced Perl Programming" from O'Reilly. > Its dated 1997 (first ed.). Oreilly used to have the complete code for > an application > called "perlman", which is mentioned in the book. I cant find the > code anywhere. > >

Re: library cleanup after a system upgrade

2020-05-06 Thread Jeffrey Walton
> suppose you upgrade netbsd with a major release. > What happens to the "old libraries" ? I think they are left in so > binaries continue to run. > Just the new ones are symlinked to current. Running symlinks(8) on /usr and lib/ can cleanup the dangling symlinks. Fedora includes it in their dnf-s

Re: DNSSEC vs netbsd-8/sparc?

2020-05-05 Thread Jeffrey Walton
On Tue, May 5, 2020 at 2:26 PM Havard Eidnes wrote: > > > I must admit I'm scratching my head about this one. > > No more! And I stil have hair! > > Looking at the diff between ISC's lib/isc/sha2.c and ours reveals > that our source has code to overcome alignment issues, but in the > conversion o

Re: Testing a password

2020-04-29 Thread Jeffrey Walton
On Wed, Apr 29, 2020 at 6:27 PM Todd Gruhn wrote: > > I found the master password file. The passwords that were set (root, > cvs, my account) > all start with $sha$ -- so the passwords are encrypted using SHA? > > If I write a PERL program that checks passwords (cant use crypt), how would I > do

Re: DNSSEC vs netbsd-8/sparc?

2020-04-21 Thread Jeffrey Walton
On Tue, Apr 21, 2020 at 10:56 AM Havard Eidnes wrote: > > > Does anybody think that the bind bits in netbsd-8 are ok, even before we > > talk about compilation? > > I'm about halfway through the diff between what's in-tree in > netbsd-8 and what's in ISC BIND 9.10.5-P1, and all I find so far > are

Re: Problem cloning at GitHub using HTTPS

2020-03-27 Thread Jeffrey Walton
On Fri, Mar 27, 2020 at 9:53 AM Greg Troxel wrote: > > Jeffrey Walton writes: > > > How can I configure pkg_add to do all the extra work? Users should not > > have to do this stuff manually. The man page does not discuss these > > extra steps. > > Not sure what m

Re: Dell Mini 1012 network issues

2020-03-27 Thread Jeffrey Walton
On Fri, Mar 27, 2020 at 8:27 AM Go Canes wrote: > > I'm trying to get NetBSD running on a Dell Mini 1012. I know Linux > seems to have issues with this hardware, so was hoping NetBSD might do > better. I can install and it boots, but I haven't been able to get > the network working. > > Issues:

Re: Problem cloning at GitHub using HTTPS

2020-03-27 Thread Jeffrey Walton
On Fri, Mar 27, 2020 at 4:52 AM Travis Paul wrote: > > > > > On Mar 27, 2020, at 4:48 PM, Jeffrey Walton wrote: > > > > On Fri, Mar 27, 2020 at 4:46 AM Travis Paul wrote: > >> > >> > >>> On Mar 27, 2020, at 4:41 PM, Jeffrey Walton

Re: Problem cloning at GitHub using HTTPS

2020-03-27 Thread Jeffrey Walton
On Fri, Mar 27, 2020 at 4:46 AM Travis Paul wrote: > > > > On Mar 27, 2020, at 4:41 PM, Jeffrey Walton wrote: > > > > It seems like things should "just work" since the CA Zoo is installed. > > Hi Jeff, > > Just to confirm, as it isn’t 100% clear fr

Problem cloning at GitHub using HTTPS

2020-03-27 Thread Jeffrey Walton
Hi Everyone, I just installed NetBSD 9.0 i386. 32-bit platforms are nice for regression testing. Attempting to clone: netbsd8-x86$ git clone https://github.com/weidai11/cryptopp Cloning into 'cryptopp'... fatal: unable to access 'https://github.com/weidai11/cryptopp/': SSL certificate problem: un

Re: default search path for shared libraries

2020-03-26 Thread Jeffrey Walton
On Mon, Mar 23, 2020 at 5:41 AM Martin Husemann wrote: > > On Mon, Mar 23, 2020 at 01:41:52AM -0400, Jeffrey Walton wrote: > > > > Under LD_LIBRARY_PATH, the man page says: > > > > A colon separated list of directories, overriding the > > defa

default search path for shared libraries

2020-03-22 Thread Jeffrey Walton
Hi everyone, I'm reading https://netbsd.gw.com/cgi-bin/man-cgi?ld.elf_so+1+NetBSD-current. I'm trying to understand why a test suite is failing due to missing shared objects. Under LD_LIBRARY_PATH, the man page says: A colon separated list of directories, overriding the default search pa

NetBSD iconv ebcdic failures?

2020-03-21 Thread Jeffrey Walton
Hi Everyone, I was testing libxml2 on NetBSD 8.1. libxml2 was failing about a 8 or 10 self tests. All appear to be related to ebcdic. Also see https://mail.gnome.org/archives/xml/2020-March/msg4.html. I think we isolated the problem to the NetBSD's iconv(3) library. When I built libxml2 again

ORIGIN-based runpaths?

2020-03-21 Thread Jeffrey Walton
Hi Everyone, I'm reading the ELF FAQ at https://www.netbsd.org/docs/elf.html. I prefer to use -Wl,-R,'$ORIGIN/../lib' to help support DESTDIR staging. It also makes it easy to find libraries since they are relative to the binary. Does NetBSD support ORIGIN-based rpaths and runpaths? Thanks in ad

Re: Hundreds of crypto file descriptors for Apache httpd

2020-03-12 Thread Jeffrey Walton
On Tue, Mar 10, 2020 at 6:57 AM Frank Wille wrote: > > Michael van Elst wrote: > > >> frank%phoenix.owl.de@localhost (Frank Wille) writes: > >> [...] > >> Were do they come from? Is that some kind of leak? What can I do (besides > >> restarting Apache or the whole server)? > > > > Something is usi

Re: Shared object "libintl.so.9" not found (but its there)

2020-03-11 Thread Jeffrey Walton
On Wed, Mar 11, 2020 at 8:52 PM wrote: > > On Wed, 11 Mar 2020, Jeffrey Walton wrote: > > > $ ldd /usr/pkg/bin/git > > /usr/pkg/bin/git: > > -lpcre2-8.0 => /usr/pkg/lib/libpcre2-8.so.0 > > -lpthread.1 => /usr/lib/libpthread.so.1 > > -lc.12

Re: Shared object "libintl.so.9" not found (but its there)

2020-03-11 Thread Jeffrey Walton
On Wed, Mar 11, 2020 at 8:25 PM Greg Troxel wrote: > > Jeffrey Walton writes: > > > I'm having trouble with paths on NetBSD 8.1. While trying to init a > > submodule: > > > > netbsd8$ cd ~/ldns/ > > netbsd8$ git submodule --init > > Shared

Re: error: field 'ev_timeout' has incomplete type

2020-03-11 Thread Jeffrey Walton
On Wed, Mar 11, 2020 at 4:23 AM Michael van Elst wrote: > > noloa...@gmail.com (Jeffrey Walton) writes: > > >libtool: compile: gcc -I. -I/usr/pkg/include -I/usr/local/include > >-DSRCDIR=. -g > > -O2 -flto -pthread -c ./util/mini_event.c -fPIC -DPIC -o .libs/mini_

Shared object "libintl.so.9" not found (but its there)

2020-03-11 Thread Jeffrey Walton
Hi Everyone, I'm having trouble with paths on NetBSD 8.1. While trying to init a submodule: netbsd8$ cd ~/ldns/ netbsd8$ git submodule --init Shared object "libintl.so.9" not found Shared object "libintl.so.9" not found Shared object "libintl.so.9" not found Shared object "libintl.so.9" not found

error: field 'ev_timeout' has incomplete type

2020-03-11 Thread Jeffrey Walton
Hi Everyone, I'm building Unbound (https://github.com/NLnetLabs/unbound) from sources on NetBSD 8.1. I'm catching a compile error: libtool: compile: gcc -I. -I/usr/pkg/include -I/usr/local/include -DSRCDIR=. -g -O2 -flto -pthread -c ./util/mini_event.c -fPIC -DPIC -o .libs/mini_event.o In file

Re: OpenSSL 1.1.1 missing shared objects

2020-02-06 Thread Jeffrey Walton
On Thu, Feb 6, 2020 at 6:17 AM Martin Husemann wrote: > > On Thu, Feb 06, 2020 at 06:01:43AM -0500, Jeffrey Walton wrote: > > $ objdump -x /usr/local/bin/openssl | grep -E 'RPATH|RUNPATH' > > RUNPATH $ORIGIN/../lib:/usr/local/lib > >

OpenSSL 1.1.1 missing shared objects

2020-02-06 Thread Jeffrey Walton
Hi Everyone, I've read https://www.netbsd.org/docs/elf.html and I am having trouble understanding some results. I built and installed OpenSSL 1.1.d in prefix=/usr/local. LDFLAGS="-Wl,-R,$$ORIGIN/../lib -Wl,-R,/usr/local/lib -Wl,--enable-new-dtags". Here is the problem: $ /usr/local/bin/open

Re: Trouble accessing USB modems on NetBSD 8.1 x86_64

2019-11-25 Thread Jeffrey Walton
On Mon, Nov 25, 2019 at 12:43 AM MJ wrote: > > On 25/11/2019 1:42 pm, Jeffrey Walton wrote: > > Hi Everyone, > > > > I am trying to test some software on NetBSD 8.1 x86_64 (fully > > patched). The software tests fine on Debian, Fedora, OS X, and > > OpenBSD. Th

Re: Trouble accessing USB modems on NetBSD 8.1 x86_64

2019-11-25 Thread Jeffrey Walton
On Sun, Nov 24, 2019 at 11:52 PM Michael van Elst wrote: > > noloa...@gmail.com (Jeffrey Walton) writes: > > >umodem0 at uhub1 port 1 configuration 2 interface 0 > >umodem0: U.S.Robotics (0xbaf) USB Modem (0x303), rev 2.00/2.00, addr > >2, iclass 2/2 > >umodem0: d

Trouble accessing USB modems on NetBSD 8.1 x86_64

2019-11-24 Thread Jeffrey Walton
Hi Everyone, I am trying to test some software on NetBSD 8.1 x86_64 (fully patched). The software tests fine on Debian, Fedora, OS X, and OpenBSD. The software opens a modem, sends some AT commands, and reads some responses. There's not much to it. I added my user account to both wheel and dialer