Commit graph

37 commits

Author SHA1 Message Date
joerg
9170f1ed4b Use correct relative path. 2009-10-07 19:40:41 +00:00
joerg
85920d02fb Share distinfo file between libprelude-* and similar for
libpreludedb-*. Shuffle stuff a bit around in the Makefile.common,
define PATCHDIR in that, don't define user-destdir support there.
2009-10-07 19:39:42 +00:00
hasso
95b2444b22 Split up the libpreludedb. Approved by agc@. 2009-10-02 09:50:38 +00:00
hasso
8acc102c53 Update to 0.9.15.3. No normal upstream changelog. Pkgsrc package reworked,
but it's not final yet. From Rumko via PR 41763.
2009-08-24 13:50:03 +00:00
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +00:00
hasso
94e03dd3e5 Fix PLIST. 2009-06-04 11:19:01 +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
joerg
25a80fb4ab Remove PYBINMODULE. All it did was mark some packages as not available
on some platforms that lacked shared library support in the past. The
list hasn't been maintained at all and the gain is very limited, so just
get rid of it.
2009-03-05 18:51:26 +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
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
shannonjr
0b0f66db00 Update to 0.9.15. Changes:
- preludedb-admin has a bew 'count' command, printing the result of a
COUNT() on the database.
- preludedb-admin work on smaller set of data, to prevent large
retrieval error (fix #220, refs #305).
- preludedb-admin handling of interrupted transaction was improved.
- Fix MySQL and SQLite MacOSX detection, by
Uwe Schwartz <usx303 at googlemail.com>. (fix #296).
2008-08-27 22:37:09 +00:00
wiz
8e810a2bc9 Recursive PKGREVISION bump for gnutls-2.2.2 update with shlib major bump. 2008-03-06 14:53:47 +00:00
joerg
2e20c7d21d Explicitly depend on Perl. Bump revision. 2007-12-27 16:31:23 +00:00
shannonjr
957cdce372 Update to 0.9.13. Changes:
- Source and Target now use a 16 bits index (required for CorrelationAlert with
  large number of source/target). CorrelationAlert Alertident now use a 32 bits
  index (required to link large number of Alert together).
- Fix compilation on system without ENOTSUP (fix #227):
  Include modified patch from Alexandre Anriot <aanriot@atlantilde.com>.
  conversions preventing PostgreSQL to use indexes (fix #225).
- [preludedb-admin] Use separate alert / heartbeat command: this is done to
  have a coherent implementation of the --offset and --count command line
  options.
- [preludedb-admin] Fix --offset with the load command.
- [preludedb-admin] Give the delete table a decent size, should speedup the
  delete command.
- [documentation] preludedb-admin manpage (fix #230), by Pierre Chifflier
  <chifflier@inl.fr>.
2007-09-05 19:04:00 +00:00
wiz
9d27f90a6f opencdk shlib major changed; bump ABI depends and PKGREVISIONs of
affected packages.
2007-06-05 05:36:59 +00:00
shannonjr
d932ef2c74 Update to 0.9.12. Changes:
- Fix preludedb-admin copy/move operations.
2007-04-09 12:48:09 +00:00
shannonjr
b51243c2ae Update to 0.9.11.3. Changes:
- Fix preludedb-admin copy/move operations
- Fix a Python binding memory leak upon alert list deletion.
- Various bugfixes.
- Various portability fixes.
2007-02-23 15:19:40 +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
shannonjr
548195851f Re: pkg/35480: security/libpreludedb fails to compile (NetBSD 3.0)
Package was incorectly auto detecting postgres and attempting to compile
postgres plugin. Force package to skip compilation of postgres plugin.
2007-01-25 14:39:03 +00:00
shannonjr
12fc072375 Update to 0.9.10. Changes:
- Only export symbol starting with preludedb_.
- Verbose error reporting in case of libpreludedb initialization failure.
2006-10-11 14:48:51 +00:00
wiz
e773592447 Add master site entry for times when pkgsrc doesn't have the completely
latest version.
2006-08-23 18:51:56 +00:00
shannonjr
aec62f433a Update to 0.9.9. Changes:
- Implement an idea from Lex van Roon <r3boot@r3blog.nl.eu.org> providing
  an alert/heartbeat deletion performance improvement in the order of
  3000% (preludedb-admin already benefit from it, next Prewikka release
  will benefit from it too).
- Fix --with-(perl|python|swig) detection path ordering.
- Verbose error reporting on logfile opening error.
- Various bug fixes.
2006-08-17 11:33:07 +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
shannonjr
42514c88eb Added MESSAGE file. 2006-06-06 12:30:02 +00:00
shannonjr
ff989caf31 Added sql to create additional database indices supporting deletion. Without
these indices web browser will often timeout before delete operation completes.

Update to libpreludedb 0.9.8. Changes:
- Always use prelude_escape_binary() when inserting additional data, even in case
  we're inserting a string, since the database field might be of a type that require
  binary kind of escaping. Fix #143.
- Implement reading of message_processing_model, security_model, security_level.
  Handling of community member is deprecated (IDMEFv16 update).
- Fix a bug where Service->ip_version would not be read from database.
- Error reporting improvement.
2006-06-06 12:26:00 +00:00
joerg
3379a82eec Fix PLIST, bump revision. 2006-05-20 18:47:20 +00:00
shannonjr
c6cd06d764 Update to 0.9.7.1.
Changes:
- Fix Perl/Python bindings uint64 handling on 32 bits machine.
- Make preludedb_check_version available from Perl/Python bindings.
- Use new IDMEF_LIST_APPEND primitive, require libprelude 0.9.6.
- Add libprelude dependencie to SQL plugins, since they depend on
  libprelude symbols. Fix compilation problem with some distribution.
- Use global transaction surrounding all operation in preludedb-admin,
  this bring a major performance improvement for insert operation.
- API improvement.
2006-04-24 10:21:43 +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
shannonjr
afae5e320b Update to 0.9.6
Changes:

- Fix PostgreSQL plugin compilation problem.

- Update database schema: enforce that AdditionalData data field is not NULL.

- Improve Swig basic type mapping situation regarding to the target architecture.

- Fix query time calculation.
2006-03-10 22:44:50 +00:00
wiz
35af66a196 Belatedly bump PKGREVISION for all libtasn1 dependencies, since
libtasn1 had a shlib major bump.
Also update dependencies in bl3.mk files.

Addresses PR 32998 by Robert Elz.
2006-03-06 00:18:10 +00:00
shannonjr
2d9347b730 Update to 0.9.5.1
Changes:

* libpreludedb-0.9.5.1:

- Correctly read database schema version.


* libpreludedb-0.9.5:

- Fix important memory leak in Python bindings, Prewikka should end-up
  consuming way less memory than it used to.

- Fix PostgreSQL plugin compilation problem.

- Fix for preludedb-admin --count handling when --offset was used.

- Provide more information in preludedb-admin error message.

- Various cleanup.
2006-03-04 12:37:01 +00:00
shannonjr
cb4efc3c00 Update to 0.9.4. Changes:
- Fix for filtering IDMEF field using the '!=' operator, which resulted in
  filtering of events where the field did not exist (#129).
- Implement a "move" command in preludedb-admin.
- When SQL query logging is enabled, log the time taken to execute the query.
- Improve plugin API by making it opaque so that existing plugin don't break
  if we add more SQL plugin function.
- Verbose error reporting, make the plugin error API viable for more drivers.
- Fix error reporting from perl and python bindings.
- Make libpreludedb header files c++ compiler friendly.
- Enforce listed IDMEF value ordering. IDMEF value were sometime unordered
  because of an uninitialized list position problem.
2006-02-08 16:35:18 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
shannonjr
b46d18bf32 Update to 0.9.3. Changes:
- More accurate error reporting in preludedb-admin.
- Fix NULL error in case the buffer is too small, truncate.
- Fix license notice, stating clearly that linking from a program
  using a GPL compatible license is allowed. Required for Debian package
  inclusion.
The PreludeDB Library provides an abstraction layer upon the type and
the format of the database used to store IDMEF alerts.
2006-01-31 17:51:36 +00:00
shannonjr
8586b15a4e Prelude is a hybrid IDS consisting of multiple
sensors, managers, and a display console. This
is Prelude DB Library. It allow the interface
allowing Prelude to use a DBMS for alert storage.
While libprelude support a choice of MySQL or
postgreSQL, this package uses MySQL because it
was nearly an order of magnitude faster during
test operation.

This is one of several new packages in the Prelude family.
2006-01-29 15:55:25 +00:00