Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2016 16:41:08 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r422034 - in head/dns/noip: . files
Message-ID:  <201609131641.u8DGf8Ej051753@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Sep 13 16:41:08 2016
New Revision: 422034
URL: https://svnweb.freebsd.org/changeset/ports/422034

Log:
  - 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)

Modified:
  head/dns/noip/Makefile
  head/dns/noip/files/pkg-message.in

Modified: head/dns/noip/Makefile
==============================================================================
--- head/dns/noip/Makefile	Tue Sep 13 16:40:44 2016	(r422033)
+++ head/dns/noip/Makefile	Tue Sep 13 16:41:08 2016	(r422034)
@@ -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/clien
 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
 

Modified: head/dns/noip/files/pkg-message.in
==============================================================================
--- head/dns/noip/files/pkg-message.in	Tue Sep 13 16:40:44 2016	(r422033)
+++ head/dns/noip/files/pkg-message.in	Tue Sep 13 16:41:08 2016	(r422034)
@@ -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
 ###########################################################



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