aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2014-12-02 07:25:50 +0800
committerohauer <ohauer@FreeBSD.org>2014-12-02 07:25:50 +0800
commit3878442f63976c50a40137463fe28a40a864f2e9 (patch)
tree74743bfd46c4075d47f7054f78c1486ce82dcbe1
parent234d91778fab9ab2bc531288520466daccf8ad71 (diff)
downloadfreebsd-ports-gnome-3878442f63976c50a40137463fe28a40a864f2e9.tar.gz
freebsd-ports-gnome-3878442f63976c50a40137463fe28a40a864f2e9.tar.zst
freebsd-ports-gnome-3878442f63976c50a40137463fe28a40a864f2e9.zip
- use new @dir macros to create empty folders
-rw-r--r--dns/nsd/pkg-plist4
-rw-r--r--dns/nsd3/pkg-plist4
2 files changed, 4 insertions, 4 deletions
diff --git a/dns/nsd/pkg-plist b/dns/nsd/pkg-plist
index 72d8da4a0eb7..9f72583da361 100644
--- a/dns/nsd/pkg-plist
+++ b/dns/nsd/pkg-plist
@@ -9,7 +9,7 @@ sbin/nsd-checkconf
sbin/nsd-checkzone
sbin/nsd-control
sbin/nsd-control-setup
-@exec install -o %%NSDUSER%% -g %%NSDGROUP%% -m 0755 -d %%NSDRUNDIR%%
-@exec install -o %%NSDUSER%% -g %%NSDGROUP%% -m 0755 -d %%NSDDBDIR%%
+@dir(%%NSDUSER%%,%%NSDGROUP%%,0755) %%NSDRUNDIR%%
+@dir(%%NSDUSER%%,%%NSDGROUP%%,0755) %%NSDDBDIR%%
@exec chown -R %%NSDUSER%%:%%NSDGROUP%% %%NSDRUNDIR%%
@exec chown -R %%NSDUSER%%:%%NSDGROUP%% %%NSDDBDIR%%
diff --git a/dns/nsd3/pkg-plist b/dns/nsd3/pkg-plist
index 1d15b9b128bc..456bbb4e934a 100644
--- a/dns/nsd3/pkg-plist
+++ b/dns/nsd3/pkg-plist
@@ -14,7 +14,7 @@ sbin/nsd-patch
sbin/nsd-xfer
sbin/nsdc
sbin/zonec
-@exec install -o %%NSDUSER%% -g %%NSDGROUP%% -m 0755 -d %%NSDRUNDIR%%
-@exec install -o %%NSDUSER%% -g %%NSDGROUP%% -m 0755 -d %%NSDDBDIR%%
+@dir(%%NSDUSER%%,%%NSDGROUP%%,0755) %%NSDRUNDIR%%
+@dir(%%NSDUSER%%,%%NSDGROUP%%,0755) %%NSDDBDIR%%
@exec chown -R %%NSDUSER%%:%%NSDGROUP%% %%NSDRUNDIR%%
@exec chown -R %%NSDUSER%%:%%NSDGROUP%% %%NSDDBDIR%%