1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
Commit Graph

309 Commits

Author SHA1 Message Date
Jun Kuriyama
f445e1918f - Fix plist with WITH_BDB case. 2009-12-12 13:44:13 +00:00
Jun Kuriyama
f8243fbfc9 - Add support for db48 (with WITH_BDB=t and WITH_BDB_VER=48) by
updating patch to dbm.m4.  Old patch for dbm.m4 is for db47.  But
  recent apache dist already includes code block for db47, so update a
  patch by replacing it to db48.
- No $PORTREVISION bump (no effect to packages with default options).

Submitted by:	ume
2009-12-12 10:42:51 +00:00
Philip M. Gollucci
ba53d00cf7 - Allow install by a user other then root
[Duplicate fix for devel/apr here in www/apache22 too]

PR:             ports/13876 [based on]
Submitted by:   Mel Flynn <mel at rachie.is-a-geek.net>
                miwi@
2009-12-12 00:43:27 +00:00
Philip M. Gollucci
f2633a8df6 whitespace fixes only 2009-12-11 23:56:52 +00:00
Philip M. Gollucci
05b7c932aa - envvars needs to be sourced before _all_ commands if it exists
PR:             ports/138466 (based on)
Submitted by:   Dmitry Pryanishnikov <lynx.ripe@gmail.com>
2009-12-11 23:43:25 +00:00
Philip M. Gollucci
d682b95cf7 - Fix handling of apache22_http_accept_enable="YES|NO"
o Note, don't use required_modules you can not check the return value
    to conditionalize the -DNOHTTPACCEPT flag

PR:             ports/138373
Submitted by:   Helmut Schneider <jumper99@gmx.de>
2009-12-11 23:37:04 +00:00
Philip M. Gollucci
e77426bf6c - Fix option WITH_PATCH_PROXY_CONNECT
PR:             ports/138846
Submitted by:   "George D." <gi@azagal.com>
2009-12-11 22:57:29 +00:00
Philip M. Gollucci
3484e0935d - OPTIONS+= PROXY_SCGI
PR:             ports/140137
Submitted by:   olli hauer <ohauer@gmx.de>
2009-12-10 08:09:45 +00:00
Philip M. Gollucci
a29f1d8090 - Update to 2.2.14
- With hat apache@

Note: The 3 CVE's are a no-op for the FreeBSD port --

date: 2009/08/25 05:33:03;  author: kuriyama;  state: Exp;  lines: +0 -0
(Forced commit)

- 2.2.13 (acutally 2.2.12) includes fixes for several CVEs. [1]
  but in our ports tree, APR related ones (CVE-2009-0023,
  CVE-2009-1955, CVE-2009-1956) were already backported in 2.2.11_5.

References:     http://www.apache.org/dist/httpd/CHANGES_2.2.12 [1]

Changes:
---------

  *) SECURITY: CVE-2009-2699 (cve.mitre.org)
     Fixed in APR 1.3.9.  Faulty error handling in the Solaris pollset support
     (Event Port backend) which could trigger hangs in the prefork and event
     MPMs on that platform.  PR 47645.  [Jeff Trawick]

  *) SECURITY: CVE-2009-3095 (cve.mitre.org)
     mod_proxy_ftp: sanity check authn credentials.
     [Stefan Fritsch <sf fritsch.de>, Joe Orton]

  *) SECURITY: CVE-2009-3094 (cve.mitre.org)
     mod_proxy_ftp: NULL pointer dereference on error paths.
     [Stefan Fritsch <sf fritsch.de>, Joe Orton]

  *) mod_proxy_scgi: Backport from trunk. [André Malo]

  *) mod_ldap: Don't try to resolve file-based user ids to a DN when AuthLDAPURL
     has been defined at a very high level.  PR 45946.  [Eric Covener]

  *) htcacheclean: 19 ways to fail, 1 error message. Fixed. [Graham Leggett]

  *) mod_ldap: Bring the LDAPCacheEntries and LDAPOpCacheEntries
     usage() in synch with the manual and the implementation (0 and -1
     both disable the cache). [Eric Covener]

  *) mod_ssl: The error message when SSLCertificateFile is missing should
     at least give the name or position of the problematic virtual host
     definition. [Stefan Fritsch sf sfritsch.de]

  *) htdbm: Fix possible buffer overflow if dbm database has very
     long values.  PR 30586 [Dan Poirier]

  *) Add support for HTTP PUT to ab. [Jeff Barnes <jbarnesweb yahoo.com>]

  *) mod_ssl: Fix SSL_*_DN_UID variables to use the 'userID' attribute
     type.  PR 45107.  [Michael Ströder <michael stroeder.com>,
     Peter Sylvester <peter.sylvester edelweb.fr>]

  *) mod_cache: Add CacheIgnoreURLSessionIdentifiers directive to ignore
     defined session identifiers encoded in the URL when caching.
     [Ruediger Pluem]

  *) mod_mem_cache: fix seg fault under load due to pool concurrency problem
     PR: 47672 [Dan Poirier <poirier pobox.com>]

  *) mod_autoindex: Correctly create an empty cell if the description
     for a file is missing. PR 47682 [Peter Poeml <poeml suse.de>]
2009-12-09 23:48:01 +00:00
Pav Lucistnik
50a634a8ec - Update MPM-ITK patch to 20090414-00
PR:		ports/137953
Submitted by:	Emil Mikulic <emikulic@gmail.com>
Feature safe:	yes
2009-09-16 14:17:57 +00:00
Jun Kuriyama
bbc5328732 - Upgrade to 2.2.13.
PR:		ports/137651
Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
2009-08-25 04:58:53 +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
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Philip M. Gollucci
7e3a35cbf9 - Change OPTION help text for WITH_APR_FROM_PORTS
beware -> preferred

  In preparation for making it the default and dropping the option.

Discussed on:   ports@, apache@
2009-06-16 17:04:56 +00:00
Philip M. Gollucci
a06ffb4ba3 - Revert the bdb change in the last batch
- Reported by: Serveral

With Hat:   apache@
2009-06-12 17:24:58 +00:00
Philip M. Gollucci
b1cf7a7880 crap, that was supposed to be in the previous commit 2009-06-12 00:37:51 +00:00
Philip M. Gollucci
ab3f650bf9 - Drop .sh suffices on rc.d scripts, add note to UPDATING
- Commit the final part of the bdb patch improving the value passed
  to --with-berkely-db [1]
- Silence the blasted warnings about accf [2]
  (Will send this upstream)
- Address httpd issue 42829* -  graceful restart with multiple listeners
   using prefork MPM can result in hung processes [3]
- Address httpd issue 29744+ - CONNECT does not work over existing
   SSL connection [4]
- Drop .sh suffices on rc.d scripts, add note to UPDATING [5]
- Bump PORTREVISION

PRs:                ports/110651 [1], ports/132528 [2], ports/134457 [3]
                    ports/135478
Submitted by:       "Timur I. Bakeyev" <timur@gnu.org> [1]
                    bz@ [2]
                    Alexander <freebsd@nagilum.org> [4]
                    myself (pgollucci@) [5]
Requested by:       apache@ (several) [3]

Tested by:          P6 TB (running live > 5 days)
                    RideCharge TB (running live > 3 days)
                    Apache Software Foundation (ASF) TB (running live > 1 day)

Sponosored by:      RideCharge Inc.
2009-06-12 00:33:30 +00:00
Philip M. Gollucci
de83f0b16f - Backport apr-util security fixes pending the 2.2.12 release (forthcomming)
Security:       http://www.vuxml.org/freebsd/eb9212f7-526b-11de-bbf2-001b77d09812
PR:             ports/135310
Submitted by:   Eygene Ryabinkin <rea-fbsd@codelabs.ru>
With Hat:       apache
2009-06-08 03:10:25 +00:00
Philip M. Gollucci
fe0178de48 - Mark SAFE apache@ ports MAKE_JOBS_SAFE=yes 2009-05-17 07:24:35 +00:00
Philip M. Gollucci
581f26a718 Add note tp pkg-message informing users of FAQ:
your hostname must be resolvable via at least
  1 mechanism configured in /etc/nsswitch.conf
  or depending on the modules you hae loaded
  apache might not be able to start.

PRs:            ports/131563, ports/131564, ports/131565
Submitted by:   Glen Barber <glen.j.barber@gmail.com>
Discussed with: me
2009-04-10 06:39:46 +00:00
Jun Kuriyama
d3c74af9cf - Add a patch to fix ab(1) fails to connect with "Operation already in
progress (37)" errno.

References:	https://issues.apache.org/bugzilla/show_bug.cgi?id=44584
Obtained from:	http://svn.apache.org/viewvc/httpd/httpd/trunk/support/ab.c?r1=748396&r2=749438
Reviewed by:	apache@ (pgollucci@)
2009-04-02 01:22:58 +00:00
Philip M. Gollucci
a3839b478a - www/apache22-peruser-mpm overwrites the apache22.tbz package in Latest/
due to the Master/Slave relationship
  (Needs LATEST_LINK et al)

Discussed on:   apache@
Reported by:    John Hay <jhay@meraka.org.za>
Approved by:    Jille Timmermans <jille@quis.cx>

With hat:       apache
2009-01-29 23:51:46 +00:00
Philip M. Gollucci
42263e06cd remove now unused option WITH_SVN 2009-01-19 19:08:23 +00:00
Philip M. Gollucci
6ccd57a158 Chase devel/apr-svn removal
Reported by:    tabthorpe
Pointyhat:      me
2009-01-19 19:05:11 +00:00
Philip M. Gollucci
6ded56a341 - Re-assign www/apache* ports to apache@
- Previous MATAINERs please welcome yourself to the apache@ team.

Approved by: portmgr (pav, flz), secteam (simon), clement
2009-01-09 14:13:05 +00:00
Wesley Shields
9168603ee2 - Remove conditional checks for FreeBSD 5.x and older
Approved by:	pav
2009-01-06 16:53:07 +00:00
Clement Laforet
01a934f89c PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
Security:
- Update to 2.2.11
- Always depend on pcre from ports [1]
- Fix plist with LDAP/without apr-util DSO
- source envvars as late as possible [2]

Requested by:           ale
                        Eygene Ryabinkin <rea-fbsd at codelabs dot ru> [2]
PR:                     ports/127418 [2]
2008-12-15 22:05:56 +00:00
Clement Laforet
bddb65da3a - Fix @comment string
Pointy hat to:  clement
Reported by:    Christer Solskogen
2008-09-03 19:08:17 +00:00
Clement Laforet
0280546275 - Fix @comment string
Pointy hat to:	clement
Reported by:	Christer Solskogen
2008-09-03 19:07:56 +00:00
Clement Laforet
6a38fa6371 - Fix plist where apr_dbd is used
- Fix Postgresql build, don't trust pg_config
- Don't overwrite apr_dbd_mysql.c
- Bump PORTREVISION

No cookie for:  clement
2008-09-03 13:19:24 +00:00
Clement Laforet
9ec0a77737 - Update MPM itk patch to 20080727-00 (it is actually a no op
on FreeBSD)
- Move mpm-itk patch to EXTRA_PATCHES to avoid conflicts with
  alternative mpm patches [1]
- update PLIST_SUBS when SLAVE_PORT_MPM is defined

Requested by:           Jille Timmermans [1]
2008-09-02 12:26:37 +00:00
Clement Laforet
4cd7e7d85c - Fix incorrect redirection order in startup script
- Bump PORTREVISION

PR:             ports/127038 [1]
Submitted by:   edwin@ [1]
Reported by:    Tod McQuillin
2008-09-02 07:34:21 +00:00
Clement Laforet
2846acd7a8 - Yet Another Plist Fix [1]
- Completely shut up rc.d script when no profiles are enabled
  (add add support to disable profiles) [2]
- Fix CVE-2008-2939 for mod_proxy_ftp
  (XSS attacks when using wildcards in the path of the FTP URL)
- Add "apache22_fib" to start apache22 prefixed by
  "setfib -F ${apache22_fib}", so apache can use an alternate
  network view (not carefully tested yet)
- Revert previous patch to "fix" missing rc.d scripts. It
  actually breaks profiles.
- Bump PORTREVISION

PR:             ports/126670 [1],
                ports/116627 [2]
Submitted by:   Joseph S. Atkinson [1],
                Eygene Ryabinkin [2]
Security:       CVE-2008-2939

Special thanks to: pgollucci@
2008-08-31 23:00:27 +00:00
Clement Laforet
338936cee4 - Fix plist when NOPORTDOCS is defined [1]
- Add WITH_SVN knob. It enables BDB for apache22 port and
  force dependency on dev/apr-svn when WITH_APR_FROM_PORTS is
  defined. (should help fixing [2]).
  Introduce APR_PORT.
- Add support for db-4.7 [3]
- Add mod_ldap OPTIONS fixup [4]
- Sometimes, rc scripts aren't included in package
  Try to fix this. [5]

PR:    ports/126053 [2], ports/125520 [3]
       ports/124651 [4], ports/126670 [5] (partially)

Reported by: QA Tindy [1],
             Crazig Leres [2],
             Larry Rosenman [4]
             Kirk Strauser [3],
             Joseph S. Atkinson [5]
2008-08-31 16:51:38 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +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
Clement Laforet
c526e611b0 - Update to 2.2.9
- Add a note to UPDATING about the forced build of subversion
   because of apr/apu bumped version.
2008-06-23 21:11:15 +00:00
Clement Laforet
414f0aac90 - Fix recursive use of WITH_BDB_VER when WITH_BERKELEYDB and WITH_BDB_VER
are both defined.

Reported by:	Vivek Khera <VIVEK@KHERA.ORG>
2008-01-28 20:42:04 +00:00
Clement Laforet
08e7642f45 - s/bsd.databases.mk/bsd.database.mk/
PR:             ports/119823
Submitted by:   mm
2008-01-20 14:00:32 +00:00
Clement Laforet
0cf36460fb - Update to 2.2.8
- Update documentation
- Use BDB from bsd.databases.mk instead of homebrew [1]

PR:             ports/119711 [1]
Submitted by:   mm [1]
2008-01-20 11:29:31 +00:00
Martin Matuska
4fc1e08db5 - Add support for db45 and db46
PR:		ports/117937
Submitted by:	mm
Approved by:	maintainer timeout
2008-01-16 09:33:45 +00:00
Clement Laforet
2c8b7a5330 - Fix slave ports [1]
- Fix plist [2]
- Fix CONFLICTS with devel/apr-svn [3]
- Fix install when index.html is modified
- Bump PORT_REVISION

PR:             ports/118348 [1], ports/118338 [2],ports/117097 [2]
                ports/90088 [3], ports/118349 [3]
Submitted by:   Andrey Beresovsky <and at sfedu dot ru> [1],
                Dimitry Andric <dimitry at andric dot com> [2],
                YAMAMOTO Takao <yamamoto at computec dot co dot jp>
                Melvyn Sopacua <melvyn atmelvyn dot homeunix dot org> [3],
                Dominic Fandrey <lon_kamikaze at gmx dot de> [3]
2007-12-11 20:22:16 +00:00
Mark Linimon
48420a5ebd Switch autoconf dependencies from 2.53 or 2.59 to 2.61.
PR:		ports/116639
Submitted by:	aDe
2007-09-30 04:47:36 +00:00
Clement Laforet
901de7f4bc - Make port more OPTIONS compliant (more OPTIONS workarounds)
- Add some IGNORE entries to warn users when the choose conflicting options
2007-09-23 10:22:07 +00:00
Clement Laforet
7490730603 - Fix PCRE_FROM_PORTS. it wasn't processed by OPTIONS stff [1]
(I forgot to re-apply the patch locally)

Reminded by:    bland@
2007-09-20 08:04:34 +00:00
Clement Laforet
d4538af23f - Fix PCRE_FROM_PORTS. it wasn't processed by OPTIONS stff [1]
- Preserve index.html
- We no longer install images in default DocumentRoot (there're still in icons/)
- Various plist cleanup
- bump PORTREVISION since we are now safe with index.html

Reminded by:	bland@
2007-09-20 07:57:36 +00:00
Clement Laforet
db9219af7d - remove duplicate entry of mod_charset_lite [1]
- add PCRE_FROM_PORTS to OPTIONS
- use @dirrmtry for include/apache22
- workaround plist issues when upgrading, but it's not as safe as I
  would expect, it requires more work.

Spotted by:     bland@ [1]
2007-09-19 21:05:23 +00:00
Clement Laforet
f829e11f2e - Add experimental support of OPTIONS.
From UPDATING:

  By popular request, OPTIONS support has been added. When actived
  (default), these knobs are ignored:
          * WITH_<CATEGORY>_MODULES
          * WITHOUT_<CATEGORY>_MODULES
          * WITH_CUSTOM_<CATEGORY>
          * WITH_MODULES
          * WITHOUT_MODULES
          * WITH_STATIC_MODULES
  However, you can disable OPTIONS by defining WITHOUT_APACHE_OPTIONS.

- move envvars support to the beginning of apache22_checkconfig() to be
  sure we're using envvars during configtest [1]

PR:             ports/116329 [1]
Submitted by:   Ruud Althuizen <ruud@il.fontys.nl> [1]
2007-09-18 20:03:15 +00:00
Clement Laforet
126240de1d - Fix build when WITHOUT_IPV6 is defined and system is IPv6-free
PR:			ports/115200
Submitted by:		anray
Also reported by:	Peter Jeremy
2007-09-16 19:05:41 +00:00
Clement Laforet
655f69a7ba - Import MySQL DBD backend
This will definitively fix checksum mismatches. Time to investigate...

Reported by:	many
2007-09-16 15:46:10 +00:00