Support stage
This commit is contained in:
parent
b7b786729a
commit
48812c732f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337650
2 changed files with 15 additions and 28 deletions
|
@ -16,36 +16,10 @@ USE_PYTHON= 2
|
|||
|
||||
SHELLS= /etc/shells
|
||||
|
||||
MAN8= jailkit.8 \
|
||||
jk_addjailuser.8 \
|
||||
jk_check.8 \
|
||||
jk_chrootlaunch.8 \
|
||||
jk_chrootsh.8 \
|
||||
jk_cp.8 \
|
||||
jk_init.8 \
|
||||
jk_jailuser.8 \
|
||||
jk_list.8 \
|
||||
jk_lsh.8 \
|
||||
jk_socketd.8 \
|
||||
jk_uchroot.8 \
|
||||
jk_update.8
|
||||
MANCOMPRESSED= yes
|
||||
|
||||
PORTDOCS= COPYRIGHT README.txt
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG} "Updating ${SHELLS}"
|
||||
@${CP} ${SHELLS} ${SHELLS}.bak
|
||||
@(${GREP} -v ${PREFIX}/sbin/jk_chrootsh ${SHELLS}.bak; \
|
||||
${ECHO_CMD} ${PREFIX}/sbin/jk_chrootsh) > ${SHELLS}
|
||||
@${RM} -f ${SHELLS}.bak
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -6,6 +6,19 @@ etc/jailkit/jk_socketd.ini
|
|||
etc/jailkit/jk_chrootsh.ini
|
||||
etc/jailkit/jk_update.ini
|
||||
etc/jailkit/jk_uchroot.ini
|
||||
man/man8/jailkit.8.gz
|
||||
man/man8/jk_addjailuser.8.gz
|
||||
man/man8/jk_check.8.gz
|
||||
man/man8/jk_chrootlaunch.8.gz
|
||||
man/man8/jk_chrootsh.8.gz
|
||||
man/man8/jk_cp.8.gz
|
||||
man/man8/jk_init.8.gz
|
||||
man/man8/jk_jailuser.8.gz
|
||||
man/man8/jk_list.8.gz
|
||||
man/man8/jk_lsh.8.gz
|
||||
man/man8/jk_socketd.8.gz
|
||||
man/man8/jk_uchroot.8.gz
|
||||
man/man8/jk_update.8.gz
|
||||
sbin/jk_chrootlaunch
|
||||
sbin/jk_chrootsh
|
||||
sbin/jk_cp
|
||||
|
|
Loading…
Reference in a new issue