Opened 13 months ago

Last modified 13 months ago

#67257 new defect

dnscrypt-proxy: port notes wrong and missing crucial instructions

Reported by: jf (Jeffrey 'jf' Lim) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: dnscrypt-proxy

Description (last modified by jf (Jeffrey 'jf' Lim))

as it currently stands, dnscrypt-proxy has the following notes:

--->  dnscrypt-proxy has the following notes:
To use this port, update your DNS server settings to point to 127.0.0.1 (in the Network Preference Pane -> Advanced... -> DNS tab)

If you are upgrading from dnscrypt-proxy 2.0.x, the configuration file has changed and you will need to modify your configuration file to  match the 2.1.x configuration file requirements.

A startup item has been generated that will aid in starting dnscrypt-proxy with launchd. It is disabled by default. Execute the following command to start it, and to cause it to launch at startup:

    sudo port load dnscrypt-proxy

Running sudo port load dnscrypt-proxy at the command line after installation though does not work.

My initial assessment is that it's because /opt/local/share/dnscrypt-proxy/dnscrypt-proxy.toml (mentioned in /Library/LaunchDaemons/org.macports.dnscrypt-proxy.plist) is missing. I'm currently testing sudo cp /opt/local/share/dnscrypt-proxy/example-dnscrypt-proxy.toml /opt/local/share/dnscrypt-proxy/dnscrypt-proxy.toml right now to see if that resolves things.

Change History (3)

comment:1 Changed 13 months ago by jf (Jeffrey 'jf' Lim)

Description: modified (diff)

comment:2 in reply to:  description ; Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Priority: HighNormal
Summary: dnscrypt-proxy port notes: wrong and missing crucial instructionsdnscrypt-proxy: port notes wrong and missing crucial instructions

Replying to jf:

My initial assessment is that it's because /opt/local/share/dnscrypt-proxy/dnscrypt-proxy.toml (mentioned in /Library/LaunchDaemons/org.macports.dnscrypt-proxy.plist) is missing. I'm currently testing sudo cp /opt/local/share/dnscrypt-proxy/example-dnscrypt-proxy.toml /opt/local/share/dnscrypt-proxy/dnscrypt-proxy.toml right now to see if that resolves things.

I'm not sure why that file wouldn't already be present on your system since the Portfile is programmed to create it by copying the example:

https://github.com/macports/macports-ports/blob/521ff4338612c306f55c219ef5f5794792bbe87f/net/dnscrypt-proxy/Portfile#L39-L43

comment:3 in reply to:  2 Changed 13 months ago by jf (Jeffrey 'jf' Lim)

Replying to ryandesign:

Replying to jf:

My initial assessment is that it's because /opt/local/share/dnscrypt-proxy/dnscrypt-proxy.toml (mentioned in /Library/LaunchDaemons/org.macports.dnscrypt-proxy.plist) is missing. I'm currently testing sudo cp /opt/local/share/dnscrypt-proxy/example-dnscrypt-proxy.toml /opt/local/share/dnscrypt-proxy/dnscrypt-proxy.toml right now to see if that resolves things.

I'm not sure why that file wouldn't already be present on your system since the Portfile is programmed to create it by copying the example:

https://github.com/macports/macports-ports/blob/521ff4338612c306f55c219ef5f5794792bbe87f/net/dnscrypt-proxy/Portfile#L39-L43

thank you for the prompt response! that does look like it should work. Perhaps I was somehow mistaken. Attempting a reinstall after port uninstall (and removing /opt/local/share/dnscrypt-proxy), it does look like the file is copied. I know that in the beginning, I was expecting a dnscrypt-proxy item to show up in Login Items... and started digging. Maybe I got confused through the process. It looks like this may be what happened, and if so, I am sorry about. It does look like the file is copied after all.

Again, my apologies.

One request though: could we possibly update the notes to communicate where dnscrypt-proxy.toml is?

Note: See TracTickets for help on using tickets.