Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2023 14:50:42 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 867bdcbb07ee - main - dns/noip: fix the port's installation instructions (pkg-message)
Message-ID:  <202305101450.34AEogkJ031094@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe:

URL: https://cgit.FreeBSD.org/ports/commit/?id=867bdcbb07ee885494ac3e466c72bd4f6f5d8c66

commit 867bdcbb07ee885494ac3e466c72bd4f6f5d8c66
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-05-10 14:49:36 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-05-10 14:49:36 +0000

    dns/noip: fix the port's installation instructions (pkg-message)
    
    - Do not hardcode the prefix, use appropriate %%-substitutions
    - Reindent commands and files and convert UTF-8 quotes to ASCII
---
 dns/noip/files/pkg-message.in | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/dns/noip/files/pkg-message.in b/dns/noip/files/pkg-message.in
index 1b8c40373b8e..9d1d890a3f95 100644
--- a/dns/noip/files/pkg-message.in
+++ b/dns/noip/files/pkg-message.in
@@ -4,11 +4,11 @@
 You must have a registered host with No-IP (www.noip.com)
 to use the noip Dynamic DNS Update Client (DUC).
 
-You must also create the noip config file
-/usr/local/etc/no-ip2.conf before using noip. To create the
+You must also create the noip configuration file
+%%PREFIX%%/etc/no-ip2.conf before using noip. To create the
 configuration file, run as root:
 
-/usr/local/bin/noip2 -C
+    %%PREFIX%%/bin/noip2 -C
 
 You will be prompted to enter the Ethernet port that will be
 associated with the host, your No-IP account name and
@@ -18,17 +18,17 @@ config file contains a unique key for the DUC to access the
 No-IP DDNS service and only root has read permission.
 
 If you are compiling from source using the ports tree, you
-can also “make conf” to create the config file.
+can also "make conf" to create the configuration file.
 
 To run noip automatically at boot, add the following line
-to /etc/rc.conf
+to /etc/rc.conf:
 
-noip_enable="YES"
+    noip_enable="YES"
 
 Refer to the following for more information:
 
-/usr/local/bin/noip2 --help
-/usr/local/share/doc/noip/README.FIRST
+    %%PREFIX%%/bin/noip2 --help
+    %%DOCSDIR%%/README.FIRST
 EOM
 }
 ]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305101450.34AEogkJ031094>