Commit graph

149 commits

Author SHA1 Message Date
Olli Hauer
4a72f16224 - add stage support 2013-09-29 17:56:04 +00:00
Baptiste Daroussin
857aec5d6b Add NO_STAGE all over the place in preparation for the staging support (cat: devel part 1) 2013-09-20 17:03:26 +00:00
Boris Samorodov
7046a55fd8 Introduce variable ICONV_PREFIX at Mk/Uses/iconv.mk. The default for
pre 100043 is ${LOCALBASE} and /usr otherwise. Convert all ports to
new variable usage.

Approved by:	portmgr (bapt, implicit)
2013-09-07 19:49:41 +00:00
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Olli Hauer
d770675cdf - update devel/apr1
apr-1.4.6      -> apr-1.4.8
  apr-util-1.4.1 -> apr-util-1.5.2

- add support for NSS crypto driver (apr-util)

Changes URL's:
http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/CHANGES?view=markup
http://svn.apache.org/viewvc/apr/apr-util/branches/1.5.x/CHANGES?view=markup
http://svn.apache.org/viewvc/apr/apr-util/branches/1.4.x/CHANGES?view=markup

Thanks to tijl@ for sending patches to the apache@ list.
 http://lists.freebsd.org/pipermail/freebsd-apache/2013-June/003172.html

with hat apache@
2013-07-06 08:43:48 +00:00
Marcus von Appen
821843ca06 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	bapt, kwm
2013-04-27 08:50:46 +00:00
Olli Hauer
63894eb439 - fix build with freetds
- no version bump (not a default option)

PR:		177118
Submitted by:	Christopher Dukes <chris.dukes.aix@gmail.com>
2013-03-26 09:06:12 +00:00
Olli Hauer
a455eb10eb - Revert PTHREAD cleanup, else apr-1-config returns wrong values
even if build with explicit LDFLAGS set.

Noted on the apache@ list by Geoff Speicher
http://lists.freebsd.org/pipermail/freebsd-apache/2013-February/003044.html
2013-02-19 21:54:07 +00:00
Pietro Cerutti
03cceed935 - Get rid of PTHREAD_CFLAGS and PTHREAD_LIBS (category: devel)
Approved by:	portmgr
2013-02-14 09:42:12 +00:00
Olli Hauer
0fff18ce57 - add apu OPTION for freetds
(no PORTREVISION bump, since not a default option)

  Requested on
    http://lists.freebsd.org/pipermail/freebsd-apache/2013-January/003020.html

  Apache bug Id.
   https://issues.apache.org/bugzilla/show_bug.cgi?id=53666

Submitted by:	"Mikhail T." <mi+thun@aldan.algebra.com>
2013-01-13 22:26:01 +00:00
Alex Dupre
6a48f3a450 Fix PLIST. 2012-12-14 15:06:09 +00:00
Olli Hauer
6ddf03ddfb - add and enable Crypto framework [1]
(only OpenSSL, there are some build issues with NSS)
- remove unused PERL build dependency [2]
- use OPTIONS_GROUP instead OPTIONS_DEFINE
- bump PORTREVISION

[1] requested by many on the apache@ list
[2] thanks to andre@ (noted on the apache@ list)
2012-12-12 19:52:04 +00:00
Olli Hauer
2a91c25f5f devel/apr1 [1]
- update APR to 1.4.6
- update APR-util to 1.4.1
- remove PKGNAMESUFFIX'es

www/apache-(event|itk|peruser|worker)-mpm
- adopt new Makefile header, adjust
  PKGNAMESUFFIX in apache22 masterport
  PKGNAME match now LATEST_LINK

www/apache22 [2]-[6]
- rewrite for options NG
- PORTNAME s|apache|apache22|
- remove APR APR-util specific otions,
  will be checked now with help of apr/u-1-config

Mk/bsd.apache.mk
- rewrite for options NG
- remove no longer needet make targets
  (show-categories, make-options-list)

[1]
PR: 165143

[2]-[6]
PR: 130479
PR: 153406
PR: 158565
PR: 168769
PR: 167965

with hat apache@
2012-09-02 14:31:58 +00:00
Olli Hauer
4f2a9125e1 - cleanup option desc. 2012-07-08 18:08:22 +00:00
Olli Hauer
4ff4041826 - convert to options NG
- sort pkg-plist
2012-07-08 16:48:26 +00:00
Philip M. Gollucci
53960f7458 - Fix ./configure tests w/ CLANG for IPv6
- No PORTVERSION bump, clang is not default

PR:		ports/164420
Submitted by:	Yuri Pankov <yuri.pankov@gmail.com>
With Hat:	apache@
2012-01-23 22:48:54 +00:00
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