mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
minor fixes
- add --quiet argument for CPIO - remove the arguments of speedy_suidperl
This commit is contained in:
parent
4a695692d0
commit
7d89487938
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116046
@ -115,7 +115,7 @@ pre-fetch:
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${PERL} -pi.bak -e 's,${LOCALBASE}/bin/speedy_suid,${LOCALBASE}/bin/speedy_suidperl,g' ${PATCH_WRKSRC}/uty/*.diff
|
||||
@${PERL} -pi.bak -e 's,${LOCALBASE}/bin/speedy_suid.*,${LOCALBASE}/bin/speedy_suidperl,g' ${PATCH_WRKSRC}/uty/*.diff
|
||||
|
||||
post-patch:
|
||||
@${MV} ${PATCH_WRKSRC}/etc/openwebmail.conf ${PATCH_WRKSRC}/etc/openwebmail.conf-dist
|
||||
@ -150,9 +150,9 @@ pre-install:
|
||||
do-install:
|
||||
@${MKDIR} ${OWCGIDIR} ${OWDATADIR}
|
||||
@cd ${WRKSRC}/cgi-bin/openwebmail && ${FIND} . \
|
||||
| ${CPIO} -dpum -R ${BINOWN}:mail ${OWCGIDIR}
|
||||
| ${CPIO} -dpum --quiet -R ${BINOWN}:mail ${OWCGIDIR}
|
||||
@cd ${WRKSRC}/data/openwebmail && ${FIND} . \
|
||||
| ${CPIO} -dpum -R ${SHAREOWN}:${SHAREGRP} ${OWDATADIR}
|
||||
| ${CPIO} -dpum --quiet -R ${SHAREOWN}:${SHAREGRP} ${OWDATADIR}
|
||||
.if !exists(${OWCGIDIR}/etc/openwebmail.conf)
|
||||
@${CP} ${OWCGIDIR}/etc/openwebmail.conf-dist ${OWCGIDIR}/etc/openwebmail.conf
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user