mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- add stage support
- add LICENSE - adopt new LIB_DEPENDS syntax
This commit is contained in:
parent
24f3713903
commit
993b9650aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=347568
@ -10,6 +10,7 @@ MASTER_SITES= ftp://ftp.monshouwer.eu/pub/linux/mod_antiloris/
|
|||||||
MAINTAINER= alex@vts.su.ac.rs
|
MAINTAINER= alex@vts.su.ac.rs
|
||||||
COMMENT= Protect Apache 2.x against the Slowloris HTTP DoS attack
|
COMMENT= Protect Apache 2.x against the Slowloris HTTP DoS attack
|
||||||
|
|
||||||
|
LICENSE= APACHE20
|
||||||
|
|
||||||
USE_BZIP2= yes
|
USE_BZIP2= yes
|
||||||
USE_APACHE= 22
|
USE_APACHE= 22
|
||||||
@ -27,11 +28,10 @@ PLIST_FILES+= ${APACHEETCDIR}/Includes/mod_antiloris.conf
|
|||||||
SUB_FILES+= pkg-message.rules
|
SUB_FILES+= pkg-message.rules
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(SKIP_RULES)
|
.if !defined(SKIP_RULES)
|
||||||
@${INSTALL_DATA} ${WRKDIR}/mod_antiloris.conf ${PREFIX}/${APACHEETCDIR}/Includes/
|
@${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/Includes
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${INSTALL_DATA} ${WRKDIR}/mod_antiloris.conf ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/Includes
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -14,7 +14,9 @@ EXTRACT_ONLY= # empty
|
|||||||
MAINTAINER= fw@moov.de
|
MAINTAINER= fw@moov.de
|
||||||
COMMENT= Collects backtraces when a child process crashes
|
COMMENT= Collects backtraces when a child process crashes
|
||||||
|
|
||||||
LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo
|
LICENSE= APACHE20
|
||||||
|
|
||||||
|
LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
|
||||||
|
|
||||||
MANUAL_PACKAGE_BUILD= yes
|
MANUAL_PACKAGE_BUILD= yes
|
||||||
|
|
||||||
@ -27,7 +29,6 @@ SHORTMODNAME= backtrace
|
|||||||
|
|
||||||
WRKSRC= ${WRKDIR}
|
WRKSRC= ${WRKDIR}
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
pre-everything::
|
pre-everything::
|
||||||
@${ECHO_MSG} "*********************** PLEASE NOTE! ***********************"
|
@${ECHO_MSG} "*********************** PLEASE NOTE! ***********************"
|
||||||
@${ECHO_MSG} "Apache httpd must be built with the --enable-exception-hook"
|
@${ECHO_MSG} "Apache httpd must be built with the --enable-exception-hook"
|
||||||
@ -35,7 +36,7 @@ pre-everything::
|
|||||||
@${ECHO_MSG} "*********************** PLEASE NOTE! ***********************"
|
@${ECHO_MSG} "*********************** PLEASE NOTE! ***********************"
|
||||||
|
|
||||||
do-extract:
|
do-extract:
|
||||||
${MKDIR} ${WRKSRC}/
|
@${MKDIR} ${WRKSRC}
|
||||||
${CP} ${DISTDIR}/${PORTNAME}.c ${WRKSRC}/
|
${CP} ${DISTDIR}/${PORTNAME}.c ${WRKSRC}
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -11,6 +11,7 @@ DIST_SUBDIR= apache2
|
|||||||
MAINTAINER= apache@FreeBSD.org
|
MAINTAINER= apache@FreeBSD.org
|
||||||
COMMENT= Allows you to keep your virtual host configuration in a LDAP directory
|
COMMENT= Allows you to keep your virtual host configuration in a LDAP directory
|
||||||
|
|
||||||
|
LICENSE= BSD3CLAUSE
|
||||||
|
|
||||||
USE_APACHE= 22+
|
USE_APACHE= 22+
|
||||||
USE_OPENLDAP= yes
|
USE_OPENLDAP= yes
|
||||||
@ -25,13 +26,8 @@ AP_LIB+= ${LDAP_LIB}
|
|||||||
PORTDOCS= AUTHORS cfg_ldap.conf ChangeLog COPYING INSTALL \
|
PORTDOCS= AUTHORS cfg_ldap.conf ChangeLog COPYING INSTALL \
|
||||||
mod_cfg_ldap.schema README TODO
|
mod_cfg_ldap.schema README TODO
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined (NOPORTDOCS)
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${MKDIR} ${DOCSDIR}
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||||
. for f in ${PORTDOCS}
|
|
||||||
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
||||||
. endfor
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -12,6 +12,8 @@ EXTRACT_ONLY= # empty
|
|||||||
MAINTAINER= fw@moov.de
|
MAINTAINER= fw@moov.de
|
||||||
COMMENT= Logs a report when a child process crashes
|
COMMENT= Logs a report when a child process crashes
|
||||||
|
|
||||||
|
LICENSE= APACHE20
|
||||||
|
|
||||||
MANUAL_PACKAGE_BUILD= yes
|
MANUAL_PACKAGE_BUILD= yes
|
||||||
|
|
||||||
USE_APACHE= 22
|
USE_APACHE= 22
|
||||||
@ -21,9 +23,8 @@ SHORTMODNAME= whatkilledus
|
|||||||
|
|
||||||
WRKSRC= ${WRKDIR}
|
WRKSRC= ${WRKDIR}
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
do-extract:
|
do-extract:
|
||||||
${MKDIR} ${WRKSRC}
|
@${MKDIR} ${WRKSRC}
|
||||||
${CP} ${DISTDIR}/mod_whatkilledus.c ${WRKSRC}
|
${CP} ${DISTDIR}/mod_whatkilledus.c ${WRKSRC}
|
||||||
${CP} ${DISTDIR}/test_char.h ${WRKSRC}
|
${CP} ${DISTDIR}/test_char.h ${WRKSRC}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user