pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/clearsilver Update to 0.9.13 and turn this into a ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f30d7333a7b
branches:  trunk
changeset: 484676:1f30d7333a7b
user:      epg <epg%pkgsrc.org@localhost>
date:      Mon Nov 29 00:08:57 2004 +0000

description:
Update to 0.9.13 and turn this into a meta-package; what was formerly
in this package has split into py-clearsilver and clearsilver-base.

Release Notes for Clearsilver 0.9.13                     11/24/2004
-------------------------------------

bugfix release
  - one incompatible change: semi-public function cgi_html_ws_strip now
    takes a second argument to set the level of stripping
  - white space stripper now has two levels: 1 is the old debug level
    (which doesn't strip whitespace at the beginning of a line) and the
    second strips all duplicate whitespace
  - make java/perl/python/ruby wrappers for CS include the html strfuncs
    (ie, filters)
  - make hdf destroy less recursive (so we don't blow the stack on
    really large data sets)

Release Notes for Clearsilver 0.9.12                     09/29/2004
-------------------------------------

bugfix release
  - fix bugs in Java wrapper and add white space stripper option
  - fix some allocation bugs in cs parser
  - add single quotes to the list of characters to escape in url_escape
  - fix core dump in find_context (hit during parse error in evar)
  - fix some operator precedence bug and some bad expression handling of
    empty strings

Release Notes for Clearsilver 0.9.11                     08/03/2004
-------------------------------------

bugfix release
  - fix bugs in Java wrapper
  - update copyright notice
  - fixes to get rid of gcc3 warnings
  - fix bug in cgi/html.c

Release Notes for Clearsilver 0.9.10                     06/02/2004
-------------------------------------

bugfix release
  - Parenthesis in the wrong place in the last patch
  - fix some memory leaks in template parsing and rendering

Release Notes for Clearsilver 0.9.9                      05/14/2004
-------------------------------------

A small release.

INCOMPATIBLE CHANGE - The convert_text_html_alloc_options()
  HTML_CONVERT_OPTS struct now has another member, link_name, which (if
  not NULL) will be used instead of the link as the title of the link
  which gets created.  If you don't zero out your HTML_CONVERT_OPTS
  struct (using either memset or calloc, for instance), you'll need to
  initialize the link_name member (probably to NULL).  Users of the
  older convert_text_html_alloc() function or the python wrapped version
  don't have to worry about this.

Also, added a ne_file_read_len() for loading binary files since it
returns the length of the loaded data.

Release Notes for Clearsilver 0.9.8                      04/22/2004
-------------------------------------

A bit more than a bugfix release, we have some new features and
abilities.

New Features
  - Internal functions in ClearSilver can now take multiple arguments.
    This includes support for the comma ',' operator in CS, which works
    like the comma operator in C.
  - added string.slice function as an example of a multiple argument
    function.
  - added string.length function to replace old len function
  - added subcount function to replace bad len function overloading
  - added gettext support from Gerald Dachs <gda at gmx.de>
  - INCOMPATIBLE CHANGE: added secure flag to cgi_cookie_set function
  - Add new allocating sprintf routines which take the char * as an
    argument and return the size of the allocated string
  - Dave added a bunch of my public python code to the python example
    code (we need to define a real package for this stuff at some point)
  - support for sqlite in odb, and various odb improvements

Bug fixes
  - gzip compression was broken, thanks to the guys at OmniWeb for
    pointing out my mistake.
  - handle redirects when using https correctly
  - handle invalid form data without erroring out (or segfaulting)

diffstat:

 www/clearsilver/DESCR            |    3 +
 www/clearsilver/Makefile         |   43 +++++------
 www/clearsilver/Makefile.common  |   30 +++++++
 www/clearsilver/PLIST            |  147 +--------------------------------------
 www/clearsilver/distinfo         |    9 +-
 www/clearsilver/patches/patch-aa |   31 ++-----
 www/clearsilver/patches/patch-ab |   14 +++
 7 files changed, 84 insertions(+), 193 deletions(-)

diffs (truncated from 316 to 300 lines):

diff -r d01e10696cf3 -r 1f30d7333a7b www/clearsilver/DESCR
--- a/www/clearsilver/DESCR     Mon Nov 29 00:08:18 2004 +0000
+++ b/www/clearsilver/DESCR     Mon Nov 29 00:08:57 2004 +0000
@@ -2,3 +2,6 @@
 system. In both static content sites and dynamic HTML applications,
 it provides a separation between presentation code and application
 logic which makes working with your project easier.
+
+This is a meta-package.  It installs no files, but it depends on
+all the clearsilver components.
diff -r d01e10696cf3 -r 1f30d7333a7b www/clearsilver/Makefile
--- a/www/clearsilver/Makefile  Mon Nov 29 00:08:18 2004 +0000
+++ b/www/clearsilver/Makefile  Mon Nov 29 00:08:57 2004 +0000
@@ -1,28 +1,25 @@
-# $NetBSD: Makefile,v 1.6 2004/04/27 05:44:23 snj Exp $
+# $NetBSD: Makefile,v 1.7 2004/11/29 00:08:57 epg Exp $
+
+.include "Makefile.common"
 
-DISTNAME=      clearsilver-0.9.7
-PKGREVISION=   1
-CATEGORIES=    www
-MASTER_SITES=  http://www.clearsilver.net/downloads/
-
-MAINTAINER=    tech-pkg%NetBSD.org@localhost
-HOMEPAGE=      http://www.clearsilver.net/
-COMMENT=       Fast, powerful HTML template system
+DEPENDS+=${CLEARSILVER_BASE}{,nb[0-9]*}:../../www/clearsilver-base
+DEPENDS+=${PYPKGPREFIX}-${DISTNAME}{,nb[0-9]*}:../../www/py-clearsilver
+DEPENDS+=${RUBY_PKGPREFIX}-${DISTNAME}{,nb[0-9]*}:../../www/ruby-clearsilver
 
-GNU_CONFIGURE= yes
-USE_BUILDLINK3=        yes
-USE_GNU_TOOLS+=        make
-
-# All these really ought to be supported as separate packages...
-CONFIGURE_ARGS+=       --with-python=${PYTHONBIN}
-CONFIGURE_ARGS+=       --disable-apache --disable-perl --disable-ruby
-CONFIGURE_ARGS+=       --disable-java --disable-csharp
+EXTRACT_ONLY=  # empty
+NO_CHECKSUM=   YES
+NO_BUILDLINK=  YES
+NO_CONFIGURE=  YES
+NO_BUILD=      YES
+NO_MTREE=      YES
 
-PY_PATCHPLIST= YES
-PYBINMODULE=   YES
-PYTHON_VERSIONS_ACCEPTED=      23pth 22pth 21pth
-PYTHON_PATCH_SCRIPTS=  scripts/document.py
+.include "../../lang/python/pyversion.mk"
+.include "../../lang/ruby/rubyversion.mk"
 
-.include "../../lang/python/application.mk"
-.include "../../lang/python/extension.mk"
+# The NO_PATCH macro is gone so we have to do this to prevent the
+# patches from being applied:
+do-patch:
+
+do-install:
+
 .include "../../mk/bsd.pkg.mk"
diff -r d01e10696cf3 -r 1f30d7333a7b www/clearsilver/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/clearsilver/Makefile.common   Mon Nov 29 00:08:57 2004 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile.common,v 1.1 2004/11/29 00:08:57 epg Exp $
+
+DISTNAME=              clearsilver-0.9.13
+CLEARSILVER_BASE=       ${DISTNAME:S/-/-base-/}
+CATEGORIES=            www
+MASTER_SITES=          http://www.clearsilver.net/downloads/
+
+# Work around ruby/modules.mk setting DIST_SUBDIR.
+DIST_SUBDIR=           .
+
+MAINTAINER=            epg%NetBSD.org@localhost
+HOMEPAGE=              http://www.clearsilver.net/
+COMMENT=               Fast, powerful, language-neutral HTML template system
+
+DISTINFO_FILE=         ${.CURDIR}/../../www/clearsilver/distinfo
+FILESDIR=              ${.CURDIR}/../../www/clearsilver/files
+PATCHDIR=              ${.CURDIR}/../../www/clearsilver/patches
+
+GNU_CONFIGURE=         yes
+USE_BUILDLINK3=                yes
+USE_GNU_TOOLS+=                make
+
+CONFIGURE_ARGS+=       --disable-apache
+CONFIGURE_ARGS+=       --disable-csharp
+CONFIGURE_ARGS+=       --disable-java
+CONFIGURE_ARGS+=       --disable-perl
+CONFIGURE_ARGS+=       --disable-python
+CONFIGURE_ARGS+=       --disable-ruby
+
+.include "../../devel/zlib/buildlink3.mk"
diff -r d01e10696cf3 -r 1f30d7333a7b www/clearsilver/PLIST
--- a/www/clearsilver/PLIST     Mon Nov 29 00:08:18 2004 +0000
+++ b/www/clearsilver/PLIST     Mon Nov 29 00:08:57 2004 +0000
@@ -1,146 +1,1 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/26 05:50:23 epg Exp $
-bin/cstest
-bin/static.cgi
-include/ClearSilver/ClearSilver.h
-include/ClearSilver/cgi/cgi.h
-include/ClearSilver/cgi/cgiwrap.h
-include/ClearSilver/cgi/date.h
-include/ClearSilver/cgi/html.h
-include/ClearSilver/cs/cs.h
-include/ClearSilver/cs_config.h
-include/ClearSilver/util/dict.h
-include/ClearSilver/util/filter.h
-include/ClearSilver/util/neo_date.h
-include/ClearSilver/util/neo_err.h
-include/ClearSilver/util/neo_files.h
-include/ClearSilver/util/neo_hash.h
-include/ClearSilver/util/neo_hdf.h
-include/ClearSilver/util/neo_misc.h
-include/ClearSilver/util/neo_net.h
-include/ClearSilver/util/neo_rand.h
-include/ClearSilver/util/neo_server.h
-include/ClearSilver/util/neo_str.h
-include/ClearSilver/util/rcfs.h
-include/ClearSilver/util/skiplist.h
-include/ClearSilver/util/ulist.h
-include/ClearSilver/util/ulocks.h
-include/ClearSilver/util/wildmat.h
-lib/libneo_cgi.a
-lib/libneo_cs.a
-lib/libneo_utl.a
-${PYSITELIB}/neo_cgi.so
-man/man3/cBroadcast.3
-man/man3/cCreate.3
-man/man3/cDestroy.3
-man/man3/cSignal.3
-man/man3/cWait.3
-man/man3/cgi_cookie_authority.3
-man/man3/cgi_cookie_clear.3
-man/man3/cgi_cookie_set.3
-man/man3/cgi_cs_init.3
-man/man3/cgi_debug_init.3
-man/man3/cgi_destroy.3
-man/man3/cgi_display.3
-man/man3/cgi_error.3
-man/man3/cgi_filehandle.3
-man/man3/cgi_init.3
-man/man3/cgi_neo_error.3
-man/man3/cgi_output.3
-man/man3/cgi_parse.3
-man/man3/cgi_redirect.3
-man/man3/cgi_redirect_uri.3
-man/man3/cgi_register_parse_cb.3
-man/man3/cgi_url_escape.3
-man/man3/cgi_url_escape_more.3
-man/man3/cgi_url_unescape.3
-man/man3/cgi_vredirect.3
-man/man3/cgiwrap_getenv.3
-man/man3/cgiwrap_init_emu.3
-man/man3/cgiwrap_init_std.3
-man/man3/cgiwrap_iterenv.3
-man/man3/cgiwrap_putenv.3
-man/man3/cgiwrap_read.3
-man/man3/cgiwrap_write.3
-man/man3/cgiwrap_writef.3
-man/man3/cgiwrap_writevf.3
-man/man3/cs_destroy.3
-man/man3/cs_dump.3
-man/man3/cs_init.3
-man/man3/cs_parse_file.3
-man/man3/cs_parse_string.3
-man/man3/cs_register_strfunc.3
-man/man3/cs_render.3
-man/man3/dictCleanup.3
-man/man3/dictCreate.3
-man/man3/dictDestroy.3
-man/man3/dictModifyValue.3
-man/man3/dictNext.3
-man/man3/dictReleaseLock.3
-man/man3/dictRemove.3
-man/man3/dictSearch.3
-man/man3/dictSetValue.3
-man/man3/fCreate.3
-man/man3/fDestroy.3
-man/man3/fFind.3
-man/man3/fLock.3
-man/man3/fUnlock.3
-man/man3/filter_create_fd.3
-man/man3/filter_create_fp.3
-man/man3/filter_wait.3
-man/man3/hdf_copy.3
-man/man3/hdf_destroy.3
-man/man3/hdf_dump.3
-man/man3/hdf_dump_format.3
-man/man3/hdf_dump_str.3
-man/man3/hdf_get_attr.3
-man/man3/hdf_get_child.3
-man/man3/hdf_get_copy.3
-man/man3/hdf_get_int_value.3
-man/man3/hdf_get_node.3
-man/man3/hdf_get_obj.3
-man/man3/hdf_get_value.3
-man/man3/hdf_get_valuef.3
-man/man3/hdf_get_valuevf.3
-man/man3/hdf_init.3
-man/man3/hdf_obj_attr.3
-man/man3/hdf_obj_child.3
-man/man3/hdf_obj_name.3
-man/man3/hdf_obj_next.3
-man/man3/hdf_obj_top.3
-man/man3/hdf_obj_value.3
-man/man3/hdf_read_string.3
-man/man3/hdf_read_string_ignore.3
-man/man3/hdf_remove_tree.3
-man/man3/hdf_search_path.3
-man/man3/hdf_set_attr.3
-man/man3/hdf_set_buf.3
-man/man3/hdf_set_copy.3
-man/man3/hdf_set_int_value.3
-man/man3/hdf_set_symlink.3
-man/man3/hdf_set_value.3
-man/man3/hdf_set_valuef.3
-man/man3/hdf_sort_obj.3
-man/man3/hdf_write_file.3
-man/man3/hdf_write_file_atomic.3
-man/man3/hdf_write_string.3
-man/man3/mCreate.3
-man/man3/mDestroy.3
-man/man3/mLock.3
-man/man3/mUnlock.3
-man/man3/nerr_ignore.3
-man/man3/nerr_log_error.3
-man/man3/nerr_pass.3
-man/man3/nerr_pass_ctx.3
-man/man3/nerr_raise.3
-man/man3/skipDelete.3
-man/man3/skipFreeList.3
-man/man3/skipInsert.3
-man/man3/skipNewList.3
-man/man3/skipNext.3
-man/man3/skipRelease.3
-man/man3/skipSearch.3
-man/man3/wdb_keys.3
-@dirrm include/ClearSilver/util
-@dirrm include/ClearSilver/cs
-@dirrm include/ClearSilver/cgi
-@dirrm include/ClearSilver
+@comment $NetBSD: PLIST,v 1.2 2004/11/29 00:08:57 epg Exp $
diff -r d01e10696cf3 -r 1f30d7333a7b www/clearsilver/distinfo
--- a/www/clearsilver/distinfo  Mon Nov 29 00:08:18 2004 +0000
+++ b/www/clearsilver/distinfo  Mon Nov 29 00:08:57 2004 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2004/03/22 20:07:48 epg Exp $
+$NetBSD: distinfo,v 1.3 2004/11/29 00:08:57 epg Exp $
 
-SHA1 (clearsilver-0.9.7.tar.gz) = 182a29587a7094741fce4ed13101532ef359153a
-Size (clearsilver-0.9.7.tar.gz) = 377694 bytes
-SHA1 (patch-aa) = 29274a2f89f33fc16dad7529f142a3971717761f
+SHA1 (./clearsilver-0.9.13.tar.gz) = 947c328fb200aa6f3869c51bf115fe91d9944fa6
+Size (./clearsilver-0.9.13.tar.gz) = 365908 bytes
+SHA1 (patch-aa) = a336841bb190e179842b88694791303bcde211de
+SHA1 (patch-ab) = 23824d0023220a698bac8a1a7f6d45042095edd9
diff -r d01e10696cf3 -r 1f30d7333a7b www/clearsilver/patches/patch-aa
--- a/www/clearsilver/patches/patch-aa  Mon Nov 29 00:08:18 2004 +0000
+++ b/www/clearsilver/patches/patch-aa  Mon Nov 29 00:08:57 2004 +0000
@@ -1,22 +1,13 @@
-$NetBSD: patch-aa,v 1.2 2004/03/22 20:07:48 epg Exp $
+$NetBSD: patch-aa,v 1.3 2004/11/29 00:08:57 epg Exp $
 
---- rules.mk.in.orig   Mon Aug 11 16:37:09 2003
-+++ rules.mk.in
-@@ -73,7 +73,7 @@ PYTHON     = @PYTHON@
- PERL     = @PERL@
- RUBY       = @RUBY@
+--- Makefile.orig      Wed Sep 29 21:09:41 2004
++++ Makefile
+@@ -35,7 +35,7 @@ cs: output_dir
+         fi; \
+       done
  
--CFLAGS     = @CFLAGS@ -Wall -c -I$(NEOTONIC_ROOT) @CPPFLAGS@
-+CFLAGS     = @CFLAGS@ -I$(NEOTONIC_ROOT) @CPPFLAGS@
- CPPFLAGS   = -I$(NEOTONIC_ROOT) @CPPFLAGS@
- OUTPUT_OPTION = -o $@
- LD         = $(CC) -o
-@@ -127,7 +127,7 @@ endif
- ## endif
- 
- .c.o:
--      $(CC) $(CFLAGS) $(OUTPUT_OPTION) $<
-+      $(CC) -c $(CFLAGS) $(OUTPUT_OPTION) $<
- 
- everything: depend all
- 
+-install: all man
++install: all
+       ./mkinstalldirs $(DESTDIR)$(cs_includedir)
+       ./mkinstalldirs $(DESTDIR)$(bindir)
+       ./mkinstalldirs $(DESTDIR)$(libdir)
diff -r d01e10696cf3 -r 1f30d7333a7b www/clearsilver/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000



Home | Main Index | Thread Index | Old Index