mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Add staging support
- Remove author tag from pkg-descr
This commit is contained in:
parent
243485b498
commit
4dd0bc4c09
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361220
3 changed files with 16 additions and 24 deletions
|
@ -14,39 +14,27 @@ COMMENT= Port knocking implementation, both daemon and client
|
|||
BUILD_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
PATCH_STRIP= -p1
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= installdirs install-exec install-data
|
||||
|
||||
MAN1= knock.1
|
||||
MAN5= knockcf.5 doormand.cf.5 guestlist.5
|
||||
MAN8= doormand.8
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
SUB_FILES= pkg-message doormand.cf.EXAMPLE
|
||||
USE_RC_SUBR= doorman
|
||||
|
||||
NO_STAGE= yes
|
||||
pre-patch:
|
||||
@${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \
|
||||
${WRKSRC}/doormand.c
|
||||
|
||||
post-install:
|
||||
${RM} -f ${PREFIX}/etc/doormand/ipf_add
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/ipf_add.atend ${PREFIX}/etc/doormand/ipf_add.atend
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/ipf_add.before_block ${PREFIX}/etc/doormand/ipf_add.before_block
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/ipf_delete ${PREFIX}/etc/doormand/ipf_delete
|
||||
${INSTALL_DATA} ${WRKDIR}/doormand.cf.EXAMPLE ${PREFIX}/etc/doormand/doormand.cf.EXAMPLE
|
||||
@for man in ${MAN1}; do \
|
||||
${INSTALL_MAN} -C ${WRKSRC}/$$man ${PREFIX}/man/man1; \
|
||||
done
|
||||
@for man in ${MAN5}; do \
|
||||
${INSTALL_MAN} -C ${WRKSRC}/$$man ${PREFIX}/man/man5; \
|
||||
done
|
||||
@for man in ${MAN8}; do \
|
||||
${INSTALL_MAN} -C ${WRKSRC}/$$man ${PREFIX}/man/man8; \
|
||||
done
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
${RM} -f ${STAGEDIR}${PREFIX}/etc/doormand/ipf_add
|
||||
(cd ${FILESDIR} && ${INSTALL_SCRIPT} ipf_add.atend ipf_delete \
|
||||
ipf_add.before_block ${STAGEDIR}${PREFIX}/etc/doormand)
|
||||
${INSTALL_DATA} ${WRKDIR}/doormand.cf.EXAMPLE \
|
||||
${STAGEDIR}${PREFIX}/etc/doormand
|
||||
${INSTALL_MAN} -C ${WRKSRC}/knock.1 ${STAGEDIR}${PREFIX}/man/man1
|
||||
(cd ${WRKSRC} && ${INSTALL_MAN} -C knockcf.5 doormand.cf.5 guestlist.5 \
|
||||
${STAGEDIR}${PREFIX}/man/man5)
|
||||
${INSTALL_MAN} -C ${WRKSRC}/doormand.8 ${STAGEDIR}${PREFIX}/man/man8
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -2,5 +2,4 @@ Doorman is a port knocking implementation which allows a server to run
|
|||
silently, invisibly, with all TCP ports closed except to those who know...
|
||||
the secret knock!
|
||||
|
||||
Author: Bruce Ward <bward2@users.sourceforge.net>
|
||||
WWW: http://doorman.sourceforge.net/
|
||||
|
|
|
@ -12,5 +12,10 @@ etc/doormand/iptables_add
|
|||
etc/doormand/iptables_delete
|
||||
etc/doormand/pfctl_add
|
||||
etc/doormand/pfctl_delete
|
||||
man/man1/knock.1.gz
|
||||
man/man5/knockcf.5.gz
|
||||
man/man5/doormand.cf.5.gz
|
||||
man/man5/guestlist.5.gz
|
||||
man/man8/doormand.8.gz
|
||||
sbin/doormand
|
||||
@dirrmtry etc/doormand
|
||||
|
|
Loading…
Add table
Reference in a new issue