1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

- Partial httpd SVN MFC of r15338

[http://svn.apache.org/viewvc?view=revision&revision=153384]
  Essentially this internalizes the pcre POSIX API in the ap_ namespace.
  Thus fixing the use of an external pcre library and hence mod_redirect
  and other consumers.

- This includes an MMN bump which means you will need to recompile all your
  modules.  With ports this will happen when you upgrade via portmaster or
  portupgrade.  If you have any modules outside of ports they will need to
  be recompiled too.

- There is a small chance you will need to change some of your custom modules
  to adapt to the ap_regex_t and ap_regmatch_t api changes.

- For security, speed, maintenance, and simplification in the ports/ framework
  this route was chosen instead of reverting the devel/pcre change in 2.0.63_4.

PR:             ports/146604
Reported by:    Stefan Bethke <stb@lassitu.de>, serveral on ports@, apache@
With Hat:       apache@
This commit is contained in:
Philip M. Gollucci 2010-05-26 19:30:45 +00:00
parent 1cab29310b
commit ea053a1000
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255132
2 changed files with 1311 additions and 2 deletions

View File

@ -9,7 +9,7 @@
PORTNAME= apache
PORTVERSION= 2.0.63
PORTREVISION= 14
PORTREVISION= 15
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} \
${MASTER_SITE_LOCAL:S/$/:powerlogo/}
@ -206,7 +206,6 @@ post-patch:
@${RM} -f ${WRKSRC}/docs/conf/highperformance-std.conf
@${RM} -rf ${WRKSRC}/srclib/pcre ${WRKSRC}/include/pcreposix.h
@${RM} -rf ${WRKSRC}/srclib/apr ${WRKSRC}/srclib/apr-util
@${GREP} -Rl REG_NOSUB ${WRKSRC}/modules | ${XARGS} ${REINPLACE_CMD} -e 's,REG_NOSUB,0,g'
@${REINPLACE_CMD} -e 's," PLATFORM ",FreeBSD,' ${WRKSRC}/server/core.c
@${REINPLACE_CMD} -e "s,\$abs_builddir/srclib/pcre/libpcre.la,${LOCALBASE}/lib/libpcre.la," ${WRKSRC}/configure.in
@${INSTALL_DATA} ${WRKSRC}/NOTICE ${WRKSRC}/docs/manual

File diff suppressed because it is too large Load Diff