Bug 177413 - New port: www/mod_macro24 - mod_macro for apache 2.4
Summary: New port: www/mod_macro24 - mod_macro for apache 2.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-apache (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-27 13:10 UTC by Lukasz Wasikowski
Modified: 2013-03-27 16:20 UTC (History)
0 users

See Also:


Attachments
file.shar (2.04 KB, text/plain)
2013-03-27 13:10 UTC, Lukasz Wasikowski
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukasz Wasikowski 2013-03-27 13:10:00 UTC
mod_macro v1.2.1 for apache branch 2.4.

Fix: shar file attached.

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-27 13:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

apache@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-03-27 16:19:27 UTC
Author: ohauer
Date: Wed Mar 27 16:19:19 2013
New Revision: 315392
URL: http://svnweb.freebsd.org/changeset/ports/315392

Log:
  - new port mod_macro24
  
  mod_macro is a third-party module to the Apache Http Server, distributed with
  a BSD-style license like Apache. It allows the definition and use of macros
  within apache runtime configuration files. The syntax is a natural extension
  to apache html-like configuration style.
  
  WWW: http://www.cri.ensmp.fr/~coelho/mod_macro/
  
  - adopt new Makefile style for mod_macro22
  
  PR:		177413
  Submitted by:	Lukasz Wasikowski <lukasz@wasikowski.net>

Added:
  head/www/mod_macro24/
  head/www/mod_macro24/Makefile   (contents, props changed)
  head/www/mod_macro24/distinfo   (contents, props changed)
  head/www/mod_macro24/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile
  head/www/mod_macro22/Makefile   (contents, props changed)

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Wed Mar 27 15:31:43 2013	(r315391)
+++ head/www/Makefile	Wed Mar 27 16:19:19 2013	(r315392)
@@ -507,6 +507,7 @@
     SUBDIR += mod_log_sql2
     SUBDIR += mod_log_sql2-dtc
     SUBDIR += mod_macro22
+    SUBDIR += mod_macro24
     SUBDIR += mod_memcache
     SUBDIR += mod_memcache_block
     SUBDIR += mod_mono

Modified: head/www/mod_macro22/Makefile
==============================================================================
--- head/www/mod_macro22/Makefile	Wed Mar 27 15:31:43 2013	(r315391)
+++ head/www/mod_macro22/Makefile	Wed Mar 27 16:19:19 2013	(r315392)
@@ -1,9 +1,5 @@
-# Ports collection makefile for:	mod_macro22
-# Date created:				31 May 2008
-# Whom:					Lukasz Wasikowski <lukasz@wasikowski.net>
-#
+# Created by: Lukasz Wasikowski <lukasz@wasikowski.net>
 # $FreeBSD$
-#
 
 PORTNAME=	mod_macro
 PORTVERSION=	1.1.11
@@ -28,8 +24,12 @@ PORTDOCS=	${PORTNAME}.html
 
 PORTSCOUT=	limit:^1\.1\.
 
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}/
 	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
 .endif

Added: head/www/mod_macro24/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mod_macro24/Makefile	Wed Mar 27 16:19:19 2013	(r315392)
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME=	mod_macro
+PORTVERSION=	1.2.1
+CATEGORIES=	www
+MASTER_SITES=	http://www.cri.ensmp.fr/~coelho/mod_macro/
+
+MAINTAINER=	lukasz@wasikowski.net
+COMMENT=	Apache 2.4.x module for use macros in config files
+
+LICENSE=	mod_macro
+LICENSE_NAME=	mod_macro license (apache with postcard request)
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+MAKE_JOBS_SAFE=	yes
+
+USE_APACHE=	24
+LATEST_LINK=	mod_macro24
+AP_FAST_BUILD=	yes
+AP_GENPLIST=	yes
+PORTDOCS=	${PORTNAME}.html
+
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${DOCSDIR}/
+	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/
+.endif
+
+.include <bsd.port.mk>

Added: head/www/mod_macro24/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mod_macro24/distinfo	Wed Mar 27 16:19:19 2013	(r315392)
@@ -0,0 +1,2 @@
+SHA256 (mod_macro-1.2.1.tar.gz) = f22c6342b36526fb401dea4dba4c2b61a72083da973b9ca1c4777a77d5128fc3
+SIZE (mod_macro-1.2.1.tar.gz) = 16870

Added: head/www/mod_macro24/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mod_macro24/pkg-descr	Wed Mar 27 16:19:19 2013	(r315392)
@@ -0,0 +1,6 @@
+mod_macro is a third-party module to the Apache Http Server, distributed with
+a BSD-style license like Apache. It allows the definition and use of macros
+within apache runtime configuration files. The syntax is a natural extension
+to apache html-like configuration style.
+
+WWW: http://www.cri.ensmp.fr/~coelho/mod_macro/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Olli Hauer freebsd_committer freebsd_triage 2013-03-27 16:20:04 UTC
State Changed
From-To: open->closed

Committed, 
Thanks!