Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19593/web

Added Files:
        libapreq2-pm.info libapreq2.info mod-perl2-pm.info 
Log Message:
adding mod-perl2

--- NEW FILE: libapreq2-pm.info ---
Info2: <<
Package: libapreq2-pm%type_pkg[perl]
Version: 2.07
Revision: 1000
Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
DocFiles: Changes FAQ.pod INSTALL LICENSE MANIFEST META.yml NOTICE 
PREREQUISITES README STATUS
Description: Perl modules for libapreq2
DescDetail: <<
The perl APIs Apache::Request and Apache::Cookie are the
lightweight mod_perl analogs of the CGI and CGI::Cookie perl modules
of libapreq2.
<<
License: OSI-Approved
Maintainer: Dave Vasilevsky <[EMAIL PROTECTED]>
Homepage: http://httpd.apache.org/apreq/
UpdatePOD: true

Type: perl (5.8.1 5.8.4 5.8.6)

BuildDepends: fink (>= 0.20.3), extutils-xsbuilder-pm, libapreq2 (>= %v-%r), 
mod-perl2-pm%type_pkg[perl]-dev (>= 2.0.2-1000), apr-ssl (>= 0.9.7-1011) | apr 
(>= 0.9.7-1011), openldap23-dev, libiconv-dev, cyrus-sasl2-dev (>= 2.1.21-1), 
gdbm3, expat (>= 1.95.3-1), db43-ssl (>= 4.3.29-1001) | db43 (>= 4.3.29-1001), 
apache2-ssl-dev (>= 2.0.55-1010) | apache2-dev (>= 2.0.55-1010)
Depends: perl%type_pkg[perl]-core, mod-perl2-pm%type_pkg[perl] (>= 2.0.2-1000), 
libapreq2-shlibs (>= %v-%r)

Source: mirror:apache:httpd/libapreq/libapreq2-%v.tar.gz
Source-MD5: 6f2e5e4a14e8b190dead0fe91fc13080

PatchScript: <<
        #!/bin/sh -ev
        
        # We only want the glue
        perl -i -pe 's,^(SUBDIRS\s*=.*),SUBDIRS = glue,' Makefile.in
        
        # libap2req is already installed, so use it
        perl -i -pe 's,\$base_dir/(apreq2-config),$1,' glue/perl/Makefile.PL
<<

CompileScript: <<
        #!/bin/sh -ev
        
        # Need full path to perl
        PERL=`which perl%type_raw[perl]`
        
        # Put arch in $archname
        eval `perl%type_raw[perl] -V:archname`
        
        # Need to pass apxs location, MakeMaker opts
        ./configure --prefix=%p --enable-perl-glue \
                --with-mm-opts="PERL=$PERL PREFIX=%p \
                        INSTALLPRIVLIB=%p/lib/perl5/%type_raw[perl] \
                        INSTALLARCHLIB=%p/lib/perl5/%type_raw[perl]/$archname \
                        INSTALLSITELIB=%p/lib/perl5/%type_raw[perl] \
                        INSTALLSITEARCH=%p/lib/perl5/%type_raw[perl]/$archname \
                        INSTALLMAN1DIR=%p/lib/perl5/%type_raw[perl]/man/man1 \
                        INSTALLMAN3DIR=%p/lib/perl5/%type_raw[perl]/man/man3 \
                        
INSTALLSITEMAN1DIR=%p/lib/perl5/%type_raw[perl]/man/man1 \
                        
INSTALLSITEMAN3DIR=%p/lib/perl5/%type_raw[perl]/man/man3 \
                        INSTALLBIN=%p/bin INSTALLSITEBIN=%p/bin 
INSTALLSCRIPT=%p/bin" \
                --with-apache2-apxs=%p/sbin/apxs --with-perl=$PERL
        
        make    
<<

InstallScript: <<
        #!/bin/sh -ev
        make install DESTDIR=%d
        rm -r %i/bin # He says they've already got one!
<<
<<

--- NEW FILE: libapreq2.info ---
Package: libapreq2
Version: 2.07
Revision: 1000
DocFiles: Changes FAQ.pod INSTALL LICENSE MANIFEST META.yml NOTICE 
PREREQUISITES README STATUS
Description: Library for parsing HTTP data
License: OSI-Approved
Maintainer: Dave Vasilevsky <[EMAIL PROTECTED]>
Homepage: http://httpd.apache.org/apreq/

# Does not use any C++ symbols
BuildDepends: apr-ssl (>= 0.9.7-1011) | apr (>= 0.9.7-1011), openldap23-dev, 
libiconv-dev, cyrus-sasl2-dev (>= 2.1.21-1), gdbm3, expat (>= 1.95.3-1), 
db43-ssl (>= 4.3.29-1001) | db43 (>= 4.3.29-1001), apache2-ssl-dev (>= 
2.0.55-1010) | apache2-dev (>= 2.0.55-1010)
Depends: %N-shlibs (= %v-%r)
BuildDependsOnly: true

Source: mirror:apache:httpd/libapreq/libapreq2-%v.tar.gz
Source-MD5: 6f2e5e4a14e8b190dead0fe91fc13080

PatchScript: <<
        #!/bin/sh -ev
        
        # Tests break with optimization
        perl -i -pe 's/^(CFLAGS\s*=.*)/$1 -O0/' library/t/Makefile.in
        
        # Don't test the module. It requires mod-perl2-pm5*, and we don't want 
to
        # force any particular variant of it.
        perl -i -pe 's/^(test:.*)module_test/$1/' Makefile.in
<<
DescPackaging: <<
User may see an error about missing Apache::Test, it's harmless.
<<
DescDetail: <<
libapreq is a safe, standards-compliant, high-performance library 
used for parsing HTTP cookies, query-strings and POST data.  The 
original version (libapreq-1.X) was designed by Lincoln Stein and Doug 
MacEachern.
<<
DescUsage: <<
To enable mod_apreq, run as root:
  
  apxs -a -e -n apreq %p/lib/apache2/modules/mod_apreq2.so

Use -A instead of -a to disable it.

The perl APIs Apache::Request and Apache::Cookie are available in the packages
libapreq2-pm581, libapreq2-pm584, libapreq2-pm586.
<<

ConfigureParams: --disable-perl-glue
CompileScript: <<
        ./configure %c
        make
        make test
<<
InstallScript: make install DESTDIR=%d

SplitOff: <<
        Package: %N-shlibs
        Files: lib/libapreq2.*.dylib
        Depends: apr-ssl-shlibs (>= 0.9.7-1011) | apr-shlibs (>= 0.9.7-1011)
        DocFiles: LICENSE
        Shlibs: %p/lib/libapreq2.2.dylib 8.0.0 %n (>= 2.07-1000)
<<
SplitOff2: <<
        Package: libapache2-mod-apreq2
        Files: lib/apache2/modules/mod_apreq2.so
        Depends: apache2-ssl (>= 2.0.55-1010) | apache2 (>= 2.0.55-1010), 
%N-shlibs (= %v-%r)
        DocFiles: LICENSE
        
        PostInstScript: <<
                echo "To enable mod_apreq, run the following command as root:"
                echo "  apxs -a -e -n apreq 
%p/lib/apache2/modules/mod_apreq2.so"
        <<
        PreRmScript: <<
                if [ $1 = "remove" ]; then
                        echo "Automatically disabling mod_apreq!"
                        apxs -A -e -n apreq %p/lib/apache2/modules/mod_apreq2.so
                fi
        <<
<<

--- NEW FILE: mod-perl2-pm.info ---
Info2: <<
Package: mod-perl2-pm%type_pkg[perl]
Version: 2.0.2
Revision: 1000
Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
DocFiles: BRANCHING Changes INSTALL MANIFEST META.yml README README-SVN RELEASE 
STATUS SVN-MOVE
Description: Embed perl in Apache 2
License: OSI-Approved
Maintainer: Dave Vasilevsky <[EMAIL PROTECTED]>
Homepage: http://perl.apache.org
UpdatePOD: true

Type: perl (5.8.1 5.8.4 5.8.6)

BuildDepends: fink (>= 0.20.3), apache2-ssl-dev (>= 2.0.55-1010) | apache2-dev 
(>= 2.0.55-1010), apr-ssl (>= 0.9.7-1011) | apr (>= 0.9.7-1011), 
openldap23-dev, libiconv-dev, cyrus-sasl2-dev (>= 2.1.21-1), gdbm3, expat (>= 
1.95.3-1), db43-ssl (>= 4.3.29-1001) | db43 (>= 4.3.29-1001)

# The main splitoff isn't much good without the module, but we let it install
# separately anyhow so that different pm5* don't conflict. It would suck if
# -dev depended on conflicting pm5* packages.
Depends: perl%type_pkg[perl]-core, apache2-ssl (>= 2.0.55-1010) | apache2 (>= 
2.0.55-1010)

Source: mirror:apache:perl/mod_perl-%v.tar.gz
Source-MD5: ad0a509fd34e3b8452887d80a1d45dea

PatchScript: <<
        #!/bin/sh -ev
        
        # Need full path to perl
        PERL=`which perl%type_raw[perl]`
        
        # Perl's PERLPATH isn't quite right, need to replace it with the right 
one
        perl -i -pe "s|sub perl_config\b|sub perl_config_perlpath{'$PERL'}\$&|" 
lib/Apache2/Build.pm
<<

CompileScript: <<
        #!/bin/sh -ev
        
        # Need full path to perl
        PERL=`which perl%type_raw[perl]`
        
        # Put arch in $archname
        eval `perl%type_raw[perl] -V:archname`
        
        # Need to pass apxs location
        perl%type_raw[perl] Makefile.PL PERL="$PERL" PREFIX=%p \
                INSTALLPRIVLIB=%p/lib/perl5/%type_raw[perl] \
                INSTALLARCHLIB=%p/lib/perl5/%type_raw[perl]/$archname \
                INSTALLSITELIB=%p/lib/perl5/%type_raw[perl] \
                INSTALLSITEARCH=%p/lib/perl5/%type_raw[perl]/$archname \
                INSTALLMAN1DIR=%p/lib/perl5/%type_raw[perl]/man/man1 \
                INSTALLMAN3DIR=%p/lib/perl5/%type_raw[perl]/man/man3 \
                INSTALLSITEMAN1DIR=%p/lib/perl5/%type_raw[perl]/man/man1 \
                INSTALLSITEMAN3DIR=%p/lib/perl5/%type_raw[perl]/man/man3 \
                INSTALLBIN=%p/bin INSTALLSITEBIN=%p/bin INSTALLSCRIPT=%p/bin \
                MP_APXS=%p/sbin/apxs
        
        make
        
        # Don't test, the tests apparently try to use the system's httpd.conf
        # make test
<<

InstallScript: <<
        #!/bin/sh -ev
        eval `perl%type_raw[perl] -V:archname`
        
        # Specify install dirs for includes, module
        # Also put man pages in versioned dir
        make install \
                INSTALLPRIVLIB=%i/lib/perl5/%type_raw[perl] \
                INSTALLARCHLIB=%i/lib/perl5/%type_raw[perl]/$archname \
                INSTALLSITELIB=%i/lib/perl5/%type_raw[perl] \
                INSTALLSITEARCH=%i/lib/perl5/%type_raw[perl]/$archname \
                INSTALLMAN1DIR=%i/lib/perl5/%type_raw[perl]/man/man1 \
                INSTALLMAN3DIR=%i/lib/perl5/%type_raw[perl]/man/man3 \
                INSTALLSITEMAN1DIR=%i/lib/perl5/%type_raw[perl]/man/man1 \
                INSTALLSITEMAN3DIR=%i/lib/perl5/%type_raw[perl]/man/man3 \
                INSTALLBIN=%i/bin INSTALLSITEBIN=%i/bin INSTALLSCRIPT=%i/bin \
                MODPERL_AP_INCLUDEDIR=%i/include/apache2 \
                MODPERL_AP_LIBEXECDIR=%i/lib/apache2/modules
<<

DescDetail: <<
mod_perl 2.0 allows Apache 2.x to interact with Perl. Some of the features:
        * Accelerate CGI scripts
        * Hook into Apache requests
        * Configure Apache with perl
<<
DescUsage: <<
To enable mod_perl, run as root:
  
  apxs -a -e -n perl %p/lib/apache2/modules/mod_perl.so

Use -A instead of -a to disable it.
<<


SplitOff: <<
        Package: libapache2-mod-perl2-perl%type_pkg[perl]
        Files: lib/apache2 bin
        DocFiles: LICENSE
        Depends: mod-perl2-pm%type_pkg[perl] (= %v-%r)
        Replaces: %{ni}581, %{ni}584, %{ni}586
        Conflicts: %{ni}581, %{ni}584, %{ni}586
        PostInstScript: <<
                echo "To enable mod_perl, run the following command as root:"
                echo "  apxs -a -e -n perl %p/lib/apache2/modules/mod_perl.so"
        <<
        PreRmScript: <<
                if [ $1 = "remove" ]; then
                        echo "Automatically disabling mod_perl!"
                        apxs -A -e -n perl %p/lib/apache2/modules/mod_perl.so
                fi
        <<
<<
SplitOff2: <<
        Package: %N-dev
        Files: include
        DocFiles: LICENSE
        Depends: %N (= %v-%r)
        Replaces: %{Ni}581-dev, %{Ni}584-dev, %{Ni}586-dev
        Conflicts: %{Ni}581-dev, %{Ni}584-dev, %{Ni}586-dev
        BuildDependsOnly: true
<<
<<




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to