aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
###########################################################