From owner-freebsd-apache@FreeBSD.ORG Sun Mar 24 12:24:21 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 39957122; Sun, 24 Mar 2013 12:24:21 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 156038F0; Sun, 24 Mar 2013 12:24:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2OCOKWV035795; Sun, 24 Mar 2013 12:24:20 GMT (envelope-from ohauer@freefall.freebsd.org) Received: (from ohauer@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2OCOKwG035794; Sun, 24 Mar 2013 12:24:20 GMT (envelope-from ohauer) Date: Sun, 24 Mar 2013 12:24:20 GMT Message-Id: <201303241224.r2OCOKwG035794@freefall.freebsd.org> To: chris.dukes.aix@gmail.com, ohauer@FreeBSD.org, apache@FreeBSD.org From: ohauer@FreeBSD.org Subject: Re: ports/177118: devel/apr1 with FREETDS enabled, does not have proper depends to include expat.h X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Mar 2013 12:24:21 -0000 Synopsis: devel/apr1 with FREETDS enabled, does not have proper depends to include expat.h State-Changed-From-To: open->feedback State-Changed-By: ohauer State-Changed-When: Sun Mar 24 12:16:49 UTC 2013 State-Changed-Why: Strange ... I don't see this issue with tinderbox builds. Setting expat as additional BUILD_DEPENDS will not change anything because LIB_DEPENDS will be installed before BUILD_DEPENDS. Can you provide me the output of the following commands. $> cd devel/apr1 $> make clean $> script -q b.log make + additional the two config.logs - work/apr-1.4.6/config.log - work/apr-util-1.4.1/config.log http://www.freebsd.org/cgi/query-pr.cgi?pr=177118 From owner-freebsd-apache@FreeBSD.ORG Mon Mar 25 11:06:09 2013 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9C432EBF for ; Mon, 25 Mar 2013 11:06:09 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 8EEF3FCE for ; Mon, 25 Mar 2013 11:06:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2PB69SH006389 for ; Mon, 25 Mar 2013 11:06:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2PB69xf006387 for apache@FreeBSD.org; Mon, 25 Mar 2013 11:06:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 25 Mar 2013 11:06:09 GMT Message-Id: <201303251106.r2PB69xf006387@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: apache@FreeBSD.org Subject: Current problem reports assigned to apache@FreeBSD.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2013 11:06:09 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/177118 apache devel/apr1 with FREETDS enabled, does not have proper a ports/176659 apache www/apache22 2.2.24 build error o ports/174617 apache [new port] No www/apache24 in the ports tree o ports/165809 apache add mod_proxy patch to www/apache22 o ports/157554 apache www/apache22: Apache RLimitNPROC does not work as inte o ports/125183 apache www/apache22 wrong SUEXEC_DOCROOT o ports/124375 apache security/heimdal: www/mod_auth_kerb doesn't compile ag 7 problems total. From owner-freebsd-apache@FreeBSD.ORG Tue Mar 26 09:08:18 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 11E65B76; Tue, 26 Mar 2013 09:08:18 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E07FB9B9; Tue, 26 Mar 2013 09:08:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2Q98HMK065347; Tue, 26 Mar 2013 09:08:17 GMT (envelope-from ohauer@freefall.freebsd.org) Received: (from ohauer@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2Q98HEe065346; Tue, 26 Mar 2013 09:08:17 GMT (envelope-from ohauer) Date: Tue, 26 Mar 2013 09:08:17 GMT Message-Id: <201303260908.r2Q98HEe065346@freefall.freebsd.org> To: chris.dukes.aix@gmail.com, ohauer@FreeBSD.org, apache@FreeBSD.org From: ohauer@FreeBSD.org Subject: Re: ports/177118: devel/apr1 with FREETDS enabled, does not have proper depends to include expat.h X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2013 09:08:18 -0000 Synopsis: devel/apr1 with FREETDS enabled, does not have proper depends to include expat.h State-Changed-From-To: feedback->closed State-Changed-By: ohauer State-Changed-When: Tue Mar 26 09:06:50 UTC 2013 State-Changed-Why: Hi Christopher, the issue should be fixed now, it was a stupid typo. Thanks for your help! http://www.freebsd.org/cgi/query-pr.cgi?pr=177118 From owner-freebsd-apache@FreeBSD.ORG Tue Mar 26 09:10:01 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6B31ABEB for ; Tue, 26 Mar 2013 09:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 5CD0B9CC for ; Tue, 26 Mar 2013 09:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2Q9A1Mt065454 for ; Tue, 26 Mar 2013 09:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2Q9A1Cx065453; Tue, 26 Mar 2013 09:10:01 GMT (envelope-from gnats) Date: Tue, 26 Mar 2013 09:10:01 GMT Message-Id: <201303260910.r2Q9A1Cx065453@freefall.freebsd.org> To: apache@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/177118: commit references a PR X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2013 09:10:01 -0000 The following reply was made to PR ports/177118; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/177118: commit references a PR Date: Tue, 26 Mar 2013 09:08:41 +0000 (UTC) Author: ohauer Date: Tue Mar 26 09:06:12 2013 New Revision: 315269 URL: http://svnweb.freebsd.org/changeset/ports/315269 Log: - fix build with freetds - no version bump (not a default option) PR: 177118 Submitted by: Christopher Dukes Modified: head/devel/apr1/Makefile Modified: head/devel/apr1/Makefile ============================================================================== --- head/devel/apr1/Makefile Tue Mar 26 08:56:28 2013 (r315268) +++ head/devel/apr1/Makefile Tue Mar 26 09:06:12 2013 (r315269) @@ -119,7 +119,7 @@ APU_CONF_ARGS+= --without-ldap APU_EXTRAS= yes PLIST_SUB+= FREETDS="" APU_CONF_ARGS+= --with-freetds=${LOCALBASE} -LIB_DEPENDS= sybdb:${PORTSDIR}/databases/freetds +LIB_DEPENDS+= sybdb:${PORTSDIR}/databases/freetds .else PLIST_SUB+= FREETDS="@comment " APU_CONF_ARGS+= --without-freetds _______________________________________________ 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" From owner-freebsd-apache@FreeBSD.ORG Tue Mar 26 21:40:02 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 178D463B for ; Tue, 26 Mar 2013 21:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 09210216 for ; Tue, 26 Mar 2013 21:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2QLe1GW004547 for ; Tue, 26 Mar 2013 21:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2QLe1OT004545; Tue, 26 Mar 2013 21:40:01 GMT (envelope-from gnats) Date: Tue, 26 Mar 2013 21:40:01 GMT Message-Id: <201303262140.r2QLe1OT004545@freefall.freebsd.org> To: apache@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/174617: commit references a PR X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2013 21:40:02 -0000 The following reply was made to PR ports/174617; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/174617: commit references a PR Date: Tue, 26 Mar 2013 21:35:45 +0000 (UTC) Author: ohauer Date: Tue Mar 26 21:35:33 2013 New Revision: 315335 URL: http://svnweb.freebsd.org/changeset/ports/315335 Log: - new port www/apache24 The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for various modern desktop and server operating systems, such as UNIX and Windows NT. The goal of this project is to provide a secure, efficient and extensible server which provides HTTP services in sync with the current HTTP standards. The 2.x branch of Apache Web Server includes several improvements like threading, use of APR, native IPv6 and SSL support, and many more. WWW: http://httpd.apache.org/ Note: Since apache24 does not enable every module by default in httpd.conf the list of modules to build was preselected to match build param --enable-modules=most MPM selection is now an OPTION also if the MPM is build statically or dynamically. In the later case all modules are build/installed but only the selected MPM has an entry in httpd.conf (see apache issue 53882) Per default the MPM prefork (static) will be build, to get the best compatibility. Custom variants like itk/peruser are not supported at the moment. Port based on my work prototype from the apache@ list and patch from PR 174617 with hat apache@ PR: 174617 Submitted by: Added: head/www/apache24/ head/www/apache24/Makefile (contents, props changed) head/www/apache24/Makefile.modules (contents, props changed) head/www/apache24/Makefile.options (contents, props changed) head/www/apache24/Makefile.options.desc (contents, props changed) head/www/apache24/distinfo (contents, props changed) head/www/apache24/files/ head/www/apache24/files/apache24.in (contents, props changed) head/www/apache24/files/htcacheclean.in (contents, props changed) head/www/apache24/files/no-accf.conf (contents, props changed) head/www/apache24/files/patch-Makefile.in (contents, props changed) head/www/apache24/files/patch-config.layout (contents, props changed) head/www/apache24/files/patch-configure.in (contents, props changed) head/www/apache24/files/patch-docs__conf__extra__httpd-autoindex.conf.in (contents, props changed) head/www/apache24/files/patch-docs__conf__extra__httpd-ssl.conf.in (contents, props changed) head/www/apache24/files/patch-docs__conf__extra__httpd-userdir.conf.in (contents, props changed) head/www/apache24/files/patch-docs__conf__httpd.conf.in (contents, props changed) head/www/apache24/files/patch-support__Makefile.in (contents, props changed) head/www/apache24/files/patch-support__apachectl.in (contents, props changed) head/www/apache24/files/patch-support__apxs.in (contents, props changed) head/www/apache24/files/patch-support__envvars-std.in (contents, props changed) head/www/apache24/files/patch-support__log_server_status.in (contents, props changed) head/www/apache24/pkg-descr (contents, props changed) head/www/apache24/pkg-help (contents, props changed) head/www/apache24/pkg-message (contents, props changed) head/www/apache24/pkg-plist (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Tue Mar 26 21:33:33 2013 (r315334) +++ head/www/Makefile Tue Mar 26 21:35:33 2013 (r315335) @@ -25,6 +25,7 @@ SUBDIR += apache22-itk-mpm SUBDIR += apache22-peruser-mpm SUBDIR += apache22-worker-mpm + SUBDIR += apache24 SUBDIR += apercu SUBDIR += aria SUBDIR += aria2 Added: head/www/apache24/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/apache24/Makefile Tue Mar 26 21:35:33 2013 (r315335) @@ -0,0 +1,168 @@ +# $FreeBSD$ + +PORTNAME= apache24 +PORTVERSION= 2.4.4 +CATEGORIES= www ipv6 +MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} +DISTNAME= httpd-${PORTVERSION} +DIST_SUBDIR= apache24 + +MAINTAINER= apache@FreeBSD.org +COMMENT= Version 2.4.x of Apache web server + +LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \ + apr-1:${PORTSDIR}/devel/apr1 \ + pcre:${PORTSDIR}/devel/pcre + +MAKE_JOBS_SAFE= yes + +LATEST_LINK?= apache24 + +CONFLICTS_INSTALL= caudium14-1.* \ + apache-*-2.2.* apache22-* + +USE_APACHE= common24 +USE_ICONV= yes +USE_AUTOTOOLS= autoconf libtool +USE_PERL5= yes +USE_RC_SUBR= apache24 htcacheclean +LIBTOOLFILES= configure.in + +MAN1= ab.1 apxs.1 dbmmanage.1 htdbm.1 htdigest.1 htpasswd.1 httxt2dbm.1 logresolve.1 +MAN8= apachectl.8 fcgistarter.8 htcacheclean.8 httpd.8 rotatelogs.8 suexec.8 + +PORTDOCS= * + +USERS= www +GROUPS= www + +# for slave ports +.if !defined(MASTERDIR) +APACHEDIR= ${.CURDIR} +.else +APACHEDIR= ${MASTERDIR} +.endif + +WITH_HTTP_PORT?= 80 +WITH_SSL_PORT?= 443 + +.include "${APACHEDIR}/Makefile.options" +.include "${APACHEDIR}/Makefile.options.desc" +.include + +.if ! ${PORT_OPTIONS:MDOCS} +MAKE_ENV+= NOPORTDOCS=yes +.endif + +APR_CONFIG?= ${LOCALBASE}/bin/apr-1-config +APU_CONFIG?= ${LOCALBASE}/bin/apu-1-config + +# APU modules used by AUTHN_DBD DBD +APU_DBD_MYSQL?= ${LOCALBASE}/lib/apr-util-1/apr_dbd_mysql.so +APU_DBD_PGSQL?= ${LOCALBASE}/lib/apr-util-1/apr_dbd_pgsql.so +APU_DBD_SQLITE3?= ${LOCALBASE}/lib/apr-util-1/apr_dbd_sqlite3.so +# APU module used by AUTHNZ_LDAP LDAP +APU_LDAP?= ${LOCALBASE}/lib/apr-util-1/apr_ldap.so +# APU module used by SESSION_CRYPTO +APU_CRYPTO_OPENSSL?= ${LOCALBASE}/lib/apr-util-1/apr_crypto_openssl.so +APU_CRYPTO_NSS?= ${LOCALBASE}/lib/apr-util-1/apr_crypto_nss.so + +PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,} + +CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} \ + --enable-layout=FreeBSD \ + --with-perl=${PERL5} \ + --with-port=${WITH_HTTP_PORT} \ + --with-sslport=${WITH_SSL_PORT} \ + --with-expat=${LOCALBASE} \ + --with-iconv=${LOCALBASE} \ + --enable-http \ + --with-pcre=${LOCALBASE} \ + --with-apr=${APR_CONFIG} \ + --with-apr-util=${APU_CONFIG} + +CONFIGURE_ENV= \ + CONFIG_SHELL="${SH}" \ + LOCALBASE="${LOCALBASE}" + +MAKE_ENV+= EXPR_COMPAT=yes \ + INSTALL_MAN="${INSTALL_MAN}" \ + EXAMPLESDIR=${EXAMPLESDIR} + +#===================================================== +# CONFIGURE_ARGS will be handled in Makefile.modules, +# here we do only OPTIONS fixups + +.if ${PORT_OPTIONS:MSSL} +USE_OPENSSL= yes +.endif + +.if ${PORT_OPTIONS:MSOCACHE_DC} +LIB_DEPENDS+= distcache:${PORTSDIR}/security/distcache +.endif + +.if ${PORT_OPTIONS:MLUA} +USE_LUA= 5.1+ +LUA_COMPS= lua +.endif + +.if ${PORT_OPTIONS:MLUAJIT} +LIB_DEPENDS+= luajit:${PORTSDIR}/lang/luajit +.endif + +.if ${PORT_OPTIONS:MPROXY_HTML} || ${PORT_OPTIONS:MXML2ENC} +USE_GNOME= libxml2 +.endif + +.include +.include "${APACHEDIR}/Makefile.modules" + +pre-configure:: + @${ECHO_MSG} "" + @${ECHO_MSG} " You can check your modules configuration by using make show-modules" + @${ECHO_MSG} "" + +post-extract: +# remove possible leftover .svn directories in the sources + @${FIND} ${WRKSRC} -type d -name .svn -print | ${XARGS} ${RM} -rf + +post-patch: + @${REINPLACE_CMD} -e 's," PLATFORM ",FreeBSD,' ${WRKSRC}/server/core.c +# IPv4_mapping fix: https://issues.apache.org/bugzilla/show_bug.cgi?id=53824 + @${REINPLACE_CMD} -e 's|freebsd5|freebsd|' ${WRKSRC}/configure.in ${WRKSRC}/configure + @${RM} -f ${WRKSRC}/docs/docroot/*.bak + @${INSTALL_DATA} ${WRKSRC}/NOTICE ${WRKSRC}/docs/manual + +post-configure: + @FTPUSERS=`${EGREP} -v '^#' /etc/ftpusers| ${TR} -s "\n" " "` ;\ + ${REINPLACE_CMD} -e "s,%%FTPUSERS%%,$${FTPUSERS}," ${WRKSRC}/docs/conf/extra/httpd-userdir.conf + @${REINPLACE_CMD} -e "s,%%WWWOWN%%,${WWWOWN}," -e "s,%%WWWGRP%%,${WWWGRP}," ${WRKSRC}/docs/conf/httpd.conf + @${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX}," ${WRKSRC}/support/envvars-std + +post-install: + @${MKDIR} ${ETCDIR}/envvars.d + @${MKDIR} ${ETCDIR}/Includes + @${INSTALL_DATA} ${FILESDIR}/no-accf.conf ${ETCDIR}/Includes/ + +.if ${PORT_OPTIONS:MLOG_FORENSIC} + @${INSTALL_SCRIPT} ${WRKSRC}/support/check_forensic ${PREFIX}/sbin +.endif + +.if ${PORT_OPTIONS:MDOCS} +. for dir in style/lang style/xsl/util style/xsl + @[ -d ${DOCSDIR}/${dir}/ ] && ${TOUCH} ${DOCSDIR}/${dir}/.keepme +. endfor +.endif + @${CAT} ${PKGMESSAGE} + +# maintainer only, check for new modules +modlist: extract + @${FIND} ${WRKSRC} \( -name '*.ds?' -o -name 'NWGNU*' -o -name '*.win' -o -name '*.spec' \) -delete + @${AWK} '/: checking whether to enable mod_/ \ + {printf "%%%%%s%%%%libexec/apache24/%s.so\n", \ + toupper($$8), $$8}' ${WRKSRC}/configure \ + | ${TR} -d '"' \ + | ${SORT} -u \ + | ${GREP} -E -v 'MOD_(HTTP|ISAPI|LOG_CONFIG|PRIVILEGES|SO|UNIXD)%%' + +.include Added: head/www/apache24/Makefile.modules ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/apache24/Makefile.modules Tue Mar 26 21:35:33 2013 (r315335) @@ -0,0 +1,197 @@ +# $FreeBSD$ +# +# Note by Clement Laforet: (to generate PLIST_SUB entries for modules) +# gsed 's/^\(.*\)mod\(.*\)\.so/%%\MOD\U\2%%\L\1mod\2\.so/' pkg-plist > tmp +# mv tmp pkg-plist +# + +# ============================================= +# Maintainer note for OPTION handling: +# To set additional option use +# PORT_OPTIONS+= +# To unset an OPTION, even the OPTION is set in OPTIONSFILE use +# WITHOUT_MODULES+= +# Using OPTIONS_EXCLUDE and OPTIONS_OVERRIDE do not work as expected +# if the OPTION is enabled by the user, therefore we calculate +# them in bsd.apache.mk with help of WITHOUT_MODULES +# The other methode is to set IGNORE's and force the user to adjust OPTIONS + +.if defined(_PREMKINCLUDED) + +# check if APR was build with thread support +.if exists(${APR_CONFIG}) +APR_LIBS!= ${SH} ${APR_CONFIG} --libs | ${SED} -e 's/-//g' +. if defined(APR_LIBS) && !empty(APR_LIBS) +_T=pthread +. for lib in ${APR_LIBS} +. if ${_T:M${lib}} +APR_HAS_THREADS= yes +. endif +. endfor +. endif +.endif # exists APR_CONFIG + +# check if APR-util module exists +.if exists(${APU_CONFIG}) +. if ${PORT_OPTIONS:MLDAP} || ${PORT_OPTIONS:MAUTHNZ_LDAP} +. if !exists(${APU_LDAP}) +IGNORE= LDAP and AUTHNZ_LDAP requires APR-util to have LDAP support built in.\ + Please rebuild APR with LDAP support +. endif +. endif + +. if ${PORT_OPTIONS:MSESSION_CRYPTO} +. if !exists(${APU_CRYPTO_OPENSSL}) +IGNORE= SESSION_CRYPTO requires APR-util to have crypto openssl support build in.\ + Please rebuild APR with crypto openssl support +. endif +. endif + +# XXX apache24 needs only the apu-header +# perhaps we get in future the possibility to package dedicated APU modules +# +#. if ${PORT_OPTIONS:MDBD} || ${PORT_OPTIONS:MAUTHN_DBD} +#. if !exists(${APU_DBD_MYSQL}) && !exists(${APU_DBD_PGSQL}) && !exists(${APU_DBD_SQLITE3}) +#IGNORE= AUTHN_DBD and DBD requires APR-util to have DBD support build in.\ +# Please rebuild APR at last with one DBD backend +#. endif +#. endif +.endif # exists APU_CONFIG + +# ============================================= +# if build with shared MPM the last module will be activated +# see apache issue 53882 + +# XXX in case we use OPTIONS for MPM +# we do not have a WITH_MPM variable +.if ${PORT_OPTIONS:MMPM_SHARED} +PLIST_SUB+= MPM_SHARED="" +CONFIGURE_ARGS+= --enable-mpms-shared=all +.else +PLIST_SUB+= MPM_SHARED="@comment " +.endif + +# XXX LATEST_LINK overwrites OPTIONSFILE ... +# maybe use NO_LATEST_LINK in future +.if ${PORT_OPTIONS:MMPM_PREFORK} +CONFIGURE_ARGS+= --with-mpm=prefork +.elif ${PORT_OPTIONS:MMPM_WORKER} +CONFIGURE_ARGS+= --with-mpm=worker +.elif ${PORT_OPTIONS:MMPM_EVENT} +CONFIGURE_ARGS+= --with-mpm=event +.else +IGNORE= Unknown MPM: +.endif + +.if ${PORT_OPTIONS:MMPM_WORKER} || ${PORT_OPTIONS:MMPM_EVENT} +. if exists(${APR_CONFIG}) && !defined(APR_HAS_THREADS) +IGNORE= requires APR threads. Please rebuild APR with THREAD support +. endif +.endif +# ============================================= + +# build develop/example modules only with additional confirmation +.for DEVMOD in ${EXAMPLE_MODULES} +. if ${PORT_OPTIONS:M${DEVMOD}} +WITH_DEVMODS= yes +. endif +.endfor + +.if defined(WITH_DEVMODS) && !defined(IAMADEVELOPER ) +IGNORE= to build the develop/example modules specify -DIAMADEVELOPER on the command line.\ + Do not use the this modules in production environment +.endif + +# The next three params are not converted to an option, +# they should be used only for special builds. +.if defined(WITH_STATIC_SUPPORT) +CONFIGURE_ARGS+= --enable-static-support +.endif + +# debug overrides CFLAGS +.if defined(WITH_DEBUG) +DEBUG_FLAGS?= -O0 -g -ggdb3 +CFLAGS= ${DEBUG_FLAGS} +CONFIGURE_ARGS+= --enable-maintainer-mode +WITH_EXCEPTION_HOOK= yes +.endif + +.if defined(WITH_EXCEPTION_HOOK) +CONFIGURE_ARGS+= --enable-exception-hook +.endif + +# watchdog modules +.if ! ${PORT_OPTIONS:MWATCHDOG} || ! ${PORT_OPTIONS:MSTATUS} +. if ${PORT_OPTIONS:MHEARTBEAT} +IGNORE= HEARTBEAT requires WATCHDOG and STATUS +. elif ${PORT_OPTIONS:MHEARTMONITOR} +IGNORE= HEARTMONITOR requires WATCHDOG and STATUS +. endif +.endif +.if ${PORT_OPTIONS:MLBMETHOD_HEARTBEAT} && ! ${PORT_OPTIONS:MHEARTMONITOR} +IGNORE= LBMETHOD_HEARTBEAT requires WATCHDOG, STATUS and HEARTMONITOR +.endif + +.if ${PORT_OPTIONS:MAUTH_BASIC} || ${PORT_OPTIONS:MAUTH_DIGEST} +. if !${APACHE_MODULES:MAUTHN*} +IGNORE= AUTH_BASIC and AUTH_DIGEST need at least one AUTHN provider +. endif +.endif + +. if ${PORT_OPTIONS:MAUTHN_DBD} && ! ${PORT_OPTIONS:MDBD} +IGNORE= AUTHN_DBD requires DBD +. endif + +.if ${PORT_OPTIONS:MAUTH_BASIC} +. if !${APACHE_MODULES:MAUTHZ*} +IGNORE= AUTH_BASIC need at least one AUTHZ provider +. endif +.endif + +.if ${PORT_OPTIONS:MSSL} +CFLAGS+= -I${OPENSSLINC} +LDFLAGS+= -L${OPENSSLLIB} +CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} +.endif + +.if ${PORT_OPTIONS:MSOCACHE_DC} +CONFIGURE_ARGS+= --with-distcache=${LOCALBASE} +.endif + +.if ${PORT_OPTIONS:MLUA} +CONFIGURE_ARGS+= --with-lua=${LOCALBASE} +.else +CONFIGURE_ARGS+= --without-lua +.endif + +.if ${PORT_OPTIONS:MXML2ENC} || ${PORT_OPTIONS:MPROXY_HTML} +CONFIGURE_ARGS+= --with-libxml2=${LOCALBASE}/include/libxml2 +.else +CONFIGURE_ARGS+= --without-libxml2 +.endif + +.if ${PORT_OPTIONS:MAUTHNZ_LDAP} +CONFIGURE_ARGS+= --enable-authnz-ldap +.endif + +.if ${PORT_OPTIONS:MLDAP} +CONFIGURE_ARGS+= --enable-ldap=shared +.endif + +.if defined(APR_HAS_THREADS) +CFLAGS+= ${PTHREAD_CFLAGS} +LDFLAGS+= ${PTHREAD_LIBS} +.else +. if exists(${APR_CONFIG}) && ${PORT_OPTIONS:MMEM_CACHE} +IGNORE= MEM_CACHE requires APR threads. Please rebuild APR with THREAD support +. endif +.endif + +# http://httpd.apache.org/docs/2.4/bind.html +.if ${PORT_OPTIONS:MIPV4_MAPPED} +CONFIGURE_ARGS+= --enable-v4-mapped +.else +CONFIGURE_ARGS+= --disable-v4-mapped +.endif + +.endif # _PREMKINCLUDED Added: head/www/apache24/Makefile.options ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/apache24/Makefile.options Tue Mar 26 21:35:33 2013 (r315335) @@ -0,0 +1,99 @@ +# $FreeBSD$ + +# =========================================================== +# The list of modules are no longer classified in CATEGORIES. +# We use for enabled/disabled now the resulting modules from +# configure --enable-modules=most +# +# Required modules without OPTION: +# UNIXD LOG_CONFIG + + +PROXY_ENABLED_MODULES= \ + PROXY_AJP PROXY_BALANCER PROXY_CONNECT PROXY_EXPRESS PROXY_FCGI \ + PROXY_FTP PROXY_HTTP PROXY_SCGI + +PROXY_DISABLED_MODULES= \ + PROXY_FDPASS PROXY_HTML + +# SESSION_CRYPTO need APR build with crypto (EVP support in APR) +SESSION_ENABLED_MODULES= \ + SESSION_COOKIE SESSION_CRYPTO + +SESSION_DISABLED_MODULES= \ + SESSION_DBD + +HEARTBEAT_MODULES= \ + HEARTBEAT HEARTMONITOR LBMETHOD_HEARTBEAT + +EXAMPLE_MODULES= \ + CASE_FILTER CASE_FILTER_IN ECHO EXAMPLE_HOOKS EXAMPLE_IPC \ + OPTIONAL_FN_EXPORT OPTIONAL_FN_IMPORT OPTIONAL_HOOK_EXPORT \ + OPTIONAL_HOOK_IMPORT + +DEV_MODULES= BUCKETEER + +MOST_ENABLED_MODULES= \ + ACCESS_COMPAT ACTIONS ALIAS ALLOWMETHODS ASIS AUTHN_ANON AUTHN_CORE \ + AUTHN_DBD AUTHN_DBM AUTHN_FILE AUTHN_SOCACHE AUTHZ_CORE AUTHZ_DBD \ + AUTHZ_DBM AUTHZ_GROUPFILE AUTHZ_HOST AUTHZ_OWNER AUTHZ_USER \ + AUTH_BASIC AUTH_DIGEST AUTH_FORM AUTOINDEX BUFFER CACHE CACHE_DISK \ + CERN_META CGI CGID DAV DAV_FS DBD DEFLATE DIR DUMPIO ENV EXPIRES \ + EXT_FILTER FILE_CACHE FILTER HEADERS IMAGEMAP INCLUDE INFO \ + LBMETHOD_BYBUSYNESS LBMETHOD_BYREQUESTS LBMETHOD_BYTRAFFIC \ + LOGIO LOG_DEBUG MIME MIME_MAGIC NEGOTIATION RATELIMIT REMOTEIP \ + REQTIMEOUT REQUEST REWRITE SED SETENVIF SOCACHE_DBM SOCACHE_MEMCACHE \ + SOCACHE_SHMCB SPELING SSL STATUS SUBSTITUTE UNIQUE_ID USERDIR \ + VERSION VHOST_ALIAS + +MOST_DISABLED_MODULES:= \ + AUTHNZ_LDAP LDAP CHARSET_LITE DATA DAV_LOCK DIALUP IDENT LOG_FORENSIC \ + LUA REFLECTOR SLOTMEM_PLAIN SLOTMEM_SHM SOCACHE_DC SUEXEC USERTRACK \ + XML2ENC WATCHDOG ${HEARTBEAT_MODULES} ${EXAMPLE_MODULES} ${DEV_MODULES} + +#MULTI_MODULES:= ${OPTIONS_MULTI} + +# XXX PROXY and SESSION are modules but also used to +# enable/disable additional PROXY/SESSION modules +META_MODULES= PROXY SESSION + +ALL_MODULES_CATEGORIES= \ + MOST_ENABLED MOST_DISABLED MULTI \ + PROXY_ENABLED PROXY_DISABLED \ + SESSION_ENABLED SESSION_DISABLED \ + META + +#STATIC= STATIC_AB STATIC_CHECKGID STATIC_FCGISTARTER STATIC_HTCACHECLEAN \ +# STATIC_HTDBM STATIC_HTDIGEST STATIC_HTPASSWD STATIC_HTTXT2DBM \ +# STATIC_LOGRESOLVE STATIC_ROTATELOGS STATIC_SUPPORT + +ADDITIONAL_OPT= LUAJIT IPV4_MAPPED + +# =================================================================================== +NO_OPTIONS_SORT= yes + +OPTIONS_MULTI= ${META_MODULES} +OPTIONS_MULTI_PROXY:= ${PROXY_ENABLED_MODULES} ${PROXY_DISABLED_MODULES} +OPTIONS_MULTI_SESSION:= ${SESSION_ENABLED_MODULES} ${SESSION_DISABLED_MODULES} + +OPTIONS_RADIO= SHARED_MPM +OPTIONS_RADIO_SHARED_MPM= MPM_SHARED + +OPTIONS_SINGLE= DEFAULT_MPM +OPTIONS_SINGLE_DEFAULT_MPM= MPM_PREFORK MPM_WORKER MPM_EVENT + +# =================================================================================== + +OPTIONS_DEFINE:= \ + ${MOST_ENABLED_MODULES} \ + ${MOST_DISABLED_MODULES}\ + ${ADDITIONAL_OPT} \ + ${OPTIONS_MULTI} + +OPTIONS_DEFAULT:= \ + ${MOST_ENABLED_MODULES} \ + ${OPTIONS_MULTI} \ + ${SESSION_ENABLED_MODULES} \ + ${PROXY_ENABLED_MODULES} \ + MPM_PREFORK + Added: head/www/apache24/Makefile.options.desc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/apache24/Makefile.options.desc Tue Mar 26 21:35:33 2013 (r315335) @@ -0,0 +1,173 @@ +# $FreeBSD$ + +# vim: syntax=make ts=8 noet +# ===================================== +# OPTIONS HEADING +PROXY_DESC= Build enabled PROXY modules +SESSION_DESC= Build enabled SESSION modules +DEFAULT_MPM_DESC= The default MPM module +SHARED_MPM_DESC= Build all MPMs as shared Module + +# ===================================== +# MPMs +MPM_SHARED_DESC= all MPMs as loadable module +MPM_PREFORK_DESC= non-threaded, pre-forking web server +MPM_WORKER_DESC= hybrid multi-threaded multi-process web server +MPM_EVENT_DESC= MPM worker variant with the goal of consuming threads only for connections with active processing + +# ===================================== +# additional (no modules) +IPV4_MAPPED_DESC= Allow IPv6 sockets to handle IPv4 connections +LUAJIT_DESC= LuaJit Support + +# ===================================== +# static support (tbd) +STATIC_AB_DESC= static linked ab +STATIC_CHECKGID_DESC= static linked checkgid +STATIC_FCGISTARTER_DESC= static linked fcgistarter +STATIC_HTCACHECLEAN_DESC= static linked htcacheclean +STATIC_HTDBM_DESC= static linked htdbm +STATIC_HTDIGEST_DESC= static linked htdigest +STATIC_HTPASSWD_DESC= static linked htpasswd +STATIC_HTTXT2DBM_DESC= static linked httxt2dbm +STATIC_LOGRESOLVE_DESC= static linked logresolve +STATIC_ROTATELOGS_DESC= static linked rotatelogs +STATIC_SUPPORT_DESC= static linked support binaries + +# ===================================== +# modules +# deprecated: ACCESS_COMPAT +ACCESS_COMPAT_DESC= Old group authorizations based on host (name or IP), deprecated by mod_authz_host +ACTIONS_DESC= Action triggering on requests +ALIAS_DESC= Mapping of requests to different filesystem parts +ALLOWMETHODS_DESC= Easily restrict what HTTP methods can be used on the server +ASIS_DESC= Sends files that contain their own HTTP headers +AUTHNZ_LDAP_DESC= LDAP based authentication +AUTHN_ANON_DESC= Anonymous user authentication control +AUTHN_CORE_DESC= Core authentication module +AUTHN_DBD_DESC= SQL-based authentication control +AUTHN_DBM_DESC= DBM-based authentication control +AUTHN_FILE_DESC= File-based authentication control +AUTHN_SOCACHE_DESC= Cached authentication control +AUTHZ_CORE_DESC= Core authorization provider vector module +AUTHZ_DBD_DESC= SQL based authorization and Login/Session support +AUTHZ_DBM_DESC= DBM-based authorization control +AUTHZ_GROUPFILE_DESC= Group authorization using plaintext files +AUTHZ_HOST_DESC= Host-based authorization control +AUTHZ_OWNER_DESC= Authorization based on file ownership +AUTHZ_USER_DESC= User Authorization +AUTH_BASIC_DESC= Basic authentication +AUTH_DIGEST_DESC= RFC2617 Digest authentication +AUTH_FORM_DESC= Form authentication +AUTOINDEX_DESC= Directory listing + +BUCKETEER_DESC= (dev) buckets manipulation filter, useful only for developers and testing purposes +BUFFER_DESC= Filter Buffering + +CACHE_DESC= Dynamic file caching +CACHE_DISK_DESC= Disk caching module +CASE_FILTER_DESC= (dev) example uppercase conversion filter +CASE_FILTER_IN_DESC= (dev) example uppercase conversion input filter +CERN_META_DESC= CERN-type meta files +CGID_DESC= CGI scripts (threaded MPMs) +CGI_DESC= CGI scripts (non-threaded MPMs) +CHARSET_LITE_DESC= Character set translation. Enabled by default only on EBCDIC systems + +DATA_DESC= RFC2397 data encoder +DAV_DESC= WebDAV protocol handling. --enable-dav also enables mod_dav_fs +DAV_FS_DESC= DAV provider for the filesystem. --enable-dav also enables mod_dav_fs +DAV_LOCK_DESC= DAV provider for generic locking +DBD_DESC= Apache DBD Framework +DEFLATE_DESC= Deflate transfer encoding support +DIALUP_DESC= Rate limits static files to dialup modem speeds +DIR_DESC= Directory request handling +DUMPIO_DESC= I/O dump filter + +ECHO_DESC= (dev) example echo server +ENV_DESC= Modifies environment passed to CGI/SSI pages +EXAMPLE_HOOKS_DESC= (dev) example hook module +EXAMPLE_IPC_DESC= (dev) example IPC module +EXPIRES_DESC= Expires header control +EXT_FILTER_DESC= External filter module + +FILE_CACHE_DESC= File cache +FILTER_DESC= Smart Filtering + +HEADERS_DESC= HTTP header control +HEARTBEAT_DESC= Generates Heartbeats +HEARTMONITOR_DESC= Collects Heartbeats + +IDENT_DESC= RFC 1413 ident lookups +IMAGEMAP_DESC= Server-side imagemaps +INCLUDE_DESC= Server-side includes +INFO_DESC= Server information + +LBMETHOD_BYBUSYNESS_DESC= Apache proxy Load balancing by busyness +LBMETHOD_BYREQUESTS_DESC= Apache proxy Load balancing by request counting +LBMETHOD_BYTRAFFIC_DESC= Apache proxy Load balancing by traffic counting +LBMETHOD_HEARTBEAT_DESC= Apache proxy Load balancing from Heartbeats +LDAP_DESC= LDAP caching and connection pooling services +LOGIO_DESC= Input and output logging +LOG_CONFIG_DESC= logging configuration +LOG_DEBUG_DESC= Configurable debug logging +LOG_FORENSIC_DESC= Forensic logging +LUA_DESC= Apache Lua Framework + +MIME_DESC= Mapp file-ext. to MIME (recommended) +MIME_MAGIC_DESC= Automagically determining MIME type + +NEGOTIATION_DESC= Content negotiation + +OPTIONAL_FN_EXPORT_DESC= (dev) example optional function exporter +OPTIONAL_FN_IMPORT_DESC= (dev) example optional function importer +OPTIONAL_HOOK_EXPORT_DESC= (dev) example optional hook exporter +OPTIONAL_HOOK_IMPORT_DESC= (dev) example optional hook importer + +#PRIVILEGES_DESC= Per-virtualhost Unix UserIDs and enhanced security for Solaris +PROXY_AJP_DESC= AJP support module for mod_proxy +PROXY_BALANCER_DESC= mod_proxy extension for load balancing +PROXY_CONNECT_DESC= mod_proxy extension for CONNECT request handling +PROXY_EXPRESS_DESC= Dynamic mass reverse proxy extension for mod_proxy +PROXY_FCGI_DESC= FastCGI support module for mod_proxy +PROXY_FDPASS_DESC= fdpass external process support module for mod_proxy +PROXY_FTP_DESC= FTP support module for mod_proxy +PROXY_HTML_DESC= Fix HTML Links in a Reverse Proxy +PROXY_HTTP_DESC= HTTP support module for mod_proxy +PROXY_SCGI_DESC= SCGI gateway module for mod_proxy + +RATELIMIT_DESC= Output Bandwidth Limiting +REFLECTOR_DESC= Reflect request through the output filter stack +REMOTEIP_DESC= Translate header contents to an apparent client remote_ip +REQTIMEOUT_DESC= Limit time waiting for request from client +REQUEST_DESC= Request Body Filtering +REWRITE_DESC= Rule based URL manipulation + +SED_DESC= Filter request and/or response bodies through sed +SESSION_COOKIE_DESC= Session cookie module +SESSION_CRYPTO_DESC= Session crypto module +SESSION_DBD_DESC= Session dbd module +SETENVIF_DESC= Modify ENV vars based on characteristics of the request +SLOTMEM_PLAIN_DESC= Slotmem provider that uses plain memory +SLOTMEM_SHM_DESC= Slotmem provider that uses shared memory +SOCACHE_DBM_DESC= dbm small object cache provider +SOCACHE_DC_DESC= distcache small object cache provider +SOCACHE_MEMCACHE_DESC= memcache small object cache provider +SOCACHE_SHMCB_DESC= shmcb small object cache provider +SPELING_DESC= Correct common URL misspellings +SSL_DESC= SSL/TLS support (mod_ssl) +STATUS_DESC= Process/thread monitoring +SUBSTITUTE_DESC= Response content rewrite-like filtering +SUEXEC_DESC= Set uid and gid for spawned processes + +UNIQUE_ID_DESC= Per-request unique ids +UNIXD_DESC= (required) security for Unix-family platforms +USERDIR_DESC= Mapping of requests to user-specific directories +USERTRACK_DESC= User-session tracking + +VERSION_DESC= Determining httpd version in config files +VHOST_ALIAS_DESC= Mass virtual hosting + +WATCHDOG_DESC= Watchdog module + +XML2ENC_DESC= i18n support for markup filters + Added: head/www/apache24/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/apache24/distinfo Tue Mar 26 21:35:33 2013 (r315335) @@ -0,0 +1,2 @@ +SHA256 (apache24/httpd-2.4.4.tar.gz) = aec9f0b92021b7f67d1f0a2221afcb26ee6469d861b6d0168d8d8c51d710ef79 +SIZE (apache24/httpd-2.4.4.tar.gz) = 6451189 Added: head/www/apache24/files/apache24.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/apache24/files/apache24.in Tue Mar 26 21:35:33 2013 (r315335) @@ -0,0 +1,196 @@ +#!/bin/sh +# +# $FreeBSD$ + +# PROVIDE: apache24 +# REQUIRE: LOGIN cleanvar sshd +# KEYWORD: shutdown + +# +# Add the following lines to /etc/rc.conf to enable apache24: +# apache24_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable apache24 +# apache24_profiles (str): Set to "" by default. +# Define your profiles here. +# apache24limits_enable (bool):Set to "NO" by default. +# Set it to yes to run `limits $limits_args` +# just before apache starts. +# apache24_flags (str): Set to "" by default. +# Extra flags passed to start command. +# apache24limits_args (str): Default to "-e -C daemon" +# Arguments of pre-start limits run. +# apache24_http_accept_enable (bool): Set to "NO" by default. +# Set to yes to check for accf_http kernel +# module on start up and load if not loaded. +# apache24_fib (str): Set an altered default network view for apache + +. /etc/rc.subr + +name="apache24" +rcvar=apache24_enable + +start_precmd="apache24_prestart" +restart_precmd="apache24_checkconfig" +reload_precmd="apache24_checkconfig" +reload_cmd="apache24_graceful" +graceful_cmd="apache24_graceful" +gracefulstop_cmd="apache24_gracefulstop" +configtest_cmd="apache24_checkconfig" +command="%%PREFIX%%/sbin/httpd" +_pidprefix="/var/run/httpd" +pidfile="${_pidprefix}.pid" +required_files=%%PREFIX%%/etc/apache24/httpd.conf +envvars="%%PREFIX%%/sbin/envvars" + +[ -z "$apache24_enable" ] && apache24_enable="NO" +[ -z "$apache24limits_enable" ] && apache24limits_enable="NO" +[ -z "$apache24limits_args" ] && apache24limits_args="-e -C daemon" +[ -z "$apache24_http_accept_enable" ] && apache24_http_accept_enable="NO" + +apache24_accf() +{ + if checkyesno apache24_http_accept_enable; then + /sbin/kldstat -v | grep accf_http > /dev/null 2>&1 || /sbin/kldload accf_http || return ${?} + /sbin/kldstat -v | grep accf_data > /dev/null 2>&1 || /sbin/kldload accf_data || return ${?} + else + apache24_flags="${apache24_flags} -DNOHTTPACCEPT" + fi +} + +load_rc_config $name + +if [ -n "$2" ]; then + profile="$2" + if [ "x${apache24_profiles}" != "x" ]; then + pidfile="${_pidprefix}.${profile}.pid" + eval apache24_configfile="\${apache24_${profile}_configfile:-}" + if [ "x${apache24_configfile}" = "x" ]; then + echo "You must define a configuration file (apache24_${profile}_configfile)" + exit 1 + fi + required_files="${apache24_configfile}" + eval apache24_enable="\${apache24_${profile}_enable:-${apache24_enable}}" + eval apache24_flags="\${apache24_${profile}_flags:-${apache24_flags}}" + eval apache24_http_accept_enable="\${apache24_${profile}_http_accept_enable:-${apache24_http_accept_enable}}" + eval apache24limits_enable="\${apache24limits_${profile}_enable:-${apache24limits_enable}}" + eval apache24limits_args="\${apache24limits_${profile}_args:-${apache24limits_args}}" + eval apache24_fib="\${apache24_${profile}_fib:-${apache24_fib}}" + eval command="\${apache24_${profile}_command:-${command}}" + eval pidfile="\${apache24_${profile}_pidfile:-${pidfile}}" + eval apache24_envvars="\${apache24_${profile}_envvars:-${envvars}}" + apache24_flags="-f ${apache24_configfile} -c \"PidFile ${pidfile}\" ${apache24_flags}" + else + echo "$0: extra argument ignored" + fi +else + eval apache24_envvars=${envvars} + if [ "x${apache24_profiles}" != "x" -a "x$1" != "x" ]; then + for profile in ${apache24_profiles}; do + eval _enable="\${apache24_${profile}_enable}" + case "x${_enable:-${apache24_enable}}" in + x|x[Nn][Oo]|x[Nn][Oo][Nn][Ee]) + continue + ;; + x[Yy][Ee][Ss]) + ;; + *) + if test -z "$_enable"; then + _var=apache24_enable + else + _var=apache24_"${profile}"_enable + fi + echo "Bad value" \ + "'${_enable:-${apache24_enable}}'" \ + "for ${_var}. " \ + "Profile ${profile} skipped." + continue + ;; + esac + echo "===> apache24 profile: ${profile}" + %%PREFIX%%/etc/rc.d/apache24 $1 ${profile} + retcode="$?" + if [ "0${retcode}" -ne 0 ]; then + failed="${profile} (${retcode}) ${failed:-}" + else + success="${profile} ${success:-}" + fi + done + exit 0 + fi +fi + +if [ "${1}" != "stop" ] ; then \ + apache24_accf +fi + +apache24_requirepidfile() +{ + apache24_checkconfig + + if [ ! "0`check_pidfile ${pidfile} ${command}`" -gt 1 ]; then + echo "${name} not running? (check $pidfile)." + exit 1 + fi +} + +apache24_checkconfig() +{ + if test -f ${apache24_envvars} + then + . ${apache24_envvars} + fi + + echo "Performing sanity check on apache24 configuration:" + eval ${command} ${apache24_flags} -t +} + +apache24_graceful() { + apache24_requirepidfile + + echo "Performing a graceful restart" + eval ${command} ${apache24_flags} -k graceful +} + +apache24_gracefulstop() { + apache24_requirepidfile + + echo "Performing a graceful stop" + eval ${command} ${apache24_flags} -k graceful-stop +} + +apache24_precmd() +{ + apache24_checkconfig + + if checkyesno apache24limits_enable + then + eval `/usr/bin/limits ${apache24limits_args}` 2>/dev/null + else + return 0 + fi + +} + +apache24_checkfib () { + if command -v check_namevarlist > /dev/null 2>&1; then + check_namevarlist fib && return 0 + fi + + $SYSCTL net.fibs >/dev/null 2>&1 || return 0 + + apache24_fib=${apache24_fib:-"NONE"} + if [ "x$apache24_fib" != "xNONE" ] + then + command="/usr/sbin/setfib -F ${apache24_fib} ${command}" + else + return 0 + fi +} + +apache24_prestart() { + apache24_checkfib + apache24_precmd +} + +extra_commands="reload graceful gracefulstop configtest" +run_rc_command "$1" Added: head/www/apache24/files/htcacheclean.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/apache24/files/htcacheclean.in Tue Mar 26 21:35:33 2013 (r315335) @@ -0,0 +1,62 @@ +#!/bin/sh + +# $FreeBSD$ +# +# PROVIDE: htcacheclean +# +# Configuration settings for htcacheclean in /etc/rc.conf +# +# htcacheclean_enable (bool) +# Set to "NO" by default +# Set it to "YES" to enable htcacheclean +# +# htcacheclean_cache (str) Set to "%%PREFIX%%/www/proxy" by default Set the +# location of the mod_disk_cache CacheRoot This should be the same as whats in +# your httpd.conf +# +# htcacheclean_cachelimit (str) Set to "512M" by default Sets the size +# htcacheclean should prune the disk cache to expressed in bytes by default, K +# for kilobytes, M for megabytes. +# +# htcacheclean_interval (num) +# Set to "10" by default +# Sets how frequently in munutes htcacheclean wakes up and prunes the cache +# +# htcacheclean_args (str) +# Set to "-t -n -i" by default +# Sets extra command-line arguments to htcacheclean +# -t Delete all empty directories +# -n Be nice by sleeping occasionally to not saturate the I/O bandwith of the disk +# -i Run only when there was a modification of the disk cache + +. /etc/rc.subr + +name="htcacheclean" +rcvar=htcacheclean_enable + +load_rc_config "${name}" + +htcacheclean_enable="${htcacheclean_enable:-"NO"}" +htcacheclean_cache="${htcacheclean_cache:-"%%PREFIX%%/www/proxy"}" +htcacheclean_cachelimit="${htcacheclean_cachelimit:-"512M"}" +htcacheclean_interval="${htcacheclean_interval:-"60"}" +htcacheclean_args="${htcacheclean_args:-"-t -n -i"}" + +start_precmd="htc_check" +restart_precmd="htc_check" +restart_reload="htc_check" + +command="%%PREFIX%%/sbin/htcacheclean" +flags="-p${htcacheclean_cache} -d${htcacheclean_interval} -l${htcacheclean_cachelimit} ${htcacheclean_args}" +required_dirs="${htcacheclean_cache}" + +htc_check() +{ + [ ! -d ${htcacheclean_cache} ] && { + echo "" + return 1 + } + return 0 +} + +run_rc_command "$1" Added: head/www/apache24/files/no-accf.conf ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/apache24/files/no-accf.conf Tue Mar 26 21:35:33 2013 (r315335) @@ -0,0 +1,4 @@ + + AcceptFilter http none + AcceptFilter https none + Added: head/www/apache24/files/patch-Makefile.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/apache24/files/patch-Makefile.in Tue Mar 26 21:35:33 2013 (r315335) @@ -0,0 +1,115 @@ +--- ./Makefile.in.orig 2012-12-17 12:50:41.000000000 +0100 ++++ ./Makefile.in 2013-03-24 16:01:58.000000000 +0100 +@@ -32,9 +32,10 @@ + install-conf: + @echo Installing configuration files + @$(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(sysconfdir)/extra +- @$(MKINSTALLDIRS) $(DESTDIR)$(sysconfdir)/original/extra ++ @$(MKINSTALLDIRS) $(DESTDIR)$(EXAMPLESDIR) $(DESTDIR)$(EXAMPLESDIR)/extra + @cd $(top_srcdir)/docs/conf; \ + for i in mime.types magic; do \ ++ $(INSTALL_DATA) $$i $(DESTDIR)$(EXAMPLESDIR); \ + if test ! -f $(DESTDIR)$(sysconfdir)/$$i; then \ + $(INSTALL_DATA) $$i $(DESTDIR)$(sysconfdir); \ + fi; \ +@@ -78,14 +79,14 @@ + -e 's#@@SSLPort@@#$(SSLPORT)#g' \ + < $$i; \ + fi \ +- ) > $(DESTDIR)$(sysconfdir)/original/$$i; \ +- chmod 0644 $(DESTDIR)$(sysconfdir)/original/$$i; \ ++ ) > $(DESTDIR)$(EXAMPLESDIR)/$$i; \ ++ chmod 0644 $(DESTDIR)$(EXAMPLESDIR)/$$i; \ + file=$$i; \ + if [ "$$i" = "httpd.conf" ]; then \ + file=`echo $$i|sed s/.*.conf/$(PROGRAM_NAME).conf/`; \ + fi; \ + if test ! -f $(DESTDIR)$(sysconfdir)/$$file; then \ +- $(INSTALL_DATA) $(DESTDIR)$(sysconfdir)/original/$$i $(DESTDIR)$(sysconfdir)/$$file; \ ++ $(INSTALL_DATA) $(DESTDIR)$(EXAMPLESDIR)/$$i $(DESTDIR)$(sysconfdir)/$$file; \ + fi; \ + fi; \ + done ; \ +@@ -137,48 +138,26 @@ + doxygen $(top_srcdir)/docs/doxygen.conf + + install-htdocs: +- -@if [ -d $(DESTDIR)$(htdocsdir) ]; then \ +- echo "[PRESERVING EXISTING HTDOCS SUBDIR: $(DESTDIR)$(htdocsdir)]"; \ +- else \ +- echo Installing HTML documents ; \ ++ @echo Installing HTML documents ; \ + $(MKINSTALLDIRS) $(DESTDIR)$(htdocsdir) ; \ +- if test -d $(htdocs-srcdir) && test "x$(RSYNC)" != "x" && test -x $(RSYNC) ; then \ +- $(RSYNC) --exclude .svn -rlpt --numeric-ids $(htdocs-srcdir)/ $(DESTDIR)$(htdocsdir)/; \ +- else \ +- test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp * $(DESTDIR)$(htdocsdir)) ; \ +- cd $(DESTDIR)$(htdocsdir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true; \ +- fi; \ +- fi ++ $(MKINSTALLDIRS) $(DESTDIR)$(EXAMPLESDIR) ; \ ++ test -d $(htdocs-srcdir) && (cd $(htdocs-srcdir) && cp -rp index.html $(DESTDIR)$(EXAMPLESDIR)) && \ ++ ( [ ! -f $(DESTDIR)$(htdocsdir)/index.html ] && cp -p $(DESTDIR)$(EXAMPLESDIR)/index.html $(DESTDIR)$(htdocsdir)/index.html) || true + + install-error: +- -@if [ -d $(DESTDIR)$(errordir) ]; then \ +- echo "[PRESERVING EXISTING ERROR SUBDIR: $(DESTDIR)$(errordir)]"; \ +- else \ +- echo Installing error documents ; \ ++ @echo Installing error documents ; \ + $(MKINSTALLDIRS) $(DESTDIR)$(errordir) ; \ +- cd $(top_srcdir)/docs/error && cp -rp * $(DESTDIR)$(errordir) ; \ +- test "x$(errordir)" != "x" && cd $(DESTDIR)$(errordir) && find . -name ".svn" -type d -print | xargs rm -rf 2>/dev/null || true; \ *** DIFF OUTPUT TRUNCATED AT 1000 LINES *** _______________________________________________ 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" From owner-freebsd-apache@FreeBSD.ORG Tue Mar 26 22:06:24 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A0BE03E9; Tue, 26 Mar 2013 22:06:24 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7C2BD652; Tue, 26 Mar 2013 22:06:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2QM6ONe009593; Tue, 26 Mar 2013 22:06:24 GMT (envelope-from ohauer@freefall.freebsd.org) Received: (from ohauer@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2QM6NaJ009592; Tue, 26 Mar 2013 22:06:23 GMT (envelope-from ohauer) Date: Tue, 26 Mar 2013 22:06:23 GMT Message-Id: <201303262206.r2QM6NaJ009592@freefall.freebsd.org> To: swall@redcom.com, ohauer@FreeBSD.org, apache@FreeBSD.org From: ohauer@FreeBSD.org Subject: Re: ports/174617: [new port] No www/apache24 in the ports tree X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2013 22:06:24 -0000 Synopsis: [new port] No www/apache24 in the ports tree State-Changed-From-To: open->closed State-Changed-By: ohauer State-Changed-When: Tue Mar 26 22:05:07 UTC 2013 State-Changed-Why: A port with parts of your patch was committed Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=174617 From owner-freebsd-apache@FreeBSD.ORG Wed Mar 27 13:10:08 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 890567B3; Wed, 27 Mar 2013 13:10:08 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 64D12AA3; Wed, 27 Mar 2013 13:10:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2RDA8cY087327; Wed, 27 Mar 2013 13:10:08 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2RDA806087326; Wed, 27 Mar 2013 13:10:08 GMT (envelope-from edwin) Date: Wed, 27 Mar 2013 13:10:08 GMT Message-Id: <201303271310.r2RDA806087326@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, apache@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/177413: New port: www/mod_macro24 - mod_macro for apache 2.4 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 13:10:08 -0000 Synopsis: New port: www/mod_macro24 - mod_macro for apache 2.4 Responsible-Changed-From-To: freebsd-ports-bugs->apache Responsible-Changed-By: edwin Responsible-Changed-When: Wed Mar 27 13:10:08 UTC 2013 Responsible-Changed-Why: apache@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=177413 From owner-freebsd-apache@FreeBSD.ORG Wed Mar 27 13:40:08 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 76A13409; Wed, 27 Mar 2013 13:40:08 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 5258CDF0; Wed, 27 Mar 2013 13:40:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2RDe8BS093102; Wed, 27 Mar 2013 13:40:08 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2RDe8Tp093101; Wed, 27 Mar 2013 13:40:08 GMT (envelope-from edwin) Date: Wed, 27 Mar 2013 13:40:08 GMT Message-Id: <201303271340.r2RDe8Tp093101@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, apache@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/177414: [maintainer update] Update www/mod_macro22 to use options NG X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 13:40:08 -0000 Synopsis: [maintainer update] Update www/mod_macro22 to use options NG Responsible-Changed-From-To: freebsd-ports-bugs->apache Responsible-Changed-By: edwin Responsible-Changed-When: Wed Mar 27 13:40:08 UTC 2013 Responsible-Changed-Why: apache@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=177414 From owner-freebsd-apache@FreeBSD.ORG Wed Mar 27 16:20:01 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B68B19F5 for ; Wed, 27 Mar 2013 16:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A9AB6AB8 for ; Wed, 27 Mar 2013 16:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2RGK1OB023267 for ; Wed, 27 Mar 2013 16:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2RGK1DK023266; Wed, 27 Mar 2013 16:20:01 GMT (envelope-from gnats) Date: Wed, 27 Mar 2013 16:20:01 GMT Message-Id: <201303271620.r2RGK1DK023266@freefall.freebsd.org> To: apache@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Subject: Re: ports/177413: commit references a PR X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dfilter service List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 16:20:01 -0000 The following reply was made to PR ports/177413; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/177413: commit references a PR Date: Wed, 27 Mar 2013 16:19:27 +0000 (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 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 -# +# Created by: Lukasz Wasikowski # $FreeBSD$ -# PORTNAME= mod_macro PORTVERSION= 1.1.11 @@ -28,8 +24,12 @@ PORTDOCS= ${PORTNAME}.html PORTSCOUT= limit:^1\.1\. +OPTIONS_DEFINE= DOCS + +.include + 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 + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}/ +.endif + +.include 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" From owner-freebsd-apache@FreeBSD.ORG Wed Mar 27 16:20:32 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 09C53A49; Wed, 27 Mar 2013 16:20:32 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id D90F5AC3; Wed, 27 Mar 2013 16:20:31 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2RGKV2a024747; Wed, 27 Mar 2013 16:20:31 GMT (envelope-from ohauer@freefall.freebsd.org) Received: (from ohauer@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2RGKV2l024746; Wed, 27 Mar 2013 16:20:31 GMT (envelope-from ohauer) Date: Wed, 27 Mar 2013 16:20:31 GMT Message-Id: <201303271620.r2RGKV2l024746@freefall.freebsd.org> To: lukasz@wasikowski.net, ohauer@FreeBSD.org, apache@FreeBSD.org From: ohauer@FreeBSD.org Subject: Re: ports/177413: New port: www/mod_macro24 - mod_macro for apache 2.4 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 16:20:32 -0000 Synopsis: New port: www/mod_macro24 - mod_macro for apache 2.4 State-Changed-From-To: open->closed State-Changed-By: ohauer State-Changed-When: Wed Mar 27 16:20:04 UTC 2013 State-Changed-Why: Committed, Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=177413 From owner-freebsd-apache@FreeBSD.ORG Wed Mar 27 16:25:47 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BD272B6B; Wed, 27 Mar 2013 16:25:47 +0000 (UTC) (envelope-from ohauer@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 973A3B0B; Wed, 27 Mar 2013 16:25:47 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2RGPl2V024875; Wed, 27 Mar 2013 16:25:47 GMT (envelope-from ohauer@freefall.freebsd.org) Received: (from ohauer@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2RGPloB024874; Wed, 27 Mar 2013 16:25:47 GMT (envelope-from ohauer) Date: Wed, 27 Mar 2013 16:25:47 GMT Message-Id: <201303271625.r2RGPloB024874@freefall.freebsd.org> To: lukasz@wasikowski.net, ohauer@FreeBSD.org, apache@FreeBSD.org From: ohauer@FreeBSD.org Subject: Re: ports/177414: [maintainer update] Update www/mod_macro22 to use options NG X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Mar 2013 16:25:47 -0000 Synopsis: [maintainer update] Update www/mod_macro22 to use options NG State-Changed-From-To: open->closed State-Changed-By: ohauer State-Changed-When: Wed Mar 27 16:24:20 UTC 2013 State-Changed-Why: Committed together with the new mod_macro24 port PR177414 Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=177414 From owner-freebsd-apache@FreeBSD.ORG Thu Mar 28 13:30:08 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E4E17AE4; Thu, 28 Mar 2013 13:30:08 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id C07F97F8; Thu, 28 Mar 2013 13:30:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2SDU8Ju074089; Thu, 28 Mar 2013 13:30:08 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2SDU8FE074088; Thu, 28 Mar 2013 13:30:08 GMT (envelope-from edwin) Date: Thu, 28 Mar 2013 13:30:08 GMT Message-Id: <201303281330.r2SDU8FE074088@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, apache@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/177440: [PATCH] www/mod_setenvifplus update to version 0.22 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 13:30:09 -0000 Synopsis: [PATCH] www/mod_setenvifplus update to version 0.22 Responsible-Changed-From-To: freebsd-ports-bugs->apache Responsible-Changed-By: edwin Responsible-Changed-When: Thu Mar 28 13:30:08 UTC 2013 Responsible-Changed-Why: apache@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=177440 From owner-freebsd-apache@FreeBSD.ORG Thu Mar 28 13:30:10 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A1BD5AEA; Thu, 28 Mar 2013 13:30:10 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7D6607F9; Thu, 28 Mar 2013 13:30:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2SDUAE0074164; Thu, 28 Mar 2013 13:30:10 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2SDUAlF074163; Thu, 28 Mar 2013 13:30:10 GMT (envelope-from edwin) Date: Thu, 28 Mar 2013 13:30:10 GMT Message-Id: <201303281330.r2SDUAlF074163@freefall.freebsd.org> To: ohauer@FreeBSD.org, edwin@FreeBSD.org, apache@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/177440: [PATCH] www/mod_setenvifplus update to version 0.22 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 13:30:10 -0000 Synopsis: [PATCH] www/mod_setenvifplus update to version 0.22 State-Changed-From-To: open->feedback State-Changed-By: edwin State-Changed-When: Thu Mar 28 13:30:10 UTC 2013 State-Changed-Why: Awaiting maintainers feedback (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=177440 From owner-freebsd-apache@FreeBSD.ORG Thu Mar 28 13:40:01 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B7E88E0E for ; Thu, 28 Mar 2013 13:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id AA7B1868 for ; Thu, 28 Mar 2013 13:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2SDe1Fo075800 for ; Thu, 28 Mar 2013 13:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2SDe13s075799; Thu, 28 Mar 2013 13:40:01 GMT (envelope-from gnats) Date: Thu, 28 Mar 2013 13:40:01 GMT Message-Id: <201303281340.r2SDe13s075799@freefall.freebsd.org> To: apache@FreeBSD.org From: Edwin Groothuis Subject: Re: ports/177440: [PATCH] www/mod_setenvifplus update to version 0.22 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Edwin Groothuis List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 13:40:01 -0000 The following reply was made to PR ports/177440; it has been noted by GNATS. From: Edwin Groothuis To: ports@christianserving.org Cc: bug-followup@FreeBSD.org Subject: Re: ports/177440: [PATCH] www/mod_setenvifplus update to version 0.22 Date: Thu, 28 Mar 2013 13:30:09 UT Maintainer of www/mod_setenvifplus, Please note that PR ports/177440 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/177440 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org From owner-freebsd-apache@FreeBSD.ORG Thu Mar 28 16:40:10 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7F12F13D; Thu, 28 Mar 2013 16:40:10 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 2214D35C; Thu, 28 Mar 2013 16:40:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2SGe9rF009735; Thu, 28 Mar 2013 16:40:09 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2SGe9DT009734; Thu, 28 Mar 2013 16:40:09 GMT (envelope-from edwin) Date: Thu, 28 Mar 2013 16:40:09 GMT Message-Id: <201303281640.r2SGe9DT009734@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, apache@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/177444: [update] www/mod_auth_openid: Update to 0.7 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 16:40:10 -0000 Synopsis: [update] www/mod_auth_openid: Update to 0.7 Responsible-Changed-From-To: freebsd-ports-bugs->apache Responsible-Changed-By: edwin Responsible-Changed-When: Thu Mar 28 16:40:09 UTC 2013 Responsible-Changed-Why: apache@ wants this port PRs (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=177444 From owner-freebsd-apache@FreeBSD.ORG Thu Mar 28 16:40:12 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4ABCF141; Thu, 28 Mar 2013 16:40:12 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 1402235E; Thu, 28 Mar 2013 16:40:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2SGeBUR009810; Thu, 28 Mar 2013 16:40:11 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2SGeBk3009809; Thu, 28 Mar 2013 16:40:11 GMT (envelope-from edwin) Date: Thu, 28 Mar 2013 16:40:11 GMT Message-Id: <201303281640.r2SGeBk3009809@freefall.freebsd.org> To: ander@angels.org.ua, edwin@FreeBSD.org, apache@FreeBSD.org From: edwin@FreeBSD.org Subject: Re: ports/177444: [update] www/mod_auth_openid: Update to 0.7 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 16:40:12 -0000 Synopsis: [update] www/mod_auth_openid: Update to 0.7 State-Changed-From-To: open->feedback State-Changed-By: edwin State-Changed-When: Thu Mar 28 16:40:11 UTC 2013 State-Changed-Why: Awaiting maintainers feedback (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=177444 From owner-freebsd-apache@FreeBSD.ORG Thu Mar 28 16:50:02 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C9FF325C for ; Thu, 28 Mar 2013 16:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BD1573E6 for ; Thu, 28 Mar 2013 16:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2SGo2EH011478 for ; Thu, 28 Mar 2013 16:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2SGo29Y011477; Thu, 28 Mar 2013 16:50:02 GMT (envelope-from gnats) Date: Thu, 28 Mar 2013 16:50:02 GMT Message-Id: <201303281650.r2SGo29Y011477@freefall.freebsd.org> To: apache@FreeBSD.org From: Edwin Groothuis Subject: Re: ports/177444: [update] www/mod_auth_openid: Update to 0.7 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Edwin Groothuis List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 16:50:02 -0000 The following reply was made to PR ports/177444; it has been noted by GNATS. From: Edwin Groothuis To: zhoushuqun@gmail.com Cc: bug-followup@FreeBSD.org Subject: Re: ports/177444: [update] www/mod_auth_openid: Update to 0.7 Date: Thu, 28 Mar 2013 16:40:10 UT Maintainer of www/mod_auth_openid, Please note that PR ports/177444 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/177444 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org From owner-freebsd-apache@FreeBSD.ORG Thu Mar 28 17:00:01 2013 Return-Path: Delivered-To: apache@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C90C2814 for ; Thu, 28 Mar 2013 17:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BBF3F67D for ; Thu, 28 Mar 2013 17:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2SH010q013099 for ; Thu, 28 Mar 2013 17:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2SH018X013098; Thu, 28 Mar 2013 17:00:01 GMT (envelope-from gnats) Date: Thu, 28 Mar 2013 17:00:01 GMT Message-Id: <201303281700.r2SH018X013098@freefall.freebsd.org> To: apache@FreeBSD.org From: Ander Subject: Re: ports/177444: [update] www/mod_auth_openid: Update to 0.7 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Ander List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Mar 2013 17:00:01 -0000 The following reply was made to PR ports/177444; it has been noted by GNATS. From: Ander To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/177444: [update] www/mod_auth_openid: Update to 0.7 Date: Thu, 28 Mar 2013 18:55:27 +0200 --047d7b3a8f14876e6904d8ff059d Content-Type: text/plain; charset=UTF-8 Here is a new patch attached with a master site bug fixed. --047d7b3a8f14876e6904d8ff059d Content-Type: text/plain; charset=US-ASCII; name="patch_01.txt" Content-Disposition: attachment; filename="patch_01.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_heu5wt5f0 SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIE1ha2VmaWxlCShyZXZpc2lvbiAzMTU0NzYp CisrKyBNYWtlZmlsZQkod29ya2luZyBjb3B5KQpAQCAtMiwxMCArMiw5IEBACiAjICRGcmVlQlNE JAogCiBQT1JUTkFNRT0JbW9kX2F1dGhfb3BlbmlkCi1QT1JUVkVSU0lPTj0JMC42Ci1QT1JUUkVW SVNJT049CTEKK1BPUlRWRVJTSU9OPQkwLjcKIENBVEVHT1JJRVM9CXd3dwotTUFTVEVSX1NJVEVT PQlodHRwOi8vYnV0dGVyZmF0Lm5ldC9yZWxlYXNlcy9tb2RfYXV0aF9vcGVuaWQvCitNQVNURVJf U0lURVM9CWh0dHA6Ly9jbG91ZC5naXRodWIuY29tL2Rvd25sb2Fkcy9ibXVsbGVyL21vZF9hdXRo X29wZW5pZC8KIFBLR05BTUVQUkVGSVg9CSR7QVBBQ0hFX1BLR05BTUVQUkVGSVh9CiAKIE1BSU5U QUlORVI9CXpob3VzaHVxdW5AZ21haWwuY29tCkluZGV4OiBkaXN0aW5mbwo9PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0t LSBkaXN0aW5mbwkocmV2aXNpb24gMzE1NDc2KQorKysgZGlzdGluZm8JKHdvcmtpbmcgY29weSkK QEAgLTEsMiArMSwyIEBACi1TSEEyNTYgKG1vZF9hdXRoX29wZW5pZC0wLjYudGFyLmd6KSA9IDc5 ZTdjYTUyNTExZDEyMzA5Y2NjM2YzOTAyNTVlYWFkZTM0NWRjZjU5NTk0MTBkMzUyNzk3YTIyZGFi NmMxN2IKLVNJWkUgKG1vZF9hdXRoX29wZW5pZC0wLjYudGFyLmd6KSA9IDMyODcxMworU0hBMjU2 IChtb2RfYXV0aF9vcGVuaWQtMC43LnRhci5neikgPSA1OGNiOTI3MTIxZDM5NTU3YTM1OTNiMTBk YjhjOTYwNDQwMjk1ZmI0OWNkZGY4MTIwZDZhNWI1MjE4NzdlZDRjCitTSVpFIChtb2RfYXV0aF9v cGVuaWQtMC43LnRhci5neikgPSAzNTI3NTcK --047d7b3a8f14876e6904d8ff059d-- From owner-freebsd-apache@FreeBSD.ORG Fri Mar 29 20:36:58 2013 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3EC73637 for ; Fri, 29 Mar 2013 20:36:58 +0000 (UTC) (envelope-from spil.oss@gmail.com) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id 194309BE for ; Fri, 29 Mar 2013 20:36:58 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id at1so899141iec.41 for ; Fri, 29 Mar 2013 13:36:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:reply-to:date:message-id:subject:from:to :content-type; bh=+G44bDC/MxXc+dzrMqCO5vlaJNHqacgEmnmppFm7GUM=; b=cuW+LgQ1GSI1PCaL6WGjuGI6OWeQPkKyBGFUzISoEzUX9YTCJveuyckEymZwM4nRQb EJ5PwivVq27XGX/K9HTRzVUuMDW/GBOsIRTkkDwzUm/6zxv6i6KYXfdHOvoHa59rEIe7 V3ZRGTCz+oEaD+x/lWGQgOlZaCGhdGi1HoNYAA7rQu8Er7+5tJxRAM+C3Q7u8fu30S4T C0RFyP+eqMvhE2T1XwsqR8Y0CgFVPIK0CYATJN4HIIL6/9CpTiIythOzMCAOR4YFQW+e 5qhRqKY42rKsGFHCg75dE5cqX5Z8sRb5ecpalwyveYf0Jl/rFIqBjnghFEEj3esz5yEr bZeg== MIME-Version: 1.0 X-Received: by 10.50.66.133 with SMTP id f5mr47370igt.38.1364589416965; Fri, 29 Mar 2013 13:36:56 -0700 (PDT) Received: by 10.42.152.133 with HTTP; Fri, 29 Mar 2013 13:36:56 -0700 (PDT) Date: Fri, 29 Mar 2013 21:36:56 +0100 Message-ID: Subject: Apache 2.4 in a jail with Digest auth From: Spil Oss To: freebsd-apache@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: spil.oss@gmail.com List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2013 20:36:58 -0000 Hi, I'm trying to upgrade my apache configurarion to 2.4 and ran into trouble that I haven't solved yet. [Fri Mar 29 20:53:26.867199 2013] [auth_digest:notice] [pid 88563:tid 679494400] AH01757: generating secret for digest authentication ... [Fri Mar 29 20:53:26.867531 2013] [auth_digest:error] [pid 88563:tid 679494400] (78)Function not implemented: AH01762: Failed to create shared memory segment on file /var/run/authdigest_shm.88563 [Fri Mar 29 20:53:26.867556 2013] [auth_digest:error] [pid 88563:tid 679494400] (78)Function not implemented: AH01760: failed to initialize shm - all nonce-count checking, one-time nonces, and MD5-sess algorithm disabled [Fri Mar 29 20:53:26.867571 2013] [:emerg] [pid 88563:tid 679494400] AH00020: Configuration Failed, exiting Since setting sysvipc.allow = 1 makes the usage of a jail superfluous "If it were set to 1, it would defeat the whole purpose of having a jail;" [http://www.freebsd.org/doc/en/books/arch-handbook/jail-restrictions.html] I was searching for a way to get it to use any of the other available methods but haven't found any. 1. Documentation to change the socache provider I haven't found after ploughing through the docs from httpd.apache.org 2. Disable shm in apr -> no switch for shm found in configure Anyone have any bright ideas how to get Apache 2.4 to get to use a different store for the nonce? (This is basically a duplicate of http://lists.freebsd.org/pipermail/freebsd-ports/2013-February/081052.html item 6 but now for the official port. Kind regards, Spil. From owner-freebsd-apache@FreeBSD.ORG Fri Mar 29 21:38:09 2013 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 92808E95 for ; Fri, 29 Mar 2013 21:38:09 +0000 (UTC) (envelope-from spil.oss@gmail.com) Received: from mail-ie0-x22f.google.com (mail-ie0-x22f.google.com [IPv6:2607:f8b0:4001:c03::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 69DDAC21 for ; Fri, 29 Mar 2013 21:38:09 +0000 (UTC) Received: by mail-ie0-f175.google.com with SMTP id c12so934587ieb.20 for ; Fri, 29 Mar 2013 14:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:reply-to:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=RhhYdvjupf0I0LRetuns9ex00f6ntHNFrvx7XOzXTT8=; b=kcY0hx8bdAzqgdWJevCfFP81E1kpUzhaDu1BE50tB7y3sjIh3NOiytcXio4kyj+otS GEU/FW+Q7dQFH/k3BYI/NytgtdUN+VQGD3YylREUylGxQXP26Boxc8B1DiQJ+euhybXP Y17paD+rHSF3Hs6aHP4DdoVu2rZt0s5X4eIM4dSsO5/WoOz3gclgR7ezLYf/TlZrM/Pq MmTP/ZRr9fNEV0/GR5StP1p4gOa6lkKJZr364lz39aJ3CmuNcqOBlXSPfTG4EzK18SaD rJkmQ8G5YqwwQv2KXVCSoplpDWpTl33gipyFFFxMzVQ4CguCC3zGx+vhJLiTCidRDP3I FKGg== MIME-Version: 1.0 X-Received: by 10.50.216.164 with SMTP id or4mr161660igc.38.1364593088347; Fri, 29 Mar 2013 14:38:08 -0700 (PDT) Received: by 10.42.152.133 with HTTP; Fri, 29 Mar 2013 14:38:08 -0700 (PDT) In-Reply-To: References: Date: Fri, 29 Mar 2013 22:38:08 +0100 Message-ID: Subject: Re: Apache 2.4 in a jail with Digest auth From: Spil Oss To: freebsd-apache@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: spil.oss@gmail.com List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2013 21:38:09 -0000 On Fri, Mar 29, 2013 at 9:36 PM, Spil Oss wrote: > Hi, > > I'm trying to upgrade my apache configurarion to 2.4 and ran into > trouble that I haven't solved yet. > > [Fri Mar 29 20:53:26.867199 2013] [auth_digest:notice] [pid 88563:tid > 679494400] AH01757: generating secret for digest authentication ... > [Fri Mar 29 20:53:26.867531 2013] [auth_digest:error] [pid 88563:tid > 679494400] (78)Function not implemented: AH01762: Failed to create > shared memory segment on file /var/run/authdigest_shm.88563 > [Fri Mar 29 20:53:26.867556 2013] [auth_digest:error] [pid 88563:tid > 679494400] (78)Function not implemented: AH01760: failed to initialize > shm - all nonce-count checking, one-time nonces, and MD5-sess > algorithm disabled > [Fri Mar 29 20:53:26.867571 2013] [:emerg] [pid 88563:tid 679494400] > AH00020: Configuration Failed, exiting > > Since setting sysvipc.allow = 1 makes the usage of a jail superfluous > "If it were set to 1, it would defeat the whole purpose of having a > jail;" [http://www.freebsd.org/doc/en/books/arch-handbook/jail-restrictions.html] > > I was searching for a way to get it to use any of the other available > methods but haven't found any. > 1. Documentation to change the socache provider I haven't found after > ploughing through the docs from httpd.apache.org > 2. Disable shm in apr -> no switch for shm found in configure > > Anyone have any bright ideas how to get Apache 2.4 to get to use a > different store for the nonce? > > (This is basically a duplicate of > http://lists.freebsd.org/pipermail/freebsd-ports/2013-February/081052.html > item 6 but now for the official port. > > Kind regards, > > Spil. Finally found something that I could hack... APR_HAS_SHARED_MEMORY from apr.h For now I've created an ugly kludge in work/httpd-2.4.4/modules/aaa/mod_auth_digest.c but at least I can use digest auth again! Tempted to just hack apr.h in the jail... But that would adversely affect other programs potentially. I'm sure someone can find a way to make this work in a jail in a proper way. An OPTIONS knob in the port would be very much appreciated. Only downside I found in the source is return "AuthDigestNcCheck: ERROR: nonce-count checking " "is not supported on platforms without shared-memory " "support"; So it seems I've sacrificed some security here but at least I'm not back at auth-Basic Kind regards, From owner-freebsd-apache@FreeBSD.ORG Fri Mar 29 21:39:42 2013 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 64BC6EE5 for ; Fri, 29 Mar 2013 21:39:42 +0000 (UTC) (envelope-from ohauer@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by mx1.freebsd.org (Postfix) with ESMTP id F04F7C29 for ; Fri, 29 Mar 2013 21:39:40 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.1]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0LxZpd-1UjriC11rf-017GMr for ; Fri, 29 Mar 2013 22:39:39 +0100 Received: (qmail invoked by alias); 29 Mar 2013 21:39:39 -0000 Received: from p578be941.dip0.t-ipconnect.de (EHLO [192.168.0.100]) [87.139.233.65] by mail.gmx.net (mp001) with SMTP; 29 Mar 2013 22:39:39 +0100 X-Authenticated: #1956535 X-Provags-ID: V01U2FsdGVkX190Q4VJ9iB0x3RLKTgqAYGk1T6dn8YPhcpuG9Fzge p0j80Y8jbMOXDC Message-ID: <51560A74.6030007@gmx.de> Date: Fri, 29 Mar 2013 22:41:08 +0100 From: olli hauer User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: freebsd-apache@freebsd.org Subject: Re: Apache 2.4 in a jail with Digest auth References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2013 21:39:42 -0000 On 2013-03-29 21:36, Spil Oss wrote: > Hi, > > I'm trying to upgrade my apache configurarion to 2.4 and ran into > trouble that I haven't solved yet. > > [Fri Mar 29 20:53:26.867199 2013] [auth_digest:notice] [pid 88563:tid > 679494400] AH01757: generating secret for digest authentication ... > [Fri Mar 29 20:53:26.867531 2013] [auth_digest:error] [pid 88563:tid > 679494400] (78)Function not implemented: AH01762: Failed to create > shared memory segment on file /var/run/authdigest_shm.88563 > [Fri Mar 29 20:53:26.867556 2013] [auth_digest:error] [pid 88563:tid > 679494400] (78)Function not implemented: AH01760: failed to initialize > shm - all nonce-count checking, one-time nonces, and MD5-sess > algorithm disabled > [Fri Mar 29 20:53:26.867571 2013] [:emerg] [pid 88563:tid 679494400] > AH00020: Configuration Failed, exiting > > Since setting sysvipc.allow = 1 makes the usage of a jail superfluous > "If it were set to 1, it would defeat the whole purpose of having a > jail;" [http://www.freebsd.org/doc/en/books/arch-handbook/jail-restrictions.html] > > I was searching for a way to get it to use any of the other available > methods but haven't found any. > 1. Documentation to change the socache provider I haven't found after > ploughing through the docs from httpd.apache.org > 2. Disable shm in apr -> no switch for shm found in configure > > Anyone have any bright ideas how to get Apache 2.4 to get to use a > different store for the nonce? > > (This is basically a duplicate of > http://lists.freebsd.org/pipermail/freebsd-ports/2013-February/081052.html > item 6 but now for the official port. > > Kind regards, > > Spil. Hm, yes in apr/apu is no switch to disable shm but it shoud be possible to disable this in apache24. In modules/aaa/mod_auth_digest.c there is the following construct which can be interesting. #if APR_HAS_SHARED_MEMORY static int initialize_tables(server_rec *s, apr_pool_t *ctx) ... I haven't investigated what will happen if SHM will be disabled. Perhaps try the following parameter AuthDigestShmemSize = 0 -- Regards, olli From owner-freebsd-apache@FreeBSD.ORG Fri Mar 29 22:07:29 2013 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 83E9A4A1 for ; Fri, 29 Mar 2013 22:07:29 +0000 (UTC) (envelope-from spil.oss@gmail.com) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 5BFB7D4C for ; Fri, 29 Mar 2013 22:07:29 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id c11so974676ieb.15 for ; Fri, 29 Mar 2013 15:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:reply-to:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=kNPcJNoqmu2l8UYJSpgKhA+AMjTwRsmdB82fQRwa14A=; b=1E80k78tZYIkclYL0FbG8WDIZbR8RLkFTsn8F4GOjJreQscyNYRypCPF2EwDnAsLmQ /x2W3nc5a7LKdHjAmu+6QgZr6Kbo8MTmykRtsqF4OdNczyBfOQHYYMy8N7ys17QeScMz j50aogsAcyvAzYOCf/kVhxP9KMC+ZjyIiijkoxETaFwPb+j47PU1z2+WL7vtyCCY9awq Wsw84/6BvixI0tpwAZwxqEWvGtdJ0SO2whHJtF3l8EmDCeXLWWgAIxjVJ/xiZcKPp8Em y3C719SfXVtG/hwlcACWmeuw5yS4At8vLYEGgqMaWp3BVGfLlOcECMYyqNEzysf7GktE SFQA== MIME-Version: 1.0 X-Received: by 10.50.136.138 with SMTP id qa10mr165407igb.74.1364594849119; Fri, 29 Mar 2013 15:07:29 -0700 (PDT) Received: by 10.42.152.133 with HTTP; Fri, 29 Mar 2013 15:07:29 -0700 (PDT) In-Reply-To: <51560A74.6030007@gmx.de> References: <51560A74.6030007@gmx.de> Date: Fri, 29 Mar 2013 23:07:29 +0100 Message-ID: Subject: Re: Apache 2.4 in a jail with Digest auth From: Spil Oss To: olli hauer Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-apache@freebsd.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: spil.oss@gmail.com List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Mar 2013 22:07:29 -0000 On Fri, Mar 29, 2013 at 10:41 PM, olli hauer wrote: > On 2013-03-29 21:36, Spil Oss wrote: >> Hi, >> >> I'm trying to upgrade my apache configurarion to 2.4 and ran into >> trouble that I haven't solved yet. >> >> [Fri Mar 29 20:53:26.867199 2013] [auth_digest:notice] [pid 88563:tid >> 679494400] AH01757: generating secret for digest authentication ... >> [Fri Mar 29 20:53:26.867531 2013] [auth_digest:error] [pid 88563:tid >> 679494400] (78)Function not implemented: AH01762: Failed to create >> shared memory segment on file /var/run/authdigest_shm.88563 >> [Fri Mar 29 20:53:26.867556 2013] [auth_digest:error] [pid 88563:tid >> 679494400] (78)Function not implemented: AH01760: failed to initialize >> shm - all nonce-count checking, one-time nonces, and MD5-sess >> algorithm disabled >> [Fri Mar 29 20:53:26.867571 2013] [:emerg] [pid 88563:tid 679494400] >> AH00020: Configuration Failed, exiting >> >> Since setting sysvipc.allow = 1 makes the usage of a jail superfluous >> "If it were set to 1, it would defeat the whole purpose of having a >> jail;" [http://www.freebsd.org/doc/en/books/arch-handbook/jail-restrictions.html] >> >> I was searching for a way to get it to use any of the other available >> methods but haven't found any. >> 1. Documentation to change the socache provider I haven't found after >> ploughing through the docs from httpd.apache.org >> 2. Disable shm in apr -> no switch for shm found in configure >> >> Anyone have any bright ideas how to get Apache 2.4 to get to use a >> different store for the nonce? >> >> (This is basically a duplicate of >> http://lists.freebsd.org/pipermail/freebsd-ports/2013-February/081052.html >> item 6 but now for the official port. >> >> Kind regards, >> >> Spil. > > Hm, yes in apr/apu is no switch to disable shm but it shoud be possible > to disable this in apache24. > > In modules/aaa/mod_auth_digest.c there is the following construct which > can be interesting. > > #if APR_HAS_SHARED_MEMORY > static int initialize_tables(server_rec *s, apr_pool_t *ctx) > ... > > I haven't investigated what will happen if SHM will be disabled. > > Perhaps try the following parameter > AuthDigestShmemSize = 0 > > > -- > Regards, > olli Hi Olli, Just found that out :D Thanks for your reply though! There some more spots where this macro is used: ldap and scoreboard. Not sure if it's equally trivial to remove this just as easily. As it's a Macro it should work just as well for these modules. For reference I add my patch with now sits in the port's files directory and works for me(TM) # cat files/patch-mod_auth_digest.c --- ./modules/aaa/mod_auth_digest.c.orig 2013-03-29 22:38:31.000000000 +0100 +++ ./modules/aaa/mod_auth_digest.c 2013-03-29 22:39:06.000000000 +0100 @@ -81,6 +81,8 @@ #include "mod_auth.h" +#undef APR_HAS_SHARED_MEMORY + #if APR_HAVE_UNISTD_H #include #endif From owner-freebsd-apache@FreeBSD.ORG Sat Mar 30 11:44:31 2013 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 69D3153B; Sat, 30 Mar 2013 11:44:31 +0000 (UTC) (envelope-from pakrat@ftp.linux.org.uk) Received: from ZenIV.linux.org.uk (unknown [IPv6:2002:c35c:fd02::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2ABC1E6C; Sat, 30 Mar 2013 11:44:30 +0000 (UTC) Received: from pakrat by ZenIV.linux.org.uk with local (Exim 4.76 #1 (Red Hat Linux)) id 1ULuCz-0003gV-Eu; Sat, 30 Mar 2013 11:44:29 +0000 Date: Sat, 30 Mar 2013 11:44:29 +0000 From: Chris Dukes To: ohauer@FreeBSD.org Subject: Re: ports/177118: devel/apr1 with FREETDS enabled, does not have proper depends to include expat.h Message-ID: <20130330114429.GJ14411@ZenIV.linux.org.uk> References: <201303260908.r2Q98HEe065346@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201303260908.r2Q98HEe065346@freefall.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: Cc: apache@FreeBSD.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Mar 2013 11:44:31 -0000 On Tue, Mar 26, 2013 at 09:08:17AM +0000, ohauer@FreeBSD.org wrote: > Synopsis: devel/apr1 with FREETDS enabled, does not have proper depends to include expat.h > > State-Changed-From-To: feedback->closed > State-Changed-By: ohauer > State-Changed-When: Tue Mar 26 09:06:50 UTC 2013 > State-Changed-Why: > Hi Christopher, > the issue should be fixed now, it was a stupid typo. > > Thanks for your help! > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=177118 It builds cleanly now with FREETDS enabled. My apologies on the delay in double checking. -- Chris Dukes. This message is not confidential. Due to the nature of how email is sent, it's only slightly more private than a postcard. Use GPG if you want correspondence to be confidential and private.