summaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-22 01:55:36 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-22 01:55:36 +0000
commite33233f948fa75569942bda3f34c065ad24f1576 (patch)
tree7b858f4e784b4f518405b5a934eaa29ec91c8256 /dns
parentReplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry (diff)
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Notes
Notes: svn path=/head/; revision=154110
Diffstat (limited to 'dns')
-rw-r--r--dns/bind8/pkg-plist8
-rw-r--r--dns/bind84/pkg-plist8
-rw-r--r--dns/bind9-dlz/pkg-plist2
-rw-r--r--dns/bind9-sdb-ldap/pkg-plist2
-rw-r--r--dns/bind9/pkg-plist2
-rw-r--r--dns/bind94/pkg-plist2
-rw-r--r--dns/bind95/pkg-plist2
-rw-r--r--dns/bind96/pkg-plist2
-rw-r--r--dns/gresolver/pkg-plist2
-rw-r--r--dns/maradns/pkg-plist2
-rw-r--r--dns/p5-DNS-ZoneParse/pkg-plist4
-rw-r--r--dns/p5-Data-Validate-Domain/pkg-plist10
-rw-r--r--dns/p5-Net-DNS-SEC/pkg-plist14
-rw-r--r--dns/p5-Net-DNS-ZoneCheck/pkg-plist10
-rw-r--r--dns/p5-Net-DNS-ZoneFile-Fast/pkg-plist10
-rw-r--r--dns/p5-Net-DNS-ZoneFile/pkg-plist4
-rw-r--r--dns/p5-Net-DNS/pkg-plist6
-rw-r--r--dns/p5-Net-Domain-ExpireDate/pkg-plist8
-rw-r--r--dns/p5-Net-Domain-TLD/pkg-plist10
-rw-r--r--dns/p5-Net-Nslookup/pkg-plist4
-rw-r--r--dns/p5-POE-Component-Client-DNS/pkg-plist12
-rw-r--r--dns/rbldnsd/pkg-plist2
22 files changed, 63 insertions, 63 deletions
diff --git a/dns/bind8/pkg-plist b/dns/bind8/pkg-plist
index de591047a017..9e6f322f9b5f 100644
--- a/dns/bind8/pkg-plist
+++ b/dns/bind8/pkg-plist
@@ -75,10 +75,10 @@ sbin/ndc
%%PORTDOCS%%%%DOCSDIR%%/misc/rfc2317-notes.txt
%%PORTDOCS%%%%DOCSDIR%%/misc/style.txt
share/misc/nslookup.help
-@unexec rmdir %D/%%INCLUDE_PATH%%/arpa 2>/dev/null || true
-@unexec rmdir %D/%%INCLUDE_PATH%%/isc 2>/dev/null || true
-@unexec rmdir %D/%%INCLUDE_PATH%%/sys 2>/dev/null || true
-@unexec rmdir %D/%%INCLUDE_PATH%% 2>/dev/null || true
+@dirrmtry %%INCLUDE_PATH%%/arpa
+@dirrmtry %%INCLUDE_PATH%%/isc
+@dirrmtry %%INCLUDE_PATH%%/sys
+@dirrmtry %%INCLUDE_PATH%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/conf/recursive/pri
%%PORTDOCS%%@dirrm %%DOCSDIR%%/conf/recursive
%%PORTDOCS%%@dirrm %%DOCSDIR%%/conf/workstation/pri
diff --git a/dns/bind84/pkg-plist b/dns/bind84/pkg-plist
index 995df7f1ca11..ff10bdfe8341 100644
--- a/dns/bind84/pkg-plist
+++ b/dns/bind84/pkg-plist
@@ -76,10 +76,10 @@ sbin/ndc
%%PORTDOCS%%%%DOCSDIR%%/misc/rfc2317-notes.txt
%%PORTDOCS%%%%DOCSDIR%%/misc/style.txt
share/misc/nslookup.help
-@unexec rmdir %D/%%INCLUDE_PATH%%/arpa 2>/dev/null || true
-@unexec rmdir %D/%%INCLUDE_PATH%%/isc 2>/dev/null || true
-@unexec rmdir %D/%%INCLUDE_PATH%%/sys 2>/dev/null || true
-@unexec rmdir %D/%%INCLUDE_PATH%% 2>/dev/null || true
+@dirrmtry %%INCLUDE_PATH%%/arpa
+@dirrmtry %%INCLUDE_PATH%%/isc
+@dirrmtry %%INCLUDE_PATH%%/sys
+@dirrmtry %%INCLUDE_PATH%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/conf/recursive/pri
%%PORTDOCS%%@dirrm %%DOCSDIR%%/conf/recursive
%%PORTDOCS%%@dirrm %%DOCSDIR%%/conf/workstation/pri
diff --git a/dns/bind9-dlz/pkg-plist b/dns/bind9-dlz/pkg-plist
index 8db3448d8b78..03ab29a945b7 100644
--- a/dns/bind9-dlz/pkg-plist
+++ b/dns/bind9-dlz/pkg-plist
@@ -225,7 +225,7 @@ sbin/rndc-confgen
%%BIND931%%@dirrm include/bind9
@dirrm include/dns
@dirrm include/dst
-@unexec rmdir %D/include/isc 2>/dev/null || true
+@dirrmtry include/isc
@dirrm include/isccc
@dirrm include/isccfg
@dirrm include/lwres
diff --git a/dns/bind9-sdb-ldap/pkg-plist b/dns/bind9-sdb-ldap/pkg-plist
index 4a8755f67d6c..dbe6972175b1 100644
--- a/dns/bind9-sdb-ldap/pkg-plist
+++ b/dns/bind9-sdb-ldap/pkg-plist
@@ -220,7 +220,7 @@ sbin/rndc-confgen
@dirrm include/bind9
@dirrm include/dns
@dirrm include/dst
-@unexec rmdir %D/include/isc 2>/dev/null || true
+@dirrmtry include/isc
@dirrm include/isccc
@dirrm include/isccfg
@dirrm include/lwres
diff --git a/dns/bind9/pkg-plist b/dns/bind9/pkg-plist
index e5965595781f..3bafa4d5e1a1 100644
--- a/dns/bind9/pkg-plist
+++ b/dns/bind9/pkg-plist
@@ -221,7 +221,7 @@ sbin/rndc-confgen
@dirrm include/bind9
@dirrm include/dns
@dirrm include/dst
-@unexec rmdir %D/include/isc 2>/dev/null || true
+@dirrmtry include/isc
@dirrm include/isccc
@dirrm include/isccfg
@dirrm include/lwres
diff --git a/dns/bind94/pkg-plist b/dns/bind94/pkg-plist
index e5965595781f..3bafa4d5e1a1 100644
--- a/dns/bind94/pkg-plist
+++ b/dns/bind94/pkg-plist
@@ -221,7 +221,7 @@ sbin/rndc-confgen
@dirrm include/bind9
@dirrm include/dns
@dirrm include/dst
-@unexec rmdir %D/include/isc 2>/dev/null || true
+@dirrmtry include/isc
@dirrm include/isccc
@dirrm include/isccfg
@dirrm include/lwres
diff --git a/dns/bind95/pkg-plist b/dns/bind95/pkg-plist
index e5965595781f..3bafa4d5e1a1 100644
--- a/dns/bind95/pkg-plist
+++ b/dns/bind95/pkg-plist
@@ -221,7 +221,7 @@ sbin/rndc-confgen
@dirrm include/bind9
@dirrm include/dns
@dirrm include/dst
-@unexec rmdir %D/include/isc 2>/dev/null || true
+@dirrmtry include/isc
@dirrm include/isccc
@dirrm include/isccfg
@dirrm include/lwres
diff --git a/dns/bind96/pkg-plist b/dns/bind96/pkg-plist
index e5965595781f..3bafa4d5e1a1 100644
--- a/dns/bind96/pkg-plist
+++ b/dns/bind96/pkg-plist
@@ -221,7 +221,7 @@ sbin/rndc-confgen
@dirrm include/bind9
@dirrm include/dns
@dirrm include/dst
-@unexec rmdir %D/include/isc 2>/dev/null || true
+@dirrmtry include/isc
@dirrm include/isccc
@dirrm include/isccfg
@dirrm include/lwres
diff --git a/dns/gresolver/pkg-plist b/dns/gresolver/pkg-plist
index 4afc90458954..df6dc58462e1 100644
--- a/dns/gresolver/pkg-plist
+++ b/dns/gresolver/pkg-plist
@@ -3,4 +3,4 @@ share/applications/gresolver.desktop
share/pixmaps/gresolver.png
%%DATADIR%%/gresolver.glade
@dirrm %%DATADIR%%
-@unexec rmdir %D/share/applications 2>/dev/null || true
+@dirrmtry share/applications
diff --git a/dns/maradns/pkg-plist b/dns/maradns/pkg-plist
index 73586f7d7ada..fd014ebb936e 100644
--- a/dns/maradns/pkg-plist
+++ b/dns/maradns/pkg-plist
@@ -7,7 +7,7 @@ etc/mararc.sample
etc/rc.d/maradns.sh
etc/rc.d/zoneserver.sh
etc/maradns/example_csv2
-@unexec rmdir %D/etc/maradns 2>/dev/null || true
+@dirrmtry etc/maradns
sbin/maradns
sbin/zoneserver
%%PORTDOCS%%%%DOCSDIR%%/en/changelog.html
diff --git a/dns/p5-DNS-ZoneParse/pkg-plist b/dns/p5-DNS-ZoneParse/pkg-plist
index 4c136ba02d44..94ecec46dabe 100644
--- a/dns/p5-DNS-ZoneParse/pkg-plist
+++ b/dns/p5-DNS-ZoneParse/pkg-plist
@@ -1,5 +1,5 @@
%%SITE_PERL%%/DNS/ZoneParse.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS/ZoneParse/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS/ZoneParse
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/DNS 2>/dev/null || true
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DNS
+@dirrmtry %%SITE_PERL%%/DNS
diff --git a/dns/p5-Data-Validate-Domain/pkg-plist b/dns/p5-Data-Validate-Domain/pkg-plist
index 26d80c2485c7..c5b3bb7fbbee 100644
--- a/dns/p5-Data-Validate-Domain/pkg-plist
+++ b/dns/p5-Data-Validate-Domain/pkg-plist
@@ -1,7 +1,7 @@
%%SITE_PERL%%/Data/Validate/Domain.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Validate/Domain/.packlist
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Validate/Domain 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Validate 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Data 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Data/Validate 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Data 2>/dev/null || true
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Validate/Domain
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data/Validate
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Data
+@dirrmtry %%SITE_PERL%%/Data/Validate
+@dirrmtry %%SITE_PERL%%/Data
diff --git a/dns/p5-Net-DNS-SEC/pkg-plist b/dns/p5-Net-DNS-SEC/pkg-plist
index 343d89a319cb..72772b75f16b 100644
--- a/dns/p5-Net-DNS-SEC/pkg-plist
+++ b/dns/p5-Net-DNS-SEC/pkg-plist
@@ -9,11 +9,11 @@
%%SITE_PERL%%/Net/DNS/RR/RRSIG.pm
%%SITE_PERL%%/Net/DNS/RR/SIG.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/SEC/.packlist
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/SEC 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/SEC
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
@dirrm %%SITE_PERL%%/Net/DNS/SEC
-@unexec rmdir %D/%%SITE_PERL%%/Net/DNS/RR/SIG 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Net/DNS/RR 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Net/DNS 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true
+@dirrmtry %%SITE_PERL%%/Net/DNS/RR/SIG
+@dirrmtry %%SITE_PERL%%/Net/DNS/RR
+@dirrmtry %%SITE_PERL%%/Net/DNS
+@dirrmtry %%SITE_PERL%%/Net
diff --git a/dns/p5-Net-DNS-ZoneCheck/pkg-plist b/dns/p5-Net-DNS-ZoneCheck/pkg-plist
index 7bbb8514150b..5f13d4174dac 100644
--- a/dns/p5-Net-DNS-ZoneCheck/pkg-plist
+++ b/dns/p5-Net-DNS-ZoneCheck/pkg-plist
@@ -1,7 +1,7 @@
%%SITE_PERL%%/Net/DNS/ZoneCheck.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/ZoneCheck/.packlist
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/ZoneCheck 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Net/DNS 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/ZoneCheck
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrmtry %%SITE_PERL%%/Net/DNS
+@dirrmtry %%SITE_PERL%%/Net
diff --git a/dns/p5-Net-DNS-ZoneFile-Fast/pkg-plist b/dns/p5-Net-DNS-ZoneFile-Fast/pkg-plist
index 8b098ce18c54..fdfc1d7cb749 100644
--- a/dns/p5-Net-DNS-ZoneFile-Fast/pkg-plist
+++ b/dns/p5-Net-DNS-ZoneFile-Fast/pkg-plist
@@ -1,9 +1,9 @@
%%SITE_PERL%%/Net/DNS/ZoneFile/Fast.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/ZoneFile/Fast/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/ZoneFile/Fast
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/ZoneFile 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS 2>/dev/null || true
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/ZoneFile
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS
@dirrm %%SITE_PERL%%/Net/DNS/ZoneFile
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Net/DNS 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrmtry %%SITE_PERL%%/Net/DNS
+@dirrmtry %%SITE_PERL%%/Net
diff --git a/dns/p5-Net-DNS-ZoneFile/pkg-plist b/dns/p5-Net-DNS-ZoneFile/pkg-plist
index 4ef4a11ee501..eccff6626eb1 100644
--- a/dns/p5-Net-DNS-ZoneFile/pkg-plist
+++ b/dns/p5-Net-DNS-ZoneFile/pkg-plist
@@ -1,5 +1,5 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/ZoneFile/.packlist
%%SITE_PERL%%/Net/DNS/ZoneFile.pm
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS/ZoneFile
-@unexec rmdir %D/%%SITE_PERL%%/Net/DNS 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true
+@dirrmtry %%SITE_PERL%%/Net/DNS
+@dirrmtry %%SITE_PERL%%/Net
diff --git a/dns/p5-Net-DNS/pkg-plist b/dns/p5-Net-DNS/pkg-plist
index f5df3d99cf5b..96b148aec90a 100644
--- a/dns/p5-Net-DNS/pkg-plist
+++ b/dns/p5-Net-DNS/pkg-plist
@@ -57,6 +57,6 @@
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Net/DNS/RR
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Net/DNS/Resolver
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Net/DNS
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Net 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Net
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/DNS
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
diff --git a/dns/p5-Net-Domain-ExpireDate/pkg-plist b/dns/p5-Net-Domain-ExpireDate/pkg-plist
index 0c0cdc58d456..db7a0ffdaf9b 100644
--- a/dns/p5-Net-Domain-ExpireDate/pkg-plist
+++ b/dns/p5-Net-Domain-ExpireDate/pkg-plist
@@ -1,7 +1,7 @@
%%SITE_PERL%%/Net/Domain/ExpireDate.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Domain/ExpireDate/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Domain/ExpireDate
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Domain 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Net/Domain 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Domain
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrmtry %%SITE_PERL%%/Net/Domain
+@dirrmtry %%SITE_PERL%%/Net
diff --git a/dns/p5-Net-Domain-TLD/pkg-plist b/dns/p5-Net-Domain-TLD/pkg-plist
index da54632be9d0..21eec86701f4 100644
--- a/dns/p5-Net-Domain-TLD/pkg-plist
+++ b/dns/p5-Net-Domain-TLD/pkg-plist
@@ -1,7 +1,7 @@
%%SITE_PERL%%/Net/Domain/TLD.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Domain/TLD/.packlist
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Domain/TLD 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Domain 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Net/Domain 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Domain/TLD
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Domain
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrmtry %%SITE_PERL%%/Net/Domain
+@dirrmtry %%SITE_PERL%%/Net
diff --git a/dns/p5-Net-Nslookup/pkg-plist b/dns/p5-Net-Nslookup/pkg-plist
index 2281c8b19047..195988c11302 100644
--- a/dns/p5-Net-Nslookup/pkg-plist
+++ b/dns/p5-Net-Nslookup/pkg-plist
@@ -1,5 +1,5 @@
%%SITE_PERL%%/Net/Nslookup.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Nslookup/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Nslookup
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/Net 2>/dev/null || true
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
+@dirrmtry %%SITE_PERL%%/Net
diff --git a/dns/p5-POE-Component-Client-DNS/pkg-plist b/dns/p5-POE-Component-Client-DNS/pkg-plist
index c8547af83aae..3bb3a862cb9e 100644
--- a/dns/p5-POE-Component-Client-DNS/pkg-plist
+++ b/dns/p5-POE-Component-Client-DNS/pkg-plist
@@ -1,9 +1,9 @@
%%SITE_PERL%%/POE/Component/Client/DNS.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Client/DNS/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Client/DNS
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Client 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/POE 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/POE/Component/Client 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/POE/Component 2>/dev/null || true
-@unexec rmdir %D/%%SITE_PERL%%/POE 2>/dev/null || true
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component/Client
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE/Component
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/POE
+@dirrmtry %%SITE_PERL%%/POE/Component/Client
+@dirrmtry %%SITE_PERL%%/POE/Component
+@dirrmtry %%SITE_PERL%%/POE
diff --git a/dns/rbldnsd/pkg-plist b/dns/rbldnsd/pkg-plist
index 9bdb355f975d..26a8e4adbcd8 100644
--- a/dns/rbldnsd/pkg-plist
+++ b/dns/rbldnsd/pkg-plist
@@ -11,4 +11,4 @@ etc/rc.d/rbldnsd.sh
%%PORTDOCS%%%%DOCSDIR%%/rbldnsd.spec
%%PORTDOCS%%%%DOCSDIR%%/rbldnsd.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@unexec rmdir %D/etc/rbldnsd/ 2>/dev/null || true
+@dirrmtry etc/rbldnsd/