Date: Wed, 24 Nov 2004 21:17:45 +0100 From: "Radek Kozlowski" <radek@raadradd.com> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/74334: [MAINTAINER] dns/ddclient: update to 3.6.5 Message-ID: <1101327465.0@ddardaar> Resent-Message-ID: <200411242020.iAOKKZUK042396@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 74334 >Category: ports >Synopsis: [MAINTAINER] dns/ddclient: update to 3.6.5 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Nov 24 20:20:35 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Radek Kozlowski >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD 5.3-STABLE #9: Tue Nov 16 21:44:39 CET 2004 root@ddardaar:/usr/obj/usr/src/sys/DDARDAAR >Description: - Update to 3.6.5 - Utilize PORTDOCS and PLIST_FILES - Remove pkg-plist >How-To-Repeat: >Fix: --- ddclient3.diff begins here --- diff -ruN ddclient.orig/Makefile ddclient/Makefile --- ddclient.orig/Makefile Wed Nov 24 19:25:11 2004 +++ ddclient/Makefile Wed Nov 24 20:48:20 2004 @@ -6,34 +6,45 @@ # PORTNAME= ddclient -PORTVERSION= 3.6.4 +PORTVERSION= 3.6.5 CATEGORIES= dns MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= ddclient +MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= radek@raadradd.com COMMENT= Update dynamic DNS entries USE_PERL5= yes NO_BUILD= yes - USE_RC_SUBR= yes +PLIST_FILES= etc/ddclient.conf.sample \ + etc/rc.d/ddclient.sh \ + sbin/ddclient + +PORTDOCS= COPYING COPYRIGHT Changelog README README.cisco \ + sample-etc_cron.d_ddclient sample-etc_dhclient-exit-hooks \ + sample-etc_dhcpc_dhcpcd-eth0.exe sample-etc_ppp_ip-up.local + +post-patch: + @${PERL} -pi -e 's|/etc/ddclient/|${PREFIX}/etc/ddclient/|g' ${WRKSRC}/README + do-install: @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g; s|%%PERL%%|${PERL}|g' ${WRKSRC}/ddclient - @${INSTALL_SCRIPT} ${WRKSRC}/ddclient ${PREFIX}/sbin - @${INSTALL_DATA} ${WRKSRC}/sample-etc_ddclient.conf ${PREFIX}/etc/ddclient.conf.sample - @${MKDIR} ${PREFIX}/share/ddclient -.for i in COPYING COPYRIGHT README README.cisco sample-etc_cron.d_ddclient \ - sample-etc_dhclient-exit-hooks sample-etc_dhcpc_dhcpcd-eth0.exe \ - sample-etc_ppp_ip-up.local - @${PERL} -pe 's|%%PREFIX%%|${PREFIX}|g' < ${WRKSRC}/$i > ${WRKDIR}/$i - @${INSTALL_DATA} ${WRKDIR}/$i ${PREFIX}/share/ddclient -.endfor @${PERL} -pe 's|%%PREFIX%%|${PREFIX}|g; s|%%RC_SUBR%%|${RC_SUBR}|g' \ < ${FILESDIR}/ddclient.sh > ${WRKDIR}/ddclient.sh + @${INSTALL_DATA} ${WRKSRC}/sample-etc_ddclient.conf ${PREFIX}/etc/ddclient.conf.sample + @${INSTALL_SCRIPT} ${WRKSRC}/ddclient ${PREFIX}/sbin @${INSTALL_SCRIPT} ${WRKDIR}/ddclient.sh ${PREFIX}/etc/rc.d/ +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for i in ${PORTDOCS} + @${PERL} -pe 's|%%PREFIX%%|${PREFIX}|g' < ${WRKSRC}/$i > ${WRKDIR}/$i + @${INSTALL_DATA} ${WRKDIR}/${i} ${DOCSDIR} +.endfor +.endif @${PERL} -pe 's|/usr/local|${PREFIX}|g' < ${PKGMESSAGE} .include <bsd.port.mk> diff -ruN ddclient.orig/distinfo ddclient/distinfo --- ddclient.orig/distinfo Wed Nov 24 19:25:11 2004 +++ ddclient/distinfo Wed Nov 24 19:26:27 2004 @@ -1,2 +1,2 @@ -MD5 (ddclient-3.6.4.tar.gz) = 3f360240cdd8675a5f3d956eb9ee4d78 -SIZE (ddclient-3.6.4.tar.gz) = 35460 +MD5 (ddclient-3.6.5.tar.gz) = 37656c8becb08e375c91954c25786aef +SIZE (ddclient-3.6.5.tar.gz) = 35726 diff -ruN ddclient.orig/files/ddclient.sh ddclient/files/ddclient.sh --- ddclient.orig/files/ddclient.sh Wed Nov 24 19:25:10 2004 +++ ddclient/files/ddclient.sh Wed Nov 24 20:29:08 2004 @@ -5,10 +5,10 @@ # PROVIDE: ddclient # REQUIRE: LOGIN -# KEYWORD: FreeBSD shutdown +# KEYWORD: shutdown # -# Add the following lines to /etc/rc.conf to enable ddclient: +# Add the following line to /etc/rc.conf to enable ddclient: # #ddclient_enable="YES" # diff -ruN ddclient.orig/pkg-plist ddclient/pkg-plist --- ddclient.orig/pkg-plist Wed Nov 24 19:25:11 2004 +++ ddclient/pkg-plist Thu Jan 1 01:00:00 1970 @@ -1,12 +0,0 @@ -etc/ddclient.conf.sample -etc/rc.d/ddclient.sh -sbin/ddclient -share/ddclient/COPYING -share/ddclient/COPYRIGHT -share/ddclient/README -share/ddclient/README.cisco -share/ddclient/sample-etc_cron.d_ddclient -share/ddclient/sample-etc_dhclient-exit-hooks -share/ddclient/sample-etc_dhcpc_dhcpcd-eth0.exe -share/ddclient/sample-etc_ppp_ip-up.local -@dirrm share/ddclient --- ddclient3.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1101327465.0>