Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2013 19:11:11 GMT
From:      Kevin Zheng <kevinz5000@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178979: [patch] Clean up dns/inadyn
Message-ID:  <201305251911.r4PJBB4A091957@oldred.FreeBSD.org>
Resent-Message-ID: <201305251920.r4PJK0xN035206@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         178979
>Category:       ports
>Synopsis:       [patch] Clean up dns/inadyn
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 25 19:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Zheng
>Release:        9.1-RELEASE-p3
>Organization:
>Environment:
FreeBSD sigma.local 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:11:52 UTC 2013     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Do some cleanup work on dns/inadyn. This means:
 - Trim Makefile header
 - Improve COMMENT and pkg-descr
 - Remove obsolete knob NO_INSTALL_MANPAGES
 - Quit using NOPORTDOCS by adopting OptionsNG
>How-To-Repeat:

>Fix:
Apply the attached patch: IMPORTANT: using `svn patch <file>`.

Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 319002)
+++ Makefile	(working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:   inadyn
-# Date created:        9 September 2005
-# Whom:                Alex Samorukov <samm@os2.kiev.ua>
-#
+# Created by: Alex Samorukov <samm@os2.kiev.ua>
 # $FreeBSD$
-#
 
 PORTNAME=	inadyn
 PORTVERSION=	1.96.2
@@ -15,7 +11,7 @@
 DISTNAME=	${PORTNAME}.v${PORTVERSION}
 
 MAINTAINER=	samm@os2.kiev.ua
-COMMENT=	INADYN - Simple DYNAMIC DNS client
+COMMENT=	Dynamic DNS update client
 
 USE_RC_SUBR=	inadyn
 USE_ZIP=	yes
@@ -23,14 +19,16 @@
 USE_GMAKE=	yes
 MAKEFILE=	makefile
 
-.if !defined(NO_INSTALL_MANPAGES)
+MAN5=		inadyn.conf.5
 MAN8=		inadyn.8
-MAN5=		inadyn.conf.5
-.endif
 
 PORTDOCS=	readme.html
 PLIST_FILES=	bin/inadyn
 
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
 post-extract:
 	@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
 
@@ -41,14 +39,12 @@
 		${WRKSRC}/src/dyndns.h
 
 do-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} -p ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
 .endif
 	${INSTALL_PROGRAM} ${WRKSRC}/bin/linux/inadyn ${PREFIX}/bin
-.if !defined(NO_INSTALL_MANPAGES)
 	${INSTALL_MAN} ${WRKSRC}/man/inadyn.8 ${MANPREFIX}/man/man8
 	${INSTALL_MAN} ${WRKSRC}/man/inadyn.conf.5 ${MANPREFIX}/man/man5
-.endif
 
 .include <bsd.port.mk>
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 319002)
+++ pkg-descr	(working copy)
@@ -1,8 +1,13 @@
-INADYN is a dynamic DNS client, it maintains the IP address of a host name by 
-periodically checking whether the IP address stored by the DNS server is the 
-real current address of the machine that is running INADYN.
+INADYN is a free, multi-platform dynamic DNS update client. It gives the
+possibility to have your own fixed hostname registered on the Internet,
+although your IP might be changing. It checks periodically whether the IP
+address stored by the DNS server is the real current IP address of the machine
+that is running INADYN.
 
-Supported dynamic DNS services are: dyndns.org (in all three flavors: dynamic, 
-static, custom), freedns.afraid.org, zoneedit.com, no-ip.com 
- 
+INADYN supports the following dynamic DNS services:
+ - dyndns.org (in all three flavors: dynamic, static, custom)
+ - freedns.afraid.org
+ - no-ip.com
+ - zoneedit.com
+
 WWW: http://www.inatech.eu/inadyn/


>Release-Note:
>Audit-Trail:
>Unformatted:



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