Commit graph

44 commits

Author SHA1 Message Date
rodent
aa1275dbab "This line belongs inside the .ifdef block." 2013-04-06 13:46:33 +00:00
joerg
0c9752669d Using __VA_ARGS__ and expecting the compiler to magically remove the
initial comma when it expands to empty is a GCC extension. Avoid it.
2012-12-22 02:25:56 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
obache
2cd654bab6 Bump PKGREVISION from default python to 2.7. 2012-03-15 11:53:20 +00:00
gls
987e5e7d49 Add a fix for CVE 2011-4357, taken from
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649322
2011-12-01 20:50:48 +00:00
taca
5ad0fceb0b * Add "used by" comments.
* Add LICENSE.
* Comment out FILESDIR which dosen't exist now.
2010-09-13 03:06:16 +00:00
taca
50196d8de3 One more patches I forgot to commit.
These patches fix the build problem with ruby19 and no functional
change with ruby18.
2010-09-13 03:05:24 +00:00
joerg
3a06eb96bf Bump revision for PYTHON_VERSION_DEFAULT change. 2010-02-10 19:17:31 +00:00
joerg
5091196815 Fix some more issues with the b3.mk file. 2009-12-18 12:05:15 +00:00
joerg
c50aee9ab0 Fix dependency. 2009-12-18 11:01:16 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
cube
67db270d4c Decorate .endif with the name of the variable the .if tested. 2009-03-19 17:05:51 +00:00
joerg
eae749f809 Cast ne_crc to int32_t as expected by the regression tests. On LP64
systems, it would not be negative otherwise.
clearsilver-base is destdir ready, mark it so. clearsilver itself is
a meta package, mark it so.
2009-02-13 15:06:24 +00:00
joerg
3c645bb7fc Switch to Python 2.5 as default. Bump revision of all packages that have
changed runtime dependencies now.
2009-02-09 22:56:21 +00:00
minskim
2e4a02bf33 Update clearsilver packages to 0.10.5.
Changes:
- GCC printf attributes for all printf like functions for better
  compiler time warnings (Nikolai Kondrashov)
- Better support for other compilers for handling CPP variable
  argument macros (Raphaël HUCK)
- Fix for some symlinking/hdf_get_obj bugs (Nikolai Kondrashov)
- Performance improvements to Perl wrapper (Sergey Skvortsov)
- New url_validate Clearsilver method (Mugdha Bendre @ Google)
- Quick Hello World example for using with FastCGI (Mike Tsao @ Google)
- Updates to the Ruby wrapper (Dan Janowski)
- Updates to the Java wrapper (Joe Walnes @ Google)
- Add support to Java wrapper for hooking the file loader
- Add string.crc builtin-function
- Make it easier to write XSS free clearsilver code
- Ability to setup file load hooks for cs and hdf files
- fix for non-thread safe nerr_init call (causes java jni wrapper to
  core dump when server is started under heavy load)
- python egg support (if you have the egg version of distutils
  installed)
- some parser edge case fixes.
- some cleanups to cgiwrap that make it easier to use with
  fastcgi.  fastcgi wrapper to come in the future.
2008-10-06 01:04:28 +00:00
epg
1fc94600b0 Set MAINTAINER to pkgsrc-users@. 2008-08-18 00:55:48 +00:00
dholland
c9e83afa09 Use -fPIC in more places; fixes broken amd64 build and perhaps others.
Fix a long/int type mismatch hidden by use of ... and va_arg; fixes
broken LP64 builds.
2008-08-17 08:40:50 +00:00
taca
469710a1ea - ruby-clearsilver switch to use vendor_dir with Ruby 1.8.7.
Bump PKGREVISION.
2008-06-19 15:19:25 +00:00
jlam
ae9b935fd0 * If PLIST_SRC is explicitly set to an empty value in a package Makefile,
then automatically generate a PLIST that says "${PKGNAME} has no files".

* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
  and no PLIST files exist, then fail during the package build with
  PKG_FAIL_REASON.

* Remove "intentionally empty" PLISTs again.

Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:

	PLIST_SRC=	# empty
2007-10-25 22:00:39 +00:00
jlam
38c496d6c0 Re-add "intentionally empty" PLISTs for meta-packages and other packages
that directly manipulate empty PLISTs.

Modify plist/plist.mk so that if the PLIST files are missing and no
GENERATE_PLIST is defined, then the package fails to build.
2007-10-25 17:49:45 +00:00
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +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
rillig
2eff39b815 Added two patches for SunPro. 2006-07-28 12:26:18 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
epg
97121aca24 Update to 0.10.1, hopefully fixing PR 28699. Add buildlink3.mk,
resolving PR 31001.  Don't declare an unnecessary dependency on
clearsilver-base in py-clearsilver or ruby-clearsilver.

Upstream changelog:

2005/07/27 by blong@blong

	fix for cs_dist update

2005/07/27 by blong@blong

	update makefile for new release (and p4)

2005/07/27 by blong@blong

	update to -fPIC for position independent code to support amd64
	machines
	Change makedep routine to use find instead of ls, so it won't
	error if there are no files (like in the top level directory)

2005/07/27 by blong@blong

	missed a file for const fix

2005/07/27 by blong@blong

	generic python location

2005/07/26 by blong@blong

	add limits.h to define _POSIX_PATH_MAX before we define it if it
	doesn't exist

2005/07/18 by nschrenk@nschrenk2

	Fix bug that caused bogus tzoffset to be exported by export_date_tm().

2005/07/07 by blong@blong

	Update configure to take a --disable-wdb argument
	We don't want to link with bdb sometimes

2005/07/07 by blong@blong

	Update ClearSilver to take correct const char * arguments in
	most places that it should.  This should make clearsilver easier
	to use from C++ and just for people who like their const
	correctness for strings.

	Also fix the hdftest since some machines have "words" with
	periods in them in their dict file.

2005/07/01 by blong@blong

	Change clearsilver to link to checked-in versions instead
	buildonly.

	Add README.google and setup_google.sh files to document how to
	build for Google

2005/06/29 by nschrenk@nschrenk

	Fix an allocation bug in the HDF.getValue() native method: don't
	release the default_value string until after it has been copied.

2005/06/28 by nschrenk@nschrenk

	Fix bug where the HDF Java wrapper would not allow a default value of
	null, and clean up the code a bit so that exceptions are thrown in a
	couple more places, and the right type of exceptions are thrown instead
	of a generic RuntimeException.

2005/06/24 by nschrenk@nschrenk

	Change variable type from int to long to fix compile warning in the
	Clearsilver ruby support.

2005/06/22 by nschrenk@nschrenk

	Support more of the HDF C API in the Java wrapper.

2005/06/08 by quong@quong-clean

	Initial submit of Clearsilver

	This is simply the code from clearsilver-0.9.14.tar.gz
	from the http://clearsilver.net/  with the following
	files removed:  *.pyc, */.cvsignore, and man/...

	I'll submit changes to this code in future CL's.
2005-10-29 19:29:52 +00:00
taca
15ebe34602 Remove a trivial hack with DIST_SUBDIR. 2005-10-17 04:15:23 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
veego
2a1abab738 Back out last change. ./ is not correct, but this is a workaround due too
the overwritting of DIST_SUBDIR in the Makefile.
2005-05-16 15:07:32 +00:00
veego
cfea5c3ceb It is clearsilver-0.9.14.tar.gz and not ./clearsilver-0.9.14.tar.gz 2005-05-15 14:05:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
epg
adc174ec98 Update to 0.9.14 and make this work with python 2.4.
Release Notes for Clearsilver 0.9.14                     03/08/2005
-------------------------------------

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
  - fix for cgi_register_strfuncs missing for ruby/perl modules
  - fix for color problems in generated images in imd with GD2
2005-04-06 05:28:40 +00:00
wiz
809ad6f2f7 Add RMD160 checksums. 2005-02-24 14:08:26 +00:00
epg
cc45972504 Include pthread.buildlink3.mk and set PTHREAD_OPTS+=require. This was
handled for us when it was all in a single package depending on a
threaded python.  I think this fixes NetBSD < 2.0 build.
2004-12-05 21:53:51 +00:00
epg
bbfa9f3a51 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)
2004-11-29 00:08:57 +00:00
snj
67721bd22d Convert to buildlink3. 2004-04-27 04:59:42 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
epg
ebf7817451 Fix some problems people have been seeing in bulk builds:
* Disable apache, perl, ruby, java, and C# bindings.
* Don't pass -Wall to cc.
2004-03-22 20:07:48 +00:00
recht
204d3d2399 Explicitly depend on a threaded version of Python, so that the dict
gets built.
Should fix hubertf's bulk build.
2004-03-18 11:23:36 +00:00
epg
ad6ba15d3b scripts/document.py needs to be in PYTHON_PATCH_SCRIPTS. 2004-02-27 01:46:59 +00:00
epg
43194428ab import clearsilver-0.9.7.
Clearsilver is a fast, powerful, and language-neutral HTML template
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.
2004-02-26 05:50:23 +00:00