Commit graph

32 commits

Author SHA1 Message Date
heinz
1df07ef8e2 Added MESSAGE file in order to tell users they have to do a minimum
amount of configuration (ie, set the data directory).
Added the supplied sample files to the pkgsrc package.
This should solve PR pkg/31460 by Stefan Schumacher.

While here, added support for installation to DESTDIR and marked the
package as a pure Perl package (no compiler necessary).
2007-10-01 21:29:32 +00:00
joerg
7ac9657102 Change naming of Apache 2.2 modules to use ap22 prefix.
Allow apache22 in some more case and add a hack to devel/subversion
to determine the module by the state of the apache22 option.
This comes from www/ap2-subversion and should be fixed to properly
use build options or so.

OK agc@
2007-06-30 16:09:07 +00:00
wiz
5d4498b5fc PKGREVISION bump for db4 shlib name change. 2007-06-08 12:24:59 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
joerg
337c6b1297 Rename all PHP 4 packages to php4-*, all PHP 5 packages to php5-*,
all PEAR packages to php?-pear-* and all Apache packages to ap13-* or
ap2-* respectively. Add new variables to simplify the Makefile
handling. Add CONFLICTS on the old names. Reset revisions of bumped
packages. ap-php will now depend on the default Apache and PHP version.
All programs using it have an implicit option of the Apache version
as well.

OK from jlam@ and adrianp@.
2006-06-02 18:27:54 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
wiz
768c589c29 Bump BUILDLINK_RECOMMENDED of textproc/expat to 2.0.0 because
of the shlib major bump.
PKGREVISION++ for the dependencies.
2006-01-24 07:31:52 +00:00
cube
eb16716e0a Update to version 1.3101. Yes, this is just before the branch, but the
diff between 1.31 and 1.3101 is minimal, yet it fixes important issues
people have been reporting on e.g. the rt-users mailing list.

1.1301  August 23, 2005
    - One last fix for CGIHandler.  If you provided your own out_method it
      was ignoring it and using its own.  Reported by David Glasser.
2005-09-26 16:57:57 +00:00
tv
8ccbf749d0 Update to 1.31, to ensure compatibility with the new API in the non-alpha
release versions of ap2-perl.  Changes:

=====

An HTML version of this file, complete with links to documentation, is
available at http://www.masonhq.com/code/history.html.

** denotes an incompatible change

1.31  August 20, 2005

    [ BUG FIXES ]

    - Fix several regressions in the CGIHandler and FakeApache modules.
      Some changes from the stable branch were never merged into the trunk
      before 1.30.  Reported by Jesse Vincent.  Task id #589.

    - Under Apache2, if an ApacheHandler object was created during server
      startup and the associated Interp object created any files or
      directories, Mason would crash when attempting to chown those
      files/dirs to the uid/gid that Apache will use after forking.  Task
      #586.

    - The compiler was adding an extra block around a component's
      body, which meant that variables declared in the body (in perl lines
      or blocks) were not seen in the cleanup section.  Task id #587.

    - The compiler was also adding "no warnings 'uninitialized'" in this
      block, which could hide various errors.

    - Hopefully fix $VERSION in ApacheHandler so PAUSE will not be
      confused and think we have regressed.

    - Turned off some prompts during the module's installation.  These
      were intended to help new users configure Apache to run Mason
      components, but they're probably a bit confusing.  Will return in a
      future release as a separate script that can be run from the command
      line.

1.30  August 11, 2005

    [ INCOMPATIBLE CHANGES ]

    - ** Under mod_perl2, MasonArgsMethod will default to "CGI", since
      libapreq2 is still in development.  If you have successfully installed
      libapreq2, just set MasonArgsMethod to "mod_perl" to use it.

    [ ENHANCEMENTS ]

    - Some doc tweaks to clarify that Mason should work out of the box
      with both mod_perl 1 and 2.
    - Added "use warnings" to all modules and made sure all tests ran
      warnings-free.

    [ BUG FIXES ]

    - Silence a warning when HTML::Mason::ApacheHandler was loaded outside
      of mod_perl.
    - Support renamed Apache2::Status module.

1.29_02  June 22, 2005

    [ ENHANCEMENTS ]

    - ** Support for mod_perl-2.00 (mod_perl-1.99 is no longer supported
      because of API changes in 2.0RC5).
    - Mason recovers more gracefully from an empty or corrupted object
      file. Task id #579.

    [ BUG FIXES ]

    - Fixed bug with content type being reset when decline_dirs=0.
      Submitted by Brian Phillips. Task id #584.
    - Put "Mason" prefix back in Params.pod. Task id #575.
    - Fixed fetch_comp(undef) to not return an empty hash. Task id #578.
    - static_source_touch_file did not take effect until after one request
      for a top-level component.  Reported by Lai Zit Seng. Task id #576.

1.29_01  January 25, 2005

    [ INCOMPATIBLE CHANGES ]

    - ** Mason now requires Perl 5.6.0 or later. However, because 5.6.0
      has so many problems, it cannot be officially supported; we strongly
      recommend upgrading to at least 5.6.1.
    - ** Mason now requires version 1.24 of mod_perl in the ApacheHandler
      module.
    - ** The behaviors of $m->flush_buffer and $m->clear_buffer have been
      simplified. $m->flush_buffer only acts on the top-level output buffer;
      $m->clear_buffer clears all output buffers. Task id #554.
    - ** max_code_cache_size is now kept in terms of number of components,
      not bytes, and its default value is 'unlimited'.
    - ** Components with a <%filter> and a cache_self are no longer cached
      in their filtered state. Performance-related code simplifications made
      this behavior difficult to maintain. Long term this would be
      easier to implement with a cache_self component <%flag>.
    - ** All compiler properties are now read-only. If you need to change
      compiler properties on a per-request basis, you'll need to create
      multiple compiler and interpreter objects.
    - ** comp_exists may try to load the designated component, and may
      throw an error if it contains a syntax error.
    - ** The current_time method, deprecated in 1.1x, has been removed.
    - ** The HTML::Mason::Buffer class has been eliminated for performance
      reasons. You can use separate components, methods, or subcomponents
      and scomp to achieve the same effects as buffer pushes and pops.

    [ ENHANCEMENTS ]

    - Significantly improved performance in component execution,
      especially in static_source mode.
    - Added static_source_touch_file, making it much easier to update
      a server running in static_source mode.
    - Added a plugin architecture. Plugin classes can perform actions at
      key points, e.g. before and after each request and each component
      call.  See HTML::Mason::Plugin for documentation. Task id #24.
      Initial implementation by Doug Treder.
    - Added the ability to change component root(s) on the fly if the
      dynamic_comp_root parameter is turned on. Task id #561. Suggested
      by Alex Robinson.
    - Added enable_autoflush parameter. When turned off, Mason can
      compile components to a more efficient form.
    - Changed the </&> tag to allow the starting component name to be
      included. e.g. <&| /foo &> ... </& /foo >. Task id #556. Suggested
      by Alex Robinson, John Williams, and others.
    - Moved the notion of component roots (single and multiple) from the
      Resolver to the Interpreter. This improved the performance of multiple
      component roots in conjunction with static source mode. Any resolver,
      file-based or otherwise, can benefit from component root settings or
      choose to ignore them.
    - Added the compiler object_id to the object file path, so that
      multiple versions of Mason do not collide in the same object
      directory. Task id #569.
    - Added .obj (or a configurable extension) to object filenames.
      Task id #152. Suggested by John Tobey.
    - Added $m->clear_and_abort, syntactic sugar for the common idiom
      of calling clear_buffer() and then abort(). Task id #505.
    - Added an official comment syntax, <% # ... %>, and documented
      the various comment markers in the developer's manual. Task id #566.
    - Added buffer_preallocate_size parameter, which allows you to
      potentially reduce buffer reallocations.
    - Augmented the 'could not find component' error message with the
      current component root(s). Task id #562.

    [ BUG FIXES ]

    - Mason now throws an error if the path specified in a component's
      'inherit' flag cannot be found. Task id #480.
    - Fixed comp_exists to work with any path accepted by comp or
      fetch_comp, and fixed fetch_comp to stop throwing errors for certain
      bad paths. Task id #572.
    - Fixed $m->decline to work from /dhandler. Task id #573. Submitted
      by Carl Raiha.
    - Using 'next' or 'last' without a loop can no longer corrupt
      the component stack. Task id #539.
2005-08-22 19:03:04 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
dillo
f81ae835ad Packages have no business modifying PKG_DEFAULT_OPTIONS -- it's a
user settable variable.  Set PKG_SUGGESTED_OPTIONS instead.  Also,
make use of PKG_OPTIONS_LEGACY_VARS.

Reviewed by wiz.
2005-05-31 10:01:36 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
seb
4215f8793d Add required dependency on devel/p5-Cache-Cache.
Drop apparently unneeded dependency on databases/p5-MLDBM.

Dependency on www/p5-libapreq is only required if HTML-Mason is
intended to be used with mod_perl and apache: add 'modperl' as a
bsd.options.mk framework option and include dependency on www/p5-libapreq
as needed. Also support apache13 or apache2.

The 'modperl' option is the default.

XXX ap2-perl install Apache::Filter perl module version 0.01 and
this module wants at least version 1.021. So I do not know if the
apache2/ap2-perl setup is really supported.

Bump PKGREVISION.
2005-01-07 22:29:59 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +00:00
he
9f505121f9 Update p5-HTML-Mason from version 1.26 to 1.28.
Add dependence on p5-libapreq, as that appears to be required
to run this with mod_perl (what would otherwise be the point? ;-)


Change log:

1.28  November 6, 2004

      This version is entirely identical to 1.27 except for a fix to make
      CPAN/PAUSE properly index the version number in
      HTML::Mason::ApacheHandler.  If you already installed 1.27 you do not
      need to install this version unless you want to fix the "out of date
      modules" report from the CPAN or CPANPLUS shells.

1.27  October 28, 2004

    [ ENHANCEMENTS ]

    - Full support for Apache2/mod_perl2.

    [ BUG FIXES ]

    - The request object was not available as $m in the preamble if
      in_package was set.  Reported by David Wheeler and David Baird.  Task
      id #538.

    - Component with subcomponents or methods were not getting freed when
      they were purged from the code cache.  Task id #549.

    - Component calls (<& &>) starting with a newline were compiled
      incorrectly. Reported by Rick Delaney. Task id #564.

    - If both a parent request and subrequest had autoflush set, output
      from the subrequest wasn't actually flushed.  Reported by Tony
      Clayton.  Task id #550.

    - The documentation in HTML::Mason::Tests for the path and call_path
      parameters was wrong.  Reported by Michael Gray.  Task id #528.

    - Line numbers in errors were incorrectly reported if the error
      happened in code after an <%args>, <%attr>, or <%flags> block.
      Reported by Tony Clayton.  Task id #552.

    - The Apache handler now only sends headers once if make_request()
      aborts, such as when a redirect is executed in a
      MasonX::Interp::WithCallbacks callback.
2004-12-05 18:19:26 +00:00
cube
adfc6ba05c Update to version 1.26.
1.26  April 5, 2004

    [ BUG FIXES ]

    - The fix to make CGIHandler support flush_buffer and autoflush caused
      it to not rethrow any exceptions created during the request.  If
      error_mode was set to 'fatal', then an error would simply cause no
      output to be generated.  Task id #531.

    - A comment in the last line of a component call with content caused a
      syntax error in the compiled component.  Reported by Todd Goldenbaum.
      Task id #530.

    - The various request handling methods in CGIHandler once again return
      the value of calling the Interp object's exec() method.

    - Explicitly handle redirect statuses when an abort exception is
      thrown from the Interp object's exec() method.  This fixes some
      problems when this module was used with David Wheeler's
      MasonX::Interp::WithCallbacks module.

    - Using a <%shared> block when "in_package" was set to something other
      than HTML::Mason::Commands led to an error like "Can't call method
      "call_dynamic" on an undefined value".  Reported by David Wheeler.
      Task id #535.

1.25  December 12, 2003

    [ BUG FIXES ]

    - CGIHandler did not support $m->flush_buffer or autoflush.  Reported
      by Shane McCarron.
    - Every line in the error stacktrace had a 'g' appended to it in HTML
      error mode.
    - The HTML error display of the stacktrace was not filtering out some
      packages that it should have, so there were extra lines that made it
      harder to find the real error.
    - Several FakeApache methods were broken: path_info, uri, and
      the_request.  Reported by Matthias F. Brandstetter.

    [ ENHANCEMENTS ]

    - The CGIHandler request object now supports the autoflush parameter.
2004-08-02 09:53:32 +00:00
snj
67721bd22d Convert to buildlink3. 2004-04-27 04:59:42 +00:00
epg
e7eab1d421 Update to 1.24.
Remove patch-aa, which does not appear to be needed.
Drop p5-gdbm dependency.
Add dependencies for p5-Exception-Class>=1.14 and
p5-Class-Container>=0.10

The change log between the previous, ancient version and this is over
700 lines, and thus not included.
2003-12-06 23:04:34 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
seb
e8328761a2 Use buildlink2. Use perl5/module.mk. 2002-10-27 20:48:55 +00:00
shell
72c102beab Updated to p5-HTML-Mason-1.04
- fmt on DESCR
(p5-HTML-Mason-1.09_1 was released for test, and available from CPAN)

Changes since p5-HTML-Mason-1.03

- Fixed locale parser_version 0,8 problem. (submitted by Louis-David Mitterrand)
- Fixed inability to use '/' for comp_root. (reported by Doug Hunt)
- Fixed HTML::Mason::Parser::make_dirs dying when reload_file not defined. (reported by Ivan E. Panchenko)
- Made error_process regexps more specific. (suggested by Vadim Belman)
- Fixed $m->count. (reported by David Wheeler)
- Fixed writing of object files in taint mode. (submitted by Barrie Slaymaker)
- Made it possible to run Makefile.PL without prompts.
2002-04-17 10:46:04 +00:00
jlam
cc4128d97e Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-26 06:49:36 +00:00
zuntum
431e7a7dda Move pkg/ files into package's toplevel directory 2001-11-01 02:15:23 +00:00
veego
63ad910dee SVR4 packages have a limit of 9 chars for a package name.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-10-18 15:20:01 +00:00
mjl
445e9c7820 Update to 1.03.
- Made raw error message accessible from the new error display via
      an unobtrusive link.
    - Fixed Apache tests when started by a non-root user.
    - Added short-circuits for Apache tests on Win32 and on systems with
      Apache configurations that cannot be properly parsed.
    - Completely redesigned error display. The new display includes a
      contextual source listing and readable stacktrace. You can access the
      old error behavior with the raw_html and raw_fatal error modes.
    - Fixed $m->file to close its filehandle between uses.
    - Fixed bad interaction with Mason 1.01 and CPAN module, by adding
      version number to ApacheHandler.pm.
    - Fixed $m->top_comp to work as documented, and made documentation
    - Fixed specification of a component root as "foo => /foo"
    - Added 'use Apache.pm' to ApacheHandler.pm, necessary for some
      mod_perl installations.
    - Implemented configuration of Mason from httpd.conf via PerlSetVar
      directives.  This removes the need for a handler.pl file in many
      cases.
    - Revamped ApacheHandler tests to use a real Apache web server and
      mod_perl (assuming this is installed).  This allows for much better
      testing of Mason.  However, the test suite takes a bit longer to run
      as starting and stopping the server can take a second or two each
      time.
    - ** Fixed handling of POST requests with query strings via CGI.pm;
      the query string arguments were previously ignored, and are now merged
      with POST arguments. This is an incompatible change only for those
      whose code relied on the arguments missing.
    - Added basic validation of arguments to Parser, Interp,
      and ApacheHandler constructors.
    - Added interp->die_handler, allowing you to install your own
      subroutine as $SIG{__DIE__} to catch errors during component
      execution.  Alternately, you can simply turn the special error
      handling off.
    - Added interp->use_dhandlers and interp->use_autohandlers, more
      intuitive ways to turn on/off dhandlers and autohandlers.
    - Eliminated interp->verbose_compile_error, which is no longer needed
      and has not worked for some time.
    - Documented that you cannot call return() from a <%shared> or <%once>
      section.
    - Fixed documentation of escaped newline behavior.
    - Fixed incorrect code for using mod_perl args method in
      eg/session_handler.pl.
2001-05-22 17:24:54 +00:00
wiz
d3c112794d Add size. 2001-05-21 21:45:45 +00:00
agc
8f972b049a + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 12:12:16 +00:00
mjl
87b0c1b9b0 Initial import of p5-HTML-Mason, a Perl-based web site development
and delivery system.
2001-03-25 05:22:12 +00:00