These modules are supposed to be used with the Apache server together
with an embedded perl interpreter like mod_perl. They provide support
for basic authentication and authorization as well as support for
persistent database connections via Perl's Database Independent
Interface (DBI).
o AuthDBI.pm provides authentication and authorization:
- optional shared cache for passwords to minimize database load -
configurable cleanup-handler deletes outdated entries from the cache
o DBI.pm provides persistent database connections:
- connections can be established during server-startup - configurable
rollback to ensure data integrity - configurable verification of the
connections to avoid time-outs.
Mk/Uses/apache.mk: Refactor after removal of older versions
apache22 and apache25 had been removed a long time ago however the
apache.mk file has never been refactored and is out of sync from the
file Mk/bsd.default-versions.mk. These changes refactors the removals of
the older versions. In addition:
- Move some keywords like USE_APACHE, USE_APACHE_BUILD, USE_APACHE_RUN
from SANITY_DEPRECATED to SANITY_UNSUPPORTED
- Remove apache versions from ports Makefiles as currently there is only
one available version in the tree. However the version checks are
still valid and should work flawlessly whenever a new version is
added. For example USES=apache:2.2+ are simply replaced with
USES=apache. As currently there are no other versions available for
test this could not be checked on it's own ground.
- Update FOO_USE=APACHE=yes to FOO_USES=apache
- Remove trailing whitespaces
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D38113
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
www: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
*
* <hvo.pm@xs4all.nl>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron LI <aly@aaronly.me>
* Aaron Zauner <az_mail@gmx.at>
* Abel Chow <achow@transoft.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Adrian Steinmann <ast@marabu.ch>
* Akinori MUSHA aka knu <knu@idaemons.org>
(Only the first 15 lines of the commit message are shown above )
Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.
Approved by: portmgr (adamw)
Remove libpcre.so.3 compatibility link that was added in r374303 to
prevent massive PORTREVISION bumps. Bump dependent ports that have not
been bumped since.
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above )
Now where apache13 is gone, we need only on port for p5-Apache-DBI.
- first step is to make the port standalone (no sub-ports)
- second step is to adjust all ports and remove p5-Apache-DBI-mp2
with hat apache@
- Update to 1.10
- Use PLIST_DIRSTRY: other p5-Apache-* also require %%SITE_PERL%%/Apache and
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache
- Space/Tab twiddle
Changes: http://search.cpan.org/dist/Apache-DBI/Changes
DEPENDS_ARGS doesn't work with packages and even if it did
WITH_MODPERL2 / WITH_MODPERL is not handled correctly so the depency list for
upcomming www/rt38 is way off.
As such, we've split this port into MASTER (www/p5-Apache-DBI) and
SLAVES (www/p5-Apache-DBI-mp1) and (www/p5-Apache-DBI-mp2).
While here, cleanup the MASTER port a little
- spell out the RUN_DEPENDS
- remove USE_APACHE and let www/mod_perl* deal with it
- pull the plist into Makefile
Bump PORTREVISION
Discussed with: pav on #bsdports
Approved by: gabor (mentor)
- Take advantage of CPAN macro from bsd.sites.mk, change
${MASTER_SITE_PERL_CPAN} to CPAN.
PR: ports/122674
Submitted by: Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by: araujo (myself)
Approved by: portmgr (pav)
- Update to 1.06, security update
- Previously $Apache::AuthDBI::DEBUG = 0 was broken so that
logging was effectively ALWAYS on in function debug().
This will also log passwords with no way to turn this off.
PR: ports/110789
Submitted by: maintainer (Philip M. Gollucci)
* fix distfiles fetching - change MASTER_SITE_SUBDIR
(note that correct distfile has different size and checksum)
* simplify RUN_DEPENDS if WITH_MODPERL2 is defined
PR: ports/98274
Submitted by: skv
Approced by: maintainer
- update to 1.00
- This release of Apache-DBI fixes some serious/crtical bugs under mod_perl2.
PR: ports/98081
Submitted by: maintainer (Philip M. Gollucci)
Update search.cpan.org WWW: entries to have a trailing slash.
Change some URLs from author dirs to dist dirs.
The example in the porter's handbook didn't have the trailing slash;
mea culpa for not having caught that when it went in.
Force www/p5-Apache-DBI to work with www/apache22
PR: ports/91526
Submitted by: Paul Dlug <paul@aps.org>
Approved by: Philip M. Gollucci <pgollucci@p6m7g8.com> (maintainer), garga
(mentor)
Update www/p5-Apache-DBI 0.94 -> 0.98, request maintainership
As I'm "maintaining" this port in the mod_perl community,
take maintainership. Update this to 0.98 which also unbreaks
AuthDBI.pm for mp2 post RC5. MY patch is sitting in files.
This also adds some encryption options
PR: ports/83980
Submitted by: Philip M. Gollucci <pgollucci@vegeta.p6m7g8.net>
Approved by: maintainer timeout
Conditionalise dependencies on databases/p5-DBI: for perl
5.005_03 use databases/p5-DBI-137 as newer versions do not
support the old perl.
Note that for some port, I merely removed the explicit
dependency as they already have implicit dependencies
via other ports.
Approved by: portmgr (marcus)
Lots and lots of cleanups. Teach p5-* in general about PKGNAMEPREFIX. Add
some missing/wrong dependencies. Show how to respect CC/CFLAGS. Many
miscellaneous modifications. I used more excessive hacks to force p5-Jcode
and p5-WWW-Search to respect CC/CFLAGS.