Commit graph

58 commits

Author SHA1 Message Date
drochner
2d29fff048 update to 2.8.17
bugfix:
That bug might possibly cause database corruption if a large
INSERT or UPDATE statement within a multi-statement transaction fails
due to a uniqueness constraint but the containing transaction commits.
2009-07-22 16:37:26 +00:00
asau
19394ea910 Support staged installation. 2009-06-08 20:06:01 +00:00
wiz
272d51cc21 Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlib
major change.

Reported by Robert Elz in PR 41345.
2009-05-20 00:58:05 +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
sketch
4a498a8eff Match all Solaris releases. 2009-01-20 17:57:36 +00:00
dmcmahill
a896f018e5 fix building on SunOS-5.8/sparc and probably other SunOS-5.[6-9] 2008-06-18 22:19:51 +00:00
rillig
2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +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
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
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
joerg
bcc90cdce0 Override config.guess and config.sub for DragonFly. 2005-12-02 21:46:50 +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
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
drochner
3d327eed9d fix path to pkgconfig file
(hope this was quick enough to avoid a PKGREVISION bump)
2005-02-24 19:08:02 +00:00
wiz
0380c7282b Update to 2.8.16:
2005 February 15 (2.8.16)

* Fix a bug that can lead to database corruption if there are two open connections
  to the same database and one connection does a VACUUM and the second makes some
  change to the database.
* Correctly handle quoted names in CREATE INDEX statements.
* Fix a naming conflict between sqlite.h and sqlite3.h.
* Avoid excess heap usage when copying expressions.
* Other minor bug fixes.
2005-02-24 16:05:25 +00:00
agc
671d62d2e2 Add RMD160 digests in addition to SHA1 ones. 2005-02-23 16:33:05 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
salo
cbd502dc97 PKGREVISION++
Point to correct location of VERSION file so we save the correct version
into pkgconfig file.
Addresses PR pkg/26875 by Ian Zagorskih.
2004-09-08 15:55:48 +00:00
jlam
73e8702339 Update databases/sqlite to 2.8.15. This is a bug-fix maintenance
release over version 2.8.14 that fixes some memory allocation and
quoting problems.
2004-08-04 19:59:58 +00:00
drochner
eadd5450b2 update to 2.8.14
changes:
Fix the min() and max() optimizer so that it works when the FROM clause
 consists of a subquery.
Ignore extra whitespace at the end of of "." commands in the shell.
Bundle sqlite_encode_binary() and sqlite_decode_binary() with the library.
The TEMP_STORE and DEFAULT_TEMP_STORE pragmas now work.
Code changes to compile cleanly using OpenWatcom.
Fix VDBE stack overflow problems with INSTEAD OF triggers and NULLs in
 IN operators.
Add the global variable sqlite_temp_directory which if set defines
the directory in which temporary files are stored.
sqlite_interrupt() plays well with VACUUM.
Other minor bug fixes.
2004-07-22 17:43:23 +00:00
pooka
ec4b5fca3f install manual page 2004-06-30 08:37:11 +00:00
jlam
e8132b3fbf Relinquish maintainership of packages to tech-pkg@NetBSD.org. 2004-04-24 22:46:08 +00:00
snj
9c6d9e1826 No longer used. 2004-03-31 06:09:19 +00:00
snj
b5b942e431 Update to sqlite-2.8.13. Closes PR pkg/24660.
FreeBSD 4 portability hint from Michal Pasternak.

Some of the changes since 2.8.5 include:
* Refactor parts of the code in order to make the code footprint
  smaller.  The code is now also a little bit faster.
* The built-in min() and max() functions now honor the difference
  between NUMERIC and TEXT datatypes.
* New HH:MM:SS modifier to the built-in date/time functions.
* Add function prototypes for the database encryption API.
* Fix a bug that might corrupt the rollback journal if a power failure or
  external program halt occurs in the middle of a COMMIT.
* Reduce the size and increase the speed of various modules.
* Fix a potential database corruption problem on Unix.
* Fix a 32-bit integer overflow problem that could result in corrupt
  indices in a database if large negative numbers (less than -2147483648)
  were inserted into a indexed numeric column.
* Fix a locking problem on multi-threaded Linux implementations.
* Fix a critical bug introduced in 2.8.0 which could cause database corruption.
* The VACUUM command now works with the non-callback API
* If the name of the database is an empty string, open a new database in a
  temporary file that is automatically deleted when the database is
  closed.
* Performance enhancements in the lemon-generated parser
* Documentation updates and typo fixes
* Removed support for the Oracle8 outer join syntax.
* Allow GLOB and LIKE operators to work as functions.
* Make sure the journal file directory entry is committed to disk before
  writing the database file.
2004-03-31 05:50:17 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
grant
c044c82d67 replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make. 2004-01-22 08:02:15 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
cjep
8a459c538f Further changes for FreeBSD support from Michal Pasternak 2003-12-30 14:41:09 +00:00
cjep
fe4f3139e2 Add #include's necessary for this to build on FreeBSD.
From Michal Pasternak in PR#23828.
2003-12-29 20:03:31 +00:00
drochner
03b25e34de update to 2.8.5
changes:
Make LIMIT work on a compound SELECT statement.
LIMIT 0 now shows no rows. Use LIMIT -1 to see all rows.
Correctly handle comparisons between an INTEGER PRIMARY KEY and a
	floating point number.
Fix several important bugs in the new ATTACH and DETACH commands.
Updated the NULL-handling document.
Allow NULL arguments in sqlite_compile() and sqlite_step().
Many minor bug fixes
Enhanced the "PRAGMA integrity_check" command to verify indices.
Added authorization hooks for the new ATTACH and DETACH commands.
Many documentation updates
2003-08-01 14:22:18 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
tsarna
55d2128ca3 Update sqlite to 2.8.3. Major relevant changes:
2003 June 4 (2.8.3)
      -	Fix a problem that will corrupt the indices on a table if you
	do an INSERT OR REPLACE or an UPDATE OR REPLACE on a table that
	contains an INTEGER PRIMARY KEY plus one or more indices.
      - Add the ability for INSERT and UPDATE statements to refer to
	the "rowid" (or "_rowid_" or "oid") columns.
      - Other important bug fixes

2003 May 17 (2.8.2)
      - Fix a problem that will corrupt the database file if you drop a
	table from the main database that has a TEMP index.

2003 May 16 (2.8.1)
      - Reactivated the VACUUM command that reclaims unused disk space
	in a database file.
      - Added the ATTACH and DETACH commands to allow interacting with
	multiple database files at the same time.
      - Added support for TEMP triggers and indices.
      - Added support for in-memory databases.
      - Removed the experimental sqlite_open_aux_file(). Its function
	is subsumed in the new ATTACH command.
      - The precedence order for ON CONFLICT clauses was changed so
	that ON CONFLICT clauses on BEGIN statements have a higher
	precedence than ON CONFLICT clauses on constraints.
      - Many, many bug fixes and compatibility enhancements.
2003-06-25 19:24:21 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
taca
80259d812a Add http://www.sqlite.org/ as download site. 2003-02-17 16:23:08 +00:00
agc
c402b52b4c Update sqlite to version 2.8.0.
An update to 2.7.5 was provided in PR 19719 by Jarkko Torppa.

Main changes are support for endian-neutral databases, and a huge number of
bug fixes.
2003-02-17 14:55:29 +00:00
wiz
b8664845e3 Prefer BUILDLINK_PREFIX.* to BUILDLINK_DIR. 2002-10-25 18:32:43 +00:00
wiz
c169be95be buildlink1 -> buildlink2. 2002-10-12 01:17:11 +00:00
wiz
55123fcadc Unused. 2002-10-12 01:14:36 +00:00
jlam
efb93b17bd Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
2002-08-25 19:21:43 +00:00
reinoud
e9b29da103 Major upgrade of Sqlite from version 2.1.7 to version 2.2.5
Lots of bug fixes in SQL parsing and supports more weildy SQL code like
using the right of an AS in athe column list of a SELECT as part of an
expression in the WHERE, ORDER BY, GROUP BY and/of HAVING clauses.

For a full report see the changelog on
http://www.hwaci.com/sw/sqlite/changes.html
2002-01-31 20:04:53 +00:00
agc
3a835b9be2 Revert previous changes so that they can be done in the approriate way. 2002-01-03 08:47:19 +00:00
reinoud
1fbd586318 *** empty log message *** 2002-01-03 00:03:20 +00:00
agc
8b7324bf61 Don't use c99 uint*_t types, since they're not defined on 1.5.2 and
previous releases. Instead, fall back on the trusty u_int*_t types
from <sys/types.h>

Fixes a problem uncovered on a recent 1.5.2 bulk build.
2001-12-30 21:12:11 +00:00
reinoud
4dae5bda09 Small typo fixes to make `pkglint' happier.... 2001-12-15 22:21:22 +00:00
reinoud
8967b5bd52 Updated SQLite package to version 2.1.7 fixing
1) locking problems due to a few race conditions

2)  fixing a bug in `create temporary table' wich could contaminate the
main database file opened too

3) bug fix in b-tree subsystem that could sometimes cause the first row of
a table to be repeated during a database scan.
2001-12-15 22:18:41 +00:00
reinoud
1aef1825b8 Update sqlite package to version 2.1.4 (2001-12-04) incorporating lockup
bugs removal, fixing the behaviour of comparison operators so that they are
consistent with the order of entries in an index, correct handling of
integers in SQL expressions that are larger than what can be represented by
the machine integer and locking protocol fixes.

The author also incorporated my suggestions after the messy LP64 patches I
made; its now a lot more clean allthough there are still a few warnings but
they are checked and OK.
2001-12-05 02:04:04 +00:00