Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Mar 2014 13:03:28 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347568 - in head/www: mod_antiloris mod_backtrace mod_cfg_ldap mod_whatkilledus
Message-ID:  <201403091303.s29D3Sbr050749@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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@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@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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403091303.s29D3Sbr050749>