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
|
@ -8,45 +8,33 @@ CATEGORIES= security
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||||
EXTRACT_SUFX= .tgz
|
EXTRACT_SUFX= .tgz
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= Port knocking implementation, both daemon and client
|
COMMENT= Port knocking implementation, both daemon and client
|
||||||
|
|
||||||
BUILD_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof
|
BUILD_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof
|
||||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||||
|
|
||||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
||||||
PATCH_STRIP= -p1
|
PATCH_STRIP= -p1
|
||||||
|
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
INSTALL_TARGET= installdirs install-exec install-data
|
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
|
SUB_FILES= pkg-message doormand.cf.EXAMPLE
|
||||||
USE_RC_SUBR= doorman
|
USE_RC_SUBR= doorman
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
pre-patch:
|
pre-patch:
|
||||||
@${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \
|
@${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \
|
||||||
${WRKSRC}/doormand.c
|
${WRKSRC}/doormand.c
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${RM} -f ${PREFIX}/etc/doormand/ipf_add
|
${RM} -f ${STAGEDIR}${PREFIX}/etc/doormand/ipf_add
|
||||||
${INSTALL_SCRIPT} ${FILESDIR}/ipf_add.atend ${PREFIX}/etc/doormand/ipf_add.atend
|
(cd ${FILESDIR} && ${INSTALL_SCRIPT} ipf_add.atend ipf_delete \
|
||||||
${INSTALL_SCRIPT} ${FILESDIR}/ipf_add.before_block ${PREFIX}/etc/doormand/ipf_add.before_block
|
ipf_add.before_block ${STAGEDIR}${PREFIX}/etc/doormand)
|
||||||
${INSTALL_SCRIPT} ${FILESDIR}/ipf_delete ${PREFIX}/etc/doormand/ipf_delete
|
${INSTALL_DATA} ${WRKDIR}/doormand.cf.EXAMPLE \
|
||||||
${INSTALL_DATA} ${WRKDIR}/doormand.cf.EXAMPLE ${PREFIX}/etc/doormand/doormand.cf.EXAMPLE
|
${STAGEDIR}${PREFIX}/etc/doormand
|
||||||
@for man in ${MAN1}; do \
|
${INSTALL_MAN} -C ${WRKSRC}/knock.1 ${STAGEDIR}${PREFIX}/man/man1
|
||||||
${INSTALL_MAN} -C ${WRKSRC}/$$man ${PREFIX}/man/man1; \
|
(cd ${WRKSRC} && ${INSTALL_MAN} -C knockcf.5 doormand.cf.5 guestlist.5 \
|
||||||
done
|
${STAGEDIR}${PREFIX}/man/man5)
|
||||||
@for man in ${MAN5}; do \
|
${INSTALL_MAN} -C ${WRKSRC}/doormand.8 ${STAGEDIR}${PREFIX}/man/man8
|
||||||
${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}
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.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...
|
silently, invisibly, with all TCP ports closed except to those who know...
|
||||||
the secret knock!
|
the secret knock!
|
||||||
|
|
||||||
Author: Bruce Ward <bward2@users.sourceforge.net>
|
|
||||||
WWW: http://doorman.sourceforge.net/
|
WWW: http://doorman.sourceforge.net/
|
||||||
|
|
|
@ -12,5 +12,10 @@ etc/doormand/iptables_add
|
||||||
etc/doormand/iptables_delete
|
etc/doormand/iptables_delete
|
||||||
etc/doormand/pfctl_add
|
etc/doormand/pfctl_add
|
||||||
etc/doormand/pfctl_delete
|
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
|
sbin/doormand
|
||||||
@dirrmtry etc/doormand
|
@dirrmtry etc/doormand
|
||||||
|
|
Loading…
Add table
Reference in a new issue