diff options
author | erdgeist <de@gsmk.de> | 2014-06-10 05:17:04 +0200 |
---|---|---|
committer | erdgeist <de@gsmk.de> | 2014-06-10 05:17:04 +0200 |
commit | c657c8d84e845311b84d65a21ff6f41bf82b254f (patch) | |
tree | 5541f9181a3531346a48db31b207d75f1e795e99 | |
parent | 8c232a30f4da36b5e201af0b83d2ea24f6294b73 (diff) |
Do not preserve users and permissions when copying examples, then we don't need to fix ownership later. Examples only belong to root
-rwxr-xr-x | Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -9,15 +9,14 @@ all: | |||
9 | 9 | ||
10 | install: | 10 | install: |
11 | mkdir -p ${DST}/etc/ezjail/ ${DST}/man/man5/ ${DST}/man/man7 ${DST}/man/man8 ${DST}/etc/rc.d/ ${DST}/bin/ ${DST}/share/examples/ezjail ${DST}/share/zsh/site-functions | 11 | mkdir -p ${DST}/etc/ezjail/ ${DST}/man/man5/ ${DST}/man/man7 ${DST}/man/man8 ${DST}/etc/rc.d/ ${DST}/bin/ ${DST}/share/examples/ezjail ${DST}/share/zsh/site-functions |
12 | cp -p ezjail.conf.sample ${DST}/etc/ | 12 | cp ezjail.conf.sample ${DST}/etc/ |
13 | cp -R -p examples/example ${DST}/share/examples/ezjail/ | 13 | cp -R examples/example ${DST}/share/examples/ezjail/ |
14 | cp -R -p examples/nullmailer-example ${DST}/share/examples/ezjail/ | 14 | cp -R examples/nullmailer-example ${DST}/share/examples/ezjail/ |
15 | cp -R -p share/zsh/site-functions/ ${DST}/share/zsh/site-functions/ | 15 | cp -R share/zsh/site-functions/ ${DST}/share/zsh/site-functions/ |
16 | sed s:EZJAIL_PREFIX:${PREFIX}: ezjail.sh > ${DST}/etc/rc.d/ezjail | 16 | sed s:EZJAIL_PREFIX:${PREFIX}: ezjail.sh > ${DST}/etc/rc.d/ezjail |
17 | sed s:EZJAIL_PREFIX:${PREFIX}: ezjail-admin > ${DST}/bin/ezjail-admin | 17 | sed s:EZJAIL_PREFIX:${PREFIX}: ezjail-admin > ${DST}/bin/ezjail-admin |
18 | sed s:EZJAIL_PREFIX:${PREFIX}: man8/ezjail-admin.8 > ${DST}/man/man8/ezjail-admin.8 | 18 | sed s:EZJAIL_PREFIX:${PREFIX}: man8/ezjail-admin.8 > ${DST}/man/man8/ezjail-admin.8 |
19 | sed s:EZJAIL_PREFIX:${PREFIX}: man5/ezjail.conf.5 > ${DST}/man/man5/ezjail.conf.5 | 19 | sed s:EZJAIL_PREFIX:${PREFIX}: man5/ezjail.conf.5 > ${DST}/man/man5/ezjail.conf.5 |
20 | sed s:EZJAIL_PREFIX:${PREFIX}: man7/ezjail.7 > ${DST}/man/man7/ezjail.7 | 20 | sed s:EZJAIL_PREFIX:${PREFIX}: man7/ezjail.7 > ${DST}/man/man7/ezjail.7 |
21 | chmod 755 ${DST}/etc/rc.d/ezjail ${DST}/bin/ezjail-admin | 21 | chmod 755 ${DST}/etc/rc.d/ezjail ${DST}/bin/ezjail-admin |
22 | chown -R root:wheel ${DST}/man/man8/ezjail-admin.8 ${DST}/man/man5/ezjail.conf.5 ${DST}/man/man7/ezjail.7 ${DST}/share/examples/ezjail/ | ||
23 | chmod 0440 ${DST}/share/examples/ezjail/example/usr/local/etc/sudoers | 22 | chmod 0440 ${DST}/share/examples/ezjail/example/usr/local/etc/sudoers |