Re: VOTE: Retire libapreq-1.34?

2011-05-19 Thread Philip M. Gollucci
On 05/19/11 18:00, William A. Rowe Jr. wrote:
 On 5/19/2011 12:46 PM, Philip M. Gollucci wrote:
   4) mark svn branch as r/o
 
 FWIW, we left 1.3 svn r/w on httpd, if only to document any
 security patches published long after 1.3 releases are over.
 
Thanks wrowe, thats the project I was trying to follow here.
we'll do the same.


-- 

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.


Retiring libapreq 1.3.x

2011-02-19 Thread Philip M. Gollucci
Following mod_perl, and httpd, its high time to officially EOL this and
move it to the archives where it may rest in peace.

I'll leave 5 days for comments.


-- 

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.


CPAN archives

2011-02-19 Thread Philip M. Gollucci
All,

Our previous convention is to keep current release + last one on CPAN
and move the rest to BACKPAN. Now that 2.0.5 has been out a while I'm
going to do this for the artifacts that I own shortly(today).  If you
have some in your own namespaces now would be a good time for spring
cleaning.


-- 

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: 64 bit libapreq2 segfaults

2009-07-17 Thread Philip M. Gollucci
David Winter wrote:
 Hi all,
 
 I'll summarize my problem:
 my module runs fine on 32 bit (i386) machines but segfaults constantly
 on 64 bit (x86_64) machines.
 It seems that the address returned by apreq_handle_apache2 is out of
 bounds, accessing it (e.g. with other libapreq2 functions) leads to a
 segfault. Funny thing is: I got a valid address from
 apreq_handle_apache2 when debugging it with gdb.

It must be something else, I can't remember the last time I used
libapreq2 on !amd64.

I've yet to try a DomUs but I'm sure it works on CentOS, one of my
contract clients is using it internally on that.


Are you hitting this from perl code or directly from some custom C
you've written.  Either way, can you show the snippet in question ?

httpd -V
perl -V
apr-1-config --version
httpd.conf


Re: libapreq2-2.12 +gmake on HP UX

2009-06-07 Thread Philip M. Gollucci
mmm zzz wrote:
 Hi all,
 
 When making the libapreq2-2.12 with gmake on an HP UX PA-RISC I got this
 error :
 
 cc: /udir/libapreq2-2.12/glue/perl/xsbuilder/apreq_xs_postperl.h, line 79:
 error 1521: Incorrect initialization.

 cc: Apache2.c, line 73: warning 527: Integral value implicitly converted
 to pointer in assignment.

Do we support this plaform? I don't recall.  Whats on lines those lines
79, 1521, 73 ?




Re: 2.12 vs 2.08

2009-05-25 Thread Philip M. Gollucci

Philip M. Gollucci wrote:

That'd be nice.  That be the developer that created the dist tarball then.

I'll give it a whirl if I get a chance, but I'm moving before the end of 
May.


Well
$ ./buildconf
$ gmake release_test
(in the tag didn't work for me)

same error, I've been asked to revert the freebsd port update to since it 
breaks about 10 dependendant ports, so I'll do that, then guess we'll have to 
fix it and roll v2_13.


The fix still escapes me at the moment though.

*sigh*

This is what I get for being busy during the RC phase. mumble.


--

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: ports/134889: [patch] www/p5-libapreq2: pass down MAKE=${GMAKE} to let MakeMAker generate proper makefiles]

2009-05-25 Thread Philip M. Gollucci

Hah, imagine that, he figured it out,

Even when inovking gmake, MakeMaker blows it now without the ENV.

At least the fix is simple for v2.13 and you can work around it without the 
update to, just set the ENV on your


./configure or Makefile.PL lines
--

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.
---BeginMessage---
Synopsis: [patch] www/p5-libapreq2: pass down MAKE=${GMAKE} to let MakeMAker 
generate proper makefiles

State-Changed-From-To: open-closed
State-Changed-By: pgollucci
State-Changed-When: Mon May 25 23:24:06 UTC 2009
State-Changed-Why: 
Committed. Thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=134889
---End Message---


Re: 2.12 vs 2.08

2009-05-19 Thread Philip M. Gollucci
Philip M. Gollucci wrote:
 The long answer is I don't know what we broke yet.
http://people.apache.org/~pgollucci/v2_08_vs_v2_12.diff

Well, AFAIK, that diff (a subset) are the only possible things that
could have caused it. Lets see if I can figure it out before I fall asleep.




-- 

Philip M. Gollucci (phi...@ridecharge.com)
did: 703.579.6947, o: 703.549.2050x206
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: 2.12 vs 2.08

2009-05-19 Thread Philip M. Gollucci

Kurt Lidl wrote:

  Philip M. Gollucci wrote:

Philip M. Gollucci wrote:
  

The long answer is I don't know what we broke yet.


http://people.apache.org/~pgollucci/v2_08_vs_v2_12.diff

Well, AFAIK, that diff (a subset) are the only possible things that
could have caused it. Lets see if I can figure it out before I fall asleep.
  
Experimentation shows that if one installs the 'fastdep' program, 
arranges to have aclocal and autoconf
in one's path and then run './buildconf', it will generate working 
Makefiles, that will just work on OpenSolaris.


I also noticed that the automake used for 2.08 was 1.9.6 and the 
automake used for
2.12 was 1.6.3.  1.6.3 is, um, ancient. When I re-ran the autoconf with 
the 1.9.6 version

of autoconf, it works with just the regular make on OpenSolaris.

Perhaps just regenerating the Makefile.in contents with a newer 
autoconfigure would be enough to fix this

problem on other machines?


That'd be nice.  That be the developer that created the dist tarball then.

I'll give it a whirl if I get a chance, but I'm moving before the end of May.




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: compile failure [WAS: '']

2009-04-20 Thread Philip M. Gollucci

macke...@animalhead.com wrote:
Trying your new libapreq2-2.12, specifying the apxs path to 
Makefile.PL under FreeBSD 6.3, yields the following in the 
'make' step:


I've seen this too.  I submited a patch for the freebsd ports tree
pending the ports freeze ending in ~1 week we hope and the maintainer 
committing it.


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



--

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] libapreq2 2.11

2009-02-16 Thread Philip M. Gollucci

Steve Hay wrote:

Randy Kobes wrote:

Issac Goldstand wrote:

Steve Hay wrote:

Issac Goldstand wrote:

Vote results show only 2 +1s (issac,joes) and no -1s.

We're still a +1 short of release.


creating mod_apreq2.la
(cd .libs  rm -f mod_apreq2.la  ln -s ../mod_apreq2.la mod_apreq2.la)
make: don't know how to make all-local. Stop
*** Error code 1

Stop in libapreq2-2.11/module.
*** Error code 1


So thats build errors on centos and FreeBSD -- yes, I used the tgz for these
and not SVN.  Anyway, I think joes traced most of this to issac having rolled 
the tgz with ancient/old auto tools.  Issac, want to try again with a current 
set ?  I'm in a position to give it a whirl too.


Sorry I'm so slow.  umteen jobs and all.

P.S.  I have no free weekends between now and March 20th.


--

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] libapreq2 2.11

2009-01-29 Thread Philip M. Gollucci

Bojan Smojver wrote:

On Thu, 2009-01-29 at 04:03 -0500, Philip M. Gollucci wrote:


Does the perl glue not being built / installed correctly on CentOS count ?
[I had spoken too soon before when I was all excited]


If there is a problem with libapreq2 RPMS on CentOS, let me know what
the fix is. I'll be more than happy to correct that.

I built from SVN or do you mean you'll add a patch to the rpm after release 
?



--

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.


next release lets go!

2009-01-19 Thread Philip M. Gollucci

Hi All,

All the recent work from joes and issaac has payed off!

I get 100% pass on centos.

Lets roll and vote, I believe we're in good shape.

Bojan did you want to do it again ?

If not, I'm tempted to roll it tomorrow day-time unless someone else beats me 
to 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-07 Thread Philip M. Gollucci

Steve Hay wrote:

I didn't vote because AFAIK I don't actually have a vote. I have commit
access, but I'm not a PMC member and therefore have no vote. Is that
correct?

You're not ? mumble grumble.


--

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: [RELEASE CANDIDATE] libapreq 1.34-RC4

2009-01-07 Thread Philip M. Gollucci

Issac Goldstand wrote:

Yay! That makes just a 1.5 year release cycle ;)

Me. Thought i might be slow.

--

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: Quotes in uploaded filenames are not parsed correctly.]

2009-01-03 Thread Philip M. Gollucci

Lets take this to apreq-dev land.


--

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.
---BeginMessage---
When you handle a multipart/form-data post with libapreq quotes in
filenames are mishandled.  For example, a post that includes:

Content-Disposition: form-data; name=foo; filename=breakhere.jpg

Will result in a filename of just 'break'.

To reproduce, set up a test following the snippets below, and upload a
file named 'breakhere.jpg' to the resulting form.

I'm using Apache/2.2.9 (Ubuntu) DAV/2 SVN/1.5.1 mod_ssl/2.2.9
OpenSSL/0.9.8g mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0

In your error log you will see just 'break'.

---httpd.conf---
Perl
use lib qw(/home/mcrawfor/);
/Perl
PerlModule QuoteParse
Location /test/
SetHandler perl-script
PerlResponseHandler QuoteParse
/Location

---QuoteParse.pm---
package QuoteParse;

use strict;
use warnings;

use Apache2::RequestRec ();
use Apache2::Request ();

use Apache2::Const -compile = qw(OK);

sub handler {
my $r = shift;
my $req = Apache2::Request-new($r);

warn $req-param('foo');

$r-content_type('text/html');
print form method='post' enctype='multipart/form-data'input
type='file' name='foo'input type='submit'/form;

return Apache2::Const::OK;
}

1;
---End Message---
---BeginMessage---

Miles Crawford wrote:

When you handle a multipart/form-data post with libapreq quotes in
filenames are mishandled.  For example, a post that includes:

Content-Disposition: form-data; name=foo; filename=breakhere.jpg


Isn't that a malformed header?  I would think that the internal '' 
should be escaped for it to be properly represent that filename. 
Assuming that's the case, the rest of the behavior that you describe is 
what I'd expect.


Adam
---End Message---
---BeginMessage---
I agree it looks bogus, but safari and firefox send the header in that
format.  Not sure about IE since Windows does not allow files with a 
in the name.

I looked over the Content-Disposition header RFC but it does not seem
to address escaping directly.

Either way, it seems that this format is a browser fact of life

-miles

On Fri, Jan 2, 2009 at 4:44 PM, Adam Prime adam.pr...@utoronto.ca wrote:
 Miles Crawford wrote:

 When you handle a multipart/form-data post with libapreq quotes in
 filenames are mishandled.  For example, a post that includes:

 Content-Disposition: form-data; name=foo; filename=breakhere.jpg

 Isn't that a malformed header?  I would think that the internal '' should
 be escaped for it to be properly represent that filename. Assuming that's
 the case, the rest of the behavior that you describe is what I'd expect.

 Adam

---End Message---


Re: Questions about apreq_params

2008-12-15 Thread Philip M. Gollucci

Michael Koziarski wrote:

Hey guys,

first, apologies for messing up the subscribe email!

We've just started using apreq for some apache module development and
it's working out quite nicely.  However we've noticed a few strange
issues.

The first of which is that apreq_params returns NULL if we use the
following as the multipart body:

http://github.com/rails/rails/tree/master/actionpack/test/fixtures/multipart/large_text_file

  apr_table_t *request_body = apreq_params(req, r-pool);
  if (request_body == NULL)
  {
// we are seeing this
  }


The documentation implies that it never does, which makes me wonder.
Is that just a stale piece of documentation or have we found a bug in
libapreq?  Should we be handling this case in our module or figuring
out a test case for you guys to fix in 2.10?

Clearly the function can return NULL, what documentation do you refer to ?

APREQ_DECLARE(apr_table_t *)apreq_params(apreq_handle_t *req, apr_pool_t *p)
{
const apr_table_t *args, *body;
apreq_args(req, args);
apreq_body(req, body);

if (args != NULL)
if (body != NULL)
return apr_table_overlay(p, args, body);
else
return apr_table_copy(p, args);
else
if (body != NULL)
return apr_table_copy(p, body);
else
return NULL;

}



--

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.


Re: Questions about apreq_params

2008-12-15 Thread Philip M. Gollucci

Okay that documentation is both correct an incorrect.

Its a stop gab.  When you give no body and no args, you'll get a NULL, 
but in reality you should never need to do this.  I'll take suggestions 
on how to word that correctly.


--
-AaB03x
Content-Disposition: form-data; name=foo

bar
--AaB03x
Content-Disposition: form-data; name=file; filename=file.txt
Content-Type: text/plain

foo
--AaB03x--
---

In the meantime, I'm not convinced you are using the API quite correctly.

Can you have a look at the code in module/t/c-modules/*
in particular,

o mod_apreq_request_test.c - basic case
o mod_apreq_upload_test.c - file uploads

At miniumm, you should be checking the RV code of apreq_args == 
APR_SUCCESS. I'm betting its not that for you and if you decode the 
number to a string you'll find your problem.








--

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.


Re: Questions about apreq_params

2008-12-15 Thread Philip M. Gollucci

Michael Koziarski wrote:

So should apreq_params be deprecated given the lack of RV checking?
It seems that it's not possible to use it safely? I can easily
implement that same 'overlay or copy' logic (with error checking)
myself, but this function will probably still trip up the next unlucky
traveller.  Any ideas on a best fix for the library, rather than just
my own module?

It should definitely not be deprecated.  Its kind of 'core' to the module.



--

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.


Re: Questions about apreq_params

2008-12-15 Thread Philip M. Gollucci

Michael Koziarski wrote:

It should definitely not be deprecated.  Its kind of 'core' to the module.


But unless I'm mistaken, it'll just silently fail in these situations
with malformed bodies?  What would be the suggested action in that
situation?  something like this?
I think step one is to come up with a test that reproduces the break in 
the docs.  Commit it as 'skip', then fix the code so the test passes 
ensuring we don't break anything else in the process.


--

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.


Re: Should we release 2.10?

2008-11-27 Thread Philip M. Gollucci

Bojan Smojver wrote:

On Thu, 2008-11-27 at 01:40 -0500, Philip M. Gollucci wrote:


Committed revision 721096.
Backported to branches/2_10 721099.


Let me know when you backport all the stuff you wanted to get from the
trunk and I'll roll RC2.

Did that, but I still need to fix the failing tests before you bother...

Maybe Saturday.

--

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: Should we release 2.10?

2008-11-27 Thread Philip M. Gollucci

Adam Prime wrote:
My understanding of =over num, which seems to be confirmed by perldoc 
perlpod was that num is the indent level, so i'm not sure why you 
would want to bump it.
You sir are correct.  Apparently back in the day I misread and learned 
that wrongly.


Fixed in trunk and v2_10.


--

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-26 Thread Philip M. Gollucci

Philip M. Gollucci wrote:

Issac Goldstand wrote:

http://people.apache.org/~issac/libapreq-1.34-RC4.tar.gz
Unit tests blow up spectacularly on solaris 2.10 but I don't think we 
support that and is related to Request.so failing to load.


It does compile.

I'll get a freebsd test for some sanity in the nearish future here.

I wouldn't worry about the solaris blow ups (1.33 doesn't work either)



Nothing liked getting pissed off to get things to work.
(I believe the only difference I did was -httpd vs -apxs)

All tests successful.
Files=4, Tests=25,  3 wallclock secs ( 1.22 cusr +  0.17 csys =  1.39 CPU)

Solaris 2.10
apache 1.3.41
mod_perl 1.30
perl 5.8.8

so thats a +1

Neither of Steve's changes are to apreq itself so they don't block the 
release.


+1: stevenhay, pgollucci
+0:
-0:
-1:

ISSAC did you vote ? if you do we get the required votes.

If do the release, make sure you send the e-mails from an @apache.org 
e-mail.


--

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: Should we release 2.10?

2008-11-26 Thread Philip M. Gollucci

Adam Prime wrote:

Bojan Smojver wrote:

http://httpd.apache.org/apreq/docs/libapreq2/group__apreq__xs__request.html

Does the attached patch work?

Committed revision 721096.
Backported to branches/2_10 721099.


you forgot to bump the =over value :)

--

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 apreq-dev@httpd.apache.org

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.


Re: [RELEASE CANDIDATE] libapreq2 2.10 RC1

2008-11-19 Thread Philip M. Gollucci

Bojan Smojver wrote:
http://people.apache.org/~bojan/libapreq2-2.10-RC1.tar.gz

zones.perl.apache.org:
sun os 5.10
perl 5.10.0 not threaded
httpd 2.2.10 prefork
mod_perl 2.0.3


glue/perl/t/apreq/cgi fails all 71 tests, but this is due to 'make' test 
issues I'd bet.


from t/log/error_log:
 Can't load 
'$HOME/dev/compile/libapreq2-2.10/glue/perl/t/cgi-bin/../../blib/arch/auto/APR/Request/Request.so' 
for module APR::Request: ld.so.1: perl: fatal: libapreq2.so.3: open 
failed: No such file or directory at 
$P/perl/5.10.0/lib/5.10.0/i86pc-solaris-64int/DynaLoader.pm line 203.


That path is wrong, note the cgi-bin dir

./configure
--prefix=$P/libapreq2/2.10
--with-perl=$P/perl/5.10.0/bin/perl
--with-apache2-apxs=$P/httpd/2.2.10/prefork/bin/apxs
--with-expat=$P/expat/2.0.1
--enable-perl-glue


its 4:30am and I've not look at this code in a while, the debugging will 
have to wait.


Also, I I'm pretty sure I want to merge 1-2 things from trunk to 2.10
that are low risk but important.

stay tuned.


--

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: Should we release 2.10?

2008-11-12 Thread Philip M. Gollucci

Bojan Smojver wrote:

On Wed, 2008-11-12 at 20:31 +1100, Bojan Smojver wrote:


This will require further debugging...


After employing mod_dumpio, it seems that Apache actually outputs
everything out, even over SSL. I have no idea how and why it doesn't
show up in the client (i.e. as reported by request.t). Maybe something
to do with the Perl test suite?

Opinions?


Apache-Test definitely jumps through hoops for SSL.

Are your perl SSL CPANs up-to-date ?



--

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: Should we release 2.10?

2008-11-12 Thread Philip M. Gollucci

Bojan Smojver wrote:

On Wed, 2008-11-12 at 23:08 -0500, Philip M. Gollucci wrote:


Apache-Test definitely jumps through hoops for SSL.

Are your perl SSL CPANs up-to-date ?


Whatever Fedora 9 has, I have. Whether that's most up to date, I don't
know.

I think I should just put out an RC tarball and let people test. Then
we'll know what's going on.


go for 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.


Re: [RELEASE CANDIDATE] libapreq2 2.10 RC1

2008-11-12 Thread Philip M. Gollucci

Bojan Smojver wrote:

Could people subscribed to mod_perl and httpd lists please forward this
e-mail there. Thanks!


fowarded.

--

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] libapreq2 2.10 RC1

2008-11-12 Thread Philip M. Gollucci

Bojan Smojver wrote:

On Thu, 2008-11-13 at 02:01 -0500, Philip M. Gollucci wrote:


(ahh, you were in unix group httpd, I've just added you)


I am not an httpd committer. I only have commit rights to apreq
directory.


Well it is what it is, subprojects and all..



--

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: Should we release 2.10?

2008-11-10 Thread Philip M. Gollucci

Bojan Smojver wrote:

On Fri, 2008-07-11 at 10:44 +1000, Bojan Smojver wrote:

Is there anything that needs to be addressed still before we roll this?
It's been a long time since the last stable release, I think we should
go ahead and get something out the door...


Just another ping on this.

There was talk of merging new features before the release and of people
accessing apreq via Perl seeing segfaults. Anyone has an opinion on
this?

PS. These are not things that I use.


did you see the [EMAIL PROTECTED] post ?

I'd like to pick this up again.

_STRONG_ +1 to release 1.34 and 2.10

If you want to volunteer RM for one of them, I'll take the other.

I've got some time between now and thanks giving.

--

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: Should we release 2.10?

2008-11-10 Thread Philip M. Gollucci

Bojan Smojver wrote:

On Mon, 2008-11-10 at 22:52 -0500, Philip M. Gollucci wrote:

If I can help with the 2.10 let me know, I was probably the last one to 
muck with it for 2.08 and 2.09.


OK, I'll holler if I get stuck. BTW, I will not be merging anything into
the branch, but roll it as is.


Probably a good thing, I'm not sure what the differences are.
[are all my solaris fixes on the 2_10 branch ?]

--

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: RPM Build error: File not found: /usr/local/apr-util-httpd/lib/libexpat.a]

2008-11-10 Thread Philip M. Gollucci

This is pretty much dead, so over to apreq-dev.
--

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.
---BeginMessage---
Hi All,
I have posted this to users list, but thought packagers list is more
appropriate, so re-posting.
I am trying to build a rpm from Apache 2.2.9 source and encountering the error:

error: File not found:
/home/vjkumar/apachews/apache_new/dist/BUILD/apache-root/usr/local/apr-util-httpd/lib/libexpat.a


RPM build errors:
   File not found:
/home/vjkumar/apachews/apache_new/dist/BUILD/apache-root/usr/local/apr-util-httpd/lib/libexpat.a
make: *** [rpm] Error 1

The make for httpd-2.2.9/srclib/apr, httpd-2.2.9/srclib/apr-util
and httpd-2.2.9/ are successful.

My rpmbuild command in Makefile is
rpmbuild --define _topdir ${RPM_TOP_DIR} \
   --bb ${PACKAGE_NAME}.spec

Thanking you in advance

~VJ
---End Message---


Re: Should we release 2.10?

2008-11-10 Thread Philip M. Gollucci

Bojan Smojver wrote:

On Mon, 2008-11-10 at 22:56 -0500, Philip M. Gollucci wrote:
 

[are all my solaris fixes on the 2_10 branch ?]


Not sure. What should I be looking for?

I'm compiling things now, I'll take a look in few.

Is that with
$ make test TEST_VERBOSE=1



BTW, I'm getting test failures:
-
t/requestNOK 34/36# Failed test 34 in t/request.t at line 93
fail #2 
# Failed test 36 in t/request.t at line 118 fail #2

t/requestFAILED tests 34,
36 
	Failed 2/36 tests, 94.44% okay

--

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: Should we release 2.10?

2008-11-10 Thread Philip M. Gollucci

Bojan Smojver wrote:

On Mon, 2008-11-10 at 23:46 -0500, Philip M. Gollucci wrote:


Is that with
$ make test TEST_VERBOSE=1


I actually did make release_test, as per instructions on the release
page.



Thats a convience target for when everything goes okay.  Since it didn't
run the make test TEST_VERBOSE=1 by hand. (defined in Makefile.am)



--

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: Should we release 2.10?

2008-07-11 Thread Philip M. Gollucci

Joe Schaefer wrote:



--- On Thu, 7/10/08, Bojan Smojver [EMAIL PROTECTED] wrote:


Is there anything that needs to be addressed still before we
roll this?
It's been a long time since the last stable release, I
think we should
go ahead and get something out the door...


Sounds good. AIUI Issac was going to RM but had difficulty getting
the docs to generate.  Are you willing to give it a shot?

I was actually waiting on Issac as well.  We need to do 1.34 too.

Anyone tested perl 5.10 ?


I can jump on it next week, I think, if neither Bojan or Isaac prefer to 
do it.



--

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.



Re: svn commit: r662072 - in /httpd/apreq/trunk/win32: Configure.pl libapreq2.mak

2008-05-31 Thread Philip M. Gollucci

 Patch supplied by Nikolay Ananiev
Sweet, thanks Randy, I was hoping a windows person would look at these.


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.



Re: [PATCH] Some windows build enhancements

2008-04-24 Thread Philip M. Gollucci

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mladen Turk wrote:
| Hi,
|
| libapreq is missing .rc file, so here is a standard ASF one.
| Also, added APREQ_DECLARE_EXPORT/APREQ_DECLARE_STATIC
| in the same way as APR declares so that dllexport/dllimport
| get correctly handled.
Hi Mladen,

Thanks for your work on this.  In the future, please submit patches
piece wise.

Committed to trunk: 651366, 651374, 651381, 651385, 651388

backported to v2_10 branch: 651399.



- --
- 
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

iD8DBQFIEO3fdbiP+9ubjBwRAnNVAJ0SQj0/AH0uKv2i2uqs7pjoWyE5zACdE2sl
Q5zb1EHDh1GuAetL/YNkg2k=
=0wpi
-END PGP SIGNATURE-


Re: [PATCH] Some windows build enhancements

2008-04-24 Thread Philip M. Gollucci

Mladen Turk wrote:

ACK.
There was one small typo and it seems I have the karma for commits,
so I've fixed it directly.

I suppose the fix has to go to the 2.10 branch as well.

I haven't seen the svn commit mail on apreq-cvs yet ?

Yes, please fix it on branches/v2.10 as well.


--

Philip M. Gollucci ([EMAIL PROTECTED])
c:703.336.9354
Consultant / http://p6m7g8.net/Resume/resume.txt
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.



Re: new maintainer is wanted for libapreq-1.xx

2008-03-30 Thread Philip M. Gollucci

Stas Bekman wrote:
Is anybody interested in maintaining libapreq-1.xxtI took over from 
Doug, but I no longer work with modperl1/httpd1.3. So someone who's 
active in modperl1/httpd1.3 would be the perfect candidate.


If not, could the modperl dev team please adopt it and put it under a 
different CPAN account (APML)? I'm going to delete it soon from my 
account, which will make it disappear completely, unless someone takes 
over.
I know I haven't been the most active lately, but I think it would be 
better if the [EMAIL PROTECTED] took it over as APML.


We'd have to re-release it to move the account right?  Or can we get a 
CPAN maintainer to do some other foo?


If nothing else, I can update the freebsd port for the new location. :)



Re: [RELEASE CANDIDATE] libapreq2 2.09-RC2

2007-08-08 Thread Philip M. Gollucci

Are we going to have 2.09 release? It's been quite some time since RC2
actually, i'd like to see an RC3-- there was an issue I kept complaining 
about  that Joe was going to solve thanks to some testing by 
[EMAIL PROTECTED] -- reference the posting on 2007.05.25

The RC3 was what I meant.

what are you doing there, if you don't mind me asking... i noticed that they 
were hiring ruby people a while back.  i feared we lost you.
The only and only System Admin (FreeBSD + ruby/rails) and worthless 
'windows business' network.


The fun comes soon when we move into Equinix.


--

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: [RELEASE CANDIDATE] libapreq2 2.09-RC2

2007-08-06 Thread Philip M. Gollucci

On Tue, 7 Aug 2007, Bojan Smojver wrote:


Are we going to have 2.09 release? It's been quite some time since RC2
went out...

That was the plan whenever I made the branch way long ago.
After moving, loosing a datacenter, and being swamped at work, I haven't 
read a single mailing list since April.


Supposedly, this is going to lighten up after August when my startup goes 
lives (Aug 10).


My first order of business though is to vote on the apreq 1 RC so it can 
go unless I missed it.


If I am taking too long and you feel up to it, please feel free to give it 
a whirl.


I'll try to answers questions too if so.


--

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: Apache2::Cookie and CGI::Cookie

2007-03-27 Thread Philip M. Gollucci

Randy Kobes wrote:

I've been looking at the CGI::Cookie:
 http://search.cpan.org/~lds/CGI.pm-3.27/CGI/Cookie.pm
tests in CGI.pm:
  http://search.cpan.org/src/LDS/CGI.pm-3.27/t/cookie.t
run through apreq/glue/perl using Apache2::Cookie:
 http://search.cpan.org/~joesuf/libapreq2-2.08/glue/perl/lib/Apache2/Cookie.pm 
I think the comparison you are missing is Apache::Cookie.  Any chance 
you could add that behavior to this thread ?


It would be nice to have all the apis match, but I don't recall if they 
ever did.



--

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

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


Anyway, I'm still waiting for the port maintainer to answer my email,
which I sent almost 10 days ago :(.

ah skv@

he's been busy this last year.  4 more days and its maintainer timeout.
I maintain a bunch of FreeBSD ports, I'll look into it.

If you really want to install it, just delete the BROKEN line.
Just realize if you make deinstall or pkg_delete you'll leave a few 
stray files on your system.



--

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: freebsd upgrade problem

2006-11-27 Thread Philip M. Gollucci

Seems to be a FreeBSD quark / fluke, I'll try and solve this off-list.

Jonathan wrote:


On Nov 27, 2006, at 7:31 PM, Philip M. Gollucci wrote:

If I were you, I would build subversion with mod_dav_svn even if you 
are not going to use it -- you can not load it in the httpd.conf 
later.  During this build, let the ports system build APR and dbd for 
you -- WITH_APACHE2_APR=yes its something close to that switch.


already  did that.  uninstalled and reinstalled.  no luck.

i'm alternating between errors on expat and db4 now -- it seems that 
anything that hits apr won't link to any of its libraries right.  i've 
been trying to do libapreq off the ports and source -- no luck on either.


any port that builds against things that aren't apr -- no problem.  
introduce apr, and it chokes on bdb or expat.



Can you do a ldd on mod_apreq.so
no.  i deinstalled it for the upgrade.  so now i've got one in memory, 
and no way to build it.


If you need to be up in a hurry, you can likely symlink a different 
version into place, or use /etc/libmap.conf to map it accordingly.
i'm close to buying another box, migratoing my system on a clean 
install, and reformatting this one.  something odd happened, and i can't 
figure it out at all.  apr seems to be the only thing affected.  its 
driving me crazy.



// Jonathan Vanasco

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - - - - - - - - - - - - -

| FindMeOn.com - The cure for Multiple Web Personality Disorder
| Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - - - - - - - - - - - - -

| RoadSound.com - Tools For Bands, Stuff For Fans
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - - - - - - - - - - - - -





--

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-13 Thread Philip M. Gollucci

Joe Schaefer wrote:

Philip M. Gollucci [EMAIL PROTECTED] writes:


Joe Schaefer wrote:


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.


Really?  What's it called?

include/apr_file_io.h:APR_DECLARE(apr_status_t) apr_file_writev(apr_file_t 
*thefile

--

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.27 RC2 + mod_perl2.03-RC2 + apreq 2.09-RC2

2006-11-09 Thread Philip M. Gollucci

Issac Goldstand wrote:

Win32 (VS2003) - httpd/2.2.3 - ActivePerl 5.8.8.819

PASS Apache-Test
PASS mod_perl
FAIL libapreq2

libapreq passed the 2 sets of C-based tests and failed the 3rd set
(quite miserably), so it may just be a bug in Apache-Test.  I'll look
into it and send a proper bug report with details to apreq-dev shortly.
More likely the Dynamic Loading foo is busted on Win32 or the mod_perl 
glue (.pms) weren't in your PERL5LIB path when you ran 'nmake test'.


randky will probably chime in.


--

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] libapreq2 2.09-RC2

2006-11-09 Thread Philip M. Gollucci

Issac Goldstand wrote:

Following up on the FAIL report for win32:
Can you post your configuration steps -- I'm the wrong person to ask, 
but someone else might know.  I see Steve H. got passing results.


Which CGI tests fail ?


The new Apache-Test-1.29-RC2 runs the test suite for 2.08 just fine
(against mod_perl-2.0.3-RC2).  However, here the test suite can't load
mod_perl (also mod_perl-2.0.3-RC2) into the server properly:
The dection of mod_perl has changed 0 between 1.27-1.29 much less 
1.29-rc1 and 1.29-rc2



CGI passes most tests (it fails 7; libapreq-2.08 also fails the same
ones lately.  That's a separate issue for a separate thread, though),
it's just the mod_perl ones that seem to fail.

Didn't you just contradict yourself ?  I'm probably reading that wrong



Deeper probing (t/conf/httpd.conf) shows that:
IfModule !mod_perl.c
#unable to locate mod_perl.so (could be a static build)
/IfModule
Yes that would be the problem. (does Apache-Test have the correct path 
to apxs and is it actually functional?)



Giving a path via t/TEST -libmodperl didn't help

Unfortunately, httpd-apreq unlike mod_perl does not yet handle this flag.


Fixing the path to mod_perl manually in t/conf/httpd.conf did fix it
(and all tests but the same 7 from CGI passed).

D'oh!


--

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] libapreq2 2.09-RC2

2006-11-08 Thread Philip M. Gollucci

Please download, test, and report back on the following
candidate tarball:

   http://people.apache.org/~pgollucci/apreq2/libapreq2-2.09.tar.gz
   http://people.apache.org/~pgollucci/apreq2/libapreq2-2.09.tar.gz.asc
   http://people.apache.org/~pgollucci/apreq2/libapreq2-2.09.tar.gz.md5

***
 o The Release Process was updated to use svn branches.
THIS TARBALL WILL SEE NO CHANGES BEFORE RELEASE if 3 +1s
are received (unlike previous RCs)
***

A good bit of changes
  o Solaris support is at 90% now
  o New Tests were added,
  o useful messages are printed when tests are skipped now
  o documentation tweaks

full diff between 2.09-rc1 and 2.09-rc2 here:
http://people.apache.org/~pgollucci/apreq2/2.09-rc1_2.09-rc2.diff
(Thats minus the license header changes)

Which can be seen here and are included in -rc2
http://svn.apache.org/viewvc?view=revrev=472399

--

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 CANDIDATES] Status ?

2006-10-31 Thread Philip M. Gollucci

Philip M. Gollucci wrote:
Hi all, so it seems I dropped the ball on the releases.  I'm about to 
get back into it.


Does anyone know of any issues that are still oustanding from
  mod_perl-2.0.3-RC1
  Apache-Test 1.29-RC1
  libapreq2 2.09-RC1

before I roll -RC2s.  I'm pretty sure Apache-Test and libapreq2 will be 
ready with -RC2

for release.  mod_perl might need a -RC3.

So Fred's issues was foo-bar and I've just committed Nikolay's patch.
If I hear nothing else, I'll roll -RC2s Thursday night.

Nobody better be working tonight :)

--

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


[RELEASE CANDIDATES] Status ?

2006-10-29 Thread Philip M. Gollucci

Hi all, so it seems I dropped the ball on the releases.  I'm about to get back 
into it.

Does anyone know of any issues that are still oustanding from
  mod_perl-2.0.3-RC1
  Apache-Test 1.29-RC1
  libapreq2 2.09-RC1

before I roll -RC2s.  I'm pretty sure Apache-Test and libapreq2 will be ready 
with -RC2
for release.  mod_perl might need a -RC3.



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-10-29 Thread Philip M. Gollucci

this one time in band camp Issac Goldstand said on 10/29/06 01:41:
If you're planning on rolling libapreq-2.09 soon, maybe we should 
include the intial work done in /branches/enhanced-cgi/ 
http://svn.apache.org/repos/asf/httpd/apreq/branches/enhanced-cgi/

It seems stable at the moment.

Hi, yes, it looks interesting, but please keep replies on list.

Also, you need to update the
include/apreq_version.h
*_VERSION #defines.
[You should do this on _EVERY_ commit]

Sadly, I don't think this can go into the 2.x series because of our 
conversioning rules.
New features need new symbols.  SVN gets around this by doing:
void foo (void)
void foo2 (int)

I don't know if we wan to go that route, its just one possible path.




 Issac

Philip M. Gollucci wrote:
Hi all, so it seems I dropped the ball on the releases.  I'm about to 
get back into it.


Does anyone know of any issues that are still oustanding from
  mod_perl-2.0.3-RC1
  Apache-Test 1.29-RC1
  libapreq2 2.09-RC1

before I roll -RC2s.  I'm pretty sure Apache-Test and libapreq2 will 
be ready with -RC2

for release.  mod_perl might need a -RC3.



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



--

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: Problems with apreq2 on OS X

2006-10-29 Thread Philip M. Gollucci

this one time in band camp Patrick Galbraith said on 10/29/06 16:26:

Dave,

Speaking of which - how do you use gdb with mod_perl/libapreq? I'm used 
to using it and other debuggers (Visual Studio, etc, DDD with gdb, 
Xcode) with mysqld and DBD::mysql, but how do you attach it to a 
mod_perl script, httpd, mod_perl, libapreq (?) to see what's going on? I 
have libapreq working on OS X, but something is giving me a bus error 
and I'd like to know where that's coming from.

I believe you are looking for this:
http://perl.apache.org/docs/2.0/devel/debug/c.html#Starting_the_Server_Fast_under_gdb

and/or
http://httpd.apache.org/dev/debugging.html#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

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: Apache2::Request param repetitions

2006-10-17 Thread Philip M. Gollucci

Ted wrote:

That's true, I could do that, but my aim is to have a general purpose
form reader.  I want to loop through all form elements and load
up a hash for processing later.  I could put all encountered param
names in a hash prior to processing, to eliminate the problem, but
thought the issue was worth mentioning.


# returns ref to APR::Request::Param::Table object representing
# all (args + body) params
my $table = $req-param;
@table_keys = keys %$table;


--

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


[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: [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.
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /
 / /|_/ / // /\ \/ /_/ / /__
/_/  /_/\_, /___/\___\_\___/
   ___/


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

2006-09-14 Thread Philip M. Gollucci
Olly Stephens wrote:
 I'm using apreq2-2.08 with httpd-2.2.3 on solaris 10.  It's a 64-bit build.
I was having the worst time getting this compiled on Solaris 10 using gcc 
everything else
same as you. See the SVN trunk 'CHANGES' file for what I had to fix.

I'll look into duplicating this and adding something similar as a test case.

-- 

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.
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /
 / /|_/ / // /\ \/ /_/ / /__
/_/  /_/\_, /___/\___\_\___/
   ___/


mp2/apreq2: THE PLAN (2.0.3 - 2.0.5)

2006-09-06 Thread Philip M. Gollucci
Hi all,

After some deep thought, here's whats going to happen:

svn trunk:
  Apache-SizeLimit integration is going to be rolled back to
  
http://svn.apache.org/viewvc/perl/modperl/tags/before_apache_sizelimit_integration
  This tag is then going to be deleted.

I'll then start the Release process for 2.0.3 as the RM (assuming everything 
works, if not, I'll fix it)
and post -RC1 later TODAY.

2.0.3 will go through its cycle and be officially released.

http://svn.apache.org/viewvc/perl/modperl/branches/apache_sizelimit_integration
will be created based on svn trunk (before, during, or after 2.0.3 -- doesn't 
matter to me)

We'll integrate completely Apache-SizeLimit and this branch will be merged to 
svn trunk and deleted.

Apache-SizeLimit 0.92 will be RM by me and released.

2.0.4 will go through its RM process (probably by me)

2.0.5 will pave the way for new features to be added to SVN trunk.

I'm hoping that both 2.0.3 and 2.0.4 will go out THIS MONTH and other product 
releases that this implies.



Note, This implies that Apache-Test will also see 1.29-RC1 (TODAY) with me as 
RM.
Subsequently 1.30 later this month (probably me as RM again).



Staying with that spirit (no test should fail in the latest release),
libapreq2 2.08 has failures without LWP, which have been fixed in SVN but not 
released.

So, I'll play RM for 2.09 and publish a -RC1 TODAY.
2.10 will will then play the part of new features and/or the httpd/mp2 code 
split of it and website redesign
(http://httpd.apache.org/apreq).








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: mp1.30 [ was:Re: mp2/apreq2: THE PLAN (2.0.3 - 2.0.5)]

2006-09-06 Thread Philip M. Gollucci
After all that dust settles,

mp1.30 will be RM'ed by either me or Phillippe and released which will include 
the integration of Apache-SizeLimit.

-- 

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: svn commit: r439245 - in /httpd/apreq/trunk: CHANGES build/version_check.pl glue/perl/Makefile.PL

2006-09-01 Thread Philip M. Gollucci
autoconf 2.60 should now work on all platforms.


[EMAIL PROTECTED] wrote:
 Author: pgollucci
 Date: Fri Sep  1 02:24:29 2006
 New Revision: 439245
 
 URL: http://svn.apache.org/viewvc?rev=439245view=rev
 Log:
 code around autoconf 2.60 bug
 
 
 Modified:
 httpd/apreq/trunk/CHANGES
 httpd/apreq/trunk/build/version_check.pl
 httpd/apreq/trunk/glue/perl/Makefile.PL
 
 Modified: httpd/apreq/trunk/CHANGES
 URL: 
 http://svn.apache.org/viewvc/httpd/apreq/trunk/CHANGES?rev=439245r1=439244r2=439245view=diff
 ==
 --- httpd/apreq/trunk/CHANGES (original)
 +++ httpd/apreq/trunk/CHANGES Fri Sep  1 02:24:29 2006
 @@ -2,7 +2,11 @@
  //! brief List of major changes.
  
  
 [EMAIL PROTECTED] v2_08 Changes with libapreq2-2.09 (under developement)
 [EMAIL PROTECTED] v2_09 Changes with libapreq2-2.09 (under developement)
 +
 +- Build [Philip M. Gollucci]
 +  code around |#_!!_#| autoconf 2.60 bug.
 +
  
  @section v2_08 Changes with libapreq2-2.08 (released August 8, 2006)
  
 
 Modified: httpd/apreq/trunk/build/version_check.pl
 URL: 
 http://svn.apache.org/viewvc/httpd/apreq/trunk/build/version_check.pl?rev=439245r1=439244r2=439245view=diff
 ==
 --- httpd/apreq/trunk/build/version_check.pl (original)
 +++ httpd/apreq/trunk/build/version_check.pl Fri Sep  1 02:24:29 2006
 @@ -47,7 +47,7 @@
  
  my %svn = (
  libtool = { version = 1.4.3,   test = \gnu_version },
 -   autoconf = { version = 2.53,test = \gnu_version, 
 broken_version = '2.60' },
 +   autoconf = { version = 2.53,test = \gnu_version },
 automake = { version = 1.6.1,   test = \gnu_version },
  doxygen = { version = 1.2, test = \gnu_version, 
 broken_version = '1.4.5' },
 perl = { version = 5.6.1,   test = \gnu_version },
 
 Modified: httpd/apreq/trunk/glue/perl/Makefile.PL
 URL: 
 http://svn.apache.org/viewvc/httpd/apreq/trunk/glue/perl/Makefile.PL?rev=439245r1=439244r2=439245view=diff
 ==
 --- httpd/apreq/trunk/glue/perl/Makefile.PL (original)
 +++ httpd/apreq/trunk/glue/perl/Makefile.PL Fri Sep  1 02:24:29 2006
 @@ -88,6 +88,14 @@
  die Can't find package version;
  $version = $1;
  
 + ## Code around an autoconf 2.60 bug
 + ## 
 http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00127.html
 + ## $ grep @PACKAGE_VERSION config.status-2.59 
 config.status-2.60 
 + ## config.status-2.59:s,@PACKAGE_VERSION@,2.09,;t t
 + ## config.status-2.60:s,@PACKAGE_VERSION@,|#_!!_#|2.09,g
 + foreach ($apache_includes, $apreq_libname, $version) {
 + s/\|#_!!_#\|//g;
 + }
  }
  
  my $apreq_libs = WIN32 ?
 


-- 

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: make install fails for perl modules in 2.08

2006-08-23 Thread Philip M. Gollucci
Guy D wrote:
 Hello,
 
 I recently tried to install libapr2 version 2.08 on a Solaris server
 with Perl 5.8.8 and Apache 2.2.3.  This is how I configured libapreq2:
Anyone with a Solaris box want to confirm ?
I've none available sheesh -- to many operating systems

Can you show the versions you used for:
autoconf
automake
libtool
make

and/or attach config.log ?

FYI, you don't need to set F77 --- theres no FORTRAN code in here ... thank god.

 I am using Sun's Studio compilers and not gcc.
[ducks as that zips of my head]
Here's hoping its not this causing it.

 Everything compiled.  All tests passed except two (36  37 in util.t)
Can you attach the console output and the RELATED t/error_log text?

The only change between 2.07 and 2.08 for module/apache2/Makefile.am
is listed below and definitely fixes a bug.  Its also been changed similarly
in mod_perl2.

svn diff -r179248:408623  Makefile.am
Index: Makefile.am
===
--- Makefile.am (revision 179248)
+++ Makefile.am (revision 408623)
@@ -7,17 +7,8 @@
 pkgincludedir = [EMAIL PROTECTED]@ -q INCLUDEDIR`/@APREQ_LIBNAME@
 pkglibdir = [EMAIL PROTECTED]@ -q LIBEXECDIR`

-if MAINTAINER_MODE
-
-AM_CPPFLAGS = -DAP_HAVE_DESIGNATED_INITIALIZER @APACHE2_INCLUDES@ 
@APR_INCLUDES@
-
-else
-
 AM_CPPFLAGS = @APACHE2_INCLUDES@ @APR_INCLUDES@

-endif
-
-
 if BUILD_HTTPD

 # XXX FIXME: static builds don't work anymore


-- 

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: board report for Apache HTTP Server Project

2006-08-16 Thread Philip M. Gollucci
Roy T. Fielding wrote:
 httpd 1.3.36 was released on May 17.  After that, all of the source
 file headers on our httpd release branches were updated in accordance
 with the recent board resolution and are present in our current
 releases.  However, we have not yet updated the source file headers
 in our subprojects.
Which script do I run to do this, I can take care of this in libapreq if
we should do it there ?



-- 

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.
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /
 / /|_/ / // /\ \/ /_/ / /__
/_/  /_/\_, /___/\___\_\___/
   ___/


[Fwd: Re: ports/101748: Update: www/libapreq2 2.07 - 2.08, portlint fixes, update pkg-plist]

2006-08-10 Thread Philip M. Gollucci
Enjoy!

--- Original Message 
Date: Thu, 10 Aug 2006 09:30:16 GMT
Message-Id: [EMAIL PROTECTED]
To: Philip M. Gollucci [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: Re: ports/101748: Update: www/libapreq2 2.07 - 2.08, portlint fixes, 
update pkg-plist

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

Category:   ports
Responsible:freebsd-ports-bugs
Synopsis:   Update: www/libapreq2 2.07 - 2.08, portlint fixes, update 
pkg-plist
Arrival-Date:   Thu Aug 10 09:30:16 GMT 2006

-- 

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: [RELEASE CANDIDATE] libapreq2 2.08-RC5

2006-08-06 Thread Philip M. Gollucci
Philip M. Gollucci wrote:
 Please download, test, and VOTE  on the following
 candidate tarball:
 
 http://people.apache.org/~pgollucci/apreq2/libapreq2-2.08-RC5.tar.gz
 
 Changes from RC4:
   http://svn.apache.org/viewvc?rev=428216view=rev (Win32)
 
   http://svn.apache.org/viewvc?rev=428286view=rev
   http://svn.apache.org/viewvc?rev=428842view=rev
 
   http://svn.apache.org/viewvc?rev=428299view=rev
 
 Style only:
   http://svn.apache.org/viewvc?rev=424256view=rev
+1
FreeBSD 6.1-stable i386
perl 5.8.8 with and without threads
httpd 2.2.3 (prefork, work, event)
mod_perl svn trunk


-- 

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: svn commit: r428216 - in /httpd/apreq/trunk: CHANGES library/util.c

2006-08-04 Thread Philip M. Gollucci
[EMAIL PROTECTED] wrote:
 Author: randyk
 Date: Wed Aug  2 19:56:24 2006
 New Revision: 428216
 
 URL: http://svn.apache.org/viewvc?rev=428216view=rev

Alrighty, is it time for an RC5 (good lord...) and to get this puppy out the 
door.

If there are any issues, speak up. I Will roll the RC5 Sunday night (PDT).


-- 

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: [RELEASE CANDIDATE] libapreq2 2.08-RC4

2006-07-31 Thread Philip M. Gollucci

Nevertheless, unless someone objects in the next
day or so, I'd like to commit this change, as I
think leaving temp files lying around is a worse
problem.

No objection here :)




--

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: docs are still half-missing

2006-07-28 Thread Philip M. Gollucci
Jonathan Vanasco wrote:
 just a heads up:
This was fixed in SVN and will be fixed on the website with 2.08.

-- 

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.


NetBSD 3.0

2006-07-24 Thread Philip M. Gollucci
I'm seeing this error on NetBSD 3.0 with make/gmake and autoconf 2.59

I can duplicate it on FreeBSD, but only using autconf 2.60.

gmake[6]: Entering directory 
`/home/pgollucci/dev/repos/asf/httpd/apreq/2.08-RC4/glue/perl/xs/APR/Request/Apache2'
/usr/local/software/netbsd-3.0/3.3.3/perl/5.8.8/bin/perl
/usr/local/software/netbsd-3.0/3.3.3/perl/5.8.8/lib/ExtUtils/xsubpp  -typemap
/usr/local/software/netbsd-3.0/3.3.3/perl/5.8.8/lib/ExtUtils/typemap -typemap 
../../../typemap  Apache2.xs  Apache2.xsc
 mv Apache2.xsc Apache2.c
Error: No INPUT definition for type 'Apache2__RequestRec', typekind '' found in 
Apache2.xs, line 68
gmake[6]: *** [Apache2.c] Error 1
gmake[6]: Leaving directory 
`/home/pgollucci/dev/repos/asf/httpd/apreq/2.08-RC4/glue/perl/xs/APR/Request/Apache2'

the requested typemap is in
glue/perl/xs/apreq_xs_typedefs.h:typedef request_rec * Apache2__RequestRec;

and the generated .xs file does have
#include apreq_xs_typedefs.h



-- 

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: [RELEASE CANDIDATE] libapreq2 2.08-RC4

2006-07-24 Thread Philip M. Gollucci
Steve Hay wrote:
 Sorry, but I'm still seeing quite a few failures.  I started with a
 completely fresh build (with your patch applied) and the top-level
 nmake test failed a bunch of upload.t tests first time.  (So it's not
 just running the test multiple times that causes the problem.)
 
 I then cd'd to perl/glue and ran just the upload.t test a dozen times
 over and it still failed 2 or 3 times.
Is there an equivalent to 'strace' on 'that which you deem to call an OS' :)

The 'open,access,stat*' might be useful ?






-- 

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.


[Fwd: The Asian Event for Apache Technologies! Register Now and Save!]

2006-07-23 Thread Philip M. Gollucci


 Original Message 
Message-ID: [EMAIL PROTECTED]
Date: Fri, 21 Jul 2006 17:34:42 +0530
From: Deepal Jayasinghe [EMAIL PROTECTED]
Subject: The Asian Event for Apache Technologies! Register Now and Save!

Dear Apache enthusiast,

ApacheCon Asia is the first ever Asian offering of the popular ApacheCon
Conference of the Apache Software Foundation (ASF). ApacheCon Asia
provides an excellent opportunity to experience first-hand what ASF
technologies and development communities can do for you and your enterprise.

The program consists of two technical tracks in the main conference and
a large number of tutorials. In addition a hackathon will be held the
day before the conference where attendees can interact with various
Apache project developers and learn and contribute!

Priced at a very affordable level, the conference will be held in
Colombo, Sri Lanka from August 14th to 17th at the Trans Asia Hotel.

The complete agenda and registration information of ApacheCon Asia 2006
are available at http://asia.apachecon.com/

Register by Friday, August 4th and receive a 10% early bird discount!

Interested in sponsoring? See:
http://asia.apachecon.com/conference/sponsor/


We look forward to seeing you in Colombo!

  --The ApacheCon Asia Organizing Team.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 

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: [RELEASE CANDIDATE] libapreq2 2.08-RC4

2006-07-21 Thread Philip M. Gollucci
Philip M. Gollucci wrote:
 Randy Kobes wrote:
 [Thu Jul 20 23:45:45 2006] [error] [client 127.0.0.1]
 (OS 80)The file exists.  :
  apreq_brigade_concat failed; TempDir problem?

 which is coming from about line 288 of
 module/apache2/filter.c. The file exists message
 I think comes from the fact that, when the test
 fails, there's old temp files left over from
 a previous run. So perhaps the cleanup discussed
 in library/util.c at around line 797 is failing
 occasionally?
You are absolutely correct. I can force duplicate on FBSD.
I changed this (dropped the ) so I could predict the temp file name
and yanked out all the tests not for tempname in t/apreq/upload.t

  rc = apr_filepath_merge(tmpl, path, apreq,
APR_FILEPATH_NOTRELATIVE, pool);

touch /tmp/apreq

t/error_log
[Fri Jul 21 04:02:42 2006] [error] [client 127.0.0.1] 
$param-upload_tempname($req): can't make spool bucket at
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/glue/perl/t/response/TestApReq/upload.pm
 line 33.

Which means
  apr_pool_cleanup_register(pool, data,
  apreq_file_cleanup, apreq_file_cleanup);

which calls apr_file_remove() which on Win32 is way out of my league :(
I'm guessing this is failing, but silently. or less likely the cleanup is 
just not being run ?

Question, are you both ASCII or UNICODE ?


-- 

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: [RELEASE CANDIDATE] libapreq2 2.08-RC4

2006-07-21 Thread Philip M. Gollucci
Philip M. Gollucci wrote:
 Philip M. Gollucci wrote:
 Randy Kobes wrote:
 Which means
   apr_pool_cleanup_register(pool, data,
   apreq_file_cleanup, apreq_file_cleanup);
 
Contrary to the comment in library/util.c
 data = apr_palloc(pool, sizeof *data);
/* cleanups are LIFO, so this one will run just after
   the cleanup set by mktemp */
apr_pool_cleanup_register(pool, data,
  apreq_file_cleanup, apreq_file_cleanup);

rc = apr_file_mktemp(fp, tmpl, /* NO APR_DELONCLOSE! see comment above */
   APR_CREATE | APR_READ | APR_WRITE
   | APR_EXCL | APR_BINARY, pool);

Win32 doesn't have mktemp, so thats not *strictly* true.

FYI,
http://svn.apache.org/viewvc/apr/apr/trunk/file_io/unix/mktemp.c?r1=62405r2=62404pathrev=62405

The cleanup on Win32 was removed from apr here... I'll bet that's 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

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: [RELEASE CANDIDATE] libapreq2 2.08-RC3

2006-07-10 Thread Philip M. Gollucci
Bojan Smojver wrote:
 On Mon, 2006-07-10 at 13:27 -0700, Philip M. Gollucci wrote:
  
 3b8b52c261c72adc971b656ca77f6eab  libapreq2-2.08-RC3.tar.gz

 [EMAIL PROTECTED] /home/pgollucci/public_html/apreq2 rv=0 52 md5 
 libapreq2-2.08-RC3.tar.gz
 MD5 (libapreq2-2.08-RC3.tar.gz) = 3b8b52c261c72adc971b656ca77f6eab
 
 OK. That seems the same, so it's not a download problem on my end.
 
 You don't see similar problems when unpacking on your end, do you? BTW,
 Fedora build system (i.e. the machine I don't control, probably running
 RHEL or something like that) also whinged on unpacking and it wouldn't
 build the RPM. Build log is here:
 
 http://buildsys.fedoraproject.org/logs/fedora-development-extras/12379-libapreq2-2.08-0.rc3.1.fc6/i386/build.log
 
Works fine, I just untarred it here:
http://people.apache.org/~pgollucci/apreq/libapreq2-2.08




-- 

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: [RELEASE CANDIDATE] libapreq2 2.08-RC3

2006-07-10 Thread Philip M. Gollucci
Bojan Smojver wrote:
 Quoting Bojan Smojver [EMAIL PROTECTED]:
 
 OK. I'm off to work now anyway - I'll try unpacking on machines there.
 
 Works on Solaris Sparc and RHEL4 x86_64, doesn't on Fedora Core 5
 x86_64/i386. Go figure...
Its not I did something differnt from previous releases

gmake release.
scp ball.tar.gz apache.org:

Should I roll another one or do you think its just that box ?



-- 

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: Make test failed

2006-07-08 Thread Philip M. Gollucci
Boysenberry Payne wrote:
 I'm trying to build libapreq2-2.07 on Red Hat Linux 3.2.3-42,
 Apache/2.0.46, perl v5.8.0 built for i386-linux-thread-multi,
2.0.48 is a minium version. Please read the CHANGES file. I strongly suggest 
upgrading
_ALL_ that software its ancient.

How did you get past the version check of this ?

Also, if you are using gcc 4.x you'll need to add -fno-strict-aliases
which will be in 2.08 and I'm rolling 2.08-RC3 right this second.

-- 

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] libapreq2 2.08-RC3

2006-07-08 Thread Philip M. Gollucci
Please download, test, and VOTE  on the following
candidate tarball:

http://people.apache.org/~pgollucci/apreq2/libapreq2-2.08-RC3.tar.gz

(major) Changes from RC2:
http://svn.apache.org/viewvc?rev=419346view=rev
  add -fno-strict-aliasing to work around gcc 4.x issues relating to 
APR_{RING|BRIGADE}_* macros
  mostly affecting linux based platforms which caused infinite loops during one 
of the
  parser tests in the split_on_bdry() function.

http://svn.apache.org/viewvc?rev=420090view=rev
  bump automake minimum version to 1.6.1 since 1.6.0 is not obtainable from 
GNU's master site.

Minor Changes from RC2:
http://svn.apache.org/viewvc?rev=410805view=rev
  minor warnings in gcc 4.x caused from PERL macro SvUPGRADE was silenced.

http://svn.apache.org/viewvc?rev=420087view=rev
  MANIFEST.SKIP was not ignoring glue/perl/pm_to_blib thus breaking the
  release tarballs, but not svn.

http://svn.apache.org/viewvc?rev=420093view=rev
  ExtUtils::MakeMaker refused to pickup module/t/cgi-bin in release tarballs
  thus breaking module/t/test_cgi.t

DOCS PREVIEW
--
http://libapreq2.p6m7g8.net/
http://libapreq2.p6m7g8.net/link-validation.html

[Please note, this site is only a preview, and you use the apache.org site once
 2.08 has been released.]

I'd like to make the actual release around Wednesday of next week (07/12/2006)


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.


[Fwd: ApacheCon Asia 2006 CFP, second notice]

2006-07-03 Thread Philip M. Gollucci


Call for Papers for ApacheCon Asia 2006 is currently open!

ApacheCon Asia 2006 will be held at the TransAsia Hotel in Colombo, Sri Lanka,
August  14-17, 2006.


The ASF and the FOSS community — invite the Open Source community to
send in session and tutorial proposals for ApacheCon Asia 2006.
Please check the web site for details http://www.asia.apachecon.com 
http://www.asia.apachecon.com/



To submit a proposal, visit http://www.asia.apachecon.com/conference/cfp/ 
http://us.apachecon.com/cfp-form.html

The deadline for submission is July 9, 2006

- ApacheCon Asia team

---
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: Newbie: Question

2006-06-24 Thread Philip M. Gollucci

Edward L. Abrams wrote:

Hello,

I apologize for my brief intrusion on this list for a question that may 
or may not be within the boundaries of the list's purpose.  I have been 
using libapreq to do file uploads for some time.  Lately, I've noticed 
that I have memory leaks.  I don't know whether it's my newbie use of 
mostly-undocumented code, or the code itself (I favor the former!).
This is generally for developement of libapreq itself, but sometimes 
user questions are on topic.


You might try modperl (at) perl (dot) apache (dot) org

If this is the wrong place to ask what I am doing wrong in my code, 
where is the right place to ask?  The modules@ list was unresponsive, 
and I could find no other close candidate.  If this is not the wrong 
place to ask, then let me know, and I'll show you something that I 
believe you will be able to help me correct very easily.

Can you show some code ?


--

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: svn commit: r408136 - /httpd/apreq/trunk/build/version_check.pl

2006-05-21 Thread Philip M. Gollucci

I'd prefer that no version of Archive::Tar be specified
for Win32, or perhaps even no such prerequisite at all;
it's a core module in ActivePerl, and has a history
of some instability on Win32 - an upgrade may break
things on the local system.


I was trying to address this from Steven Hay's post:
- When I ran perl Makefile.PL --with-apache2=C:/apache2 I got an 
error from win32/Configure.pl about Archive-Tar being missing, but 
this is not mentioned in the PREREQUISITES file and was not checked 
by test_prereq in Makefile.PL before calling this script.


I'm fine with whatever you say is best... I'm not a MS guy.

I guess people on cygwin using the cygwin perl shouldn't be using the 
win32/Configure.pl. (I don't think Steven is)





--

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...


[RELEASE CANDIDATE] libapreq2 2.08-RC1

2006-05-18 Thread Philip M. Gollucci

Please download, test, and report back on the following
candidate tarball:

  http://people.apache.org/~pgollucci/apreq2/libapreq2-2.08-RC1.tar.gz

 Most notably, it compiles with perl 5.8.8 now.

CHANGES SINCE 2.07

- Perl Glue docs [Philip M. Gollucci]
  Fix the 'docs_install' make target to actually install
  the docs for the perl glue.

- Perl Glue Build [Philip M. Gollucci]
  Regenerate glue/perl/xsbuilder/ppport.h to fix perl 5.8.8+ on some
  plaforms.

- C API [joes]
  Add code for apreq_cookies().

- Perl API [joes]
  Expose the constants in apreq_error.h via the APR::Request::Error package.


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: [RELEASE CANDIDATE] libapreq2 2.08-RC1

2006-05-18 Thread Philip M. Gollucci

Randy Kobes wrote:

On Thu, 18 May 2006, Philip M. Gollucci wrote:


Please download, test, and report back on the following
candidate tarball:

 http://people.apache.org/~pgollucci/apreq2/libapreq2-2.08-RC1.tar.gz


Does this compile with Apache/2.2 on unix? I've been
working on 2.2 support for Win32, but will need a few
days, and am just wondering if I should rush it.
Thanks.

I don't know yet.  When I run my test matrix later tonight I'll let you know.

I know it works with 2.0.58, perl 5.8.8, mod_perl 2.0.2 on FreeBSD.
I would assume it does ?

Thats okay, it won't get released till sometime next week.





--

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...


[Fwd: Re: [RELEASE CANDIDATE] libapreq2 2.08-RC1]

2006-05-18 Thread Philip M. Gollucci

Forwarding back to the list.

--

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...
---BeginMessage---


On May 18, 2006, at 5:05 AM, Philip M. Gollucci wrote:


Please download, test, and report back on the following
candidate tarball:

  http://people.apache.org/~pgollucci/apreq2/libapreq2-2.08-RC1.tar.gz


Seems to work on
osx 10.4.6

But you probably knew that already

I tried on
freebsd 6.0 REL
but couldn't get it to work.

i got a /usr/bin/ld: cannot find -lldap
but that's probably either because I tend to only build off my ports  
tree, or because I had some weird issues with ldconfig a few months  
ago and everything got corrupted.


Sorry i'm not of more help.

//Jonathan Vanasco

|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - -

| RoadSound.com / Indie-Rock.net
| Collaborative Online Management And Syndication Tools
|- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - -



---End Message---


Re: hanging make test

2006-04-12 Thread Philip M. Gollucci

Michael Peters wrote:

I'm trying to install libapreq2 (2.07) and when I run make test it
just hangs there at the parsers test

  parsersok 1/542

Just like that for a longtime (I've let it go for 10+ minutes) at full
CPU usage.

Whats in logs/error_log ?




--

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...


[Fwd: Re: Apache 2.2 and libapreq2 2.0.7 segfault]

2006-03-30 Thread Philip M. Gollucci

Fowarding to apreq-dev list where we will review 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

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...
---BeginMessage---
On 3/30/06, Cory Omand [EMAIL PROTECTED] wrote:
 On 3/29/06, Philip M. Gollucci [EMAIL PROTECTED] wrote:
   Can't load 
   '/export/medusa/comand/csw/cpan/libapreq2/work/comand-ra.d/libapreq2-2.07/glue/perl/t/cgi-bin/../../blib/arch/auto/APR/Request/Request.so'
   for module APR::Request: ld.so.1: test_cgi.pl: fatal: libapreq2.so.3:
  set the LD_LIBRARY_PATH in your shell to the appropriate paths.  Thats
  strange.  This isn't your problem, but I'm hoping the test out will give me
  something to go on.  I'm having some issues looking at ndm instead of gdb.

 It turned out that thanks to libtool, the module and library tests
 were pointing to the uninstalled version of libapreq, allowing the
 tests to run normally.  However, the uninstalled glue Request.so
 module was *not* pointing anywhere useful, and could not find either
 libapreq2 or libapr/aprutil.  No matter what I did, I could not make
 the glue test suite utilize my LD_LIBRARY_PATH.  Not sure why.
 Copying the libs from library/.libs to the destination path before
 running the tests finally allowed the tests to load the library.

 Fixing the library loading issues unmasked a different set of test
 failures.  It appears that the test suite relies on 'perltoc.pod' and
 'perlport.pod' being installed.  My perl installation splits the pod
 docs out from the core perl, and other distributions may do the same.
 Perhaps relying on a pod that is required in the perl core (like
 perldiag.pod, or Config.pm) might be a better idea?

 After I installed the pod docs, all tests pass, but usage from within
 Apache still yields a segfault when creating new Request objects.  Now
 I am extremely confused.  I verified that the identical library
 versions are present on the target system, and that all shared objects
 are able to locate libapr/aprutil/apreq2.  Any ideas?

Here is an interesting fact that I did not realize until just a moment
ago.  If you declare a mod_perl 2.x handler as:

package Some::Module;

sub handler {
my $r = shift;
}

Your $r will be an instance of Apache2::RequestRec.  However, if you
declare your handler as:

package Some::Module;

sub handler :method {
my $r = shift;
}

Your $r will be an instance of Some::Module!  This is the way my test
handler was defined, which I gleaned recently from the mod_perl 2.0
docs.  I guess I didn't read far enough into the docs to realize what
':method' was doing to my argument list.

Anyway, if you pass an instance of Some::Module to the constructor of
Apache2::Request or Apache2::Cookie, apache will segfault.  I would
have expected Apache2::Request to complain to me about the object
class if I passed it an unexpected class, not a segv.  I've attached a
patch which would bail if anything but an instance of
Apache2::RequestRec is passed to Apache2::Request or Apache2::Cookie
constructors...

- C.
diff --speed-large-files --minimal -Nru libapreq2-2.07.orig/glue/perl/lib/Apache2/Cookie.pm libapreq2-2.07/glue/perl/lib/Apache2/Cookie.pm
--- libapreq2-2.07.orig/glue/perl/lib/Apache2/Cookie.pm	2006-03-30 15:38:22.190911000 -0500
+++ libapreq2-2.07/glue/perl/lib/Apache2/Cookie.pm	2006-03-30 15:36:32.507324000 -0500
@@ -13,6 +13,10 @@
 
 sub new {
 my ($class, $r, %attrs) = @_;
+die argument is not an Apache2::RequestRec object
+unless ref($r)
+and UNIVERSAL::isa($r, 'Apache2::RequestRec');
+
 my ($name)  = grep {defined} delete $attrs{name} , delete $attrs{-name};
 my ($value) = grep {defined} delete $attrs{value}, delete $attrs{-value};
 return unless defined $name and defined $value;
diff --speed-large-files --minimal -Nru libapreq2-2.07.orig/glue/perl/lib/Apache2/Request.pm libapreq2-2.07/glue/perl/lib/Apache2/Request.pm
--- libapreq2-2.07.orig/glue/perl/lib/Apache2/Request.pm	2006-03-30 15:38:22.225054000 -0500
+++ libapreq2-2.07/glue/perl/lib/Apache2/Request.pm	2006-03-30 15:37:03.251079000 -0500
@@ -12,7 +12,12 @@
 
 sub new {
 my $class = shift;
-my $req = $class-APR::Request::Apache2::handle(shift);
+my $r = shift;
+die argument is not an Apache2::RequestRec object
+unless ref($r)
+and UNIVERSAL::isa($r, 'Apache2::RequestRec');
+
+my $req = $class-APR::Request::Apache2::handle($r);
 my %attrs = @_;
 
 while (my ($k, $v) = each %attrs) {
---End Message---


build branch

2006-03-30 Thread Philip M. Gollucci

http://svn.apache.org/viewcvs.cgi/httpd/apreq/branches/apr-build-system/libapreq/

IS there a list of the goals, todos, whats been done for this.

FYI, this branch is so much cleaner its not even funny.

What was the decision on the perl aka other languages glue ?


--

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...


PLAN for 2.07 release

2006-01-02 Thread Philip M. Gollucci

1.  Finish the new layout for the httpd.apache.org/apreq site
2.  Beautify its content (some)

3.  Don't include modules/apache in the release
4.  Fix

package Apache2::Cookie::Jar;
sub cookies { Apache2::Cookie-fetch(@_) }

to comply with how its documented and add some tests for 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: PLAN for 2.07 release

2006-01-02 Thread Philip M. Gollucci

Philip M. Gollucci wrote:

3.  Don't include modules/apache in the release

Done.  See commit.


--

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



2.07 Docs and link check

2006-01-02 Thread Philip M. Gollucci

Should anyone care or find it useful, I've built a preview of the 2.07 docs:

http://libapreq2.p6m7g8.net/

and run a link checker on it:

http://libapreq2.p6m7g8.net/report.html

Patches/corrections welcome!



--

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: Apache2::Cookies - getting all names

2006-01-02 Thread Philip M. Gollucci

Joe Sschaefer wrote:
-1.  We need to fix cookies(), not fetch().  Patch cookies()
so it actually works as documented.

If I'm reading the docs for Apache2::Cookie::Jar correctly, we don't 
have function that will get alls cookies as an array we just have these 
combos:


$cookie = $j-cookies(foo);  # first foo cookie
@cookies = $j-cookies(foo); # all foo cookies
@names = $j-cookies();# all cookie names

If you add in Apache2::Cookie-fetch()

my $cookies = Apache2::Cookie-fetch($r); #
my %cookies = Apache2::Cookie-fetch($r);

Whats missing from that is

@cookies = $j-cookies() # all COOKIES (PERIOD)

which is really what I wish $j-cookies() would do instead of names.

I sort of agree with Jeff in that we should add

@names = $j-cookie_names() # all cookie names

in conjunction with the above.

I agree with not changing fetch().

And in fact, fetch would break down if you have multiple cookies of the 
same name?


..






--

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] glue/perl/t -- make sure of module2url()

2005-12-31 Thread Philip M. Gollucci


Index: big_input.t
===
--- big_input.t (revision 360198)
+++ big_input.t (working copy)
@@ -8,7 +8,8 @@
 use Apache::TestUtil;
 use Apache::TestRequest qw(GET_BODY POST_BODY);

-my $location = /TestApReq__big_input;
+my $module = 'TestApReq::big_input';
+my $location = Apache::TestRequest::module2url($module);

 my @key_len = (5, 100, 305);
 my @key_num = (5, 15, 26);
Index: inherit.t
===
--- inherit.t   (revision 360198)
+++ inherit.t   (working copy)
@@ -7,7 +7,10 @@
 use Apache::TestRequest qw(GET_BODY UPLOAD_BODY);

 plan tests = 4, have_lwp;
-my $location = /TestApReq__inherit;
+
+my $module = 'TestApReq::inherit';
+my $location = Apache::TestRequest::module2url($module);
+
 my @response = split/\r?\n/, GET_BODY($location, Cookie=apache=2);
 ok t_cmp($response[0], method = GET, inherit method);
 ok t_cmp($response[1], cookie = apache=2, inherit cookie);
Index: upload.t
===
--- upload.t(revision 360198)
+++ upload.t(working copy)
@@ -8,8 +8,10 @@
 require File::Basename;

 my $cwd = getcwd();
-my $location = /TestApReq__upload;

+my $module = 'TestApReq::upload';
+my $location = Apache::TestRequest::module2url($module);
+
 my %types = (perl = 'application/octet-stream',
  httpd = 'application/octet-stream',
  'perltoc.pod' = 'text/x-pod',
Index: request.t
===
--- request.t   (revision 360198)
+++ request.t   (working copy)
@@ -8,7 +8,9 @@

 plan tests = 18, have_lwp;

-my $location = /TestApReq__request;
+my $module = 'TestApReq::request';
+my $location = Apache::TestRequest::module2url($module);
+
 #print GET_BODY $location;

 {
Index: cookie.t
===
--- cookie.t(revision 360198)
+++ cookie.t(working copy)
@@ -10,7 +10,8 @@

 require HTTP::Cookies;

-my $location = /TestApReq__cookie;
+my $module = TestApReq::cookie;
+my $location = Apache::TestRequest::module2url($module);

 {
 my $test  = 'new';

--

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

configure.ac:22: error: possibly undefined macro: AM_PROG_LIBTOOL


 If this token and others are legitimate, please use
m4_pattern_allow.
 See the Autoconf documentation.
run? Any ideas about how to fix this? I'm running FreeBSD 5.3 and all my
tools are from the ports collection. Thanks!
 


Can you do :

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

and

env | grep -i path




Re: Apache2::Cookies - getting all names

2005-12-28 Thread Philip M. Gollucci


Jeff wrote:
  Folks,
 
  I am finding it hard to correctly interpret the Apache2::Cookie
  documentation: The docs say:
@names = $j-cookies();# all cookie names

The actual code (SVN-trunk), says this:

The final return line in sub fetch() below explains your findings.

package Apache2::Cookie::Jar;
sub cookies { Apache2::Cookie-fetch(@_) }

package Apache2::Cookie;
sub fetch {
 my $class = shift;
 my $req = shift;
 unless (defined $req) {
 my $usage = 'Usage: Apache2::Cookie-fetch($r): missing
argument $r';
 $req = eval {Apache2::RequestUtil-request} or die EOD;
$usage: attempt to fetch global Apache2::RequestUtil-request failed: [EMAIL 
PROTECTED]
EOD
 }
 $req = APR::Request::Apache2-handle($req)
 unless $req-isa(APR::Request);

 my $jar = $req-jar or return;
 $jar-cookie_class(__PACKAGE__);
 return $jar-get(shift) if @_;
 return wantarray ? %$jar : $jar;
}

 Given:
 
   my $jar   =  Apache2::Cookie::Jar-new( $r ); # get the jar
   my @names = $jar-cookies();  # all cookie names
 
 Why does @names contain values that are not cookie names?
 
 I am guessing that the docs are wrong on this one.

You are correct, I'll update them:
[Move this disccustion to apreq-dev (at) perl (dot) apache (dot) org  CC'ed]

How about like so?

Index: Cookie.pm
===
--- Cookie.pm   (revision 359541)
+++ Cookie.pm   (working copy)
@@ -191,14 +191,14 @@
  internal Icookies table in Capreq_jar_t, so their impact will
  be noticed by all libapreq2 applications during this request.

-In list context C $jar-cookies()  returns the list of names
+In list context C $jar-cookies()  returns the list of cookies
  for all the cookies in the jar.  The order corresponds to the
  order in which the cookies appeared in the incoming Cookie header.

  This method will throw an C APR::Request::Error  object into $@ if
  the returned value(s) could be unreliable.  In particular, note that
  C scalar $jar-cookies(foo)  will not croak if it can locate
-the a foo cookie within the jar's parsed cookie table, even if the
+a foo cookie within the jar's parsed cookie table, even if the
  cookie parser has failed (the cookies are parsed in the same order
  as they appeared in the Cookie header). In all other circumstances
  Ccookies will croak if the parser failed to successfully parse the
@@ -209,11 +209,12 @@

  $cookie = $j-cookies(foo);  # first foo cookie
  @cookies = $j-cookies(foo); # all foo cookies
-@names = $j-cookies();# all cookie names
+@names = $j-cookies();# all cookies
+$hashref = $j-cookies();  # hashref keyed on cookie name
+   # of all cookies



-
  =head2 status

  $jar-status()

Convesly, we could patch the code instead of the docs to make it do what
the docs said originally ?
Index: Cookie.pm
===
--- Cookie.pm   (revision 359541)
+++ Cookie.pm   (working copy)
@@ -40,7 +40,7 @@
  my $jar = $req-jar or return;
  $jar-cookie_class(__PACKAGE__);
  return $jar-get(shift) if @_;
-return wantarray ? %$jar : $jar;
+return wantarray ? keys %$jar : $jar;
  }

I'm betting the code change is what we want here.
--

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: doxygen [ALL AS 1]

2005-12-17 Thread Philip M. Gollucci

(gmake docs  stdout) | grep -i apreq
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/5.8.7_svn_prefork/include/apreq.h:239: 
Warning: Member apreq_attr_to_type(T, A, P) of file apreq.h is not 
documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/5.8.7_svn_prefork/include/apreq_error.h:43: 
Warning: Member APR_EBADARG of file apreq_error.h is not documented.


Full patch attached




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.comIndex: include/apreq_version.h
===
--- include/apreq_version.h (revision 357313)
+++ include/apreq_version.h (working copy)
@@ -61,7 +61,7 @@
 #define APREQ_MINOR_VERSION   5
 
 /** patch level */
-#define APREQ_PATCH_VERSION   6
+#define APREQ_PATCH_VERSION   7
 
 /**
  *  This symbol is defined for internal, development copies of libapreq.
Index: include/apreq.h
===
--- include/apreq.h (revision 357313)
+++ include/apreq.h (working copy)
@@ -37,8 +37,38 @@
  */
 
 #ifndef WIN32
+/**
+ * The public APREQ functions are declared with APREQ_DECLARE(), so they may
+ * use the most appropriate calling convention.  Public APR functions with 
+ * variable arguments must use APR_DECLARE_NONSTD().
+ *
+ * @remark Both the declaration and implementations must use the same macro.
+ * @example
+ */
+/** APREQ_DECLARE(rettype) apeq_func(args)
+ */
 #define APREQ_DECLARE(d)APR_DECLARE(d)
+/**
+ * The public APEQ functions using variable arguments are declared with 
+ * APEQ_DECLARE_NONSTD(), as they must follow the C language calling 
convention.
+ * @see APEQ_DECLARE @see APEQ_DECLARE_DATA
+ * @remark Both the declaration and implementations must use the same macro.
+ * @example
+ */
+/** APEQ_DECLARE_NONSTD(rettype) apr_func(args, ...);
+ */
 #define APREQ_DECLARE_NONSTD(d) APR_DECLARE_NONSTD(d)
+/**
+ * The public APREQ variables are declared with APREQ_DECLARE_DATA.
+ * This assures the appropriate indirection is invoked at compile time.
+ * @see APREQ_DECLARE @see APREQ_DECLARE_NONSTD
+ * @remark Note that the declaration and implementations use different forms,
+ * but both must include the macro.
+ * @example
+ */
+/** extern APREQ_DECLARE_DATA type apr_variable;\n
+ * APREQ_DECLARE_DATA type apr_variable = value;
+ */
 #define APREQ_DECLARE_DATA
 #else
 #define APREQ_DECLARE(type) __declspec(dllexport) type __stdcall
@@ -46,31 +76,109 @@
 #define APREQ_DECLARE_DATA  __declspec(dllexport)
 #endif
 
+/**
+ * Read chucks of data in 64k blocks from the request 
+ */
+
 #define APREQ_DEFAULT_READ_BLOCK_SIZE   (64  * 1024)
+
+/**
+ * Maximum number of bytes mod_apreq2 will send off to libapreq2 for parsing. 
+ * mod_apreq2 will log this event and subsequently remove itself 
+ * from the filter chain.  
+ * @see ap_set_read_limit  
+ */
 #define APREQ_DEFAULT_READ_LIMIT(64 * 1024 * 1024)
+/**
+ * Maximum number of bytes mod_apreq2 will let accumulate within the 
+ * heap-buckets in a brigade. Excess data will be spooled to an 
+ * appended file bucket
+ * @see ap_set_brigade_read_limit
+ */
 #define APREQ_DEFAULT_BRIGADE_LIMIT (256 * 1024)
+
+/**
+ * Number of elements in the initial apr_table
+ * @see apr_table_make
+ */
 #define APREQ_DEFAULT_NELTS  8
 
 
 
+/**
+ * Check to see if specified bit f is off in bitfiled name
+ */
 #define APREQ_FLAGS_OFF(f, name) ((f) = ~(name##_MASK  name##_BIT))
+/**
+ * Check to see if specified bit f is on in bitfiled name
+ */
 #define APREQ_FLAGS_ON(f, name)  ((f) |=  (name##_MASK  name##_BIT))
+/**
+ *  Get specified bit f in bitfiled name
+ */
 #define APREQ_FLAGS_GET(f, name) (((f)  name##_BIT)  name##_MASK)
+/**
+ * Set specified bit f in bitfiled name to value 
+ * Note the below BIT/Mask defines are used sans the
+ * _BIT, _MASK because of the this define's ##_MASK, ##_BIT usage.
+ * Each come in a pair
+ */
 #define APREQ_FLAGS_SET(f, name, value) \
 ((f) = (((f)  ~(name##_MASK  name##_BIT))\
 | ((name##_MASK  (value))  name##_BIT)))
 
+/**
+ * Charset Bit 
+ * @see APREQ_FLAGS_OFF @see APREQ_FLAGS_ON
+ * @see APREQ_FLAGS_GET @see APREQ_FLAGS_SET
+ */
+#define APREQ_CHARSET_BIT   0
 
-#define APREQ_CHARSET_BIT   0
+/**
+ * Charset Mask
+ * @see APREQ_FLAGS_OFF @see APREQ_FLAGS_ON
+ * @see APREQ_FLAGS_GET @see APREQ_FLAGS_SET
+ */
 #define APREQ_CHARSET_MASK255
 
+/**
+ * Tainted Bit 
+ * @see APREQ_FLAGS_OFF @see

doxygen

2005-12-13 Thread Philip M. Gollucci

Is it worth fixing these ?
usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:40: 
Warning: Member APREQ_DECLARE(d) of file apreq.h is not documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:41: 
Warning: Member APREQ_DECLARE_NONSTD(d) of file apreq.h is not documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:42: 
Warning: Member APREQ_DECLARE_DATA of file apreq.h is not documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:49: 
Warning: Member APREQ_DEFAULT_READ_BLOCK_SIZE of file apreq.h is not 
documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:50: 
Warning: Member APREQ_DEFAULT_READ_LIMIT of file apreq.h is not 
documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:51: 
Warning: Member APREQ_DEFAULT_BRIGADE_LIMIT of file apreq.h is not 
documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:52: 
Warning: Member APREQ_DEFAULT_NELTS of file apreq.h is not documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:56: 
Warning: Member APREQ_FLAGS_OFF(f, name) of file apreq.h is not 
documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:57: 
Warning: Member APREQ_FLAGS_ON(f, name) of file apreq.h is not documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:58: 
Warning: Member APREQ_FLAGS_GET(f, name) of file apreq.h is not 
documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:61: 
Warning: Member APREQ_FLAGS_SET(f, name, value) of file apreq.h is not 
documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:64: 
Warning: Member APREQ_CHARSET_BIT of file apreq.h is not documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:65: 
Warning: Member APREQ_CHARSET_MASK of file apreq.h is not documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:67: 
Warning: Member APREQ_TAINTED_BIT of file apreq.h is not documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:68: 
Warning: Member APREQ_TAINTED_MASK of file apreq.h is not documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:70: 
Warning: Member APREQ_COOKIE_VERSION_BIT of file apreq.h is not 
documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:71: 
Warning: Member APREQ_COOKIE_VERSION_MASK of file apreq.h is not 
documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:73: 
Warning: Member APREQ_COOKIE_SECURE_BIT of file apreq.h is not documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:74: 
Warning: Member APREQ_COOKIE_SECURE_MASK of file apreq.h is not 
documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:119: 
Warning: Member apreq_attr_to_type(T, A, P) of file apreq.h is not 
documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq.h:115: 
Warning: Member apreq_value_table_add(const apreq_value_t *v, apr_table_t 
*t) of file apreq.h is not documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/include/apreq_error.h:43: 
Warning: Member APR_EBADARG of file apreq_error.h is not documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/module/apache2/apreq_module_apache2.h:142: 
Warning: Member APREQ_FILTER_NAME of group mod_apreq2 is not documented.
/usr/home/pgollucci/dev/repos/asf/httpd/apreq/trunk/module/apache2/apreq_module_apache2.h:143: 
Warning: Member APREQ_APACHE2_MMN of group mod_apreq2 is not documented.





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



libapreq2 version

2005-12-12 Thread Philip M. Gollucci

Can someome tell me why the libapreq version in SVN at current shows up as
2.5.6 ?

in the configure output:
libapreq2 Version: 2.5.6



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: Assertion failed

2005-12-12 Thread Philip M. Gollucci



I am porting some code to 2.06 and came across this:

I believe this will work in SVN aka 2.0.7 tobe

As I'm looking at apreq, I'll tr to duplicate it tonightish.
If you happen to be at AC, you can come find me.
  [Mon Dec 12 15:13:26 2005] [error] [client 127.0.0.1] Assertion 
((RETVAL)-sv_flags

   0xff) = SVt_PV failed: file Request.xs, line 58 at
  /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi/Apache2/Cookie.pm 
line 59.

  \n, referer: http://test.example.com/


Re: Assertion failed

2005-12-12 Thread Philip M. Gollucci

I am porting some code to 2.06 and came across this:

I believe this will work in SVN aka 2.0.7 tobe

As joes tells me on irc, I was correct,

This change:
joes - Perl API [joes]
joes   encode()/decode() were busted with zero-length args.  This caused
joes   Apache2::Cookie::new() to segfault on cookie value of .
joes fixed in 2.07

See the CHANGES file

HTH



Re: How to use Apache2::Upload

2005-11-11 Thread Philip M. Gollucci

In the Apache2::Upload doc it gives the following example:

I would recommend that you check out:

http://httpd.apache.org/apreq/docs/libapreq2/group__apreq__xs__apr__request__cookie.html

instead ... Apache2::Cookie was just let in for back compat and we don't 
generally recommend it anymore.



--
--
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: How to use Apache2::Upload

2005-11-11 Thread Philip M. Gollucci

Boysenberry Payne wrote:

Also, are there equivalents to:

$CGI::DISABLE_UPLOADS
and
$CGI::POST_MAX
???

http://httpd.apache.org/apreq/docs/libapreq2/group__apreq__xs__apr__request.html

Look for
$req-disable_uploads()

and

$req-read_limit($set)

Respectively.

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: towards a 2.07 release

2005-11-09 Thread Philip M. Gollucci

Joe Schaefer wrote:
1) leave things as-is, which allows the cpan client to sift through 
the generated Makefile in order to pursue unsatisfied prereqs,


or 


2) change back the warn calls to die, which will confuse the cpan client,
but will allow human users to figure out exactly what needs to be done
in order for the build to continue.


I think Stas and I both were forgetting #1 unless I just don't recall it.

Could we not distrubute a dummy Makefile that's gets overwritten by Makefile.PL
and this dummy makefile does nothing other then have dependency information for 
CPAN?

Assuming, the above is a bad idea, [I don't like it]

Do not more users install libapreq (v2 at least) manually?

2 is inconvient for CPAN, but failsafe -- at least when it does fail, you'll 
get a real error.
You get some rather interesting failures if say mod_perl2.pm wasn't installed.

So if I'm force to choose, I vote #2.


HTH

I still owe Makefile.PL work and INSTALL static build updating...
If I just had time...





--
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



  1   2   >