[MacPorts] #7062: UPDATE ddclient 3.6.7
MacPorts
noreply at macports.org
Thu Mar 24 07:19:15 PDT 2016
#7062: UPDATE ddclient 3.6.7
-------------------------+--------------------------------
Reporter: jordiyeh@… | Owner: macports-tickets@…
Type: update | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 1.0
Resolution: fixed | Keywords:
Port: ddclient |
-------------------------+--------------------------------
Changes (by ryandesign@…):
* type: defect => update
* port: => ddclient
Old description:
> Also add the conf file to etc/ddclient as expected when launched through
> LaunchDaemon.
>
> Patch:
>
> $ diff -u Portfile.orig Portfile
> --- Portfile.orig 2006-02-03 23:06:04.000000000 -0500
> +++ Portfile 2006-02-03 23:28:32.000000000 -0500
> @@ -1,7 +1,7 @@
> # $Id: Portfile,v 1.14 2005/10/11 13:33:09 yeled Exp $
> PortSystem 1.0
> name ddclient
> -version 3.6.6
> +version 3.6.7
> platforms darwin
> categories net
> maintainers yeled at opendarwin.org
> @@ -10,7 +10,7 @@
> DNS entries for accounts on many dynamic DNS
> services.
> homepage http://ddclient.sourceforge.net/
> master_sites sourceforge:ddclient
> -checksums md5 9bdc93c0352c5fcc650773da7ecedb6d
> +checksums md5 11ab25abe2f1094f18f9d071c51c03a4
>
> configure {
> reinplace "s|\[\r\]$||" ${worksrcpath}/${portname}
> @@ -20,12 +20,16 @@
>
> build {}
>
> +pre-destroot {
> + file mkdir ${destroot}${prefix}/etc/ddclient
> +}
> +
> destroot {
> xinstall -m 555 ${worksrcpath}/sample-etc_ddclient.conf \
> - ${destroot}${prefix}/etc/ddclient.conf.sample
> +
> ${destroot}${prefix}/etc/ddclient/ddclient.conf.sample
>
> reinplace "s|/var/run|${prefix}/var/run|" \
> - ${destroot}${prefix}/etc/ddclient.conf.sample
> +
> ${destroot}${prefix}/etc/ddclient/ddclient.conf.sample
>
> xinstall -m 555 ${worksrcpath}/${portname}
> ${destroot}${prefix}/sbin
> xinstall -d ${destroot}${prefix}/share/doc/${portname}
New description:
Also add the conf file to etc/ddclient as expected when launched through
LaunchDaemon.
Patch:
{{{
$ diff -u Portfile.orig Portfile
--- Portfile.orig 2006-02-03 23:06:04.000000000 -0500
+++ Portfile 2006-02-03 23:28:32.000000000 -0500
@@ -1,7 +1,7 @@
# $Id: Portfile,v 1.14 2005/10/11 13:33:09 yeled Exp $
PortSystem 1.0
name ddclient
-version 3.6.6
+version 3.6.7
platforms darwin
categories net
maintainers yeled at opendarwin.org
@@ -10,7 +10,7 @@
DNS entries for accounts on many dynamic DNS
services.
homepage http://ddclient.sourceforge.net/
master_sites sourceforge:ddclient
-checksums md5 9bdc93c0352c5fcc650773da7ecedb6d
+checksums md5 11ab25abe2f1094f18f9d071c51c03a4
configure {
reinplace "s|\[\r\]$||" ${worksrcpath}/${portname}
@@ -20,12 +20,16 @@
build {}
+pre-destroot {
+ file mkdir ${destroot}${prefix}/etc/ddclient
+}
+
destroot {
xinstall -m 555 ${worksrcpath}/sample-etc_ddclient.conf \
- ${destroot}${prefix}/etc/ddclient.conf.sample
+
${destroot}${prefix}/etc/ddclient/ddclient.conf.sample
reinplace "s|/var/run|${prefix}/var/run|" \
- ${destroot}${prefix}/etc/ddclient.conf.sample
+
${destroot}${prefix}/etc/ddclient/ddclient.conf.sample
xinstall -m 555 ${worksrcpath}/${portname}
${destroot}${prefix}/sbin
xinstall -d ${destroot}${prefix}/share/doc/${portname}
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/7062#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list