#53956 closed defect (fixed)
ddclient 3.8.3: cache directory not created
Reported by: | rbubley | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | ddclient |
Description (last modified by mf2k (Frank Schima))
port file should create the directory:
/opt/local/var/cache/ddclient/
Otherwise we will perpetually (and unnecessarily) update the dns entry.
Change History (7)
comment:1 Changed 8 years ago by mf2k (Frank Schima)
Owner: | set to nerdling |
---|---|
Port: | ddclient added |
Status: | new → assigned |
comment:2 Changed 8 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:3 follow-up: 5 Changed 5 years ago by nerdling (Jeremy Lavergne)
Status: | assigned → accepted |
---|
Looks like destroot.keepdirs doesn't do what was expected (creating the dir for us).
comment:4 Changed 5 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:5 follow-up: 6 Changed 5 years ago by jmroot (Joshua Root)
Replying to nerdling:
Looks like destroot.keepdirs doesn't do what was expected (creating the dir for us).
It prevents the dir from being deleted due to being empty.
comment:6 Changed 5 years ago by nerdling (Jeremy Lavergne)
Replying to jmroot:
It prevents the dir from being deleted due to being empty.
To me, that implies that the kept, empty destroot dir would then become part of the install—it seemingly did not.
comment:7 Changed 5 years ago by raimue (Rainer Müller)
destroot.keepdirs
should create the directory if it does not exist and will add a dummy .turd_${subport}
file to protect it against deletion. If the functionality is not working as expected, we should file this as a bug against base.
For reference, the current implementation of this logic is here: https://github.com/macports/macports-base/blob/v2.6.2/src/port1.0/portdestroot.tcl#L176-L189
In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (
port info --maintainers ddclient
), if any.