Opened 19 years ago
Last modified 9 years ago
#7062 closed update
UPDATE ddclient 3.6.7 — at Initial Version
Reported by: | jordiyeh@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: | ddclient |
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@…
@@ -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}