Finding dependents

2022-12-23 Thread Gerben Wierda via macports-users
Ik keep struggling when I try to find out dependencies once in a while. Suppose I have this installed: postfix @3.7.2_0+dovecot_sasl+pcre+smtputf8+tls (active) How do I find out the port dependencies with the port command such that port tells me my postfix depends on port:pcre? Gerben

Re: Building mupdf (macOS Monterey, clean ports installation) fails

2022-12-06 Thread Gerben Wierda via macports-users
prise Architecture <https://ea.rna.nl/the-book/> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> > On 6 Dec 2022, at 13:03, Gerben Wierda via macports-users > wrote: > > I tried to install my standard set of ports after running > > sudo port -f un

Building mupdf (macOS Monterey, clean ports installation) fails

2022-12-06 Thread Gerben Wierda via macports-users
I tried to install my standard set of ports after running sudo port -f uninstall installed sudo port -N reclaim So, a clean slate. But it failed for mupdf: :info:build mkdir -p build/shared-release/generated/resources/fonts/noto/ ; /usr/bin/clang -ffunction-sections -fdata-sections -pipe -O2

Running open source 'unix' services via MacPorts on macOS is no longer feasible for me

2022-11-29 Thread Gerben Wierda via macports-users
Over the last years, it has become harder and harder to run Unix services on my Macs. I'm using MacPorts for these since the demise of macOS Server and they include a mail server (dcc, apache-solr8, clamav-server, rspamd, dovecot, postfix) a name server (nsd, unbound) a web server (nginx, minio)

Re: Problem with rsync.macports.org mirror?

2022-07-31 Thread Gerben Wierda via macports-users
.nl/> (main site) >> Book: Chess and the Art of Enterprise Architecture >> <https://ea.rna.nl/the-book/> >> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> >> >> >/On 31 Jul 2022, at 11:58, Chris Jones > ><https://lists.macports

Re: Problem with rsync.macports.org mirror?

2022-07-31 Thread Gerben Wierda via macports-users
f Enterprise Architecture <https://ea.rna.nl/the-book/> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> > On 31 Jul 2022, at 11:58, Chris Jones wrote: > > > >> On 31 Jul 2022, at 9:05 am, Gerben Wierda via macports-users >> wrote: >>

Has anyone been using Monterey 12.5 yet?

2022-07-31 Thread Gerben Wierda via macports-users
Has anyone been using Monterey 12.5 yet? Gerben Wierda (LinkedIn ) R IT Strategy (main site) Book: Chess and the Art of Enterprise Architecture Book: Mastering ArchiMate

Problem with rsync.macports.org mirror?

2022-07-31 Thread Gerben Wierda via macports-users
gerben@hermione macports-ports % sudo port -v selfupdate ---> Updating MacPorts base sources using rsync Willkommen auf dem RSYNC-server auf ftp.fau.de. Nicht all unsere Mirror sind per rsync verfuegbar. Welcome to the RSYNC daemon on ftp.fau.de. Not all of our mirrors are available through

Re: macOS 12.3 and /usr/bin/python. Status?

2022-05-21 Thread Gerben Wierda via macports-users
You might be able to create a different action using mupdf (for which there is a port) Gerben Wierda (LinkedIn ) R IT Strategy (main site) Book: Chess and the Art of Enterprise Architecture Book:

Re: macOS 12.3 and /usr/bin/python. Status?

2022-04-17 Thread Gerben Wierda via macports-users
> On 17 Apr 2022, at 16:47, Ryan Schmidt wrote: > > > > On Apr 17, 2022, at 09:45, Christian Calderon wrote: > >>> You would not be able to make a symbolic link at /usr/bin/python because >>> /usr/bin is a protected directory. >> >> TIL. Is that something I could work around by disabling

Re: macOS 12.3 and /usr/bin/python. Status?

2022-04-17 Thread Gerben Wierda via macports-users
> On 17 Apr 2022, at 16:13, Ryan Schmidt wrote: >> Doing the (normally unnecessary) migrations run at least will catch the >> dependencies during build. > > Only for ports you actually build, not for ports for which you receive a > binary archive. Agreed. But then, the install from my view

Re: macOS 12.3 and /usr/bin/python. Status?

2022-04-17 Thread Gerben Wierda via macports-users
> On 17 Apr 2022, at 15:22, Ryan Schmidt wrote: > >> I’m about to take the plunge and move one of my systems to macOS 12.3 (which >> removes /usr/bin/python). I am going to consider that a MacPorts major >> migration (so following the migration instructions). > > If you are upgrading from

12.3 Xcode problem?

2022-04-16 Thread Gerben Wierda via macports-users
I was busy doing the first tests for macOS 12.3 and ran into this one: % xcrun -sdk macosx –show-sdk-path 2022-04-16 18:49:47.763 xcodebuild[85239:384046] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension

Re: macOS 12.3 and /usr/bin/python. Status?

2022-04-16 Thread Gerben Wierda via macports-users
f Enterprise Architecture <https://ea.rna.nl/the-book/> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> > On 16 Apr 2022, at 18:02, Clemens Lang wrote: > > Hi, > > On Sat, Apr 16, 2022 at 03:16:21PM +0200, Gerben Wierda via macports-users > wrote: &g

macOS 12.3 and /usr/bin/python. Status?

2022-04-16 Thread Gerben Wierda via macports-users
I’m about to take the plunge and move one of my systems to macOS 12.3 (which removes /usr/bin/python). I am going to consider that a MacPorts major migration (so following the migration instructions). I haven’t seen any traffic on this issue. Does that mean hardly anyone is on 12.3? Is anyone

Re: code signing and the future of MacPorts

2022-03-11 Thread Gerben Wierda via macports-users
Additionally, I was thinking that the binary downloads of ports might be codesigned. That would prevent people from all having to buy a certificate themselves (and self-signed is not really an option, these are generally ignored, maybe not if you mark them as trusted). You can of course also

code signing and the future of MacPorts

2022-03-11 Thread Gerben Wierda via macports-users
I’ve recently moved from macOS Mojave with MacPorts to macOS Monterey with MacPorts I’ve had serious trouble with the application level firewall (alf/socketfilterfw). I now suspect that one reason is that Apple is getting stricter and stricter about only allowing binaries that have been code

Re: Running a mail server via MacPorts on macOS Monterey

2022-03-07 Thread Gerben Wierda via macports-users
>> clamav >> dovecot >> libmilter >> unbound +libevent >> certbot >> >> Installing / building from source: >> opendkim >> opendmarc >> policyd-spf >> postfwd >> postwhite >>

Re: Running a mail server via MacPorts on macOS Monterey

2022-03-05 Thread Gerben Wierda via macports-users
IT Strategy <https://ea.rna.nl/> (main site) Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> > On 5 Mar 2022, at 14:56, Ralph Seichter via macports-users > wrote: >

Running a mail server via MacPorts on macOS Monterey

2022-03-03 Thread Gerben Wierda via macports-users
Apart from Steven Smith, are there other users here that run a mail server setup via MacPorts? And is already someone else running on Monterey? I am and I’d like to link up to compare the situations, issues, etc. Gerben Wierda (LinkedIn ) R IT Strategy

Re: Is this git handling of a problem on my macports-ports fork OK?

2022-02-22 Thread Gerben Wierda via macports-users
Should there not be a fetch somewhere? > > As to whether you local git repo is ok: > > - Check "git status" does not show anything modified (or not checked in) > - Once you see everything is checked in, "git diff upstream/master" will show > diffs betwe

Re: Understaning rleaves, rdepof

2022-02-20 Thread Gerben Wierda via macports-users
> On 20 Feb 2022, at 19:01, Joshua Root wrote: > > Gerben Wierda wrote: > >> So, how would you go about finding the ports on which what is actually >> installed depends? >> >> E.g.: if I have dovecot+solr8 installed, how would I find out which ports >> dovecot truly depends on on my system?

Re: Is this git handling of a problem on my macports-ports fork OK?

2022-02-20 Thread Gerben Wierda via macports-users
I’m certainly not pushing to my master, if I create changes I use branches. I do a pull request from such a branch (rebased with an updated master from upstream) It’s just that when I don’t have any work outstanding, I have a set of commands that creates a hard reset from upstream which is

How do people use ManageSieve on macOS

2022-02-19 Thread Gerben Wierda via macports-users
I have a dovecot & dovecot-sieve running under MacPorts on my macOS ’server’. I do a very low tech maintenance on sieve, by using the cli on the server and edit sieve by hand for myself. I’d like to open this up to other users. How do people use this from their macOS clients? For this, the

Re: Understaning rleaves, rdepof

2022-02-19 Thread Gerben Wierda via macports-users
Interesting. So, how would you go about finding the ports on which what is actually installed depends? E.g.: if I have dovecot+solr8 installed, how would I find out which ports dovecot truly depends on on my system? Gerben Wierda (LinkedIn ) R IT

Is this git handling of a problem on my macports-ports fork OK?

2022-02-19 Thread Gerben Wierda via macports-users
I have my own fork of macports-ports in case I want to do maintenance. Getting a clean local clone for me means: # First, do an update of macports base only (does not update the ports tree): sudo port selfupdate --no-sync # Updating the master of my fork from the master of the original: git

Re: Understaning rleaves, rdepof

2022-01-29 Thread Gerben Wierda via macports-users
port name. Same for > depends, depof, rdepof, and others; see the port man page for details. > >> On Jan 29, 2022, at 07:20, Gerben Wierda via macports-users >> > <mailto:macports-users@lists.macports.org>> wrote: >> >>> On 29 Jan 2022, at 11:45,

Re: Warning: The macOS 12 SDK does not appear to be installed. Ports may not build correctly.

2022-01-29 Thread Gerben Wierda via macports-users
That was it. Thank you. Gerben > On 29 Jan 2022, at 14:37, Richard L. Hamilton wrote: > > Have you tried https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt > <https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt> > > >> On Jan 29, 2022, at 07:

Warning: The macOS 12 SDK does not appear to be installed. Ports may not build correctly.

2022-01-29 Thread Gerben Wierda via macports-users
On a freshly updated macOS Monterey (Xcode updated, xcode-select install has run (but reported it was already installed) I get warnings that the macOS 12 SDK has not been installed on some ports, e.g.: ---> Computing dependencies for tiff ---> Fetching archive for tiff ---> Attempting to

Re: Understaning rleaves, rdepof

2022-01-29 Thread Gerben Wierda via macports-users
> On 29 Jan 2022, at 11:45, Gerben Wierda via macports-users > <mailto:macports-users@lists.macports.org>> wrote: > > I was cleaning up MacPorts on one system prior to an OS upgrade, and I noticed > > root@hermione LaunchDaemons # port list rleaves > root

Understaning rleaves, rdepof

2022-01-29 Thread Gerben Wierda via macports-users
I was cleaning up MacPorts on one system prior to an OS upgrade, and I noticed root@hermione LaunchDaemons # port list rleaves root@hermione LaunchDaemons # port list rdepof xorg-libX11 xorg-libX11@1.7.2 x11/xorg-libX11 Now, as I understand it rleaves are the

Re: Use of java (specifically on older macOS)

2022-01-03 Thread Gerben Wierda via macports-users
I’m getting back to this because (a) I’m still confused and (b) I had a local disaster which kept me form getting back to it > On 13 Dec 2021, at 04:02, Steven Smith wrote: > > Java figures out which version to use from JAVA_HOME or > /Library/Java/JavaVirtualMachines. Are you sure that’s not

Re: Any ports use log4j 2?

2021-12-14 Thread Gerben Wierda via macports-users
cture <https://ea.rna.nl/the-book/> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> > On 14 Dec 2021, at 15:36, Gerben Wierda via macports-users > wrote: > > It is super scary. > > Apache solr8 is vulnerable. There is no 0.8.11 yet. Mitigation

Re: Any ports use log4j 2?

2021-12-14 Thread Gerben Wierda via macports-users
It is super scary. Apache solr8 is vulnerable. There is no 0.8.11 yet. Mitigation required: • (Linux/MacOS) Edit your solr.in.sh file to include: SOLR_OPTS="$SOLR_OPTS -Dlog4j2.formatMsgNoLookups=true" Gerben Wierda (LinkedIn ) R IT Strategy

Use of java (specifically on older macOS)

2021-12-12 Thread Gerben Wierda via macports-users
While looking at my systems because of the log4j security issues I noticed the following: I am running solr8 as part of my MacPorts mail server setup and it shows up like this: $ ps laxww|grep java 504 50615 50613 0 20 0 7594340 1316684 - S ?? 97:31.56 /usr/bin/java -server

New ticket: mono will not compile on macOS Monterey on M1 hardware

2021-11-25 Thread Gerben Wierda via macports-users
Ticket #64059 Mono fails to compile: :info:build CC libmonoutils_la-lock-free-alloc.lo :info:build mono-context.c:422:24: error: no member named '__r' in 'struct __darwin_arm_thread_state64' :info:build memcpy (>regs, _REG_R0 (my_uc),

M1/Monterey questions

2021-11-25 Thread Gerben Wierda via macports-users
I’ve just received a new Mac and it is the first one with M1 hardware. And of course it comes with macOS 12. So, as sort of a first step, I downloaded the MacPorts Monterey package. When I ran that, macOS wanted to install rosetta, which I did. The installer launched. The installer tells me to

libsdl2 port question

2021-11-14 Thread Gerben Wierda via macports-users
I was just curious: why does the libsdl2 port which is at version 2.0.16 install 2.0.0 libraries? How does that happen? Just learning. Gerben Wierda (LinkedIn ) R Enterprise Architecture (main site) Book: Chess and the Art of

Re: port cannot fetch because of expired cert, but cert is OK according to Safari, curl (question related to Mojave / Catalina)

2021-11-14 Thread Gerben Wierda via macports-users
I contacted NLNet Labs, they updated their certs which made NSD fetch on Mojave work again for me. Somewhere during my tests accidentally OpenSSL was activated on my machine (a destroot on nsd 4.3.8 maybe?), which killed all the installed ports that were dependent on an opensll 1.1.1 dylib

Re: port cannot fetch because of expired cert, but cert is OK according to Safari, curl (question related to Mojave / Catalina)

2021-11-07 Thread Gerben Wierda via macports-users
The reason is libcurl in Mojave which is less permissive than High Sierra. Sent from my iPhone > On 7 Nov 2021, at 03:08, Kastus Shchuka wrote: > > Something does not add up here. > > High Sierra is older than Mojave, right? I can fetch sources of nsd on High > Sierra without any problems:

port cannot fetch because of expired cert, but cert is OK according to Safari, curl (question related to Mojave / Catalina)

2021-11-06 Thread Gerben Wierda via macports-users
I was looking at updating nsd (for which I am maintaining and it is high time) But fetching failed on macOS Mojave (where I have my MacPorts setup). :debug:fetch Executing org.macports.fetch (nsd) :info:fetch ---> nsd-4.3.8.tar.gz does not exist in /opt/local/var/macports/distfiles/nsd

Re: provide latest OS root certificates via port?

2021-11-06 Thread Gerben Wierda via macports-users
> On 29 Oct 2021, at 17:09, Bill Cole > wrote: > > Yes: Anyone running Mojave or earlier is not exactly skydiving without a > parachute, but is doing something close. Perhaps it's akin to skydiving with > a homemade parachute… To be fair: given that Apple does not announce life cycle for

Contributing to macports using your own git fork in combination with using 'port self update'

2021-10-23 Thread Gerben Wierda via macports-users
I have a local clone of a fork of GitHub/macports/macports-ports. This clone is used as repo by my port command. I have a fork so I can contribute. When I want to update macports itself, the command is ‘port self update’. But ‘port selfupdate’ also uses rsync to update my ports tree and that

Re: Why does git branch -a

2021-10-23 Thread Gerben Wierda via macports-users
i/> > On 23 Oct 2021, at 12:13, Henning Hraban Ramm wrote: > > Hi Gerben! > >> Am 23.10.2021 um 11:58 schrieb Gerben Wierda via macports-users >> : >> >> # remotes: >> # upstream: github/macports/macports-ports is the original macports.org >&g

Why does git branch -a

2021-10-23 Thread Gerben Wierda via macports-users
Hello fellow macports users, As I sometimes try to support stuff myself on macports (very little time for it, so only now and then and that means I tend to forget stuff…) I have created instructions for myself to get me back up to speed when it is time again to try to do some stuff with

Re: How do i find missing dependents using the port command?

2021-09-28 Thread Gerben Wierda via macports-users
> On 28 Sep 2021, at 17:48, Bill Cole > wrote: > > On 2021-09-28 at 10:27:12 UTC-0400 (Tue, 28 Sep 2021 16:27:12 +0200) > Gerben Wierda via macports-users > is rumored to have said: > >> [snip] >> >> What is the way to find this out using a port

How do i find missing dependents using the port command?

2021-09-28 Thread Gerben Wierda via macports-users
A while back I have done a lot of cleanup, using looking at dependents, reinstalling stuff so it no longer depends on, say, older versions of python, etc. Now, recently I’ve started reaching certbot/letsencrypt warnings that my certificates are about to expire. I used to have a fully automatic

Re: code::blocks and X11 via MacPorts: is this as it is supposed to be?

2021-09-14 Thread Gerben Wierda via macports-users
ate a directory for a project (so probably a rights issue) (I’m testing this for someone else who has little technical skills) G > > On Sun, Sep 12, 2021 at 4:33 PM Gerben Wierda via macports-users > wrote: >> >> port was already installed and login-logout &g

Re: code::blocks and X11 via MacPorts: is this as it is supposed to be?

2021-09-12 Thread Gerben Wierda via macports-users
in again > >> On 12 Sep 2021, at 11:17 am, Gerben Wierda via macports-users >> wrote: >> >> I’ve been trying out code::blocks and X11 installed via MacPorts and I’m >> under the impression something is missing. >> >> I installed using >> >&

code::blocks and X11 via MacPorts: is this as it is supposed to be?

2021-09-12 Thread Gerben Wierda via macports-users
I’ve been trying out code::blocks and X11 installed via MacPorts and I’m under the impression something is missing. I installed using sudo port install org sudo port install codeblocks Logging out and in again made sure the correct environment variables are set. When I then open codeblocks,

Re: Conflicty between MacPorts and Anaconda

2021-09-01 Thread Gerben Wierda via macports-users
What happened was that I used bash, and my env was set in .profile, including my PATH setting for MacPorts. What Anaconda did was create a .bash_profile and the existence of that file prevents .profile to be read. Hence MacPorts commands are not available anymore in the shell. conda did a lot

Re: Conflicty between MacPorts and Anaconda

2021-08-31 Thread Gerben Wierda via macports-users
Yes, Anaconda overwrote the PATh settings by creating a .bash_profile file (and editing several others). The way it does this happens deep in some python scripts (e.g. changing shell prompts happen as well). The thing is invasive. I have removed it from my system. Gerben Wierda (LinkedIn

Conflicty between MacPorts and Anaconda

2021-08-30 Thread Gerben Wierda via macports-users
I had to install Anaconda (Python environment) to collaborate with someone. I installed, but it adapted my shell environment in such a way that I’ve lost MacPorts (and LMTX ConTeXt). Does anybody have experience with the combination of Anaconda and MacPorts and what the correct way is to use

dovecot needs an update to 2.3.15 (security)

2021-07-11 Thread Gerben Wierda via macports-users
There is a reasonably serious problem with dovecot security: https://threatpost.com/email-bug-message-snooping-credential-theft/167125/ which has been made public since June 21. It does require a man-in-the-middle

Re: Is MacPorts considered stable on Big Sur?

2021-06-02 Thread Gerben Wierda via macports-users
Art of Enterprise Architecture <https://ea.rna.nl/the-book/> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> > On 3 Jun 2021, at 00:40, Gerben Wierda via macports-users > wrote: > > My production ‘server’ system still runs Mojave. I was planning t

Is MacPorts considered stable on Big Sur?

2021-06-02 Thread Gerben Wierda via macports-users
My production ‘server’ system still runs Mojave. I was planning to move to Catalina somewhere the coming months. But I might move to BigSur instead. What would stop me is if ports I need won’t work properly on Big Sur. When Big Sur was new, I recall that some core changes affected MacPorts and

Re: Reclaim was not 'safe'

2021-05-11 Thread Gerben Wierda via macports-users
> On 11 May 2021, at 01:11, Ryan Schmidt wrote: > > > > On May 9, 2021, at 17:07, Gerben Wierda wrote: > >> I relied on the fact that man page/help of reclaim said it would not remove >> active installs. So, having read that, I assumed it was unable to damage the >> running setup and I

Re: Reclaim was not 'safe'

2021-05-09 Thread Gerben Wierda via macports-users
active unrequested installs. But the help/man does not say so. G Sent from my iPhone > On 9 May 2021, at 21:26, Daniel J. Luke wrote: > > On May 9, 2021, at 12:20 PM, Gerben Wierda via macports-users > wrote: >> Anyway, the hard lesson was: reclaim is not ’safe’. I

Reclaim was not 'safe'

2021-05-09 Thread Gerben Wierda via macports-users
Naively assuming the logic of ‘port reclaim’ would be safe I ran this on my production installation of nameserver/webserver/mailserver The result was catastrophic. After removing stuff it told me it needed to rebuild dovecot and after that most of my setup was gone. rspamd had been removed,

Re: How can I make unbound's accepting of incoming network connections in application firewall in Catalina 'stick'?

2021-03-14 Thread Gerben Wierda via macports-users
/ApplicationFirewall/socketfilterfw -h > > Port- and packet-based filtering is handled by pfctl, and that’s a lot more > flexible than the macOS application firewall. > >> On Mar 14, 2021, at 20:55, Gerben Wierda via macports-users >> wrote: >> >> I am runnin

Re: How can I make unbound's accepting of incoming network connections in application firewall in Catalina 'stick'?

2021-03-14 Thread Gerben Wierda via macports-users
gt;) R Enterprise Architecture <https://ea.rna.nl/> (main site) Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/> Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/> > On 15 Mar 2021, at 01:55, Gerben Wierda via macports-users

How can I make unbound's accepting of incoming network connections in application firewall in Catalina 'stick'?

2021-03-14 Thread Gerben Wierda via macports-users
I am running an extensive MacPorts (with postfix, dovecot, nginx, minion, etc.) on my macOS Server, which is still running macOS Mojave. On one of the other Macs, running macOS Catalina, I run a backup unbound caching nameserver. This also offers me a way to do some minimal testing of the

Catalina: accepting incoming connections on unbound does not survive a reboot

2021-01-13 Thread Gerben Wierda via macports-users
I did not have this problem under Mojave, but since I have upgraded I do. I am running a backup nameserver (in my split-DNS setup) on a mac desktop (unbound via MacPorts). After a reboot, the first user to log in gets a panel from the firewall with the question to allow incoming connections for

Fix for postfix not launching reliably at boot time

2020-11-29 Thread Gerben Wierda via macports-users
I think I shared this before, but I’m not certain so I am doing so now (again). The MacPorts postfix master process will not launch reliably at boot if it is set up with ‘port load postfix’. The reason for the unreliable boot is that macOS during boot for about 60 seconds or so claims port 25

unbound port doesn't create/install startup wrapper correctly

2020-04-03 Thread Gerben Wierda via macports-users
I have an adapted Portfile for net/unbound. This Portfile enables the launch of multiple unbound servers in parallel. This is for instance needed for rspamd (also from MacPorts) if your forwarder is one of the big ones such as Google’s 8.8.8.8 or Quad9’s 9.9.9.9 (which are blocked by some

MacPorts updates (mail-server install) apparently messing with installed configuration dates

2020-03-23 Thread Gerben Wierda via macports-users
I did an update of postfix, dovecot etc. on Feb 22. This worked fine and everything has been running smoothly since. However, I just noticed these messages in my postfix log: Mar 23 10:43:04 mail smtp/smtpd[70713]: warning: database /opt/local/etc/postfix/aliases.db is older than source file