Package: libapreq2 Version: 2.08 Revision: 1 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 Homepage: http://httpd.apache.org/apreq/ # Does not use any C++ symbols BuildDepends: apr-ssl | apr, apr-ssl-common | apr-common, openldap23-dev, libiconv-dev, cyrus-sasl2-dev (>= 2.1.21-1), gdbm3, expat (>= 1.95.3-1), db43-ssl | db43, apache2-ssl-dev | apache2-dev Depends: %N-shlibs (= %v-%r) BuildDependsOnly: true Source: mirror:apache:httpd/libapreq/libapreq2-%v.tar.gz Source-MD5: 9fb3deec448f74c455d4ffc13846ea9f # Test is broken (buffer overrun) Patch: %n.patch PatchScript: << #!/bin/sh -ev # 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: << The perl APIs Apache::Request and Apache::Cookie are available in the packages libapreq2-pm581, libapreq2-pm584, libapreq2-pm586. << ConfigureParams: --disable-perl-glue --with-apache2-apxs=%p/sbin/apxs --with-apr-config=%p/bin/apr-config --with-apu-config=%p/bin/apu-config --disable-dependency-tracking CompileScript: << ./configure %c make make test << InstallScript: << #!/bin/sh -ev make install DESTDIR=%d << SplitOff: << Package: %N-shlibs Files: lib/libapreq2.*.dylib Depends: apr-ssl-shlibs | apr-shlibs DocFiles: LICENSE Shlibs: %p/lib/libapreq2.2.dylib 8.0.0 %n (>= 2.07-1) << SplitOff2: << Package: libapache2-mod-apreq2 Files: lib/apache2/modules/mod_apreq2.so Depends: apache2-ssl | apache2, %N-shlibs (= %v-%r) DocFiles: LICENSE PostInstScript: << APXS=%p/sbin/apxs MOD_PREFIX=`$APXS -q LIBEXECDIR` MODULENAME=apreq2 MODULE=$MOD_PREFIX/mod_$MODULENAME.so echo "Enabling mod_$MODULENAME module..." $APXS -e -a -n apreq $MODULE if test `ps -U www | grep -c %p/sbin/httpd` -ge 1; then echo "Restarting apache2..." %p/sbin/apachectl graceful fi << PreRmScript: << APXS=%p/sbin/apxs MOD_PREFIX=`$APXS -q LIBEXECDIR` MODULENAME=apreq2 MODULE=$MOD_PREFIX/mod_$MODULENAME.so echo "Disabling mod_$MODULENAME module..." $APXS -e -A -n apreq $MODULE if test `ps -U www | grep -c %p/sbin/httpd` -ge 1; then echo "Restarting apache2..." %p/sbin/apachectl graceful fi << <<