From owner-svn-ports-all@freebsd.org Tue Sep 13 16:41:10 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08BB8BD9E36; Tue, 13 Sep 2016 16:41:10 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C108BF2F; Tue, 13 Sep 2016 16:41:09 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8DGf9t9051755; Tue, 13 Sep 2016 16:41:09 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8DGf8Ej051753; Tue, 13 Sep 2016 16:41:08 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201609131641.u8DGf8Ej051753@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 13 Sep 2016 16:41:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422034 - in head/dns/noip: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 16:41:10 -0000 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 ###########################################################