Re: www/apache22 - default APACHE_PORT for 8.3/9.0

2011-06-29 Thread Philip M. Gollucci
Don't open this.  rt36 doesn't have it, you need to keep it until that
port is removed.

On 06/29/11 01:13, Steve Wills wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 06/28/11 19:55, Olli Hauer wrote:
>>
>> Hi Steve,
>>
>> from my perspective everything is fine for the change.
>> Maybe Philip has some additional tasks/time plannings?
>>
>> If not I will request an exp-run.
>>
>> I've placed a small overview of the last issues here.
>> http://people.freebsd.org/~ohauer/apache22_exp_run/
>>
>> There are no show stoppers for me and only two outstanding
>> issues.
>>
> 
> Thanks for the info.
> 
> FWIW, www/p5-RTx-Statistics port can probably be removed, similar
> functionality is included in RT itself now and has been for a while:
> 
> http://lists.bestpractical.com/pipermail/rt-users/2007-October/048538.html
> 
> and I recall reading somewhere else (can't find it now) that the module
> isn't supported any more.
> 
> Steve
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.17 (FreeBSD)
> 
> iQEcBAEBAgAGBQJOCnw+AAoJEPXPYrMgexuhsvoIAJmy0CCUl6Kq+M/afqVRLxQW
> /IYa3LlKj1GGX1qvP1/Nc65wcFRkhUCEdlaM7pPca0Em33B2k7dfUP4vL+ktPg91
> zSfAImdTMflIgMue1Mu4ggg2d0nyhOm0MVR6Pk1mnCJLCQ3XBqeP02yHx7miQxMs
> u3EB4/cF42b3ywvDzW7AF0/C2JAxMbgaJ9uMnHGZF6EKuH6Uzch7fxqIQ5ahdDkx
> lH7HZuv7B+QmgyzFZflH7Muka7JOvyFAGi0zDU6Lxjl1uggJFLIbh17JvsvUod95
> 4adGIUiUwxDpT3FTPaznduiod6PXIigHSpPnIO2VOI54Fluijy7ZVFRmBpEYzAI=
> =wLeX
> -END PGP SIGNATURE-
> ___
> freebsd-po...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
> 


-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Infrastructure,Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: VOTE: Retire libapreq-1.34?

2011-05-19 Thread Philip M. Gollucci
Okay so this is the second time this passed.  What do we need to do to
make this actually happen ?

  1) HEADS up e-mail to announce lists, dev list
  2) update website
  3) update /dist and move to archive
  4) mark svn branch as r/o

drink beer.


On 05/18/11 17:12, Philip M. Gollucci wrote:
> We already voted on this a while ago.  But +1 clearly.
> You really mean to ask about the whole 1.3Z series.
> 
> 
> On 04/27/11 13:09, Joe Schaefer wrote:
>> +1
>>
>>
>>
>> - Original Message 
>>> From: Issac Goldstand 
>>> To: apreq-...@httpd.apache.org
>>> Sent: Wed, April 27, 2011 8:34:28 AM
>>> Subject: Re: VOTE: Retire libapreq-1.34?
>>>
>>>
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA1
>>>
>>> On 27/04/2011  15:31, Issac Goldstand wrote:
>>>>
>>>> [+1] Remove libapreq-1.34  immediately from www.apache.org/dist/ and CPAN
>>>> remove it from the  download.html page and add a sentence stating that
>>>> the 1.3 line of  releases is at archives.a.o and backpan
>>>
>>>
>>> -BEGIN PGP  SIGNATURE-
>>> Version: GnuPG v1.4.11 (MingW32)
>>> Comment: Using GnuPG with  Mozilla - http://enigmail.mozdev.org/
>>>
>>> iEYEARECAAYFAk24DVQACgkQ7bEFiW+VIthtuQCgpriVeIu2vhIr77KAbyu3N0Hz
>>> lIgAoK63v/K2e0QMP/r6X8MOKG26mpNf
>>> =GTuK
>>> -END  PGP SIGNATURE-
>>>
>>>
>>
> 
> 


-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Infrastructure,Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: svn commit: r1082196 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/core.xml include/ap_mmn.h include/http_core.h include/httpd.h server/core.c server/request.c server/util.c

2011-05-18 Thread Philip M. Gollucci
On 05/18/11 18:29, Eric Covener wrote:
>> AP_DECLARE(int) ap_unescape_url_keep2f(char *url)
>> {
>>   return ap_unescape_url_keep2f(url,1);
>> }
> 
> Duh, not in C.
> 
LOL I was reading that and was wondering how long I'd wait for this email.

-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Member,   Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: svn commit: r1082196 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/core.xml include/ap_mmn.h include/http_core.h include/httpd.h server/core.c server/request.c server/util.c

2011-05-18 Thread Philip M. Gollucci
> Modified: httpd/httpd/trunk/include/httpd.h
> URL:
http://svn.apache.org/viewvc/httpd/httpd/trunk/include/httpd.h?rev=1082196&r1=1082195&r2=1082196&view=diff
>
==
> --- httpd/httpd/trunk/include/httpd.h (original)
> +++ httpd/httpd/trunk/include/httpd.h Wed Mar 16 16:45:25 2011
> @@ -1496,7 +1496,7 @@ AP_DECLARE(int) ap_unescape_url(char *ur
>   * @param url The url to unescape
>   * @return 0 on success, non-zero otherwise
>   */
> -AP_DECLARE(int) ap_unescape_url_keep2f(char *url);
> +AP_DECLARE(int) ap_unescape_url_keep2f(char *url, int decode_slashes);

Did we mean to change a public API in a patch release ? .17 -> .18 ?
This has broken things in FreeBSD ports and is being reported a bit.
I see the mmn bump so you can detect it at least.


On 03/16/11 16:45, poir...@apache.org wrote:
> Author: poirier
> Date: Wed Mar 16 16:45:25 2011
> New Revision: 1082196
> 
> URL: http://svn.apache.org/viewvc?rev=1082196&view=rev
> Log:
> core: AllowEncodedSlashes new option NoDecode to allow encoded slashes
> in request URL path info but not decode them. Change behavior of option
> "On" to decode the encoded slashes as 2.0 and 2.2 do.  PR 35256,
> PR 46830.
> 
> 
> Modified:
> httpd/httpd/trunk/CHANGES
> httpd/httpd/trunk/docs/manual/mod/core.xml
> httpd/httpd/trunk/include/ap_mmn.h
> httpd/httpd/trunk/include/http_core.h
> httpd/httpd/trunk/include/httpd.h
> httpd/httpd/trunk/server/core.c
> httpd/httpd/trunk/server/request.c
> httpd/httpd/trunk/server/util.c
> 
> Modified: httpd/httpd/trunk/CHANGES
> URL: 
> http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=1082196&r1=1082195&r2=1082196&view=diff
> ==
> --- httpd/httpd/trunk/CHANGES [utf-8] (original)
> +++ httpd/httpd/trunk/CHANGES [utf-8] Wed Mar 16 16:45:25 2011
> @@ -2,6 +2,11 @@
>  
>  Changes with Apache 2.3.12
>  
> +  *) core: AllowEncodedSlashes new option NoDecode to allow encoded slashes
> + in request URL path info but not decode them. Change behavior of option
> + "On" to decode the encoded slashes as 2.0 and 2.2 do.  PR 35256,
> + PR 46830.  [Dan Poirier]
> +
>*) mod_ssl: Check SNI hostname against Host header case-insensitively.
>   PR 49491.  [Mayank Agrawal ]
>  
> 
> Modified: httpd/httpd/trunk/include/ap_mmn.h
> URL: 
> http://svn.apache.org/viewvc/httpd/httpd/trunk/include/ap_mmn.h?rev=1082196&r1=1082195&r2=1082196&view=diff
> ==
> --- httpd/httpd/trunk/include/ap_mmn.h (original)
> +++ httpd/httpd/trunk/include/ap_mmn.h Wed Mar 16 16:45:25 2011
> @@ -306,6 +306,7 @@
> util_ldap_state_t.connectionPoolTTL,
> util_ldap_connection_t.freed, and
> util_ldap_connection_t.rebind_pool. 
> + * 20110312.1 (2.3.12-dev) Add core_dir_config.decode_encoded_slashes.
>   */
>  
>  #define MODULE_MAGIC_COOKIE 0x41503234UL /* "AP24" */
> @@ -313,7 +314,7 @@
>  #ifndef MODULE_MAGIC_NUMBER_MAJOR
>  #define MODULE_MAGIC_NUMBER_MAJOR 20110312
>  #endif
> -#define MODULE_MAGIC_NUMBER_MINOR 0 /* 0...n */
> +#define MODULE_MAGIC_NUMBER_MINOR 1 /* 0...n */
>  
>  /**
>   * Determine if the server's current MODULE_MAGIC_NUMBER is at least a
> 
> Modified: httpd/httpd/trunk/include/http_core.h
> URL: 
> http://svn.apache.org/viewvc/httpd/httpd/trunk/include/http_core.h?rev=1082196&r1=1082195&r2=1082196&view=diff
> ==
> --- httpd/httpd/trunk/include/http_core.h (original)
> +++ httpd/httpd/trunk/include/http_core.h Wed Mar 16 16:45:25 2011
> @@ -540,6 +540,8 @@ typedef struct {
>  
>  /** per-dir log config */
>  struct ap_logconf *log;
> +
> +unsigned int decode_encoded_slashes : 1; /* whether to decode encoded 
> slashes in URLs */
>  } core_dir_config;
>  
>  /* macro to implement off by default behaviour */
> 
-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Member,   Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


www/apache22 - default APACHE_PORT for 8.3/9.0

2011-03-17 Thread Philip M. Gollucci
All,

apache@ has been working diligently for the last 2yrs to realize
www/apache22 as the default.  Now, we are at last nearing completion. We
look to pull the switch within the next month or so pending our final
-exp run by portmgr@.

I would like to thank everyone that helped to make this happen
especially:
ohauer@ (Olli Hauer)
  for stepping up and finishing the last mile!
portmgr@ (Pav)
   -exp runs
clement@ (Clement Laforte)
   for his long years of previous service

Once www/apache22 becomes the default, we will actively move to
deprecate and remove support for www/apache20 and related ports (they
already have the notices in them). Then www/apache13* (yes, its EOL
upstream, and unsupported by both then and us).

  http://s.apache.org/13eol

Finally, we will look to import www/apache24 which just recently saw its
1st ever BETA release.

If you would like to track our progress here some relevant links:

  o http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/147009
  o http://wiki.freebsd.org/Apache

Some things you should keep in mind as quoted in ports/CHANGES:
20090516:
AUTHOR: pgollu...@freebsd.org

  * APACHE_COMPAT is dead!

  * USE_APACHE=yes is dead!

  * WITH_APACHE13, WITH_APACHE2, WITH_APACHE20, and WITH_APACHE22 are   
dead

You should set USE_APACHE=13|20|22+.  WITH_APACHE option can
be used to conditionally include support for ANY version of
Apache based on APACHE_PORT.

Additionally, WITH_MODPERL2 will be replaced WITH_MODPERL.

-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [PRERELEASE TARBALLS] httpd-2.3.8

2010-08-26 Thread Philip M. Gollucci
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/25/10 18:19, Sander Temme wrote:
>> [X] NO - dont include PCRE (as currently) because of reason: ...
So far I agree with pquerna, sctemme, and wrowe for not including it.
The previous bundling even caused issues for php.






- -- 
- 
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (FreeBSD)

iD8DBQFMdx5hdbiP+9ubjBwRApLTAJ48KnDWr960ttgY7yFGPSJ5qumdYQCeICVV
tvDaxDGKHDfNH/HEtxoxC5E=
=f1T6
-END PGP SIGNATURE-


Re: httpd 2.3.7 as beta?

2010-08-11 Thread Philip M. Gollucci
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/11/10 12:55, Jim Jagielski wrote:
> 
> On Aug 10, 2010, at 10:22 PM, Philip M. Gollucci wrote:
> 
>> On 8/10/2010 4:01 PM, Jim Jagielski wrote:
>>> Subject for discussion...  Does truck look good enough
>>> for Beta?
>>>
>>> In either case, as alpha or beta, I plan to RM this next week.
>> Which apr are we 'bundling' these days with trunk?
>>
> 
> apr-1.4
> apr-util-1.3
I recall(pquerna) using a -dev tag before.  Are the official latest
releases sufficient ?




- -- 
- --------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (FreeBSD)

iD8DBQFMYrtFdbiP+9ubjBwRAvSmAJ9gtBarzxi6dlLEeKrsI7TNAA92mQCbBo+k
Tm+sVqGvIl1LPG37wku5xpU=
=8XhW
-END PGP SIGNATURE-


Re: httpd 2.3.7 as beta?

2010-08-10 Thread Philip M. Gollucci

On 8/10/2010 4:01 PM, Jim Jagielski wrote:

Subject for discussion...  Does truck look good enough
for Beta?

In either case, as alpha or beta, I plan to RM this next week.

Which apr are we 'bundling' these days with trunk?

I ask b/c I intend to make a www/apache23 freebsd port if this goes as 
beta.








--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: svn commit: r983116 - /httpd/httpd/trunk/modules/filters/mod_reqtimeout.c

2010-08-08 Thread Philip M. Gollucci

On 8/8/2010 2:19 PM, Ruediger Pluem wrote:



On 08/06/2010 10:07 PM, pgollu...@apache.org wrote:

Author: pgollucci
Date: Fri Aug  6 20:07:57 2010
New Revision: 983116

URL: http://svn.apache.org/viewvc?rev=983116&view=rev
Log:
rv is never used which makes the whole if useless

Reported by:clang static analyzer


Modified:
 httpd/httpd/trunk/modules/filters/mod_reqtimeout.c

Modified: httpd/httpd/trunk/modules/filters/mod_reqtimeout.c
URL: 
http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_reqtimeout.c?rev=983116&r1=983115&r2=983116&view=diff
==
--- httpd/httpd/trunk/modules/filters/mod_reqtimeout.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_reqtimeout.c Fri Aug  6 20:07:57 2010
@@ -190,10 +190,7 @@ static apr_status_t reqtimeout_filter(ap
  #endif

  rv = ap_get_brigade(f->next, bb, AP_MODE_GETLINE, 
APR_NONBLOCK_READ, remaining);
-if (APR_STATUS_IS_EAGAIN(rv)) {
-rv = APR_SUCCESS;
-}
-else if (rv != APR_SUCCESS) {
+if (rv != APR_SUCCESS) {
  break;
  }


IMHO this is a change in logic. If ap_get_brigade returns EAGAIN then
the old code stays in the loop, whereas the new code leaves the loop.
I was thinking about that after I made it.  The relevant tests still 
pass, but I'm not convinced its exercised properly.


I will review this on Tuesday unless you want to do it before then.



--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: svn commit: r951893 et al

2010-06-07 Thread Philip M. Gollucci
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/06/10 16:54, s...@apache.org wrote:
> Author: sf
> Date: Sun Jun  6 16:54:51 2010
> New Revision: 951893
> 
> URL: http://svn.apache.org/viewvc?rev=951893&view=rev
> Log:
> - Introduce log levels trace1/.../trace8
> - Add macro wrappers for ap_log_*error. On C99, this will save argument
>   preparation and function call overhead when a message is not logged
>   because of the configured loglevel.
> - Introduce per-module loglevel configuration.


fscking sweet!

I can't wait to try it!

I'm even tempted to try to get this into production!

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (FreeBSD)

iD8DBQFMDXB9dbiP+9ubjBwRAkJjAKCC0JZ6c7WJaqQ6sbodNJZRVBia8wCfdodS
sSZGerCkmuGQiV3C8fPT9n4=
=rc4N
-END PGP SIGNATURE-


test/framework

2010-05-24 Thread Philip M. Gollucci

Is there any easy way to run this for 2.0.x ?



--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Fwd: Re: ports/133704: www/apache22 apxs does not work as expected

2010-05-12 Thread Philip M. Gollucci
Any objections to this in trunk / branches/2.2.x ?
Minor comment changes?

 Original Message 
Subject: Re: ports/133704: www/apache22 apxs does not work as expected
Date: Sat, 08 May 2010 14:17:33 +0200
From: olli hauer 
To: pgollu...@freebsd.org, bug-follo...@freebsd.org
CC: apa...@freebsd.org, Olli Hauer 

pgollu...@freebsd.org wrote:
> Synopsis: www/apache22 apxs does not work as expected
> 
> State-Changed-From-To: analyzed->closed
> State-Changed-By: pgollucci
> State-Changed-When: Fri May 7 21:49:05 UTC 2010
> State-Changed-Why: 
> done and done!
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=133704
> 

Hi,

thanks for fixing this bug;)

Btw. since you are a member off apache.org, maybe you want to close
the following bugzilla issue.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47397

One note:
The FreeBSD hack removes the line complete so it is possible
to breaks apache if someone use apxs to control modules not
installed by a port since it removes the line completely.


What do you think about this hack (add an addition parameter [-r] to
remove the
line)

--- patch_apxs.txt begins here ---
--- /usr/local/sbin/apxs2010-05-08 11:38:09.0 +0200
+++ apxs2010-05-08 13:55:32.0 +0200
@@ -72,6 +72,7 @@
 my $opt_i = 0;
 my $opt_a = 0;
 my $opt_A = 0;
+my $opt_r = 0;
 my $opt_q = 0;
 my $opt_h = 0;
 my $opt_p = 0;
@@ -148,12 +149,14 @@
 print STDERR "   [-Wl,] [-p]  ...\n";
 print STDERR "   apxs -i [-S =] [-a] [-A] [-n ]
 ...\n";
 print STDERR "   apxs -e [-S =] [-a] [-A] [-n ]
 ...\n";
+# FreeBSD hack, remove the line instead commenting out
+print STDERR "   apxs -e [-r] [-A] [-n ]  ...\n";
 exit(1);
 }

 #   option handling
 my $rc;
-($rc, @ARGV) = &Getopts("qn:gco:I+D+L+l+W+S+eiaAp", @ARGV);
+($rc, @ARGV) = &Getopts("qn:gco:I+D+L+l+W+S+eiaApr", @ARGV);
 &usage if ($rc == 0);
 &usage if ($#ARGV == -1 and not $opt_g);
 &usage if (not $opt_q and not ($opt_g and $opt_n) and not $opt_i and not
$opt_c and not $opt_e);
@@ -614,7 +617,7 @@
 } else {
 # replace already existing LoadModule line
 # Custom FreeBSD mod
-if ($opt_A) {
+if ($opt_A and $opt_r) {
 $content =~ s|^(.*\n)#?\s*$lmd_re[^\n]*\n|$1|s;
 }
 else {
--- patch_apxs.txt ends here ---




Re: svn commit: r943769 - in /httpd/sandbox/mod_allowmethods: ./ modules/allowmethods/

2010-05-12 Thread Philip M. Gollucci
On 05/13/10 02:24, iga...@apache.org wrote:
> +mod_allowmethods.os
.so not .os


-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Fwd: cvs commit: ports/security/openssl Makefile distinfo pkg-plist ports/security/openssl/files patch-Configure patch-crypto-dso-Makefile

2010-04-02 Thread Philip M. Gollucci



 Original Message 
Subject: cvs commit: ports/security/openssl Makefile distinfo pkg-plist 
ports/security/openssl/files patch-Configure 
patch-crypto-dso-Makefile

Date: Fri, 2 Apr 2010 18:42:11 + (UTC)
From: Dirk Meyer 
To: ports-committ...@freebsd.org, cvs-po...@freebsd.org, cvs-...@freebsd.org

dinoex  2010-04-02 18:42:11 UTC

  FreeBSD ports repository

  Modified files:
security/openssl Makefile distinfo pkg-plist
security/openssl/files patch-Configure
  Removed files:
security/openssl/files patch-crypto-dso-Makefile
  Log:
  - update to 1.0.0
  - regression tested on i386, amd64 and ia64
  - use DIST_SUBDIR to resolve conflicts with old patchfiles
  - new options DTLS_RENEGOTIATION, DTLS_HEARTBEAT, TLS_EXTRACTOR, SCTP

  Revision  ChangesPath
  1.167 +220 -122  ports/security/openssl/Makefile
  1.58  +18 -3 ports/security/openssl/distinfo
  1.11  +16 -16ports/security/openssl/files/patch-Configure
  1.2   +0 -14 
ports/security/openssl/files/patch-crypto-dso-Makefile (dead)

http://cvsweb.FreeBSD.org/ports/security/openssl/files/patch-crypto-dso-Makefile?rev=1.1&content-type=text/x-cvsweb-markup
  1.40  +13 -8 ports/security/openssl/pkg-plist

http://cvsweb.FreeBSD.org/ports/security/openssl/Makefile.diff?r1=1.166&r2=1.167&f=h
| --- ports/security/openssl/Makefile   2010/03/30 19:07:14 1.166
| +++ ports/security/openssl/Makefile   2010/04/02 18:42:11 1.167
| @@ -2,22 +2,24 @@
|  # Date created:  Sun Jan  3 19:36:27 CET 1999
|  # Whom:  Dirk Froemberg 
|  #
| -# $FreeBSD: 
/usr/local/www/cvsroot/FreeBSD/ports/security/openssl/Makefile,v 1.166 
2010/03/30 19:07:14 dinoex Exp $
| +# $FreeBSD: 
/usr/local/www/cvsroot/FreeBSD/ports/security/openssl/Makefile,v 1.167 
2010/04/02 18:42:11 dinoex Exp $

|  #
|
|  PORTNAME=openssl
| -PORTVERSION= 0.9.8n
| -PORTREVISION=0
| +PORTVERSION= 1.0.0
|  CATEGORIES=  security devel
|  MASTER_SITES=http://www.openssl.org/%SUBDIR%/ \
|   ftp://ftp.openssl.org/%SUBDIR%/ \
|   ftp://ftp.cert.dfn.de/pub/tools/net/openssl/%SUBDIR%/
|  MASTER_SITE_SUBDIR=  source
| -DISTNAME=${PORTNAME}-${PORTVERSION}
| +DIST_SUBDIR= ${DISTNAME}
|
|  MAINTAINER=  din...@freebsd.org
|  COMMENT= SSL and crypto library
|
| +PATCH_SITES= http://sctp.fh-muenster.de/dtls/
| +PATCHFILES=  #
| +
|  BUILD_DEPENDS=   makedepend:${PORTSDIR}/devel/makedepend
|
|  .ifdef USE_OPENSSL
| @@ -27,35 +29,44 @@ BUILD_DEPENDS=makedepend:${PORTSDIR}/de
|  OPTIONS= I386"Use optimized assembler for 80386" off \
|   SSE2"Use runtime SSE2 detection" on \
|   ZLIB"Build with zlib compression" on \
| + DTLS_RENEGOTIATION  "Build with DTLS Abbreviated renegotiations" 
off \
| + DTLS_HEARTBEAT  "Build with DTLS Heartbeat Extension" off \
| + TLS_EXTRACTOR   "Build with TLS key material extractor" off \
| + SCTP"Build with SCTP support" off \
|
|  MAKE_JOBS_UNSAFE=yes
|  NOPRECIOUSMAKEVARS=  Too many _MLINKS for fetch
|  NOPRECIOUSSOFTMAKEVARS=  Too many _MLINKS for fetch
|
|  USE_PERL5_BUILD= yes
| -EXTRACONFIGURE+= enable-camellia
|  MAKE_ARGS+=  WHOLE_ARCHIVE_FLAG=--whole-archive
|  MAKE_ENV+=   LIBRPATH="${PREFIX}/lib"
|  OPENSSLDIR=  ${PREFIX}/openssl
|  MANPREFIX=   ${PREFIX}
|
| -MAN1=	CA.pl.1 asn1parse.1 ca.1 ciphers.1 crl.1 crl2pkcs7.1 dgst.1 
dhparam.1 \

| - dsa.1 dsaparam.1 ec.1 ecparam.1 enc.1 errstr.1 gendsa.1 genrsa.1 \
| - nseq.1 ocsp.1 openssl.1 passwd.1 pkcs12.1 pkcs7.1 pkcs8.1 rand.1 \
| - req.1 rsa.1 rsautl.1 s_client.1 s_server.1 s_time.1 sess_id.1 smime.1 \
| - speed.1 spkac.1 verify.1 version.1 x509.1
| -
| -MAN3=ASN1_generate_nconf.3 ASN1_OBJECT_new.3 ASN1_STRING_length.3 \
| - ASN1_STRING_new.3 ASN1_STRING_print_ex.3 BIO_ctrl.3 BIO_f_base64.3 \
| - BIO_f_buffer.3 BIO_f_cipher.3 BIO_f_md.3 BIO_f_null.3 BIO_f_ssl.3 \
| - BIO_find_type.3 BIO_new.3 BIO_new_bio_pair.3 BIO_push.3 BIO_read.3 \
| - BIO_s_accept.3 BIO_s_bio.3 BIO_s_connect.3 BIO_s_fd.3 BIO_s_file.3 \
| - BIO_s_mem.3 BIO_s_null.3 BIO_s_socket.3 BIO_set_callback.3 \
| - BIO_should_retry.3 BN_BLINDING_new.3 BN_CTX_new.3 BN_CTX_start.3 \
| - BN_add.3 BN_add_word.3 BN_bn2bin.3 BN_cmp.3 BN_copy.3 \
| - BN_generate_prime.3 BN_mod_inverse.3 BN_mod_mul_montgomery.3 \
| - BN_mod_mul_reciprocal.3 BN_new.3 BN_num_bytes.3 BN_rand.3 \
| - BN_set_bit.3 BN_swap.3 BN_zero.3 CONF_modules_free.3 \
| +MAN1=CA.pl.1 asn1parse.1 ca.1 ciphers.1 cms.1 crl.1 crl2pkcs7.1 
dgst.1 \
| + dhparam.1 dsa.1 dsaparam.1 ec.1 ecparam.1 enc.1 errstr.1 gendsa.1 \
| + genpkey.1 genrsa.1 nseq.1 ocsp.1 openssl.1 passwd.1 pkcs12.1 pkcs7.1 \
| + pkcs8.1 pkey.1 pkeyparam.1 pkeyutl.1 rand.1 req.1 rsa.1 rsautl.1 \
| + s_client.1 s_server.1 s_time.1 sess_id.1 smime.1 speed.1 

[patch]: suexec resource limits doesn't work

2009-12-13 Thread Philip M. Gollucci

http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/136091

By default suexec doesn't enforces different resource limitations 
configured in login.conf(5). This is probably because resource 
limitations are handled differently on various different platforms.


The attached patch modifies suexec behaviour to set resource limits for 
CGI's from /etc/login.conf before execing the customers CGI script.


FWIW, www/apache13 has locally implemented this functionality for years 
in freebsd ports so its time tested.


Updating all the exit() codes is an exercise left to the comitter.


$ ~/dev/repos/asf/asf/httpd/httpd/trunk> svn diff
Index: support/Makefile.in
===
--- support/Makefile.in (revision 889865)
+++ support/Makefile.in (working copy)
@@ -60,7 +60,7 @@

 suexec_OBJECTS = suexec.lo
 suexec: $(suexec_OBJECTS)
-   $(LINK) $(suexec_OBJECTS)
+   $(LINK) -lutil $(suexec_OBJECTS)

 htcacheclean_OBJECTS = htcacheclean.lo
 htcacheclean: $(htcacheclean_OBJECTS)
Index: support/suexec.c
===
--- support/suexec.c(revision 889865)
+++ support/suexec.c(working copy)
@@ -37,6 +37,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #if APR_HAVE_UNISTD_H
@@ -239,6 +240,7 @@
 char *cmd;  /* command to be executed*/
 char cwd[AP_MAXPATH];   /* current working directory */
 char dwd[AP_MAXPATH];   /* docroot working directory */
+login_cap_t *lc /* user resource limits  */
 struct passwd *pw;  /* password entry holder */
 struct group *gr;   /* group entry holder*/
 struct stat dir_info;   /* directory info holder */
@@ -447,6 +449,18 @@
 }

 /*
+ * Apply user resource limits based on login class.
+ */
+if ((lc = login_getclassbyname(pw->pw_class, pw)) == NULL) {
+log_err("failed to login_getclassbyname()\n");
+exit(109);
+}
+if ((setusercontext(lc, pw, uid, LOGIN_SETRESOURCES)) != 0) {
+log_err("failed to setusercontext()\n");
+exit(109);
+}
+
+/*
  * Change UID/GID here so that the following tests work over NFS.
  *
  * Initialize the group access list for the target user,
--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: needing some moderators?

2009-12-13 Thread Philip M. Gollucci

André Malo wrote:

* Philip M. Gollucci wrote:


Hi all,

I sent a message on Friday from my $work address by mistake (yes, I
should add it to the allow list), but it hasn't been moderated through
yet.


As I understand it, the list is not moderated anymore for a year now.


Where did the message go then ?


--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


needing some moderators?

2009-12-13 Thread Philip M. Gollucci

Hi all,

I sent a message on Friday from my $work address by mistake (yes, I 
should add it to the allow list), but it hasn't been moderated through yet.


Subject: [patch]: suexec resource limits doesn't work
Message-ID: <4b22e10e.9040...@ridecharge.com>

Thx.
--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [VOTE] Release httpd 2.3.4-alpha

2009-12-04 Thread Philip M. Gollucci

Niklas Edmundsson wrote:

On Mon, 30 Nov 2009, William A. Rowe Jr. wrote:


Look, PCRE is a mandatory component.  APR is a mandatory component.
Let's please start applying some rhyme to our reasoning again.


+1


+1 a good write up.


--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Consultant,   P6M7G8 Inc.
Sr. System Admin, Ridecharge Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: ab

2009-08-17 Thread Philip M. Gollucci
Jeff Barnes wrote:
> A need arose for my organization to be able to load test web services. I 
> modified ab.c to be able to send HTTP PUT requests.
> 
> We have been using it for a couple of weeks and it is performing as expected. 
> I would be happy to provide the changes (minor, it mimics POST requests).
> 
> Would it be appropriate for me to post the svn diff to this list?
> 
> Best regards,
> Jeff Barnes
> 
> 
Please do so.



Re: support/apxs.in has been broken for over a decade ?

2009-05-19 Thread Philip M. Gollucci

William A. Rowe, Jr. wrote:

Philip M. Gollucci wrote:

The following freebsd bug was filed recently:

  http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/133704

Though we've seen hints of this other places with httpd.conf not getting
removed on deinstall b/c it differs from the original httpd.conf.

So, as the bug states, I've verified this issue exists in SVN
{trunk, branches/2.2.x, branches/2.0.x}; eidontcare 1.3.x

The following patch fixes it:

  http://people.apache.org/~pgollucci/support_apxs.in.diff


Huh?  How does right justifying the module names by dropping the '-'
(what a weird looking module list) solve anything?

So by default httpd.conf is populated by Makefile.in via sed.
The method it uses DOES NOT MATCH the one support/apxs uses.

apxs forces the modulename +spaces to be exactly 18 characters.
Sometimes that means there are MORE then 1 space after the modulename.
In most cases actually since most are shorter.

The regexes in support/apxs in @lmd contain the fulls spaces and thus fail to 
match the default ones generated which have exactly 1 space regardless of length.


The other fix is to change support/apxs to replace ' ' with \s+ in @lmd ($lmd)

To answer your immediate question I didn't right, center, or left justify 
anything in the patch. I'm actualy making the columns line up less by dropping 
the %-18.


Currently apxs expects this which will never match the below unless you take 
into account WHITESPACE:


   012345678901234567
LoadModule foobar path/foobar.so

Makefile.in via sed generates

LoadModule foobar path/foobar.so




1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


support/apxs.in has been broken for over a decade ?

2009-05-18 Thread Philip M. Gollucci
The following freebsd bug was filed recently:

  http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/133704

Though we've seen hints of this other places with httpd.conf not getting
removed on deinstall b/c it differs from the original httpd.conf.

So, as the bug states, I've verified this issue exists in SVN
{trunk, branches/2.2.x, branches/2.0.x}; eidontcare 1.3.x

The following patch fixes it:

  http://people.apache.org/~pgollucci/support_apxs.in.diff

I'm trying to understand why it was ever %-18s and how something *so*
fundamental to axps could be broken and for over a decade.

Surely, I must be going crazy.

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


2.2.12 ?

2009-04-20 Thread Philip M. Gollucci

Hi,

I count ~24 changes since 2.2.11 and at least 2 of which I've been asked to 
plop directly in freebsd ports tree.  That tells me its time.


I know I haven't done it before, but I might consider being the RM if everyone 
else is ENOTIME.


Thoughts?
--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: ports/132528: [patch] www/apache22 no-accf fix

2009-04-09 Thread Philip M. Gollucci
Thoughts on this accf ... I believe its BSD (FreeBSD) specifc.

Thanks.

-- 

Philip M. Gollucci (pgollu...@p6m7g8.com)
c:703.336.9354
Consultant - P6M7G8 Inc. - http://p6m7g8.net
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Getting pool associated with current thread/child

2009-02-07 Thread Philip M. Gollucci

Brian McCallister wrote:

So, in mod_lua I need to get the apr pool associated with the current
thread (that being the main thread if in prefork).

Paul suggested that this is not possible, presently, and suggested
adding a current_thread field to the request_rec, which each mpm would
need to ensure is correct when it does things with the request (I
would be more specific, but "does things" is as detailed as I can go
at the moment ;-).

Alternately, an APR function like apr_current_thread(): *apr_thread_t,
would, I believe satisfy my need as I believe I can get the pool from
the thread struct.

Not sure the best path forward, suggestions?

-Brian


apr_os_thread_current()
Its already in APR and IIRC, mod_perl is using it, is that not what you want ?


--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[Fwd: Re: [Fwd: [us...@httpd] Problems Compiling mod_perl and apache]]

2009-01-18 Thread Philip M. Gollucci

Thoughts ?

1.3.x yuck

--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
--- Begin Message ---

On Mon, 2009-01-19 at 00:57 -0500, Philip M. Gollucci wrote:
> email message attachment ([us...@httpd] Problems Compiling mod_perl
> and apache.eml)
> >  Forwarded Message 
> > From: Ashley M. Kirchner 
> > Reply-To: us...@httpd.apache.org
> > To: us...@httpd.apache.org
> > Subject: [us...@httpd] Problems Compiling mod_perl and apache
> > Date: Sun, 18 Jan 2009 17:04:23 -0700
> 

Please see my post to mod_perl-dev from November 29 for a fix:
http://www.gossamer-threads.com/lists/modperl/dev/98573

Regards

Salvador Ortiz.
--- End Message ---


Re: [VOTE] Unify release SVN tag, SVN branch and dating policy for 1.x and trunk

2009-01-08 Thread Philip M. Gollucci

Issac Goldstand wrote:
That sounds right and more in line with the normal httpd release 
procedure - that would mean doing (4) before (1) and leaving the rest 
as-is.

Well, my first attempt at writing that out was close :)

Issac go-ahead and make the changes to RELEASE file and re-roll without the 
polished version.  I think we can stick with v1.34 for this one.


I'll dedicate some time tonight or tomorrow to test it.

--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [RELEASE CANDIDATE] libapreq 1.34-RC4

2009-01-08 Thread Philip M. Gollucci

Roy T. Fielding wrote:

In other words, you will have to call the vote again *after* rolling
the actual releasable artifact.  In the future, please do not ask
people to vote on candidates -- it is a waste of time when we don't
care how many version numbers are used between releases.

Roy

Thats actually the way I was trying to move towards with the branching et al.



--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Senior Sys Admin- RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: svn commit: r730914 - /httpd/httpd/trunk/acinclude.m4

2009-01-02 Thread Philip M. Gollucci

test reply

jerenkra...@apache.org wrote:

Author: jerenkrantz
Date: Fri Jan  2 21:34:52 2009
New Revision: 730914

URL: http://svn.apache.org/viewvc?rev=730914&view=rev
Log:
Fix up SSL autoconf-fu so as not to emit bogus lines.

* acinclude.m4
  (APACHE_CHECK_SSL_TOOLKIT): Move CHECKING line to match; convert a warning
  to AC_MSG_WARN; remove a spurious SSL-C checking; redirect stderr from the
  pkgconfig so as not to spew on errors.

Modified:
httpd/httpd/trunk/acinclude.m4

Modified: httpd/httpd/trunk/acinclude.m4
URL: 
http://svn.apache.org/viewvc/httpd/httpd/trunk/acinclude.m4?rev=730914&r1=730913&r2=730914&view=diff
==
--- httpd/httpd/trunk/acinclude.m4 (original)
+++ httpd/httpd/trunk/acinclude.m4 Fri Jan  2 21:34:52 2009
@@ -382,11 +382,11 @@
 fi
   fi
   if test "x$ap_ssltk_type" = "x"; then
-AC_MSG_CHECKING([for OpenSSL version])
 dnl First check for manditory headers
 AC_CHECK_HEADERS([openssl/opensslv.h openssl/ssl.h], 
[ap_ssltk_type="openssl"], [])
 if test "$ap_ssltk_type" = "openssl"; then
   dnl so it's OpenSSL - test for a good version
+  AC_MSG_CHECKING([for OpenSSL version])
   AC_TRY_COMPILE([#include ],[
 #if !defined(OPENSSL_VERSION_NUMBER)
 #error "Missing openssl version"
@@ -398,8 +398,8 @@
   [AC_MSG_RESULT(OK)],
   [dnl Replace this with OPENSSL_VERSION_TEXT from opensslv.h?
AC_MSG_RESULT([not encouraging])
-   echo "WARNING: OpenSSL version may contain security vulnerabilities!"
-   echo " Ensure the latest security patches have been applied!"
+   AC_MSG_WARN([OpenSSL version may contain security vulnerabilities!]
+   [ Ensure the latest security patches have been applied!])
   ])
 else
   AC_MSG_RESULT([no OpenSSL headers found])
@@ -407,7 +407,6 @@
   fi
   if test "$ap_ssltk_type" != "openssl"; then
 dnl Might be SSL-C - report, then test anything relevant
-AC_MSG_CHECKING([for SSL-C version])
 AC_CHECK_HEADERS([sslc.h], [ap_ssltk_type="sslc"], [ap_ssltk_type=""])
 if test "$ap_ssltk_type" = "sslc"; then
   ap_ssltk_libs="-lsslc"
@@ -443,7 +442,7 @@
   export PKG_CONFIG_PATH
 fi
 if test -n "$PKGCONFIG"; then
-  ap_ssltk_libs="`$PKGCONFIG --libs-only-l openssl`"
+  ap_ssltk_libs="`$PKGCONFIG --libs-only-l openssl 2>&1`"
   if test $? -eq 0; then
 pkglookup="`$PKGCONFIG --cflags-only-I openssl`"
 APR_ADDTO(CPPFLAGS, [$pkglookup])




--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Director IT - RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Configuration change for c...@httpd?

2009-01-02 Thread Philip M. Gollucci

Roy T. Fielding wrote:

BTW, if you maintain that the list config is immutable, then my
suggestion would be to shut down cvs@ and route commits to d...@.  This
way we don't place unnecessary barriers to discussions around commits.
 If folks can't live with the commit traffic, they shouldn't be on
dev@ in the first place...  -- justin


That makes it impossible to find discussion related to specific
pieces of code by searching the archives of the discussion list.
No thanks.  As I said, if you don't like the bounces, then the
commits configuration can be set to black-hole misdirected messages
that have d...@httpd on the to/cc list.  That way, none of us have
to delete them twice.


1) Bounces are lame.  Personally, since this irks, I simply choose to solve 
this issue by not repling to cvs@ posts b/c I know it happens and its annoying.


2)  I'm involved in _several_ communities, as most of us here are.  Both 
inside and outside the ASF.  The Rule as documented on at least 50% of them is 
to always Reply-To-All so that non-subscribes that 1-off post get replies.


3) CVS/DEV at lists serve a purpose.  Many people choose digest, or RSS, or 
god knows what for c...@.  Its good for that to be commits only.


4) See # 3 above; that said, in other projects, though I don't seem to mind it 
there, the reply-to-alls do go through to the cvs@/commits@ lists.


Now, I don't care where we end up too much if at all, but bounces must go, its 
just as bad to delete a bounce as it is a dup.  Not to mention the bounces 
come to my INBOX rather then a folder.



--

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Director IT - RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: svn commit: r730911 - /httpd/httpd/trunk/support/config.m4

2009-01-02 Thread Philip M. Gollucci

test reply-all

jerenkra...@apache.org wrote:

Author: jerenkrantz
Date: Fri Jan  2 21:06:43 2009
New Revision: 730911

URL: http://svn.apache.org/viewvc?rev=730911&view=rev
Log:
Silence ulimit warnings on platforms/configs that don't support setting the
soft limit to the hard limit (aka default Mac OS X).

* support/config.m4: Redirect output to /dev/null.

Modified:
httpd/httpd/trunk/support/config.m4

Modified: httpd/httpd/trunk/support/config.m4
URL: 
http://svn.apache.org/viewvc/httpd/httpd/trunk/support/config.m4?rev=730911&r1=730910&r2=730911&view=diff
==
--- httpd/httpd/trunk/support/config.m4 (original)
+++ httpd/httpd/trunk/support/config.m4 Fri Jan  2 21:06:43 2009
@@ -127,7 +127,7 @@
 APACHECTL_ULIMIT="ulimit -S -n \`ulimit -h -n\`"
 ;;
 *)
-if TMP_ULIMIT=`ulimit -H -n` && ulimit -S -n $TMP_ULIMIT ; then
+if TMP_ULIMIT=`ulimit -H -n` && ulimit -S -n $TMP_ULIMIT >/dev/null 
2>&1; then
 APACHECTL_ULIMIT="ulimit -S -n \`ulimit -H -n\`"
 else
 APACHECTL_ULIMIT=""




--
--------
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant  - P6M7G8 Inc.http://p6m7g8.net
Director IT - RideCharge, Inc.   http://ridecharge.com
Contractor  - PositiveEnergyUSA  http://positiveenergyusa.com
ASF Member  - Apache Software Foundation http://apache.org
FreeBSD Committer   - FreeBSD Foundation http://freebsd.org

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[Fwd: cvs commit: ports/archivers/gtar Makefile distinfo ports/archivers/gtar/files extra-patch-tests_gzip.at patch-configure patch-tests_gzip.at patch-tests_pipe.at patch-tests_shortr

2008-12-30 Thread Philip M. Gollucci

gtar in freebsd ports now has this support as of today :)

since its in gtar, that means that any linux should have it once they 
update to a new enough version of gtar.




Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
--- Begin Message ---
naddy   2008-12-30 17:41:11 UTC

  FreeBSD ports repository

  Modified files:
archivers/gtar   Makefile distinfo 
archivers/gtar/files patch-configure 
  Added files:
archivers/gtar/files patch-tests_gzip.at patch-tests_pipe.at 
 patch-tests_shortrec.at 
 patch-tests_testsuite.at 
  Removed files:
archivers/gtar/files extra-patch-tests_gzip.at 
  Log:
  * Update to 1.21.  Notable changes:
- Some new flags, e.g. -J for lzma compression and --lzop.
- transformation scope flags
Testsuite fixes from upstream CVS.
  
  * Drop workarounds for no longer supported FreeBSD releases.
  
  Revision  ChangesPath
  1.63  +4 -18 ports/archivers/gtar/Makefile
  1.20  +3 -3  ports/archivers/gtar/distinfo
  1.2   +0 -15 ports/archivers/gtar/files/extra-patch-tests_gzip.at 
(dead)
http://cvsweb.FreeBSD.org/ports/archivers/gtar/files/extra-patch-tests_gzip.at?rev=1.1&content-type=text/x-cvsweb-markup
  1.7   +9 -9  ports/archivers/gtar/files/patch-configure
  1.1   +15 -0 ports/archivers/gtar/files/patch-tests_gzip.at (new)
http://cvsweb.FreeBSD.org/ports/archivers/gtar/files/patch-tests_gzip.at?rev=1.1&content-type=text/x-cvsweb-markup
  1.1   +24 -0 ports/archivers/gtar/files/patch-tests_pipe.at (new)
http://cvsweb.FreeBSD.org/ports/archivers/gtar/files/patch-tests_pipe.at?rev=1.1&content-type=text/x-cvsweb-markup
  1.1   +33 -0 ports/archivers/gtar/files/patch-tests_shortrec.at (new)
http://cvsweb.FreeBSD.org/ports/archivers/gtar/files/patch-tests_shortrec.at?rev=1.1&content-type=text/x-cvsweb-markup
  1.1   +35 -0 ports/archivers/gtar/files/patch-tests_testsuite.at (new)
http://cvsweb.FreeBSD.org/ports/archivers/gtar/files/patch-tests_testsuite.at?rev=1.1&content-type=text/x-cvsweb-markup

http://cvsweb.FreeBSD.org/ports/archivers/gtar/Makefile.diff?r1=1.62&r2=1.63&f=h
| --- ports/archivers/gtar/Makefile 2008/08/20 00:56:24 1.62
| +++ ports/archivers/gtar/Makefile 2008/12/30 17:40:52 1.63
| @@ -2,12 +2,11 @@
|  # Date created:  Sa   6 Jun 1998 10:24:51 CEST
|  # Whom:  Andreas Klemm 
|  #
| -# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/archivers/gtar/Makefile,v 
1.62 2008/08/20 00:56:24 ade Exp $
| +# $FreeBSD: /usr/local/www/cvsroot/FreeBSD/ports/archivers/gtar/Makefile,v 
1.63 2008/12/30 17:40:52 naddy Exp $
|  #
|  
|  PORTNAME=tar
| -PORTVERSION= 1.20
| -PORTREVISION=1
| +PORTVERSION= 1.21
|  CATEGORIES=  archivers sysutils
|  MASTER_SITES=${MASTER_SITE_GNU}
|  MASTER_SITE_SUBDIR=  ${PORTNAME}
| @@ -18,9 +17,11 @@ COMMENT=   GNU version of the traditional 
|  
|  # Actually we need lzma(1), but not the one in archivers/lzma.
|  RUN_DEPENDS= ${LOCALBASE}/bin/lzcat:${PORTSDIR}/archivers/lzmautils
| +RUN_DEPENDS+=lzop:${PORTSDIR}/archivers/lzop
|  
|  INFO=tar
|  
| +USE_AUTOTOOLS=   autoconf:262:env# autom4te
|  USE_BZIP2=   yes
|  USE_ICONV=   yes
|  GNU_CONFIGURE=   yes
| @@ -44,22 +45,7 @@ CONFIGURE_ARGS+=--disable-nls
|  PLIST_SUB+=  NLS="@comment "
|  .endif
|  
| -.include 
| -
| -# after the GNU gzip implementation was replaced with a BSD licensed version
| -.if (${OSVERSION} >= 602105) && \
| -(${OSVERSION} < 70 || ${OSVERSION} >= 700029)
| -USE_AUTOTOOLS=   autoconf:262:env# autom4te
| -EXTRA_PATCHES=   ${PATCHDIR}/extra-patch-tests_gzip.at
| -.endif
| -
| -# avoid triggering auto framework rebuilds
| -# FreeBSD 5.5 makeinfo can't rebuild tar.info
| -post-patch:
| - @${TOUCH} -r ${WRKSRC}/configure.orig ${WRKSRC}/configure
| - @${TOUCH} ${WRKSRC}/doc/tar.info* ${WRKSRC}/stamp-vti
| -
|  regression-test: build
|   @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check
|  
| -.include 
| +.include 
http://cvsweb.FreeBSD.org/ports/archivers/gtar/distinfo.diff?r1=1.19&r2=1.20&f=h
| --- ports/archivers/gtar/distinfo 2008/04/21 16:03:49 1.19
| +++ ports/archivers/gtar/distinfo 2008/12/30 17:41:02 1.20
| @@ -1,3 +1,3 @@
| -MD5 (tar-1.20.tar.bz2) = 1a7e17f27abf583b3b0bc059a827e68b
| -SHA256 (tar-1.20.tar.bz2) = 
be8bf33afb5adc2377e45d94693ffd46b75f267f9b808df0c7006e51211f9deb
| -SIZE (tar-1.20.tar.bz2) = 19125

Re: [RFC] Merge wombat-integration into trunk

2008-12-05 Thread Philip M. Gollucci

Paul Querna wrote:
[1] - I did this because tackling the apreq issue is way more 
complicated -- the work around I did for parsing POST bodies for example 
 is completely unacceptable in the long run, but it 'works' for now -- 
In the long run we should import at least parts of apreq.
I'm particularly interested in helping with this.  Given todays events 
in infra@ land today, I might have some time soon.  It will definitely 
not make it for 2.3.0a thought.


I agree so far that libapreq and mod_apreq2 need to be decoupled.

server/libapreq
modules/filters/mod_apreq



--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: svn commit: r721020 - in /httpd/httpd/trunk: configure.in srclib/pcre/

2008-11-28 Thread Philip M. Gollucci
[EMAIL PROTECTED] wrote:
> Author: pquerna
> Date: Wed Nov 26 14:53:34 2008
> New Revision: 721020
> 
> URL: http://svn.apache.org/viewvc?rev=721020&view=rev
> Log:
> Stop bundling PCRE in trunk.
Definitely needs an entry in CHANGES IMHO.

-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED])
c:703.336.9354
Consultant - P6M7G8 Inc. - http://p6m7g8.net
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Intent to Roll 2.3.0-alpha

2008-11-28 Thread Philip M. Gollucci
Jorge Schrauwen wrote:
> mod_perl comes to mind too.
yeah really *cough* 


-- 
----
Philip M. Gollucci ([EMAIL PROTECTED])
c:703.336.9354
Consultant - P6M7G8 Inc. - http://p6m7g8.net
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Removing srclib/pcre httpd/trunk

2008-11-26 Thread Philip M. Gollucci

Paul Querna wrote:

Philip M. Gollucci wrote:
I'm interested in removing this like a think a lot of people are 
(wrowe at least).


http://people.apache.org/~pgollucci/[EMAIL PROTECTED]


I think in 2.4 and trunk we should stop bundling PCRE, and only use an 
external copy.

WOOHOO! we agree

./configure changes to
  if --with-pcre given use it if found or fail
  if --with-pcre not given look in default paths or fail
  else fail


I think for 2.2, we should just leave it alone baring security issues.

I vote we should update to 7.8 the latest but still bundle it.

At least 3 advisories exist since the import of 5.0
http://www.vuxml.org/freebsd/pkg-pcre.html

I'll add to branches/2.2.x/STATUS for voting on the upgrade or do 
nothing, if the answer is backport, I'M NOT IT!


--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Removing srclib/pcre httpd/trunk

2008-11-26 Thread Philip M. Gollucci
I'm interested in removing this like a think a lot of people are (wrowe 
at least).


http://people.apache.org/~pgollucci/[EMAIL PROTECTED]

Is the delta which is really only 1 file if you leave out the build 
stuff. (pcre.c)


pcre.c doesn't even exist in the latest release 7.8

I'd be willing to be we don't even need to submit them upstream. 
based on what they are fixing.


Thoughts ?

--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [RELEASE CANDIDATE] libapreq 1.34-RC4

2008-11-21 Thread Philip M. Gollucci

Steve Hay wrote:

Issac Goldstand wrote:

The apreq developers are planning a maintenance release of
libapreq1.  This version primarily addresses an issue noted
with FireFox 2.0 truncating file uploads in SSL mode.

Additionally, the memory allocation algorithm for multipart
requests has been improved.

Please give the tarball at

http://people.apache.org/~issac/libapreq-1.34-RC4.tar.gz

a try and report comments/problems/etc. to the apreq-dev list
at [EMAIL PROTECTED]

not to speak for issac, but looks like we're gonna need -RC5 for 1.x.

Issac, I should be able to get a test on FreeBSD today before you roll 
-RC5.  I have lots of faith -RC5 will be the last one.



--

Philip M. Gollucci ([EMAIL PROTECTED]) c: 703.336.9354
Consultant - P6M7G8 Inc.  http://p6m7g8.net
Senior System Admin - RideCharge, Inc.  http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


[Fwd: ports/125464: [patch] Apache Bench in www/apache22 doesn't work]

2008-07-10 Thread Philip M. Gollucci
The following PR was posted to FreeBSD ports.  I know someone did a lot 
of ab work recently.


Any thoughts on this ?  I'm in a position to test things on FreeBSD.
--- Begin Message ---

>Number: 125464
>Category:   ports
>Synopsis:   [patch] Apache Bench in www/apache22 doesn't work
>Confidential:   no
>Severity:   serious
>Priority:   medium
>Responsible:freebsd-ports-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 10 07:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: MQ
>Release:7.0-RELEASE-p2
>Organization:
>Environment:
FreeBSD q6600.macro 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 
06:48:16 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Apache Bench in www/apache22 doesn't work, it always encounter connection reset.
# ./ab -c3 -n100 http://localhost/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)...Send request failed!
apr_socket_recv: Connection reset by peer (54)
Total of 2 requests completed
#

This problem is caused by Apache Bench's improper use of the kqueue support in 
APR.
>How-To-Repeat:
cd /usr/ports/www/apache22; make BATCH=yes; cd 
/usr/ports/www/apache22/work/httpd-2.2.9/support; ./ab -n100 -c10 
http://localhost/
>Fix:
Use the attached patch could solve this problem. But I haven't test how https 
connections would be influenced.

There are three pieces of modified codes. The second and third modifications 
can increase the performance of Apache Bench.

Patch attached with submission follows:

--- support/ab.c.orig   2008-05-28 20:58:01.0 +0800
+++ support/ab.c2008-07-10 15:28:11.0 +0800
@@ -670,6 +670,13 @@
 
 c->state = STATE_READ;
 c->endwrite = lasttime = apr_time_now();
+   {
+   apr_pollfd_t remove_pollfd;
+   remove_pollfd.desc_type = APR_POLL_SOCKET;
+   remove_pollfd.desc.s = c->aprsock;
+   remove_pollfd.reqevents = APR_POLLOUT;
+   apr_pollset_remove(readbits, &remove_pollfd);
+   }
 {
 apr_pollfd_t new_pollfd;
 new_pollfd.desc_type = APR_POLL_SOCKET;
@@ -1676,6 +1683,7 @@
 const apr_pollfd_t *pollresults;
 
 n = concurrency;
+   apr_time_now();
 status = apr_pollset_poll(readbits, aprtimeout, &n, &pollresults);
 if (status != APR_SUCCESS)
 apr_err("apr_poll", status);
@@ -1759,22 +1767,6 @@
 write_request(c);
 }
 }
-
-/*
- * When using a select based poll every time we check the bits
- * are reset. In 1.3's ab we copied the FD_SET's each time
- * through, but here we're going to check the state and if the
- * connection is in STATE_READ or STATE_CONNECTING we'll add the
- * socket back in as APR_POLLIN.
- */
-if (c->state == STATE_READ) {
-apr_pollfd_t new_pollfd;
-new_pollfd.desc_type = APR_POLL_SOCKET;
-new_pollfd.reqevents = APR_POLLIN;
-new_pollfd.desc.s = c->aprsock;
-new_pollfd.client_data = c;
-apr_pollset_add(readbits, &new_pollfd);
-}
 }
 } while (lasttime < stoptime && done < requests);
 


>Release-Note:
>Audit-Trail:
>Unformatted:
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
--- End Message ---


Re: On future mod_wombat improvements

2008-05-21 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Joe Schaefer wrote:
| I don't grok this desire either, save for the fact
| that httpd doesn't yet distribute apreq2 itself.
| Personally I'd rather see work go into supporting
| file uploads via apreq2's bucket brigade api.  Does
| lua have a data structure for representing a stream?
+1 I agree with joes2.  I wish I could keep up with the 10,000 lists I'm on.


- --
- --------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFINDGldbiP+9ubjBwRApCmAJ45mIT23nFXvjZeZgpXmPd2+EKGXQCePJs+
a9/P5qrCxTfZkm7g0WfFptk=
=Snwm
-END PGP SIGNATURE-


Re: 2.2.9

2008-04-30 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jim Jagielski wrote:
| With the SVN issues, I don't think a release the end of April
| is going to happen *grin*
|
| I'd like to shoot for, say, May 7th for a release... questions?
| concerns?
+1


- --
- --------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.8 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIGL+FdbiP+9ubjBwRAgmhAJ0aqMkxz8ISXhu2NcJYaVqzaB2sJACdGzZA
c9Lt/N+taBEujjfmLpyfrBM=
=LOs2
-END PGP SIGNATURE-


Re: [review] upgrade pcre from 6.7 -> 7.4 for httpd/trunk

2007-11-26 Thread Philip M. Gollucci

On Mon, 26 Nov 2007, Philip M. Gollucci wrote:

I figured after the earlier snafu, I should at least send this to the list 
for review.  I won't do anything with it unless people think its a good 
thing.

Aslo, I mean to add:
Affected package: pcre-7.2
Type of problem: pcre -- arbitrary code execution.
Reference: 
<http://www.FreeBSD.org/ports/portaudit/bfd6eef4-8c94-11dc-8c55-001c2514716c.html>



--
--------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



[review] upgrade pcre from 6.7 -> 7.4 for httpd/trunk

2007-11-26 Thread Philip M. Gollucci
I figured after the earlier snafu, I should at least send this to the list 
for review.  I won't do anything with it unless people think its a good 
thing.




--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


pcre.svn
Description: Binary data


Appologies: httpd/httpd/vendor/ SNAFU

2007-11-26 Thread Philip M. Gollucci

Hi All,

I accidentally committed an upgrade to httpd/httpd/vendor/pcre/current
to 7.4.  I apparently had a commit bit there because I'm on the PMC from 
past apreq work.


I immediately asked what to do over on #infra on freenode and jerenkrantz 
agreed I should back it out so I did.


It was committed in r598339 and removed in r598343.
I was following th README there and did not execute the svn cp after 
actually seing the ci complete. I was expecting it to fail. 
httpd/httpd/{branches,trunk} were not affected.


If I need to do anything else to undo it let me know.

I shall be more careful in the future.

On another note, the reasoning behind this is FreeBSD ports supposed 
WITH_PCRE_FROM_PORTS option in www/apache22 et al. Which works flawlessly 
so I thought it might be a good idea; however, I definetely wanted it 
reviewed on this list first.


Again, my appologies.



 -- 
----

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



--enable-distcache

2007-11-15 Thread Philip M. Gollucci

expat_ver=2.0.0
apr_config=apr-1-config
apu_config=apu-1-config
httpd_ver=2.2.6

cd $HOME/build/dist ; fetch -mva 
http://mirror.olnevhost.net/pub/apache/httpd/httpd-$httpd_ver.tar.gz


cd $HOME/build/src  ; tar -xvzf $HOME/build/dist/httpd-$httpd_ver.tar.gz

CFLAGS="-O2 -fno-strict-aliasing -pipe -DAP_UNSAFE_ERROR_LOG_UNESCAPED"
./configure \
--prefix=/software/httpd/2.2.6/prefork \
--with-expat=/software/expat/2.0.0 \
--with-perl=/software/perl/5.5.8/bin/perl \
--with-apr=/software/apr/1.2.8/bin/apr-1-config \
--with-apr-util=/software/apr-util/1.2.8/bin/apu-1-config \
--with-mpm=prefork \
--with-ssl=/usr \
--enable-ssl --enable-distcache \

checking whether to enable mod_ssl... checking dependencies
checking for SSL/TLS toolkit base... /usr
checking for OpenSSL version... checking openssl/opensslv.h usability... 
yes

checking openssl/opensslv.h presence... yes
checking for openssl/opensslv.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
OK
checking openssl/engine.h usability... yes
checking openssl/engine.h presence... yes
checking for openssl/engine.h... yes
gnome-config: not found
checking for SSLeay_version in -lcrypto... yes
checking for SSL_CTX_new in -lssl... yes
checking for ENGINE_init... yes
checking for ENGINE_load_builtin_engines... yes
checking for SSL_set_cert_store... no
  adding "-I/usr/include" to INCLUDES
  adding "-L/usr/lib" to LDFLAGS
  forcing SSL_LIBS to "-lssl -lcrypto"
gnome-config: not found
  forcing MOD_SSL_LDADD to "$(SSL_LIBS)"
checking whether Distcache is required... yes (specified)
checking distcache/dc_client.h usability... no
checking distcache/dc_client.h presence... no
checking for distcache/dc_client.h... no
configure: error: distcache support failed: can't include distcache 
headers


Sure enough, this file is not in the tarball or SVN.

Has it been this way since 2003 ?
http://marc.info/?l=apache-httpd-dev&m=106984835501531&w=2




--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.



Re: Fixed: Truncated uploads in mod_perl 1 from FF2.0/Win

2007-04-18 Thread Philip M. Gollucci

Joe Schaefer wrote:

Joe Schaefer <[EMAIL PROTECTED]> writes:


Right, since it's the start of a boundary.  I think the best way
to fix this is to do what php does and add a loop into fill_buffer
so it completely fills the buffer instead of doing a single read.
Php uses our multipart code for handling uploads, and that's probably
why they haven't seen this bug crop up.


Issac, are you interested in volunteering to be release manager
for a libapreq1 maintenance release?  Looks like we need to do that,
but I personally have no interest in championing it through myself.

If Issac doesn't want it, I'll take it, but I won't get to it until mid May.



In the meantime I'll commit my patch unless someone thinks 
there's a better solution available.

+1 on the patch.



--
------------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Build of libapreq2 on FreeBSD

2007-03-26 Thread Philip M. Gollucci

Philip M. Gollucci wrote:

Philip M. Gollucci wrote:

Alexandre Brooks wrote:

# make
===>  p5-libapreq2-2.08 is marked as broken: Incorrect pkg-plist.
*** Error code 1

Ahh, you are correct
grep BROKEN /usr/ports/www/libapreq2/Makefile
ROKEN= Incorrect pkg-plist

In case anyone cares, the log is here:
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.5.2007032502/libapreq2-2.08.log 




Fixed here, pending commit:
http://www.freebsd.org/cgi/query-pr.cgi?pr=110871


--
----
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Build of libapreq2 on FreeBSD

2007-03-26 Thread Philip M. Gollucci

Philip M. Gollucci wrote:

Alexandre Brooks wrote:

# make
===>  p5-libapreq2-2.08 is marked as broken: Incorrect pkg-plist.
*** Error code 1

Ahh, you are correct
grep BROKEN /usr/ports/www/libapreq2/Makefile
ROKEN= Incorrect pkg-plist

In case anyone cares, the log is here:
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.5.2007032502/libapreq2-2.08.log

--
----
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: Build of libapreq2 on FreeBSD

2007-03-24 Thread Philip M. Gollucci

Hi,

I assume you mean /usr/ports/www/p5-libapreq2 ?

Did you cvsup your ports tree recently ?

I build this all the time and it works fine for me.

Can you attach all the relevant 'make' output ?







--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.


Re: [EMAIL PROTECTED]: New: #40759: Unable to compile libapreq2]

2006-12-11 Thread Philip M. Gollucci

Joe Orton wrote:
Forwarded and closed since there is no apreq product in bugzilla, let 
infra know if you want one :)


(this -lipv6api doesn't come from API so I presume it comes form apreq?)
[8:32:02](ttypf)[EMAIL PROTECTED]: 
/home/pgollucci/dev/repos/asf/httpd/apreq/trunk 100 0 > 
 grep -R v6api *


[nothing]

I doubt its from apreq.  Its probably part of the linker flags from 
earlier in the AMP stack.


Did you compile everything with gcc ?
perl, httpd, mod_perl etc ?


--
----
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

I never had a dream come true
'Til the day that I found you.
Even though I pretend that I've moved on
You'll always be my baby.
I never found the words to say
You're the one I think about each day
And I know no matter where life takes me to
A part of me will always be...
A part of me will always be with you.


Re: libapr.so linking

2006-12-06 Thread Philip M. Gollucci

Joe Orton wrote:

On Wed, Dec 06, 2006 at 02:15:50AM -0800, Philip M. Gollucci wrote:
CFLAGS="-g3 -fno-strict-aliasing -O0 -DAP_UNSAFE_ERROR_LOG_UNESCAPED" 
./configure \

--prefix=$S/httpd/2.2.3/prefork \
--with-apr=$S/apr/1.2.7/bin/apr-1-config \
--with-apr-util=$S/apr-util/1.2.7-5.1.12-beta/bin/apu-1-config \


Hiya, what platform is this, a BSD?  If this APR is not being used it's 
probably an RPATH problem.  What does the httpd link line look like?  
Do:

FreeBSD.



  $ rm httpd
  $ make httpd LTFLAGS=
gcc -g -Wall -Wmissing-prototypes -Wstrict-prototypes 
-Wmissing-declarations -g3 -fno-strict-aliasing -O0 
-DAP_UNSAFE_ERROR_LOG_UNESCAPED -o httpd .libs/modules.o buildmark.o 
-Wl,--export-dynamic  -L/usr/local/lib server/.libs/libmain.a 
modules/http/.libs/libmod_http.a modules/mappers/.libs/libmod_so.a 
server/mpm/prefork/.libs/libprefork.a os/unix/.libs/libos.a -lm 
/home/pgollucci/dev/compile/freebsd-6.2-prerelease/3.4.6/httpd/2.2.3/prefork/srclib/pcre/.libs/libpcre.a 
/home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr-util/1.2.7-5.1.12-beta/lib/libaprutil-1.so 
/usr/local/lib/libexpat.so 
/home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr/1.2.7/lib/libapr-1.so 
-lcrypt  -Wl,--rpath 
-Wl,/home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr-util/1.2.7-5.1.12-beta/lib 
-Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath 
-Wl,/home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr/1.2.7/lib 
-Wl,--rpath 
-Wl,/home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr-util/1.2.7-5.1.12-beta/lib 
-Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath 
-Wl,/home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr/1.2.7/lib


I see no .la in /usr/local the expat came from FreeBSD ports 
(/usr/ports/textproc/expat2)


/home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr/1.2.7/lib/libapr-1.so

Thats the one I want.

But
ldd ./httpd
./httpd:
libm.so.4 => /lib/libm.so.4 (0x280ce000)
libaprutil-1.so.2 => 
/home/pgollucci/dev/software/freebsd-6.2-prerelease/3.4.6/apr-util/1.2.7-5.1.12-beta/lib/libaprutil-1.so.2 
(0x280e4000)

libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x28103000)
libapr-1.so.2 => /usr/local/lib/libapr-1.so.2 (0x28121000)
libcrypt.so.3 => /lib/libcrypt.so.3 (0x28141000)
libc.so.6 => /lib/libc.so.6 (0x28159000)


And in fact this actually causes cores while I'm trying to develop mp2 
if I forget to set LD_LIBRARY_PATH in the shell.


I figured you were going to say that D'oh!

The only reason I have apr in my lib path is from a FreeBSD subversion 
build installed system wide.  I'll deinstall it and build it from source 
and put it outside my path like I normally do.


Or I guess I could build a libexpat somewhere other then /usr/local/lib 
and link against it instead -- thus keeping /usr/local/lib out of there.


*sigh*

Thanks.




--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

I never had a dream come true
'Til the day that I found you.
Even though I pretend that I've moved on
You'll always be my baby.
I never found the words to say
You're the one I think about each day
And I know no matter where life takes me to
A part of me will always be...
A part of me will always be with you.


libapr.so linking

2006-12-06 Thread Philip M. Gollucci

Hi All,

CFLAGS="-g3 -fno-strict-aliasing -O0 -DAP_UNSAFE_ERROR_LOG_UNESCAPED" 
./configure \

--prefix=$S/httpd/2.2.3/prefork \
--with-apr=$S/apr/1.2.7/bin/apr-1-config \
--with-apr-util=$S/apr-util/1.2.7-5.1.12-beta/bin/apu-1-config \
--with-mpm=prefork \
--enable-debug \
--enable-modules=all \
--enable-mods-shared=all \
--enable-so \
--enable-deflate-shared \
--enable-proxy-shared \
--enable-proxy \
--enable-proxy-connect \
--enable-proxy-ftp \
--enable-proxy-http  \
--with-mysql=$S/mysql/5.1.12-beta \
--with-expat=/usr/local \
--with-ssl --enable-ssl

Try as I might -- because there a /usr/local/lib/apr
/usr/local/lib 255 0 > 


   ls -1 libapr*
libapr-1.a
libapr-1.la*
libapr-1.so@
libapr-1.so.2*
libaprutil-1.a
libaprutil-1.la*
libaprutil-1.so@
libaprutil-1.so.2*

I can't get httpd to link against the apr I really want to use.

It works fine if I set
setenv LD_LIBRARY_PATH SOFTWARE/apr/1.2.7/lib in the shell *after*
the compile in the shell where I try to run. it

i.e.
ldd httpd
wrong apr
setenv LD_LIBRARY_PATH SOFTWARE/apr/1.2.7/lib
ldd httpd
right apr

Its truly quite maddening.  I've tried setting LDFLAGS, EXTRA_LDFAGS, 
and LD_LBRARY_PATH in the configure env.


ld(1)
-Lsearchdir
--library-path=searchdir
  Add path searchdir to the list of paths that ld will search for
  archive  libraries  and  ld control scripts.  You may use this option
  any number of times.  The directories are searched in the order  in
  which  they  are specified on the command line.  Directories speci-
  fied on the command line are searched before the  default  directo-
  ries.   All  -L  options apply to all -l options, regardless of the
  order in which the options appear.

AFAIK in trunk/configure.in
dnl APR should go after the other libs, so the right symbols can be 
picked up
AP_LIBS="$AP_LIBS `$apu_config --link-libtool --libs` `$apr_config 
--link-libtool --libs`"


Thats always going to put /usr/local/lib FIRST at least on systems that 
use it.


Another obvious fix is to not install apr system wide at least in the 
default lib search path.








--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

I never had a dream come true
'Til the day that I found you.
Even though I pretend that I've moved on
You'll always be my baby.
I never found the words to say
You're the one I think about each day
And I know no matter where life takes me to
A part of me will always be...
A part of me will always be with you.


[ANNOUNCE] Apache-Test 1.29

2006-11-29 Thread Philip M. Gollucci

The URL

  http://people.apache.org/~pgollucci/at/Apache-Test-1.29.tar.gz

has entered CPAN as

  file: $CPAN/authors/id/P/PG/PGOLLUCCI/Apache-Test-1.29.tar.gz
  size: 151416 bytes
   md5: d99c88b856302420211cee2f891ad931

=item 1.29 November 28, 2006

Require a minium of Module::Build 0.18 when using Apache::TestMB.
PR: 19513
[Philip M. Gollucci]

Teach Apache::TestClient to encode spaces(' ') in query string of URLs
as %20.  This is not a full mapping of ASCII to URL encoding.
If you need this, install LWP -- then Apache-Test will use
LWP -- which does this for you.
[Philip M. Gollucci]

Allow Apache::TestClient which is used when LWP is not installed
to accept mutiple headers of the same name.
[Philip M. Gollucci]

Add t_start_error_log_watch() and t_finish_error_log_watch()
to the Apache::TestUtil API which are only exported unpon request.
[Torsten Foertsch <[EMAIL PROTECTED]>]

Allow version variants of debuggers to be passed as arguments
to -debug.  i.e. -debug=gdb65 for systems with multiple
versions of the same debugger. [Philip M. Gollucci]

On Win32, the Apache executable is called httpd.exe in Apache/2.2,
so let Apache::TestConfig try to find that if Apache.exe isn't
found [Randy Kobes]

force reconfiguration if existing configuration was generated
by an older version of Apache-Test [Geoffrey Young]

the -t_pid_file code resulted in confusing and fatal error message
for people using stale 1.27 configurations.  so take steps to make
sure things continue to work.  [Geoffrey Young]


--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F


[RESULTS]: [RELEASE CANDIDATE]: Apache-Test-1.29-RC3

2006-11-28 Thread Philip M. Gollucci

Randy K.  linux(2.0.55/prefork) +1 binding
  win32(2.2.3/winnt)

Philip G. FreeBSD  perl 5.8.8 httpd 2.2.3/prefork   +1 binding
   perl 5.8.8-ithread httpd 2.2.3/worker

Geoff Y.  fc5  perl 5.8.8 2.2.3/prefork +1 binding

Steve H.   win32   perl 5.8.8 httpd 1.3.34 mod_perl 1.29+1 committer

Nickolay A. Cygwin perl 5.8.7, Apache/2.2.2 (prefork MPM)   +1
Win32 perl 5.8.8, Apache/2.2.3 (winnt MPM)

Isaac G.Win32 Perl-5.8.8 + Apache 2.2.3+1 apreq comitter


I don't see darwin represented, but Phillippe C. gave a +1 on -rc2 which
was a trivial difference from -rc3.  At any rate, I've enough votes to 
release.  ETA: tonight!


Thanks all.

--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

I never had a dream come true
'Til the day that I found you.
Even though I pretend that I've moved on
You'll always be my baby.
I never found the words to say
You're the one I think about each day
And I know no matter where life takes me to
A part of me will always be...
A part of me will always be with you.


Re: [RELEASE CANDIDATE]: Apache-Test-1.29-RC3

2006-11-18 Thread Philip M. Gollucci

Philip M. Gollucci wrote:

A release candidate for Apache-Test 1.29-rc3 is now available.

http://people.apache.org/~pgollucci/at/Apache-Test-1.29-rc3.tar.gz

+1
FreeBSD 6.1-release-p10
gcc 3.4.6
  perl 5.8.8,   httpd 2.2.3 prefork mpm
  perl 5.8.8 w/ithreads httpd 2.2.3 worker mpm

I think we're at a good point in the RC cycle, so I'd like to able to 
release/announce Tuesday night; otherwise, it will be after the holiday.



--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

I never had a dream come true
'Til the day that I found you.
Even though I pretend that I've moved on
You'll always be my baby.
I never found the words to say
You're the one I think about each day
And I know no matter where life takes me to
A part of me will always be...
A part of me will always be with you.


[RELEASE CANDIDATE]: Apache-Test-1.29-RC3

2006-11-18 Thread Philip M. Gollucci

A release candidate for Apache-Test 1.29-rc3 is now available.

http://people.apache.org/~pgollucci/at/Apache-Test-1.29-rc3.tar.gz

Please take the time to exercise the candidate through all your existing
applications that use Apache-Test and report back successes or failures.

Changes Since 1.29-rc2:

http://svn.apache.org/viewvc?view=rev&rev=473808
  Required Module::Build 0.18
  RT: http://rt.cpan.org/Ticket/Display.html?id=19513



----
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

I never had a dream come true
'Til the day that I found you.
Even though I pretend that I've moved on
You'll always be my baby.
I never found the words to say
You're the one I think about each day
And I know no matter where life takes me to
A part of me will always be...
A part of me will always be with you.


Re: memory leaking on POST

2006-11-15 Thread Philip M. Gollucci

Joe Schaefer wrote:

"Brian McQueen" <[EMAIL PROTECTED]> writes:


I'll test it out


Don't bother, I'm pretty sure apreq's behavior is unacceptable
with that patch.  We call apreq_brigade_fwrite way too many
times internally to be able to afford to leak a brigade struct
on each invocation.

I'll try to commit a proper patch to trunk soonish.  I'm glad
you found a solution that seems to be working for you, but I'm
also more than a little skeptical that apreq is working correctly
if you are simply deleting the original buckets passed into 
apreq_brigade_fwrite.



This is important enough I'd hold 2.09 off for it.


--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

When I call your name, Girl, it starts to flame
Burning in my heart, Tearing it all apart..
No matter how I try My love I cannot hide


Re: memory leaking on POST

2006-11-13 Thread Philip M. Gollucci

Joe Schaefer wrote:

"Brian McQueen" <[EMAIL PROTECTED]> writes:


I do believe it has to do with my handling of the brigade, but I see
nothing suspicious.  The data is parsed with apreq_body.  On a
successful parse I get the pointer to the upload brigade from the
parsed parameter, and I pass that pointer to a function, which gets a
file handle and does apreq_brigade_fwrite.  The file handle is then
closed.  On errors I do nothing with the upload brigade.  Its pretty
simple.  Does that sound right?  Any tips about safe handling of
parameters or pointers to brigades?


Until someone teaches apreq_brigade_fwrite about spool buckets,
it probably shouldn't be used for upload brigades.  Sorry about that.

I was looking at this a while ago -- APR/U have this function.
We custom coded our own -- why ?


--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

When I call your name, Girl, it starts to flame
Burning in my heart, Tearing it all apart..
No matter how I try My love I cannot hide


Re: [RELEASE CANDIDATE] Apache-Test-1.29 RC2, [was typo 1.27 RC2]

2006-11-08 Thread Philip M. Gollucci

Hi All,

Deepest apologies.

The correct version is 1.29-RC2 not 1.27-RC2 which I mistyped in the 
subject and part of the E-Mail text.  The URL and tarball were/are 
correct as they stand.


Again, apologies especially for the SPAM.


Philip M. Gollucci wrote:

A release candidate for Apache-Test 1.27 is now available.

   http://people.apache.org/~pgollucci/at/Apache-Test-1.29-rc2.tar.gz

Please take the time to exercise the candidate through all your existing
applications that use Apache-Test and report back successes or failures.

Changes since 1.29-rc1:

http://svn.apache.org/viewvc?view=rev&revision=469617
Cygwin - Legacy CGYWIN ifs removed

http://svn.apache.org/viewvc?view=rev&rev=470824
   Fix http://rt.cpan.org/Ticket/Display.html?id=22748
   and related
http://svn.apache.org/viewvc?view=rev&rev=471132
   need_module() documenation tweaks

http://svn.apache.org/viewvc?view=rev&rev=471900
   License text update per ASF board resolution.




--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

I never had a dream come true
'Til the day that I found you.
Even though I pretend that I've moved on
You'll always be my baby.
I never found the words to say
You're the one I think about each day
And I know no matter where life takes me to
A part of me will always be...
A part of me will always be with you.


[RELEASE CANDIDATE] Apache-Test-1.27 RC2

2006-11-08 Thread Philip M. Gollucci

A release candidate for Apache-Test 1.27 is now available.

   http://people.apache.org/~pgollucci/at/Apache-Test-1.29-rc2.tar.gz

Please take the time to exercise the candidate through all your existing
applications that use Apache-Test and report back successes or failures.

Changes since 1.29-rc1:

http://svn.apache.org/viewvc?view=rev&revision=469617
Cygwin - Legacy CGYWIN ifs removed

http://svn.apache.org/viewvc?view=rev&rev=470824
   Fix http://rt.cpan.org/Ticket/Display.html?id=22748
   and related
http://svn.apache.org/viewvc?view=rev&rev=471132
   need_module() documenation tweaks

http://svn.apache.org/viewvc?view=rev&rev=471900
   License text update per ASF board resolution.

--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

I never had a dream come true
'Til the day that I found you.
Even though I pretend that I've moved on
You'll always be my baby.
I never found the words to say
You're the one I think about each day
And I know no matter where life takes me to
A part of me will always be...
A part of me will always be with you.


Re: apr_dbd_mysql for apache2.2

2006-10-29 Thread Philip M. Gollucci

Is anyone actually using MySQL(5) for authentication with apache2.2 ?

Yes, me.  /me thinks it your OS :) 
I just compiled this on my desktop to be sure, but this combo works as 
of now:

 apr - svn trunk
 apr-util svn trunk
 httpd trunk
 mysql 5.0.24
 FreeBSD 7.0-current

Attached are my config.nice(in this order: apr,apr-util,httpd) files and 
relevant httpd.conf stuff.


#! /bin/sh
#
# Created by configure

CFLAGS="-g3 -O0"; export CFLAGS
LIBS="-g3 -O0"; export LIBS
"./configure" \
"--prefix=/home/pgollucci/dev/software/freebsd-7.0-current/3.4.6/apr/r469074" \
"--enable-debug" \
"--enable-nonportable-atomics" \
"--disable-ipv6" \
"--enable-maintainer-mode" \
"--disable-threads" \
"CFLAGS=-g3 -O0" \
"$@"
#! /bin/sh
#
# Created by configure

"./configure" \
"--prefix=/home/pgollucci/dev/software/freebsd-7.0-current/3.4.6/apr-util/r469077-5.0.24"
 \
"--with-apr=/home/pgollucci/dev/software/freebsd-7.0-current/3.4.6/apr/trunk" \
"--with-mysql=/home/pgollucci/dev/software/freebsd-7.0-current/3.4.6/mysql/5.0.24"
 \
"--enable-maintainer-mode" \
"--with-expat=/usr/local" \
"$@"
#! /bin/sh
#
# Created by configure

CFLAGS="-g3 -O0 -DAP_UNSAFE_ERROR_LOG_UNESCAPED"; export CFLAGS
"./configure" \
"--prefix=/home/pgollucci/dev/software/freebsd-7.0-current/3.4.6/httpd/r469078/prefork"
 \
"--with-apr=/home/pgollucci/dev/software/freebsd-7.0-current/3.4.6/apr/trunk" \
"--with-apr-util=/home/pgollucci/dev/software/freebsd-7.0-current/3.4.6/apr-util/trunk-5.0.24"
 \
"--with-perl=/usr/local/bin/perl" \
"--with-mpm=prefork" \
"--enable-ssl" \
"--enable-debug" \
"--enable-modules=all" \
"--enable-mods-shared=all" \
"--enable-so" \
"--enable-deflate-shared" \
"--enable-proxy-shared" \
"--enable-proxy" \
"--enable-proxy-connect" \
"--enable-proxy-ftp" \
"--enable-proxy-http" \
"--enable-maintainer-mode" \
"--with-mysql=/home/pgollucci/dev/software/freebsd-7.0-current/3.4.6/mysql/5.0.24"
 \
"--with-expat=/usr/local" \
"--with-ssl" \
"CFLAGS=-g3 -O0 -DAP_UNSAFE_ERROR_LOG_UNESCAPED" \
"$@"
#
# This is the main Apache HTTP server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/trunk/> for detailed information.
# In particular, see 
# http://httpd.apache.org/docs/trunk/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.  
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
# with ServerRoot set to 
"/home/pgollucci/dev/software/freebsd-7.0-current/3.4.6/httpd/r469078/prefork" 
will be interpreted by the
# server as 
"/home/pgollucci/dev/software/freebsd-7.0-current/3.4.6/httpd/r469078/prefork/logs/foo.log".

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path.  If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk.  If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
#
ServerRoot 
"/home/pgollucci/dev/software/freebsd-7.0-current/3.4.6/httpd/r469078/prefork"

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the 
# directive.
#
# Change this to Listen on specific IP addresses as shown below to 
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbd_module modules/mod_authn_dbd.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_dbd_module modules/mod_authz_dbd.so
LoadModule authz_core_module mo

Re: apr_dbd_mysql for apache2.2

2006-10-28 Thread Philip M. Gollucci

Yes, I've had good look with svn branches/1.2.x

./configure --prefix=$prefix_apr

./configure \
--prefix=$prefix_apu \
--with-apr=$prefix_apr \
--with-mysql=$INST/mysql/$mysql_ver



--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

When I call your name, Girl, it starts to flame
Burning in my heart, Tearing it all apart..
No matter how I try My love I cannot hide


Re: [RELEASE CANDIDATES] - Status

2006-09-17 Thread Philip M. Gollucci
Philip M. Gollucci wrote:
> mod_perl 2.0.3-rc1
NetBSD 3.0 i386 perl 5.8.8 w/o ithreads httpd 2.2.3 -1 pgollucci

t/apr-ext fail because of bad LD_LIBRARY_PATH / DynaLoader foo.
I believe people have brought this failure up before and even suggested a patch 
for it.
Anyone want to point to these threads ?

Also,
t/apr/constants.t255 65280??   ??   %  ??
t/modperl/post_utf8.t ??   ??   %  ??


-- 
----
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /
 / /|_/ / // /\ \/ /_/ / /__
/_/  /_/\_, /___/\___\_\___/
   <___/


[RELEASE CANDIDATES] - Status

2006-09-17 Thread Philip M. Gollucci
Hi,

Looks like all three will need an -RC2.  There's still a few things to fix 
before I roll them though.

If you have free tuits, please jump in.


Apache-Test 1.29-rc1
Linux 2.6.15 perl 5.6/httpd 2.0.59/mod_perl 2.03rc1 
PASS
Win32 using  perl-5.8.8 and apache-1.3.34.  
PASS
linux bzium 2.6.17.8-0.5
t/cookie, t/next_available_port, t/ping,
t/redirect
are incorrectly skipped.
 CAN NOT DUPLICATE elsewheres ?
Win32: Apache/2.2.3 (winnt) 
+1 randyk
linux: Apache/2.0.55 (prefork)  
+1 randyk
FreeBSD 6.1-stable/i386 perl 5.8.8 httpd 2.2.3(prefork) 
+1 pgollucci
Solaris 5.10 perl 5.8.8 httpd 2.2.4-dev 
+1 pgollucci

mod_perl 2.0.3-rc1
Linux 2.6.15 Apache/2.0.59 mod_perl/2.0.3-rc1 Perl/v5.8.6   
PASS
Win32 with perl-5.8.8 and apache-2.2.2. 
PASS
linux bzium 2.6.17.8-0.5
t/directive/perldo.t fails without mod_alias.so
loaded.
FIXED IN SVN.
Win32: Apache/2.2.3 (winnt), perl-5.8.8 (ActivePerl 819)
+1 randyk
linux: Apache/2.0.55 (prefork), perl-5.8.7  
+1 randyk
FreeBSD 6.1-stable/i386 perl 5.8.8 httpd 2.2.3(prefork) 
+1 pgollucci
FreeBSD 6.1-stable/i386 perl 5.8.8/ithread httpd 2.2.3(worker)  
+1 pgollucci
FreeBSD 6.1-stable/i386 perl 5.8.8/ithread httpd 2.2.3(event )  
+1 pgollucci
Solaris 5.10 perl 5.8.8 httpd 2.2.4-dev 
-1 pgollucci
  t/api/server_const.t 31  33.33%  3
  t/apr/ipsubnet.t 84  50.00%  2-4 8
  t/apr/sockaddr.t 41  25.00%  2
  t/filter/both_str_req_proxy.t11 100.00%  1
  t/modperl/setupenv.t636   9.52%  8 22 29 
36 50 57
  t/preconnection/note.t   11 100.00%  1
linux mix 2.6.9-22.0.2.elsmp httpd-2.2.3+mod_perl-2.0.3-rc1+php-5.1.6 
CGI 3.23+
ModPerl-Registry/t/fatalstobrowser.t fails
FIXED IN SVN

libapreq2 2.09-rc1
Linux 2.6.15 mod_perl 2.0.3rc1/httpd 2.0.59/perl 5.8.6  
PASS
WIN32 perl-5.8.8 and apache-2.2.2   
PASS
minor gotcha's with Apache/TestConfigData.pm
across 2.2.x and 2.0.x relating to PATHS
linux bzium 2.6.17.8-0.5
t/apreq/upload failed.
FC6 rpm extra build -- without and without LWP  
PASS [EMAIL PROTECTED]
Win32: Apache/2.2.3 (winnt), perl-5.8.8 (ActivePerl 819),
   with mod_perl-2.0.3-rc1 installed
+1 randyk
linux: Apache/2.0.55 (prefork), perl-5.8.7,
with mod_perl 2.0.2 
+1 randyk
FreeBSD 6.1-stable/i386 perl 5.8.8 httpd 2.2.3
mod_perl2.0.3-rc1   
+1 pgollucci
Solaris 5.10 perl 5.8.8 httpd 2.2.4-dev 
-1 pgollucci
mod_perl2.0.3-rc1
ALL glue/perl tests fail... Bad ld foo at work.



-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /
 / /|_/ / // /\ \/ /_/ / /__
/_/  /_/\_, /___/\___\_\___/
   <___/


Re: upload hangs when file is multiple of 64K size

2006-09-15 Thread Philip M. Gollucci
Olly Stephens wrote:
> I'm using curl to upload test files to it.
> 
> Uploading a 65535 byte file, or a 65537 byte file works fine; uploading
> a 65536 byte file (or any exact multiple) hangs in the apreq_body() call
> and finally fails with a brigade timeout error.
I assume:

if=/dev/zero of=1k bs=1k count=64
64+0 records in
64+0 records out
65536 bytes transferred in 0.000955 secs (68616552 bytes/sec)
[EMAIL PROTECTED] /home/pgollucci 367 0>\ls -l 1k
-rw-r--r--  1 pgollucci  wheel  65536 Sep 15 00:17 1k

Will get me the file I want to try with ?

--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /
 / /|_/ / // /\ \/ /_/ / /__
/_/  /_/\_, /___/\___\_\___/
   <___/


[RELEASE CANDIDATE]: Apache-Test-1.29-RC1

2006-09-07 Thread Philip M. Gollucci

A release candidate for Apache-Test 1.29-RC1 is now available.

http://people.apache.org/~pgollucci/at/Apache-Test-1.29-rc1.tar.gz

Please take the time to exercise the candidate through all your existing
applications that use Apache-Test and report back successes or failures.

Changes since 1.28:

Teach Apache::TestClient to encode spaces(' ') in query string of URLs
as %20.  This is not a full mapping of ASCII to URL encoding.
If you need this, install LWP -- then Apache-Test will use
LWP -- which does this for you.
[Philip M. Gollucci]

Allow Apache::TestClient which is used when LWP is not installed
to accept mutiple headers of the same name.
[Philip M. Gollucci]

Add t_start_error_log_watch() and t_finish_error_log_watch()
to the Apache::TestUtil API which are only exported unpon request.
[Torsten Foertsch <[EMAIL PROTECTED]>]

Allow version variants of debuggers to be passed as arguments
to -debug.  i.e. -debug=gdb65 for systems with multiple
versions of the same debugger. [Philip M. Gollucci]

On Win32, the Apache executable is called httpd.exe in Apache/2.2,
so let Apache::TestConfig try to find that if Apache.exe isn't
found [Randy Kobes]

force reconfiguration if existing configuration was generated
by an older version of Apache-Test [Geoffrey Young]

the -t_pid_file code resulted in confusing and fatal error message
for people using stale 1.27 configurations.  so take steps to make
sure things continue to work.  [Geoffrey Young]

--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /
 / /|_/ / // /\ \/ /_/ / /__
/_/  /_/\_, /___/\___\_\___/
   <___/


Re: [Vote] create [EMAIL PROTECTED]

2006-09-01 Thread Philip M. Gollucci
William A. Rowe, Jr. wrote:
> Project Committee Members...
> 
> Adopt [EMAIL PROTECTED], seeded from [EMAIL PROTECTED]
> current subscribers, for module authors to use for peer developer support?
> (API 'users', essentially.)
> 
>   [X]  +1
>   [ ]  +/-0
>   [ ]  -1
> 
> I'd actually expect some feedback from the modperl folks since there is some
> overlap here.
I'll be reading the list once its created -- (mod_perl PMC)

> 
> Also, could add a second moderator to back up Mads (thanks for the offer, 
> sir!)
> if someone is interested in the role.
Sign me up.


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /
 / /|_/ / // /\ \/ /_/ / /__
/_/  /_/\_, /___/\___\_\___/
   <___/


Re: example

2006-08-09 Thread Philip M. Gollucci
Pierre Laplante wrote:
> Is there any code example of file upload  in C somewehere using libapreq?
I think you are looking for library/t/parsers.c . ?


-- 
----
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."


Re: [Announcement] Apache HTTP Server 2.2.3 (2.0.59, 1.3.37) Released

2006-08-03 Thread Philip M. Gollucci

Steve VanDevender wrote:

Philip M. Gollucci writes:
 > William A. Rowe, Jr. wrote:
 > > Apache HTTP Server 2.2.3 Released
 > > 
 > > The Apache Software Foundation and The Apache HTTP Server Project are

 > > pleased to announce the release of version 2.2.3 of the Apache HTTP Server
 > > ("Apache").
 > > 
 > > This version of Apache is principally a bug and security fix release. The

 > > following potential security flaws are addressed;
 > > 
 > >CVE-2006-3747: An off-by-one flaw exists in the Rewrite module,

 > >mod_rewrite, as shipped with Apache 1.3 since 1.3.28, 2.0 since 2.0.46,
 > >and 2.2 since 2.2.0.
 > Is a release in the 2.0.x (2.0.59) soon to follow ?

Both 2.0.59 and 1.3.37 have been out for at least a couple of days now,
both including the mod_rewrite fix.

Where did the annoucement go ?
I'm on pretty much [EMAIL PROTECTED]

did I miss and delete them by accident ?





--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."


Re: [Announcement] Apache HTTP Server 2.2.3 (2.0.59, 1.3.37) Released

2006-08-03 Thread Philip M. Gollucci
William A. Rowe, Jr. wrote:
> Apache HTTP Server 2.2.3 Released
> 
> The Apache Software Foundation and The Apache HTTP Server Project are
> pleased to announce the release of version 2.2.3 of the Apache HTTP Server
> ("Apache").
> 
> This version of Apache is principally a bug and security fix release. The
> following potential security flaws are addressed;
> 
>CVE-2006-3747: An off-by-one flaw exists in the Rewrite module,
>mod_rewrite, as shipped with Apache 1.3 since 1.3.28, 2.0 since 2.0.46,
>and 2.2 since 2.2.0.
Is a release in the 2.0.x (2.0.59) soon to follow ?


-- 
------------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."


Re: New port: devel/gdb65 GNU GDB 6.5

2006-07-11 Thread Philip M. Gollucci
Sorry for the spam, I meant to send this e-mail with the link to the pr
http://www.freebsd.org/cgi/query-pr.cgi?pr=100067



Philip M. Gollucci wrote:
>> Submitter-Id:  current-users
>> Originator:    Philip M. Gollucci
>> Organization:  P6M7G8 Consulting
>> Confidential:  no
>> Synopsis:  New port: devel/gdb65 GNU GDB 6.5
>> Severity:  serious
>> Priority:  medium
>> Category:  ports
>> Class: change-request
>> Release:   FreeBSD 6.1-STABLE i386
>> Environment:
> System: FreeBSD home.p6m7g8.net 6.1-STABLE FreeBSD 6.1-STABLE #0: Mon Jul 3 
> 23:24:44 PDT 2006 [EMAIL PROTECTED] /usr/src/sys/HOME i386
>  >Description:
> sudo gdb ./httpd
> gdb>r
> GDB itself segfaults (all current versions in base and ports)
> 
> This allows you for the first time since 2004 to debug httpd startup code on 
> FreeBSD
> Personally, I think its mission critical considering the applicationS it 
> affects.
> 
> This is currently only for the i386 architecture, and does not includet the 
> KGDB patches.
> 
> [I was having issues with set_context() and regcache_* functions]
> 
>> Fix:
>   Use this new port - version 6.5.  I haven't tried versions 6.2->6.4, but 
>   why use outdated software.  Its killing me that we haven't seen a gdb update
>   in almost 2 years even in ports.  Base system I understand completely.
> 
> --- gdb65.shar begins here ---
> # This is a shell archive.  Save it in a file, remove anything before
> # this line, and then unpack it by entering "sh file".  Note, it may
> # create directories; files and directories will be owned by you and
> # have default permissions.
> #
> # This archive contains:
> #
> # gdb65
> # gdb65/Makefile
> # gdb65/distinfo
> # gdb65/pkg-descr
> # gdb65/files
> # gdb65/files/fbsd4.h
> # gdb65/files/freebsd-uthread.c
> # gdb65/files/patch-gdb-Makefile.in
> # gdb65/files/nm-fbsd.h
> # gdb65/files/patch-gdb-version.in
> # gdb65/pkg-plist
> #
> echo c - gdb65
> mkdir -p gdb65 > /dev/null 2>&1
> echo x - gdb65/Makefile
> sed 's/^X//' >gdb65/Makefile << 'END-of-gdb65/Makefile'
> X# ex:ts=8
> X# Ports collection makefile for: GDB 6.5
> X# Date created:  10 July 2006
> X# Whom:  Philip M. Gollucci <[EMAIL 
> PROTECTED]>
> X#
> X# $FreeBSD$
> X#
> X
> XPORTNAME=gdb
> XPORTVERSION= 6.5
> XCATEGORIES=  devel
> XMASTER_SITES=${MASTER_SITE_GNU}
> XMASTER_SITE_SUBDIR=  gdb
> XDISTNAME=gdb-${PORTVERSION}
> X
> XMAINTAINER=  [EMAIL PROTECTED]
> XCOMMENT= GNU GDB 6.5
> X
> XUSE_BZIP2=   yes
> XGNU_CONFIGURE=   yes
> XCONFIGURE_ARGS=  --program-suffix=6.5
> XCFLAGS+= -DRL_NO_COMPAT -DKGDB
> X
> X.include 
> X
> X.if ${OSVERSION} < 50
> XCFLAGS+= -include ${FILESDIR}/fbsd4.h
> X.endif
> X
> X.if ${ARCH} == "amd64"
> XCONFIGURE_TARGET=x86_64-portbld-freebsd${OSREL}
> X.endif
> X
> Xpre-configure:
> X cd ${WRKSRC} ; ${RM} -rf dejagnu expect readline sim tcl texinfo
> X ${LN} -sf ${FILESDIR}/freebsd-uthread.c ${WRKSRC}/gdb/freebsd-uthread.c
> X ${LN} -sf ${FILESDIR}/nm-fbsd.h ${WRKSRC}/gdb/config
> X
> Xdo-install:
> X ${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \
> X ${PREFIX}/bin/${PORTNAME}${PORTVERSION:S/.//g}
> X
> X.include 
> END-of-gdb65/Makefile
> echo x - gdb65/distinfo
> sed 's/^X//' >gdb65/distinfo << 'END-of-gdb65/distinfo'
> XMD5 (gdb-6.5.tar.bz2) = af6c8335230d7604aee0803b1df14f54
> XSHA256 (gdb-6.5.tar.bz2) = 
> 0011318d9720781d486c835e88b915f90f2c10e7101d648b64dd4739218d3faf
> XSIZE (gdb-6.5.tar.bz2) = 14303558
> END-of-gdb65/distinfo
> echo x - gdb65/pkg-descr
> sed 's/^X//' >gdb65/pkg-descr << 'END-of-gdb65/pkg-descr'
> XGNU GDB 6.5
> X
> XWWW: http://www.gnu.org/software/gdb/bugs/
> END-of-gdb65/pkg-descr
> echo c - gdb65/files
> mkdir -p gdb65/files > /dev/null 2>&1
> echo x - gdb65/files/fbsd4.h
> sed 's/^X//' >gdb65/files/fbsd4.h << 'END-of-gdb65/files/fbsd4.h'
> X// $FreeBSD: ports/devel/gdb6/files/fbsd4.h,v 1.2 2005/03/11 04:52:49 obrien 
> Exp $
> X
> Xextern void _rl_set_screen_size (int, int);
> X
> X#define  rl_set_screen_size  _rl_set_screen_size
> X#define  rl_filename_completion_function filename_completion_function
> X
> Xextern int screenwidth, screenheight;
> X
> Xstatic inline void
> Xrl_get_screen_size (int *rows, int *cols)
> X{
> X  if 

Re: gdb in realloc(): error: junk pointer, too high to make sense on FreeBSD 5.2+ [SOLVED]

2006-07-10 Thread Philip M. Gollucci
Paul Querna wrote:
> Philip M. Gollucci wrote:
>> Hi,
>>
>> 2 years ago, PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/68727
>> was filed about gdb itself segfaulting when trying to debug httpd.
>> This PR hasn't seen any action AFAIK.
Its been 2 years in the making

GDB 6.5 works flawlessly with no local mods.

I used the attached script to test with
against perl 5.8.8 httpd 2.2.2(prefork) mod_perl trunk

I'm going to work on creating
ports/devel/gdb65
src/contrib/gdb (vendor import)

[EMAIL PROTECTED] 
/home/pgollucci/dev/compile/freebsd-6.1-stable/3.4.4/mod_perl/r420729-5.8.8-2.0.58-prefork
 22
   5 0>./t/TEST -debug=gdb
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd6.1"...
[Mon Jul 10 22:19:41 2006] [info] 6 Apache2:: modules loaded
[Mon Jul 10 22:19:41 2006] [info] 0 APR:: modules loaded
[Mon Jul 10 22:19:41 2006] [info] base server + 30 vhosts ready to run tests
[Mon Jul 10 22:19:43 2006] [warn] The Alias directive in mod_perl at line 1 
will probably never match because it overla
   ps an earlier Alias.
[Mon Jul 10 22:19:43 2006] [warn] The Alias directive in mod_perl at line 1 
will probably never match because it overla
   ps an earlier Alias.


THIS IS HUGE




-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."
#!/bin/sh -x

chdir /home/pgollucci/dev/dist
fetch -mva http://ftp.gnu.org/gnu/gdb/gdb-6.5.tar.gz

chdir /home/pgollucci/dev/src
tar -xvzf ../dist/gdb-6.5.tar.gz
mkdir -p /home/pgollucci/dev/src/gdb-6.5 
/home/pgollucci/dev/compile/freebsd-6.1-stable/3.4.4
cp -R /home/pgollucci/dev/src/gdb-6.5 
/home/pgollucci/dev/compile/freebsd-6.1-stable/3.4.4

chdir /home/pgollucci/dev/compile/freebsd-6.1-stable/3.4.4/gdb-6.5
./configure \
--prefix=/usr/local/software/freebsd-6.1-stable/3.4.4/gdb/6.5 \
--enable-maintainer-mode

make

make install

# tcsh:
# setenv PATH /usr/local/software/freebsd-6.1-stable/3.4.4/gdb/6.5/bin:$PATH
# rehash




Re: gcc and httpd

2006-07-06 Thread Philip M. Gollucci
Never mind, I feel dumb, these versions are already released and we can't 
change it.
Bedtime....


Philip M. Gollucci wrote:
> Hi,
> 
> versions of httpd prior to 2.0.49 compile successfully with gcc 3.0+, but 
> upon run, they give a Bus Error (seg fault)
> However, gcc 2.95.3 works fine.  I've heard Geoffery Young seen similiar on 
> some form of linux, and I'm on FreeBSD.
> 
> This should be a ./configure error/check.
> 
> If this is a good idea, I'll craft a patch for this.
> 


-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."


gcc and httpd

2006-07-06 Thread Philip M. Gollucci
Hi,

versions of httpd prior to 2.0.49 compile successfully with gcc 3.0+, but upon 
run, they give a Bus Error (seg fault)
However, gcc 2.95.3 works fine.  I've heard Geoffery Young seen similiar on 
some form of linux, and I'm on FreeBSD.

This should be a ./configure error/check.

If this is a good idea, I'll craft a patch for this.

-- 
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."


Re: gdb in realloc(): error: junk pointer, too high to make sense on FreeBSD 5.2+

2006-07-03 Thread Philip M. Gollucci

Paul Querna wrote:

Can you try to get this into a simple test case? Calling apr_dso_load twice?

I didn't seem to be able to cause it in a simple case; any great ideas ?

gcc -g -O0 \
-I/usr/local/software/freebsd-6.1-stable/3.4.4/apr/trunk/include/apr-1 \
-L/usr/local/software/freebsd-6.1-stable/3.4.4/apr/trunk/lib -l apr-1 \
gdb.c -o test
./test

[EMAIL PROTECTED] /home/pgollucci 145 0>gdb ./test
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
(gdb) r
Starting program: /usr/home/pgollucci/test
warning: Unable to get location for thread creation breakpoint: generic error
[New LWP 100062]
[New Thread 0x8053000 (LWP 100062)]

Program exited normally.
(gdb)

------------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."
/* $Id$ */

#include "apr.h"
#include "apr_dso.h"

#include 

int main(int argc, const char * const argv[]) {

  apr_pool_t *cntx;
  apr_status_t stat;
  apr_dso_handle_t *modhandle;
  const char *path = "/lib/libc.so.6";

  apr_app_initialize(&argc, &argv, NULL);

  stat = apr_pool_create(&cntx, NULL);
  if (stat != APR_SUCCESS) {
fprintf(stderr, "apr_pool_create() failed to create initial context");
apr_terminate();
exit(1);
  }

  if (apr_dso_load(&modhandle, path, cntx) != APR_SUCCESS) {
char my_error[256];
fprintf(stderr, apr_dso_error(modhandle, my_error, sizeof(my_error)));
  }

  if (apr_dso_load(&modhandle, path, cntx) != APR_SUCCESS) {
char my_error[256];
fprintf(stderr, apr_dso_error(modhandle, my_error, sizeof(my_error)));
  }

  apr_terminate();
  exit(0);
}



gdb in realloc(): error: junk pointer, too high to make sense on FreeBSD 5.2+

2006-07-02 Thread Philip M. Gollucci

Hi,

2 years ago, PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/68727
was filed about gdb itself segfaulting when trying to debug httpd.
This PR hasn't seen any action AFAIK.

This has been slowly driving me mad as you can not debug any httpd startup code.
Which coincidentally also prevents you from debugging mod_perl startup code and 
most likely
mod_* (php,ruby,tcl,java,python)

I did some painstakingly slow "stepping" through httpd code today:

Basically after apr_dso_load() calls dlopen()  (OS level Freebsd version) the
SECOND time through (httpd parses the config twice)
The first LoadModule line (doesn't matter which) crashes gdb.

I can reliably reproduce this on _ALL_ versions of FreeBSD from 5.2 through 
6.1-STABLE and on -CURRENT.
and ALL versions of httpd 2.0.48+ or 2.2.x

Attached is the information I was able to collect, but at this point, I'm in 
WAY over my head.

[Apologies for the cross post, feel free to spam me in return]

gdb -v
GNU gdb 6.1.1 [FreeBSD]

gcc -v
gcc version 3.4.4 [FreeBSD] 20050518

I've also seen it on EVERY version of gdb in the ports tree combined with any 
version of gcc in the ports tree.
/usr/local/bin/gcc32
/usr/local/bin/gcc33
/usr/local/bin/gcc34
/usr/local/bin/gcc40
/usr/local/bin/gcc41
/usr/local/bin/gcc42

------------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"In all that I've done wrong I know I must have done something right to
deserve a hug every morning and butterfly kisses at night."
(gdb) bt
#0  apr_dso_load (res_handle=0xbfbfe15c, path=0x80f8760 
"/usr/local/software/frebsd-6.1-stable/3.4.4/httpd/2.2.2/prefork/modules/mod_authn_file.so",
 pool=0x80bd018)
at /usr/home/pgollucci/dev/src/httpd-2.2.2/srclib/apr/dso/unix/dso.c:126
#1  0x08089b73 in load_module (cmd=0xbfbfe4d0, dummy=0xbfbfe348, 
modname=0x80f8728 "authn_file_module", filename=0x80f8740 
"modules/mod_authn_file.so") at mod_so.c:238
#2  0x0807824d in invoke_cmd (cmd=0x809da80, parms=0xbfbfe4d0, 
mconfig=0xbfbfe348, args=0x80f104e "") at config.c:778
#3  0x0807969b in execute_now (cmd_line=0x80f86b8 "LoadModule", args=0x80f1023 
"authn_file_module modules/mod_authn_file.so", parms=0xbfbfe4d0, p=0x80bd018, 
ptemp=0x80ef018, 
sub_tree=0xbfbfe348, parent=0x0) at config.c:1419
#4  0x08078c6c in ap_build_config_sub (p=0x80bd018, temp_pool=0x80ef018, 
l=0x80f1018 "LoadModule authn_file_module modules/mod_authn_file.so", 
parms=0xbfbfe4d0, current=0xbfbfe3a4, 
curr_parent=0xbfbfe3a0, conftree=0x80a4674) at config.c:990
#5  0x080791ad in ap_build_config (parms=0xbfbfe4d0, p=0x80bd018, 
temp_pool=0x80ef018, conftree=0x80a4674) at config.c:1202
#6  0x08079b2a in process_resource_config_nofnmatch (s=0x80beeb8, 
fname=0x80f7408 
"/usr/local/software/frebsd-6.1-stable/3.4.4/httpd/2.2.2/prefork/conf/httpd.conf",
 
conftree=0x80a4674, p=0x80bd018, ptemp=0x80ef018, depth=0) at config.c:1612
#7  0x08079c25 in ap_process_resource_config (s=0x80beeb8, fname=0x80f7408 
"/usr/local/software/frebsd-6.1-stable/3.4.4/httpd/2.2.2/prefork/conf/httpd.conf",
 conftree=0x80a4674, 
p=0x80bd018, ptemp=0x80ef018) at config.c:1644
#8  0x0807a730 in ap_read_config (process=0x80bb098, ptemp=0x80ef018, 
filename=0x8095a01 "conf/httpd.conf", conftree=0x80a4674) at config.c:2002
#9  0x08062083 in main (argc=2, argv=0xbfbfe778) at main.c:681


apr_dso_load (res_handle=0xbfbfe15c, path=0x80f8760 
"/usr/local/software/frebsd-6.1-stable/3.4.4/httpd/2.2.2/prefork/modules/mod_authn_file.so",
 pool=0x80bd018)
at /usr/home/pgollucci/dev/src/httpd-2.2.2/srclib/apr/dso/unix/dso.c:126
126 int flags = RTLD_NOW | RTLD_GLOBAL;
(gdb) s
139 os_handle = dlopen(path, flags);
(gdb) s
0x28173e24 in pthread_rwlock_timedwrlock () from /usr/lib/libpthread.so.2
(gdb) s
Single stepping until exit from function pthread_rwlock_timedwrlock, 
which has no line number information.
0x28179a44 in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
(gdb) s
Single stepping until exit from function pthread_mutexattr_init, 
which has no line number information.
0x28173cc5 in pthread_rwlock_timedwrlock () from /usr/lib/libpthread.so.2
(gdb) s
Single stepping until exit from function pthread_rwlock_timedwrlock, 
which has no line number information.
0x281833c0 in __error () from /usr/lib/libpthread.so.2
(gdb) s
Single stepping until exit from function __error, 
which has no line number information.
0x28173d34 in pthread_rwlock_timedwrlock () from /usr/lib/libpthread.so.2
(gdb) s
Single stepping until exit from function pthread_rwlock_timedwrlock, 
which has no line number information.
s
gdb in realloc(): error: junk 

Re: Endless loop in split_on_bdry() of library/parser_multipart.c?

2006-06-01 Thread Philip M. Gollucci

Bojan Smojver wrote:

Quoting Joe Schaefer <[EMAIL PROTECTED]>:


At least now it's a bit clearer why the no-strict-aliasing
optimization is getting confused ;-)


Hey, speak for yourself ;-)


FreeBSD 6.1-RELEASE
gcc version 4.1.2 20060526 (prerelease)
gcc version 3.4.4 20050518

default maintainer mode CFLAGS work and I can also use combination of these:
-O3 -fno-strict-aliasing -fomit-frame-pointer

Seems to be Fedora Core X specific.

Should we figure out how to re-write the loop so it doesn't matter,
add a prereq check in build/version_check.pl, or just leave it ?



--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."


httpd-apreq AND /www/www.apache.org/dist/httpd/KEYS

2006-05-23 Thread Philip M. Gollucci

Hi,

Sometime hopefully in the next week, I'll be releasing httpd-apreq (2.08).
So I added and committed by gpg key to the KEYS file.

I can not however update the one for the site in 
/www/www.apache.org/dist/httpd/KEYS

[EMAIL PROTECTED] /www/www.apache.org/dist/httpd rv=0 69 >ls -l KEYS
-rw-rw-r--  1 pquerna  httpd  -  294K Apr 22 10:25:24 2006 KEYS


Can I be added to the appropriate group, or can someone run the following for 
me:

ssh people.apache.org 'cd /www/www.apache.org/dist/httpd ; svn up KEYS'

Thanks in advance

------------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."


[PATCH] httpd/dist/release.sh

2006-05-16 Thread Philip M. Gollucci

Hi,

per a wrowe request, I added the following target httpd-apr-trunk which 
is httpd-trunk against ap{r,u}-trunk as apposed to httpd-trunk against 
ap{r,u} against 1.2.7.


I also did s/CVS/SVN/ and s/snv/svn/

I should note that as 2.3.x has no tags yet, this isn't really testable 
since there is not httpd tag to check out.


HTH

[Patch attached]

--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."
Index: release.sh
===
--- release.sh  (revision 406855)
+++ release.sh  (working copy)
@@ -5,10 +5,10 @@
 # USAGE: release.sh [--security] [--tag TAG POSTFIX] [--postfix POSTFIX]
 #   [--rev REV] PROJECT VERSION [SIGNING-USER]
 #
-#   The project is either 'httpd-2.0', 'httpd-2.2', 'httpd-2.3'
+#   The project is either 'httpd-2.0', 'httpd-2.2', 'httpd-2.3', 
'httpd-apr-trunk'
 #
 #   The version number is specified as MAJOR.MINOR.PATCH (and will be used in
-#   the output tarball name). The script will then look for a CVS tag named
+#   the output tarball name). The script will then look for a SVN tag named
 #   "MAJOR.MINOR.PATCH" and export it into a subdirectory (of the current
 #   directory). Next, it will run the appropriate commands to prepare and
 #   construct the tarball. The subdirectory will be cleaned up upon exit.
@@ -114,6 +114,21 @@
 apr_tag="1.2.7"
 apu_tag="1.2.7"
 ;;
+
+  httpd-apr-trunk)
+ver_path="include/ap_release.h"
+ver_define="AP_SERVER_PATCHLEVEL"
+
+expected_major="2"
+expected_minor="3"
+
+branch="trunk"
+
+apr_xxx_in_srclib=1
+apr_tag="trunk"
+apu_tag="trunk"
+;;
+
   *)
 echo "ERROR: '$1' is an unknown project." >&2
 echo "  choose one of: httpd-2.0, httpd-2.2, or httpd-2.3" >&2
@@ -185,13 +200,25 @@
   svn export http://svn.apache.org/repos/asf/httpd/httpd/tags/${tagname} 
${dirname} > /dev/null || exit 1
 fi
 
-### Add a check to see if what was checked out matches $vsn
+### Add a check to see if what was checked out matches $svn
 
 if test ${apr_xxx_in_srclib}; then
+  apr_svn_uri="http://svn.apache.org/repos/asf/apr/apr";
+  apu_svn_uri="http://svn.apache.org/repos/asf/apr/apr-util";
+
   echo "Starting SVN export of apr-${apr_tag} to ${dirname}/srclib ..."
-  svn export http://svn.apache.org/repos/asf/apr/apr/tags/${apr_tag} 
${dirname}/srclib/apr > /dev/null || exit 1
+  if test ${apr_tag} = "trunk"; then
+svn export ${apr_svn_uri}/trunk ${dirname}/srclib/apr > /dev/null || exit 1
+  else
+svn export ${apr_svn_uri}/tags/${apr_tag} ${dirname}/srclib/apr > 
/dev/null || exit 1
+  fi
+
   echo "Starting SVN export of apr-util-${apu_tag} to ${dirname}/srclib ..."
-  svn export http://svn.apache.org/repos/asf/apr/apr-util/tags/${apu_tag} 
${dirname}/srclib/apr-util > /dev/null || exit 1
+  if test ${apu_tag} = "trunk"; then
+svn export ${apu_svn_uri}/trunk ${dirname}/srclib/apr-util > /dev/null || 
exit 1
+  else
+svn export ${apu_svn_uri}/tags/${apu_tag} ${dirname}/srclib/apr-util > 
/dev/null || exit 1
+  fi
 fi
 
 echo $split


Re: perl glue docs?

2006-04-11 Thread Philip M. Gollucci

Jonathan Vanasco wrote:

they've disappeared from the website :(

were they forked off already ?

maybe then add a link to 
http://search.cpan.org/~joesuf/libapreq2-2.07/glue/perl/lib/Apache2
No, the version of doxygen on minotaur where they were built blew them... I 
forgot to fix that.


Pester me again (directly) in about 2 hours if I haven't.

--
--------
Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."


Re: mod_mbox helper scripts and programs

2006-01-10 Thread Philip M. Gollucci

Justin Erenkrantz wrote:

On Tue, Jan 10, 2006 at 06:55:37PM +0100, Mads Toftum wrote:

On Tue, Jan 10, 2006 at 09:51:36AM -0800, Paul Querna wrote:

Python!

Excellent choice - at least that way I won't have to even consider
trying ;)


Even Perl would be an improvement over zsh.  =)  -- justin

I realize I haven't been involved, but been reading this stuff.

I'm voting PERL on the basis more that I think more people tend to be 
familiar with it.  (including me :))





--

"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

"I wanna hold ya till I die ... I wanna hold ya till the fear in me 
subsides."


Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
1024D/A79997FA F357 0FDD 2301 6296 690F  6A47 D55A 7172 A799 97F


Re: A Bloat of Libraries

2006-01-03 Thread Philip M. Gollucci

Nick Kew wrote:

How about modularised dependencies as a goal for 2.4?
I agree with the idea, but I don't really think theres that manu 
libraries linked in...


I've got a 2.0.55 with mp2, php4, ssl, ruby, python, mod_log_sql
using a slew of config IfDevines, each server runs only what it needs.

httpd.ssl:
libz.so.3 => /lib/libz.so.3 (0x280b6000)
libssl.so.4 => /usr/lib/libssl.so.4 (0x280c6000)
libcrypto.so.4 => /lib/libcrypto.so.4 (0x280f4000)
libaprutil-0.so.9 => /usr/local/lib/apache2/libaprutil-0.so.9 
(0x281e6000)

libldap-2.2.so.7 => /usr/local/lib/libldap-2.2.so.7 (0x281f8000)
liblber-2.2.so.7 => /usr/local/lib/liblber-2.2.so.7 (0x28225000)
libdb4.so.0 => /usr/local/lib/libdb4.so.0 (0x28231000)
libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x282b7000)
libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x282d5000)
libapr-0.so.9 => /usr/local/lib/apache2/libapr-0.so.9 (0x283c2000)
libm.so.4 => /lib/libm.so.4 (0x283dc000)
libcrypt.so.3 => /lib/libcrypt.so.3 (0x283f2000)
libc.so.6 => /lib/libc.so.6 (0x2840a000)
libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x284e1000)




"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com



Test::Inline - Showstopper

2006-01-02 Thread Philip M. Gollucci

Hi,

RELEASE SHOWSTOPPERS:

- The perl docs are missing Test::Inline tests.




1. 
http://svn.apache.org/repos/asf/httpd/apreq/trunk/glue/perl/xsbuilder/APR/Request/Request.pod


As can be see, the perl glue now have Test::Inline tests

2. We don't run them and I'm not in favor of running them by default as 
most people don't have Test::Inline which itself was a huge set of 
dependencies.


So I'd like to say this is done and remove it from the list. Votes ?






--

"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com



Re: autotools woe

2005-12-29 Thread Philip M. Gollucci

Rian Hunter wrote:

cd /var/db/pkg
ls -ld gnu-*


Hmm... you should read the FreeBSD documentation on autotools.
I'll bet you made symlinks in /usr/local/bin from say autoconf to 
autoconf259 and similiar.


The other ports (/usr/ports/devel/auto* and /usr/ports/libtool*) are 
customized specifically for ports and only intented to build ports via 
the ports system.


[Note, if you "know" what you are doing, you can get away with using 
them for apreq... but I wouldn't recommend it]


This might help you:
Undo your symlinks

Install these 3
[EMAIL PROTECTED] /usr/ports/devel 7>ls -d gnu-*
drwxr-xr-x  2 root  wheel  -  512B Nov 26 19:09:20 2005 gnu-autoconf/
drwxr-xr-x  3 root  wheel  -  512B Nov 26 19:09:20 2005 gnu-automake/
drwxr-xr-x  2 root  wheel  -  512B Nov 26 19:09:20 2005 gnu-libtool/

you'll get a
/usr/local/gnu-autotools

add

/usr/local/gnu-autotools/bin to your path BEFORE /usr/local/bin

Then try again.


HTH


--

"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com



Re: DSO MPMs

2005-12-28 Thread Philip M. Gollucci

Maxime Petazzoni wrote:

What do you think ? Should we start working on this ?

I've missed the discussion, but the idea is something I definitely like.

--

"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com



Re: Code update to handle apache dynamic configuration updates to httpd.conf.

2005-12-20 Thread Philip M. Gollucci

Hi All,

My requirement is adding/configuring ssl virtual hosts dynamically to
apache web server at runtime without apache restart.

why not just do a graceful restart.

http://httpd.apache.org/docs/trunk/stopping.html#graceful


Re: [PATCH] INSTALL

2005-12-20 Thread Philip M. Gollucci
So, working from that premise, the patch to INSTALL would look like the 
following. Note that I snuck in some notes on Windows and Darwin as well:

I don't think I get to vote, but I approve.


"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com




[PATCH] INSTALL

2005-12-18 Thread Philip M. Gollucci

Hi,

I've updated the note about FreeBSD threads ... its a little outdated 
especially since the ASF itself is running worker on 2.1.9 last I checked :)


Also, in the trunk, I've s/2.1/2.3/ as appropriate.

The diff contains parts for 2.0.x, 2.2.x, and trunk




"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
Index: branches/2.0.x/INSTALL
===
--- branches/2.0.x/INSTALL  (revision 357606)
+++ branches/2.0.x/INSTALL  (working copy)
@@ -19,8 +19,9 @@
 
 * If you are building on FreeBSD, be aware that threads will
   be disabled and the prefork MPM will be used by default,
-  as threads do not work well with Apache on FreeBSD.  If
-  you wish to try a threaded Apache on FreeBSD anyway, use
+  as threads do not work well with Apache on FreeBSD.
+  If you wish to try a threaded Apache on FreeBSD
+  use 5.3-RELEASE or higher with the libpthread library.
   "./configure --enable-threads".
 
 * If you are building on Mac OS X (Darwin), make sure to
Index: branches/2.2.x/INSTALL
===
--- branches/2.2.x/INSTALL  (revision 357605)
+++ branches/2.2.x/INSTALL  (working copy)
@@ -19,8 +19,9 @@
 
 * If you are building on FreeBSD, be aware that threads will
   be disabled and the prefork MPM will be used by default,
-  as threads do not work well with Apache on FreeBSD.  If
-  you wish to try a threaded Apache on FreeBSD anyway, use
+  as threads do not work well with Apache on FreeBSD.
+  If you wish to try a threaded Apache on FreeBSD
+  use 5.3-RELEASE or higher with the libpthread library.
   "./configure --enable-threads".
 
 * If you are building on Mac OS X (Darwin), make sure to
Index: trunk/INSTALL
===
--- trunk/INSTALL   (revision 357603)
+++ trunk/INSTALL   (working copy)
@@ -5,7 +5,7 @@
   --
 
   For complete installation documentation, see [ht]docs/manual/install.html or
-  http://httpd.apache.org/docs-2.1/install.html
+  http://httpd.apache.org/docs/trunk/
 
  $ ./configure --prefix=PREFIX
  $ make
@@ -19,8 +19,9 @@
 
 * If you are building on FreeBSD, be aware that threads will
   be disabled and the prefork MPM will be used by default,
-  as threads do not work well with Apache on FreeBSD.  If
-  you wish to try a threaded Apache on FreeBSD anyway, use
+  as threads do not work well with Apache on FreeBSD.   
+  If you wish to try a threaded Apache on FreeBSD
+  use 5.3-RELEASE or higher with the libpthread library.
   "./configure --enable-threads".
 
 * If you are building on Mac OS X (Darwin), make sure to
@@ -40,7 +41,7 @@
  --enable-rewrite=shared \
  --enable-speling=shared 
 
-  The easiest way to find all of the configuration flags for Apache 2.1
+  The easiest way to find all of the configuration flags for Apache 2.3
   is to run ./configure --help.
 
 
@@ -85,7 +86,7 @@
   comp.infosystems.www.servers.unix or
   comp.infosystems.www.servers.ms-windows.
 
-  Thanks for using the Apache HTTP Server, version 2.1.
+  Thanks for using the Apache HTTP Server, version 2.3
 
  The Apache Software Foundation
  http://www.apache.org/


Re: [proposal] remove [EMAIL PROTECTED]

2005-12-16 Thread Philip M. Gollucci

Sounds good too me.

FY, the new perl list

test-dev (at) perl (dot) apache (dot) org



"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com


On Fri, 16 Dec 2005, Justin Erenkrantz wrote:


I'd like to propose shutting down [EMAIL PROTECTED] and move it all back under
[EMAIL PROTECTED]

The traffic on [EMAIL PROTECTED] list doesn't justify a separate list, and the
Apache-Test code is now property of the Apache::Perl PMC, so discussions of
that are now elsewhere too.  All that's really left is just httpd's test
cases (which really should be done in view of [EMAIL PROTECTED] anyway) and 
flood
(which, like mod_mbox, might get more lovin' if any posts on it moved to
[EMAIL PROTECTED]).

Any objections?  If no one screams, I'll do it next week.  -- justin



[PATCH] add --with-mm-opts to Makefile.PL

2005-12-13 Thread Philip M. Gollucci

This isn't quite enough to get -libmodperl to work, but its step1.

Index: Makefile.PL
===
--- Makefile.PL (revision 356406)
+++ Makefile.PL (working copy)
@@ -19,7 +19,7 @@
 undef @opts{qw(with-apache2-apxs with-apache1-apxs with-apache2-src
with-perl with-apache2-httpd
with-apr-config with-apu-config apxs
-   with-expat)};
+   with-expat with-mm-opts)};
 undef @opts{qw(with-apache2)} if (WIN32);

 my @flags = qw/enable-maintainer-mode enable-perl-glue 
disable-perl-glue/;






"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com



Re: 2.1.10-worker core dumps on minotaur

2005-11-23 Thread Philip M. Gollucci

Joshua Slive wrote:
Are all the debuggable crashes like this?  (The crash is due to 
malloc() failing in case that's not clear)



At the time I sent it, that was the only non-truncated core.  We now 
have several more, and they all look about the same.  Interestingly, the 
core files are all almost exactly the same size (538 MB) which, along 
with the malloc failure, points strongly to hitting a resource limit 
someplace.  Any freebsd gurus want to comment?


If you
man malloc

you can set some flags in /etc/malloc.conf that might help debug it.


--
--
"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com


Re: 2.1.10-worker core dumps on minotaur

2005-11-22 Thread Philip M. Gollucci

Joshua Slive wrote:


Paul Querna wrote:


Joshua Slive wrote:


I've already posted this on infrastructure@, but I thought I should
mention it here as well because it might have an effect on the release
decision.  We have at least 3 core dumps from 2.1.10 on minotaur.  They
are in /x1/coredumps, but none seem debuggable.  This might have to do
with them getting truncated writing to a full filesystem, but we won't
know until we get another one.

It is important to note that this is the first time we've run worker on
minotaur (freebsd).  So it may still be a freebsd threading issue.  I
don't know.

Also following on infra@, an obvious point, but if you switched from prefork to 
worker, you need
to make sure you link against libpthread.so and not libc_r.so on freebsd 5.3+

See the /etc/libmap.conf file.

cat /etc/libmap.conf
libc_r.so.5 libpthread.so.1
libc_r.so   libpthread.so

or the freebsd specific gcc option -pthread I believe.

--
--
"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com


Re: [VOTE] 2.1.10 as GA

2005-11-22 Thread Philip M. Gollucci

Andreas Lindström wrote:

I dont really have anything to do with voting and such, i just thought
id raise a point about how the configure system works atm. If you
happen to have an APR installed in your system already you cant force
the source tree for APR to be built using --with-apr and
--with-apr-util (verified with a 1.2 installed, not sure about <
1.2.), i ran into this when building trunk for testing last time.

The only way to fix this was by adding two lines to the configure
script which basically forced configure to ignore any previously found
APRs, if you didnt use this apache would automagically use the already
installed APR. As far as i can see this is not how the documentation
is written as it suggests adding --with-apr and --with-apr-util with
the path to the source tree of APR and APR-Util to get it built.

I just thought it could be an idea to fix this before it goes out to the public.


Hi, not a voter here, but a mod_perl committer, and I've seen this above issue before several times particulary on 
freebsd when for instance you install the subversion port.  If you then compile svn versions of apr, apache 2.x, and mp2 
by hand, httpd ends up linking to the apr installed by the subversion port in /usr/local not the one you said in 
--with-apr. et. al.


I will likely be able to generate a step by step tomorrow.




--
--
"Love is not the one you can picture yourself marrying,
but the one you can't picture the rest of your life without."

"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com


Re: what to do about rfc 2047?

2005-10-12 Thread Philip M. Gollucci

Joe Schaefer wrote:

André Malo <[EMAIL PROTECTED]> writes:
I guess that might be wrong. Quoted strings and parameters are not part of 
RFC 2047.
You might have a look at RFC 2184 instead. I'm not sure if many prgrams 
understand that correctly, though.



Thanks!  You're absolutely right, we should be looking at 2184 instead.
I'll correct the STATUS file as well.

Unless I'm mistaken... doesn't 2184 link to 2047 in this case ?
Also, wouldn't ?q? from your example have be to be a registered language tag?
Such as 'en' ?


--
END

What doesn't kill us can only make us stronger.
Nothing is impossible.

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
  http://www.liquidityservicesinc.com
   http://www.liquidation.com
   http://www.uksurplus.com
   http://www.govliquidation.com
   http://www.gowholesale.com


Re: what to do about rfc 2047?

2005-10-12 Thread Philip M. Gollucci

Joe Schaefer wrote:

Listed in the TODO section of STATUS is this:

  - Implement (some of) RFC 2047 in the multipart parser.

e.g.

  Content-Disposition: name="foo" filename="=?iso-8859-1?q?foo.txt?="

2. Syntax of encoded-words

   An 'encoded-word' is defined by the following ABNF grammar.  The
   notation of RFC 822 is used, with the exception that white space
   characters MUST NOT appear between components of an 'encoded-word'.

   encoded-word = "=?" charset "?" encoding "?" encoded-text "?="

   charset = token; see section 3

   encoding = token   ; see section 4

   token = 1*

   especials = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" / "
   <"> / "/" / "[" / "]" / "?" / "." / "="

   encoded-text = 1*
  ; (but see "Use of encoded-words in message
  ; headers", section 5)

So you talking about this I'm not sure in what context in libapreq you refer 
to though?  Can you elaborate?


--
END

What doesn't kill us can only make us stronger.
Nothing is impossible.

Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
  http://www.liquidityservicesinc.com
   http://www.liquidation.com
   http://www.uksurplus.com
   http://www.govliquidation.com
   http://www.gowholesale.com


Re: thaw() isn't a class method

2005-09-29 Thread Philip M. Gollucci

Joe Schaefer wrote:
I didn't intend for APR::Request::Cookie::thaw() to be a 
class method, but somehow I documented it that way.  Any 
objections to my applying this patch?

+1

--
END

What doesn't kill us can only make us stronger.
Nothing is impossible.
        
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
  http://www.liquidityservicesinc.com
   http://www.liquidation.com
   http://www.uksurplus.com
   http://www.govliquidation.com
   http://www.gowholesale.com



Re: ApacheCon BOF about Module Repository

2005-09-06 Thread Philip M. Gollucci

Sander Temme wrote:
 For maximum compatibility, this tool would  have
to be written in C. Currently, apxs is a Perl program but you  can't 
always count on the availability of Perl on the system,  especially on 
Windows. The apxs++ tool would be available only when  mod_so is available.

Sorry for jumping in... been roughly following.

As far as I can see, apxs is only written in perl because of the REGEX to find wether were are in a Location or other 
container before adding the LoadModule line.  Could we not use PCRE and APR to rewrite this in C as well? Maybe 2.3 ?


And this comming from a mod_perl commiter :)



--
END

What doesn't kill us can only make us stronger.
Nothing is impossible.
        
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
  http://www.liquidityservicesinc.com
   http://www.liquidation.com
   http://www.uksurplus.com
   http://www.govliquidation.com
   http://www.gowholesale.com



style update part III

2005-08-26 Thread Philip M. Gollucci

Hi all,

This transposes
my (
with
my(

per the style guide for mod_perl perl code.

I don't think I've commited anything to A-T yet, does the same style guide
apply?

See attached.


--
END

What doesn't kill us can only make us stronger.
Nothing is impossible.
        
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
  http://www.liquidityservicesinc.com
   http://www.liquidation.com
   http://www.uksurplus.com
   http://www.govliquidation.com
   http://www.gowholesale.com
Index: lib/Apache/TestRun.pm
===
--- lib/Apache/TestRun.pm   (revision 240189)
+++ lib/Apache/TestRun.pm   (working copy)
@@ -1051,7 +1051,7 @@
 }
 
 sub check_perms {
-my ($self, $user, $uid, $gid) = @_;
+my($self, $user, $uid, $gid) = @_;
 
 # test that the base dir is rwx by the selected non-root user
 my $vars = $self->{test_config}->{vars};
@@ -1104,7 +1104,7 @@
 # they better be with the same permissions. dropping root permissions
 # and becoming the same user as the server side solves this problem.
 sub become_nonroot {
-my ($self, $user, $uid, $gid) = @_;
+my($self, $user, $uid, $gid) = @_;
 
 warning "the client side drops 'root' permissions and becomes '$user'";
 
@@ -1249,7 +1249,7 @@
 # generate t/TEST script (or a different filename) which will drive
 # Apache::TestRun
 sub generate_script {
-my ($class, @opts) = @_;
+my($class, @opts) = @_;
 
 my %opts = ();
 
Index: lib/Apache/TestConfigC.pm
===
--- lib/Apache/TestConfigC.pm   (revision 240189)
+++ lib/Apache/TestConfigC.pm   (working copy)
@@ -157,7 +157,7 @@
 }
 
 sub cmodules_write_makefile {
-my ($self, $mod) = @_;
+my($self, $mod) = @_;
 my $write = \&{"cmodules_write_makefile_$^O"};
 $write = \&cmodules_write_makefile_default unless defined &$write;
 $write->($self, $mod);
Index: lib/Apache/TestReport.pm
===
--- lib/Apache/TestReport.pm(revision 240189)
+++ lib/Apache/TestReport.pm(working copy)
@@ -32,7 +32,7 @@
 # generate t/REPORT script (or a different filename) which will drive
 # Apache::TestReport
 sub generate_script {
-my ($class, $file) = @_;
+my($class, $file) = @_;
 
 $file ||= catfile 't', 'REPORT';
 
Index: lib/Apache/TestConfigPHP.pm
===
--- lib/Apache/TestConfigPHP.pm (revision 240189)
+++ lib/Apache/TestConfigPHP.pm (working copy)
@@ -29,7 +29,7 @@
 
 @Apache::TestConfigPHP::ISA = qw(Apache::TestConfig);
 
-my ($php_ini, $test_more);
+my($php_ini, $test_more);
 
 {
   # __DATA__ contains both php.ini and test-more.php
@@ -63,7 +63,7 @@
 );
 
 sub warn_style_sub_ref {
-my ($self, $filename) = @_;
+my($self, $filename) = @_;
 my $ext = $self->filename_ext($filename);
 return $warn_style{ $file_ext{$ext} || 'default' };
 }
@@ -190,7 +190,7 @@
 my %seen = ();
 
 for my $entry (@entries) {
-my ($file, $module, $subdir, $status) = @$entry;
+my($file, $module, $subdir, $status) = @$entry;
 
 my @args = ();
 
Index: lib/Apache/TestConfigPerl.pm
===
--- lib/Apache/TestConfigPerl.pm(revision 240189)
+++ lib/Apache/TestConfigPerl.pm(working copy)
@@ -491,7 +491,7 @@
 $self->configure_pm_tests_sort([EMAIL PROTECTED]);
 
 for my $entry (@entries) {
-my ($file, $module, $subdir, $status) = @$entry;
+my($file, $module, $subdir, $status) = @$entry;
 my @args = ();
 
 my $directives = $self->add_module_config($file, [EMAIL PROTECTED]);
@@ -552,7 +552,7 @@
 
 # scan tests for interesting information
 sub run_apache_test_config_scan {
-my ($self, $file) = @_;
+my($self, $file) = @_;
 
 my @status = ();
 $status[APACHE_TEST_CONFIGURE]= 0;
@@ -586,7 +586,7 @@
 # the slurped file in.  and if APACHE_TEST_CONFIGURE has been found we
 # require the file and run this function.
 sub run_apache_test_configure {
-my ($self, $file, $module, $status) = @_;
+my($self, $file, $module, $status) = @_;
 
 return unless $status->[APACHE_TEST_CONFIGURE];
 
Index: lib/Apache/TestMB.pm
===
--- lib/Apache/TestMB.pm(revision 240189)
+++ lib/Apache/TestMB.pm(working copy)
@@ -104,7 +104,7 @@
 }
 
 sub _cmodules {
-my ($self, $action) = @_;
+my($self, $action) = @_;
 die "The cmodules" . 

Re: cleaning up url_decode

2005-08-22 Thread Philip M. Gollucci

Joe Schaefer wrote:

In its current form, the internal url_decode() function is a total mess.
Besides simple url-decoding, it does charset divination. It turns out to 
be a lot cleaner to do the divination *after* decoding (not *during*), 
so I'd like to propose a new function


apreq_charset_t apreq_divine_charset (unsigned const char *s, apr_size_t slen)

that does the same logic, but on the decoded string.

The current APIs for apreq_decode and apreq_decodev don't need to change
because of this (only one current test result needs "fixing").


I agree with the idea...

Kudos on the function name.



--
END

What doesn't kill us can only make us stronger.
Nothing is impossible.
        
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
  http://www.liquidityservicesinc.com
   http://www.liquidation.com
   http://www.uksurplus.com
   http://www.govliquidation.com
   http://www.gowholesale.com



Re: R/Apache Integration Project

2005-08-02 Thread Philip M. Gollucci

Jeffrey Horner wrote:

Hello allo,

I'd like to point you to my project, mod_R: The R/Apache Integration 
Project which depends on libapreq2:


http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/ApacheRproject

With the mod_R 0.1.0 distribution, which is licensed under Apache 2.0, 
I've bundled libapreq 2.0.4. The install has the option of either 
installing the bundled version or linking to another version already 
installed.


Comments, criticisms welcome. Thanks go to Joe Schaefer for his help 
spool files and bundling.
My first thought is upgraded to 2.06-dev ASAP as _lots_ of bugs have 
been fixed.  Then it dawns on me that 2.04 is before the API rename so 
we really shouldn't be supporting it.  what versions of httpd and mp2 
are you using ?


I shall check this out later.



Re: cant build libapreq2 on trustix Linux

2005-08-01 Thread Philip M. Gollucci

Bengt-Arne Fjellner wrote:

OK
Well its in the path as seen here
[EMAIL PROTECTED] /home/users/baf/libap/httpd-apreq-2/library/t# which httpd
/usr/sbin/httpd
[EMAIL PROTECTED] /home/users/baf/libap/httpd-apreq-2/library/t#

Check ~/.apache-test/Apache/TestConfigData.pm


#30 0x4001d18d in apreq_parse_urlencoded (parser=Cannot access memory at 
address 0xb
) at parser_urlencoded.c:243
Previous frame inner to this frame (corrupt stack?)
(gdb) l
243 s = split_urlword(¶m, pool, ctx->bb, nlen, 
vlen);
244 if (parser->hook != NULL && s == APR_SUCCESS)
245 s = apreq_hook_run(parser->hook, param, NULL);
246 
247 if (s != APR_SUCCESS) {
248 ctx->status = URL_ERROR;
249 return s;
250 }
251 
252 apreq_value_table_add(¶m->v, t);


0xb seems like a really low-range address to me probably protected memory.




  1   2   >