aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-09-14 00:41:08 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-09-14 00:41:08 +0800
commit20d447a94a2b6d334f12cedca3f6246d4ed558e3 (patch)
tree2f7eed4d5140e05f05212b646a3f8688a531c1d3 /dns
parentfc463befdf77b9d62afeed392bd56616860736af (diff)
downloadfreebsd-ports-gnome-20d447a94a2b6d334f12cedca3f6246d4ed558e3.tar.gz
freebsd-ports-gnome-20d447a94a2b6d334f12cedca3f6246d4ed558e3.tar.zst
freebsd-ports-gnome-20d447a94a2b6d334f12cedca3f6246d4ed558e3.zip
- Make pkg-message more useful
- While here, fix license and remove unneeded PKGMESSAGE line (PKGMESSAGE is set by SUB_FILES) PR: 212637 Submitted by: dalescott@shaw.ca Approved by: sthalik@tehran.lain.pl (maintainer)
Diffstat (limited to 'dns')
-rw-r--r--dns/noip/Makefile8
-rw-r--r--dns/noip/files/pkg-message.in30
2 files changed, 28 insertions, 10 deletions
diff --git a/dns/noip/Makefile b/dns/noip/Makefile
index ca39be54e28f..8322669284ad 100644
--- a/dns/noip/Makefile
+++ b/dns/noip/Makefile
@@ -3,7 +3,7 @@
PORTNAME= noip
PORTVERSION= 2.1.9
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= dns
MASTER_SITES= http://www.no-ip.com/client/linux/ \
LOCAL/ehaupt
@@ -11,17 +11,17 @@ MASTER_SITES= http://www.no-ip.com/client/linux/ \
MAINTAINER= sthalik@tehran.lain.pl
COMMENT= No-IP.com's dynamic DNS update client
-LICENSE= GPLv2
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
ALL_TARGET= noip2
SUB_FILES= pkg-message
-PKGMESSAGE= ${WRKDIR}/pkg-message
USE_RC_SUBR= noip
USERS= noip
GROUPS= noip
-PLIST_SUB+= USER="${USERS}"
+PLIST_SUB= USER="${USERS}"
OPTIONS_DEFINE= DOCS
diff --git a/dns/noip/files/pkg-message.in b/dns/noip/files/pkg-message.in
index 383e6f53484b..8246aa2b0bb3 100644
--- a/dns/noip/files/pkg-message.in
+++ b/dns/noip/files/pkg-message.in
@@ -1,12 +1,30 @@
###########################################################
-You need to generate the noip config file 'no-ip2.conf' in
-%%PREFIX%%/etc/no-ip2.conf. To do this automatically, run:
+You must have a registered host with No-IP (www.noip.com)
+to use the noip Dynamic DNS Update Client (DUC).
- make conf
+You must also create the noip config file
+/usr/local/etc/no-ip2.conf before using noip. To create the
+configuration file, run as root:
-You need to register with www.no-ip.com to use this port.
+/usr/local/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
+password, and the hostname you have registered with No-IP.
+Your No-IP username and password are not stored, the
+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.
+
+To run noip automatically at boot, add the following line
+to /etc/rc.conf
-You also need to add the following line to your
-/etc/rc.conf or /etc/rc.conf.local file:
noip_enable="YES"
+
+Refer to the following for more information:
+
+/usr/local/bin/noip2 --help
+/usr/local/share/doc/noip/README.FIRST
###########################################################