Commit Graph

133 Commits

Author SHA1 Message Date
Gabor Kovesdan
2fc6a06a9b - Track dependencies after databases/gdbm update 2011-09-12 13:46:58 +00:00
Sergey Skvortsov
0ede1a9316 Update to 5.14.1
Changes:	http://search.cpan.org/~jesse/perl-5.14.1/pod/perldelta.pod
2011-06-19 10:27:12 +00:00
Olli Hauer
d97185cf0b - update to apr-1.4.5
- update to apr-util-1.3.12
- add new make target "test:"

Changes for APR 1.4.5
  *) Security: CVE-2011-1928
     apr_fnmatch(): Fix high CPU loop.  [William Rowe]
  *) Fix top_builddir in installed apr_rules.mk.  [Bojan Smojver]

Changes with APR-util 1.3.12
  *) apr_ldap: Fix crash because of NULL cleanup registered by
     apr_ldap_rebind_init().  [Rainer Jung]

commit with hat apache@
2011-05-22 21:31:16 +00:00
Pav Lucistnik
e3061da050 - Bump PORTREVISION so the recent fix is visible to dependencies
Reported by:	pointyhat
2011-05-17 22:29:24 +00:00
Olli Hauer
575e0a109a - add a fix to allow tomcat-native buld work again
Fix send also upstream to dev@apr.ao
2011-05-16 20:02:22 +00:00
Olli Hauer
ef457ed720 - update apr1 to version 1.4.4 (security update CVE-2011-0419)
Changes: (trimmed non FreeBSD related to keep the list shorter)
http://www.apache.org/dist/apr/CHANGES-APR-1.4

Changes for APR 1.4.4
Changes for APR 1.4.3

  *) Security: CVE-2011-0419
     Reimplement apr_fnmatch() from scratch using a non-recursive
     algorithm; now has improved compliance with the fnmatch() spec.
     [William Rowe]

  *) poll, pollset, pollcb on Windows: Handle calls with no file/socket
     descriptors.  PR 49882.  [Stefan Ruppert <sr myarm.com>, Jeff Trawick]

  *) Fix address handling when accepting an AF_INET socket from a socket
     bound as AF_INET6.   PR 49678.  [Joe Orton]

  *) Add new experimental configure option --enable-allocator-uses-mmap to
     use mmap instead of malloc in apr_allocator_alloc(). This greatly reduces
     memory fragmentation with malloc implementations (e.g. glibc) that
     don't handle allocationss of a page-size-multiples in an efficient way.
     It also makes apr_allocator_max_free_set() actually have some effect
     on such platforms. [Stefan Fritsch]

  *) configure: Make definition of apr_ino_t independent of
     _FILE_OFFSET_BITS even on platforms where ino_t is 'unsigned int'.
     [Stefan Fritsch]

  *) apr_ring: Workaround for aliasing problem that causes gcc 4.5 to
     miscompile some brigade related code. PR 50190. [Stefan Fritsch]

  *) apr_file_flush_locked(): Handle short writes. [Stefan Fritsch]

  *) apr_pollset_create_ex(): Trap errors from pollset providers.
     PR 49094.  [Sami Tolvanen <sami.tolvanen mywot.com>]

  *) apr_pollset_create*(): Fix memory lifetime problem with the wakeup
     pipe when the pollset was created with APR_POLLSET_NOCOPY.
     [Neil Conway <nrc cs.berkeley.edu>]

  *) Fix detection of some Linux variants when configure is built with
     recent GNU tools.  [Eric Covener]

  *) Avoid a redundant fcntl() call in apr_file_open() where O_CLOEXEC
     is supported.  PR 46297.  [Joe Orton]

  *) Improve platform detection by updating config.guess and config.sub.
     [Rainer Jung]

  commit with apache@ hat

PR:		156997
Submitted by:	Tsurutani Naoki <turutani _at_ scphys.kyoto-u.ac.jp>
2011-05-13 23:00:17 +00:00
Olli Hauer
3aa36ba553 - make sure the system own sed is choosen even when
textproc/gsed is installed during build time.

   This preserves issues in case textproc/gsed is removed
   from the system after build time.

   Issue described by Ryusuke SUZUKI <ryusuke _at_ FreeBSD.org>

   With Hat:  apache@
2011-04-01 11:45:59 +00:00
Ade Lovett
e0d39220da Update to libtool 2.4
Tested by:	pav (multiple -exp runs)
2011-02-25 06:15:44 +00:00
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Ade Lovett
6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00
Philip M. Gollucci
374d0fa343 - Update apr-util to 1.3.10
Security:   http://www.vuxml.org/freebsd/dd943fbb-d0fe-11df-95a8-00219b0fc4d8.html
With Hat:   apache@

<ChangeLog>
  *) SECURITY: CVE-2010-1623 (cve.mitre.org)
     Fix a denial of service attack against apr_brigade_split_line().
     [Stefan Fritsch]

  *) SECURITY: CVE-2009-3560, CVE-2009-3720 (cve.mitre.org)
     Fix two buffer over-read flaws in the bundled copy of expat which
     could cause applications to crash while parsing specially-crafted
     XML documents.  [Joe Orton]

  *) Upgrade bundled copy of expat library to 1.95.7.  [Joe Orton]

  *) apr_thread_pool: Fix some potential deadlock situations.  PR 49709.
     [Joe Mudd <Joe.Mudd sas.com>]

  *) apr_thread_pool_create: Fix pool corruption caused by multithreaded
     use of the pool when multiple initial threads are created.  PR 47843.
     [Alex Korobka <akorobka fxcm.com>]

  *) apr_thread_pool_create(): Only set the output thread pool handle on
     success.  [Paul Querna]

  *) DBD ODBC support: Fix memory corruption using apr_dbd_datum_get() with
     several different data types, including APR_DBD_TYPE_TIME.  PR 49645.
     [<kappa psilambda.com>]

  *) Add support for Berkeley DB 4.8 and 5.0.  PR 49866, PR 49179.
     [Bernhard Rosenkraenzer <br blankpage.ch>,
      Arfrever Frehtes Taifersar Arahesis <arfrever.fta gmail.com>]

  *) Make bundled expat compatible with libtool 2.x.  PR 49053.
     [Rainer Jung]

  *) Prefer libtool 1.x when searching for libtool in
     bundled expat release process. [Rainer Jung, Jim Jagielski]

  *) Improve platform detection for bundled expat by updating
     config.guess and config.sub. [Rainer Jung]
</ChangeLog>
2010-10-06 05:32:24 +00:00
Philip M. Gollucci
1e9d90e57f - bsd.port.mk adds CFLAGS to CONFIGURE_ENV but not if you reference it directly
in the Makefile.  Even if you use bsd.port.(pre|post).mk.

- This re-fixes WITH_MYSQL=yes WITH_MYSQL_VER=55 after ale@ really fixed
database/mysql55-client, databases/mysql55-server include/mysql layout.

This is a very non default config, so no PORTREVISION bump

PR:             ports/146276
2010-10-05 23:13:42 +00:00
Ade Lovett
7e80cde328 Round one migration of ports from automake{19,110} to automake111 2010-10-05 19:57:56 +00:00
Ade Lovett
8262a7b51d Autotools update. Read ports/UPDATING 20100915 for details.
Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
2010-09-15 18:35:24 +00:00
Philip M. Gollucci
050e1ca3da - Bump supported pthon version 2010-09-11 13:28:57 +00:00
Philip M. Gollucci
283b03cc90 - set LIB_DEPENDS with just = not += 2010-05-27 03:32:06 +00:00
Philip M. Gollucci
575a2505b0 - full patch from dev@apr.apache.org to detech bdb 5.0
With Hat:   apache@
2010-05-26 23:27:44 +00:00
Philip M. Gollucci
449a8d1f18 - Define python version explicitly
${APR_WRKDIR}/build/gen-build.py does not work with Python 3.1
- No PORTREVISION bump (build only)

PR:             ports/146621
Submitted by:   Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
With Hat:       apache@
2010-05-18 05:44:56 +00:00
Philip M. Gollucci
23de73159e - Default DEVRANOM support to on b/c mod_auth_digest is default on
but pointhat package builds don't set WITH_DEVRANDOM for devel/apr.
- Bump PORTREVISION

With Hat:   apache@
2010-05-07 19:55:07 +00:00
Philip M. Gollucci
2b45740ef9 - FreeBSD doesn't use EGD sockets. Also the option handling doesn't honor
without-egd.

PR:             ports/146376
Submitted by:   Guido Falsi <mad@madpilot.net>
With Hat:       apache@
2010-05-07 18:32:28 +00:00
Philip M. Gollucci
ea6a163675 1/2: OPTIONS+= EGD and DEVRANDOM
which allow mod_auth_digest to build
     next www/apache2* need to pass it through
     Default package doesn't change

PR:             ports/134577
Requested by:   Pascal Vizeli <pvizeli@yahoo.de>
With Hat:       apache@
2010-05-07 02:26:46 +00:00
Philip M. Gollucci
03e2b71f8b - Harden the OPTION processing to explicity enable/disable in BOTH cases.
- Remove some invalid quotes in the OSVERSION handling
- CFLAGS is already in CONFIGURE_ENV
- Fix some tabs/whitespace

None of this changes the default package, so no PORTREVISION bumps.

PR:             ports/145744
Submitted by:   Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
With Hat:       apache@
2010-05-07 00:39:22 +00:00
Philip M. Gollucci
e04375f852 - Not yet compatiable with db50
PR:             ports/145956
Submitted by:   mandree
With Hat:       apache@
2010-05-07 00:25:15 +00:00
Philip M. Gollucci
5cfb8568d5 - Support DB48
PR:             ports/145956 [part I]
Requested by:   mandree
With Hat:       apache@
2010-05-07 00:23:31 +00:00
Philip M. Gollucci
b869066b9e - Fix coredump when WITH_MYSQL=yes and WITH_MYSQL_VER=55
[still needs ports/146276 for databases/mysql55-server too]
- No PORTREVISION bump [very non default options]

With Hat:   apache@
2010-05-05 22:24:51 +00:00
Philip M. Gollucci
a532c44151 - Make the OPTIONAL package build names more useful and version
mysql,pgsql,ldap
- No PORTREVISION bump [non default options]
2010-05-05 22:23:06 +00:00
Philip M. Gollucci
ed701bd5db 1/5: Update to apr 1.4.2
PR:             ports/146130
Approved by:    portmgr (pav)
Tested by:      -exp run (pav)
With Hat:       apache@
2010-05-05 21:40:46 +00:00
Philip M. Gollucci
11fcb5b118 --withX-sqlite is an apr-util option not apr
This doesn't change the package, just gets rid of a warning
configure: WARNING: Unrecognized options: --without-sqlite3

With Hat:   apache@
2010-04-29 18:01:01 +00:00
Philip M. Gollucci
2ef4b1b1d6 - Assign some ports to apache@
Note: net/luasocket is a direct requirement for mod_wombat which will be
      very core to httpd 2.4.x+ (www/apache24)
2010-04-29 17:30:25 +00:00
Philip M. Gollucci
f672c0b8ff OPTIONS += SQLITE
Submitted by:   Adam Pordzik <ap@d-dt.de> (via e-mail)
2009-12-24 19:49:51 +00:00
Philip M. Gollucci
5ef60f7fa5 - Update to (apr) 1.3.9
*) Posix semaphores can now be named and used as named semaphores.
     [Jim Jagielski]

  *) Better handling of APR_OFF_T_FMT for Darwin 10 depending on -arch
     setting of compiler. [Jim Jagielski]

  *) Add comments describing the thread-safety properties of apr_pool_t.
     [Neil Conway nrc cs.berkeley.edu]

  *) Pass default environment to testsock, testshm and testproc children, so
     that tests run when APR is compiled with Intel C Compiler.
     [Bojan Smojver]

  *) Fix error handling in the Solaris pollset support (Event Port backend).
     PR 47645.  [Jeff Trawick]

  *) Add the remainder of this fix from trunk:
     Fix Solaris poll failure.  PR 43000
     [Henry Jen <henryjen ztune.net>]
2009-12-24 19:42:24 +00:00
Philip M. Gollucci
6a283531b2 - Allow install by a user other then root
PR:             ports/13876 [based on]
Submitted by:   Mel Flynn <mel@rachie.is-a-geek.net>
2009-12-10 06:03:27 +00:00
Stanislav Sedov
2a98699e99 - Set correct permissons on libtool.m4 before trying to patch it. Otherwise
the build will fail under orinary user as the libtool.m4 file installed
  has no write permissions (SHAREMODE).

Approved by:	pgollucci (maintainer)
2009-10-02 12:01:07 +00:00
Simon L. B. Nielsen
4192e36c79 Update to APR 1.3.8 / APR-util 1.3.9. This is a security update.
Security:	CVE-2009-2412
Approved by:	so (simon), pgollucci (in principle - I think...)
2009-08-06 22:56:57 +00:00
Philip M. Gollucci
f3511fe654 - Update to 1.3.7/1.3.8
- Default IPv6 support to ON
2009-08-03 03:23:02 +00:00
Jeremy Messenger
789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00
Philip M. Gollucci
f054c87bf8 - Update to apr 1.3.6, apr-util 1.3.8 2009-07-08 00:01:58 +00:00
Philip M. Gollucci
fb134bb114 - Fix the pkg-plist in the case when only GDBM was included 2009-06-17 23:11:19 +00:00
Philip M. Gollucci
0f8303a94d - Respect hier(7), finally after 6yrs 2009-06-11 23:57:09 +00:00
Philip M. Gollucci
c8b651a1fa - Correct a typo, neither my tb or QAT caught this, but its causing core
dumps and is wrong anyway.

Submitted by:   b.f (via private e-mail)
2009-06-10 21:27:34 +00:00
Philip M. Gollucci
d906134aee - Respect CC/CCFLAGS [1]
- use -pthread instead of -lpthread [2]
- It was only ever accidental that -ldb showed up in apu-config --libs
  Subversion doesn't actually even use it (apr_dbm*).
  APR/Util is supposed to auto load the backed db library without the app
  ever know which one it was.  Subversion uses db _directly_.
  Subversion 1.6.3 should account for this. [3]
- Convert to bsd.options.mk
- Bump PORTREVISION

PR:             ports/135396 [3], ports/134453 [2], ports/132432 [1]
Submitted by:   dev@apr.apache.org (wrowe, bojan) [3],
                b.f. [2],  Anonymous <swell.k@gmail.com> [1]
2009-06-10 05:53:27 +00:00
Philip M. Gollucci
a182e9070a - Remove some superfulous ifs. You get the OPTIONS or you don't get it at all.
Also, the DBD one only works for 42 and apr supports 42->47
2009-06-08 23:33:26 +00:00
Philip M. Gollucci
91e119d265 - Update to apr: 1.3.5, apr: 1.3.7
- Pet Portlint
- Fix APU_EXTRAs in pkg-plist

Security:       http://www.vuxml.org/freebsd/eb9212f7-526b-11de-bbf2-001b77d09812
PR:             ports/135310
Submitted by:   Eygene Ryabinkin <rea-fbsd@codelabs.ru>
2009-06-08 02:54:14 +00:00
Philip M. Gollucci
abf5b5ffc0 - Mark most of my ports MAKE_JOBS_SAFE=yes
Tested by: several builds in P6 TB
2009-05-16 06:27:56 +00:00
Philip M. Gollucci
4877c5ead2 o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
  defaults changed: WITH_BDB=yes [1]
  convert APR_UTIL_* flags to KNOBS flag names
  optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
o Remove devel/apr-svn and replace with devel/apr
o devel/apr:
  defaults changed: WITH_BDB=yes [1]
  convert APR_UTIL_* flags to KNOBS flag names
  optionify and add IPV6, NDBM, LDAP, MYSQL, PGSQL
  (sqlite,orcale,freetds,odbc -- PATCHES welcome, MAINTAINER does not use)
  GMAKE is not needed, so remove it
  split ./configure args into apr and apr-util args, they do not accept all the same options
  standardize on naming apr and apu to match other oses and the C code.
  create APR_WRKDIR And APU_WRKDIR for simplicity
  delete pre-extract target
  bump PORTREVISION

  NOTE: port still breaks hier(7), need to fix

o devel/kdesvn, devel/rapidsvn, devel/subcommander*, devel/subversion*
  devel/apr-svn -> devel/apr
  (subversion will pull in devel/apr)

Notes: dev@apr.apache.org, trunk in svn is as of TODAY(2008/01/03) 2.0.x, ports infra needs to prep for
       [devel/apr-0,] devel/apr-1, devel/apr-2

Helpful for PRs:    ports/117596, ports/83644, ports/96749, ports/110651, ports/118003, ports/128078
Fixes PRs:          ports/126053 [1]
Requeted by:        many on ports@, many on #bsdports [1]
Exp Run by :        pav
2009-01-18 19:43:53 +00:00
Philip M. Gollucci
9556b3b567 Left a file out of the previoius commit.
this updates the patch for 1.3.2 -> 1.3.3

Noticed by: ionbot
2008-08-22 20:05:38 +00:00
Philip M. Gollucci
d864928a29 - Update to apr 1.3.3
- Update to apr-util 1.3.4
- APR and APU version don't necessarily match
- Update COMMENT it hasn't been Apache Group for over a decade
- Let WITH_LDAP trigger APR_UTIL_WITH_LDAP
- pre-configure stage work is handled in bsd.port.mk
- remove files/patch-apr-util-1.3.2__build__apu-conf.m4
  committed upstream in 1.3.3+
- set NO_WRKSUBDIR instead of WRKSRC=WRKDIR

Approved by:    gabor (mentor)
2008-08-22 18:49:56 +00:00
Ade Lovett
771ea13f41 Conversion from (now defunct) autoconf-2.61 to autoconf-2.62
Tested by:	exp build run (erwin)
2008-08-20 00:57:32 +00:00
Philip M. Gollucci
0a64105e31 - silence a portlint warning(tab)
- fix pkg-plist for LDAP case
- Bump PORTREVISION

Added file(s):
 - files/patch-apr-util-1.3.2__build__apu-conf.m4
 (Will be removed in 1.3.3 release)
 http://svn.apache.org/viewvc/apr/apr-util/branches/1.3.x/build/apu-conf.m4?r1=668323&r2=675009&pathrev=675009&view=patch

PR:     ports/125411
Reported by:    several on ports@
Approved by:    araujo (mentor)
2008-07-29 14:04:32 +00:00
Craig Rodrigues
41a9b15836 New APR maintainer: Phillip M. Gollucci <pgollucci@FreeBSD.org> 2008-07-29 02:10:53 +00:00