svn commit: r347568 - in head/www: mod_antiloris mod_backtrace mod_cfg_ldap mod_whatkilledus
Olli Hauer
ohauer at FreeBSD.org
Sun Mar 9 13:03:29 UTC 2014
Author: ohauer
Date: Sun Mar 9 13:03:28 2014
New Revision: 347568
URL: http://svnweb.freebsd.org/changeset/ports/347568
QAT: https://qat.redports.org/buildarchive/r347568/
Log:
- add stage support
- add LICENSE
- adopt new LIB_DEPENDS syntax
Modified:
head/www/mod_antiloris/Makefile
head/www/mod_backtrace/Makefile
head/www/mod_cfg_ldap/Makefile
head/www/mod_whatkilledus/Makefile
Modified: head/www/mod_antiloris/Makefile
==============================================================================
--- head/www/mod_antiloris/Makefile Sun Mar 9 13:00:36 2014 (r347567)
+++ head/www/mod_antiloris/Makefile Sun Mar 9 13:03:28 2014 (r347568)
@@ -10,6 +10,7 @@ MASTER_SITES= ftp://ftp.monshouwer.eu/pu
MAINTAINER= alex at vts.su.ac.rs
COMMENT= Protect Apache 2.x against the Slowloris HTTP DoS attack
+LICENSE= APACHE20
USE_BZIP2= yes
USE_APACHE= 22
@@ -27,11 +28,10 @@ PLIST_FILES+= ${APACHEETCDIR}/Includes/m
SUB_FILES+= pkg-message.rules
.endif
-NO_STAGE= yes
post-install:
.if !defined(SKIP_RULES)
- @${INSTALL_DATA} ${WRKDIR}/mod_antiloris.conf ${PREFIX}/${APACHEETCDIR}/Includes/
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/Includes
+ @${INSTALL_DATA} ${WRKDIR}/mod_antiloris.conf ${STAGEDIR}${PREFIX}/${APACHEETCDIR}/Includes
.endif
.include <bsd.port.mk>
Modified: head/www/mod_backtrace/Makefile
==============================================================================
--- head/www/mod_backtrace/Makefile Sun Mar 9 13:00:36 2014 (r347567)
+++ head/www/mod_backtrace/Makefile Sun Mar 9 13:03:28 2014 (r347568)
@@ -14,7 +14,9 @@ EXTRACT_ONLY= # empty
MAINTAINER= fw at moov.de
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
@@ -27,7 +29,6 @@ SHORTMODNAME= backtrace
WRKSRC= ${WRKDIR}
-NO_STAGE= yes
pre-everything::
@${ECHO_MSG} "*********************** PLEASE NOTE! ***********************"
@${ECHO_MSG} "Apache httpd must be built with the --enable-exception-hook"
@@ -35,7 +36,7 @@ pre-everything::
@${ECHO_MSG} "*********************** PLEASE NOTE! ***********************"
do-extract:
- ${MKDIR} ${WRKSRC}/
- ${CP} ${DISTDIR}/${PORTNAME}.c ${WRKSRC}/
+ @${MKDIR} ${WRKSRC}
+ ${CP} ${DISTDIR}/${PORTNAME}.c ${WRKSRC}
.include <bsd.port.mk>
Modified: head/www/mod_cfg_ldap/Makefile
==============================================================================
--- head/www/mod_cfg_ldap/Makefile Sun Mar 9 13:00:36 2014 (r347567)
+++ head/www/mod_cfg_ldap/Makefile Sun Mar 9 13:03:28 2014 (r347568)
@@ -11,6 +11,7 @@ DIST_SUBDIR= apache2
MAINTAINER= apache at FreeBSD.org
COMMENT= Allows you to keep your virtual host configuration in a LDAP directory
+LICENSE= BSD3CLAUSE
USE_APACHE= 22+
USE_OPENLDAP= yes
@@ -25,13 +26,8 @@ AP_LIB+= ${LDAP_LIB}
PORTDOCS= AUTHORS cfg_ldap.conf ChangeLog COPYING INSTALL \
mod_cfg_ldap.schema README TODO
-NO_STAGE= yes
post-install:
-.if !defined (NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
-. for f in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-. endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/www/mod_whatkilledus/Makefile
==============================================================================
--- head/www/mod_whatkilledus/Makefile Sun Mar 9 13:00:36 2014 (r347567)
+++ head/www/mod_whatkilledus/Makefile Sun Mar 9 13:03:28 2014 (r347568)
@@ -12,6 +12,8 @@ EXTRACT_ONLY= # empty
MAINTAINER= fw at moov.de
COMMENT= Logs a report when a child process crashes
+LICENSE= APACHE20
+
MANUAL_PACKAGE_BUILD= yes
USE_APACHE= 22
@@ -21,9 +23,8 @@ SHORTMODNAME= whatkilledus
WRKSRC= ${WRKDIR}
-NO_STAGE= yes
do-extract:
- ${MKDIR} ${WRKSRC}
+ @${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/mod_whatkilledus.c ${WRKSRC}
${CP} ${DISTDIR}/test_char.h ${WRKSRC}
More information about the svn-ports-all
mailing list