Use @dir to do the same job as @postexec.
Suggested by: adamw@
This commit is contained in:
parent
edb2f5266c
commit
a66d632098
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=420437
14 changed files with 49 additions and 59 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= cfengine
|
||||
PORTVERSION= 3.3.8
|
||||
PORTREVISION= 11
|
||||
PORTREVISION= 12
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= https://s3.amazonaws.com/cfengine.package-repos/tarballs/
|
||||
PKGNAMESUFFIX= 33
|
||||
|
|
|
@ -264,11 +264,9 @@ share/cfengine/CoreBase/promises.cf
|
|||
%%DOCSDIR%%/examples/win_emergency.cf
|
||||
%%DOCSDIR%%/examples/win_registry.cf
|
||||
%%DOCSDIR%%/examples/win_schedule.cf
|
||||
@postexec chown root:wheel "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postexec chmod 700 "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/masterfiles" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/modules" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/outputs" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine" >/dev/null 2>&1 || :
|
||||
@dir /var/cfengine/inputs
|
||||
@dir /var/cfengine/masterfiles
|
||||
@dir /var/cfengine/modules
|
||||
@dir /var/cfengine/outputs
|
||||
@dir(root,wheel,700) /var/cfengine/ppkeys
|
||||
@dir /var/cfengine
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= cfengine
|
||||
PORTVERSION= 3.4.5
|
||||
PORTREVISION= 8
|
||||
PORTREVISION= 9
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= https://s3.amazonaws.com/cfengine.package-repos/tarballs/
|
||||
|
||||
|
|
|
@ -296,11 +296,9 @@ share/cfengine/CoreBase/update.cf
|
|||
%%DOCSDIR%%/examples/win_emergency.cf
|
||||
%%DOCSDIR%%/examples/win_registry.cf
|
||||
%%DOCSDIR%%/examples/win_schedule.cf
|
||||
@postexec chown root:wheel "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postexec chmod 700 "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/masterfiles" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/modules" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/outputs" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine" >/dev/null 2>&1 || :
|
||||
@dir /var/cfengine/inputs
|
||||
@dir /var/cfengine/masterfiles
|
||||
@dir /var/cfengine/modules
|
||||
@dir /var/cfengine/outputs
|
||||
@dir(root,wheel,700) /var/cfengine/ppkeys
|
||||
@dir /var/cfengine
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= cfengine
|
||||
PORTVERSION= 3.5.3
|
||||
PORTREVISION= 12
|
||||
PORTREVISION= 13
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= https://s3.amazonaws.com/cfengine.package-repos/tarballs/
|
||||
|
||||
|
|
|
@ -313,11 +313,9 @@ share/cfengine/CoreBase/update.cf
|
|||
%%DOCSDIR%%/examples/win_emergency.cf
|
||||
%%DOCSDIR%%/examples/win_registry.cf
|
||||
%%DOCSDIR%%/examples/win_schedule.cf
|
||||
@postexec chown root:wheel "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postexec chmod 700 "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/masterfiles" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/modules" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/outputs" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine" >/dev/null 2>&1 || :
|
||||
@dir /var/cfengine/inputs
|
||||
@dir /var/cfengine/masterfiles
|
||||
@dir /var/cfengine/modules
|
||||
@dir /var/cfengine/outputs
|
||||
@dir(root,wheel,700) /var/cfengine/ppkeys
|
||||
@dir /var/cfengine
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= cfengine
|
||||
PORTVERSION= 3.6.6
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
.if !defined(MASTERDIR)
|
||||
PKGNAMESUFFIX= 36
|
||||
PORTEPOCH?= 2
|
||||
|
|
|
@ -340,10 +340,9 @@ sbin/rpmvercmp
|
|||
%%DOCSDIR%%/examples/win_registry.cf
|
||||
%%DOCSDIR%%/examples/win_schedule.cf
|
||||
%%DOCSDIR%%/examples/zenoss.cf
|
||||
@postexec chown root:wheel "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postexec chmod 700 "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/modules" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/outputs" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine" >/dev/null 2>&1 || :
|
||||
@dir /var/cfengine/inputs
|
||||
@dir /var/cfengine/masterfiles
|
||||
@dir /var/cfengine/modules
|
||||
@dir /var/cfengine/outputs
|
||||
@dir(root,wheel,700) /var/cfengine/ppkeys
|
||||
@dir /var/cfengine
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= cfengine
|
||||
PORTVERSION= 3.7.3
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= https://s3.amazonaws.com/cfengine-package-repos/tarballs/
|
||||
|
||||
|
|
|
@ -350,10 +350,9 @@ sbin/rpmvercmp
|
|||
%%DOCSDIR%%/examples/win_registry.cf
|
||||
%%DOCSDIR%%/examples/win_schedule.cf
|
||||
%%DOCSDIR%%/examples/zenoss.cf
|
||||
@postexec chown root:wheel "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postexec chmod 700 "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/modules" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/outputs" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine" >/dev/null 2>&1 || :
|
||||
@dir /var/cfengine/inputs
|
||||
@dir /var/cfengine/masterfiles
|
||||
@dir /var/cfengine/modules
|
||||
@dir /var/cfengine/outputs
|
||||
@dir(root,wheel,700) /var/cfengine/ppkeys
|
||||
@dir /var/cfengine
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= cfengine
|
||||
PORTVERSION= 3.8.2
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= https://s3.amazonaws.com/cfengine-package-repos/tarballs/
|
||||
|
||||
|
|
|
@ -353,10 +353,9 @@ sbin/rpmvercmp
|
|||
%%DOCSDIR%%/examples/win_registry.cf
|
||||
%%DOCSDIR%%/examples/win_schedule.cf
|
||||
%%DOCSDIR%%/examples/zenoss.cf
|
||||
@postexec chown root:wheel "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postexec chmod 700 "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/modules" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/outputs" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine" >/dev/null 2>&1 || :
|
||||
@dir /var/cfengine/inputs
|
||||
@dir /var/cfengine/masterfiles
|
||||
@dir /var/cfengine/modules
|
||||
@dir /var/cfengine/outputs
|
||||
@dir(root,wheel,700) /var/cfengine/ppkeys
|
||||
@dir /var/cfengine
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= cfengine
|
||||
PORTVERSION= 3.9.1
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
# XXX Remember to update files/patch-configure.am with any new version number.
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= https://s3.amazonaws.com/cfengine-package-repos/tarballs/
|
||||
|
|
|
@ -364,10 +364,9 @@ sbin/rpmvercmp
|
|||
%%DOCSDIR%%/examples/win_registry.cf
|
||||
%%DOCSDIR%%/examples/win_schedule.cf
|
||||
%%DOCSDIR%%/examples/zenoss.cf
|
||||
@postexec chown root:wheel "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postexec chmod 700 "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/inputs" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/modules" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/outputs" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine/ppkeys" >/dev/null 2>&1 || :
|
||||
@postunexec rmdir "/var/cfengine" >/dev/null 2>&1 || :
|
||||
@dir /var/cfengine/inputs
|
||||
@dir /var/cfengine/masterfiles
|
||||
@dir /var/cfengine/modules
|
||||
@dir /var/cfengine/outputs
|
||||
@dir(root,wheel,700) /var/cfengine/ppkeys
|
||||
@dir /var/cfengine
|
||||
|
|
Loading…
Reference in a new issue