Commit graph

58 commits

Author SHA1 Message Date
joerg
802b079bd0 Fix ownership. Bump revision. 2010-02-19 21:30:13 +00:00
hasso
90428bca3a Remove removal of the hack which was needed for libtool 1.x.
From Rumko <rumcic at gmail.com> via private mail.
2009-12-18 12:33:25 +00:00
joerg
3fbb207985 Recursive bump for libltdl 2009-12-15 21:54:17 +00:00
joerg
04c9be3080 Repeat after me, do not use bar/.libs/foo.la, use bar/foo.la. 2009-11-25 20:56:03 +00:00
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
06197330c6 Update to 0.9.24.1. Upstream changes:
- Use SWIG 1.3.39 to generate bindings code, fixes Prewikka compatibility
  problem because of SWIG version mismatch between libprelude/libpreludedb
  modules.
2009-10-02 09:46:42 +00:00
joerg
d242e0b808 Explicitly include ctime early in the C++ binding, the macro games from config.h break NetBSD system header. 2009-09-11 16:54:47 +00:00
hasso
9d085e6bbb Update to 0.9.24. No normal upstream changelog except git log. Splitted up
the package to the base (with c++ bindings) and scripting languages bindings.
All hard work done by Rumko <rumcic at gmail.com>.
2009-08-23 18:56:34 +00:00
drochner
ea646c4035 use lingnutls-config.mk to fix build against gnutls-2.8.0 2009-07-03 10:27:02 +00:00
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +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
2070411a90 DESTDIR support. 2009-02-10 21:11:13 +00:00
obache
40a6e1781b Fixes perl module installation path, PR 40138 by Rumko.
Change to install into vendor and use packlist.
2008-12-09 11:58:59 +00:00
shannonjr
08f9034574 Update to 0.9.21.1. Changes:
- Fix an assertion warning upon sensor start in case the address
for the local machine could not be found.
- Consistency rework of EasyBindings IDMEFCriteria API.
- Add refcount support for prelude_client_t and
prelude_client_profile_t, and update EasyBindings destructor to use
them.
- Fix a bug where EasyBindings would be built although they were not
enabled.
- Fix path issue in case libprelude was configured with specific path
outside of $prefix (fix #319).
2008-10-18 13:28:28 +00:00
shannonjr
e3fa46a96b Update to 0.9.19. Changes:
- EasyBindings inclusion! EasyBindings provide simple C++, Python,
Perl, Ruby, and Lua bindings for using libprelude. They are still
considered experimental, thus you need to use (--enable-easy-bindings)
to activate them. Thanks to Sebastien Tricaud <toady@inl.fr> and
Pierre Chifflier <p.chifflier@inl.fr> for their contribution to this
project!
- Use automake/autoconf for building/installing Python extension.
- Fix 0.9.18 regression (alert created with empty CreateTime).
- Implement reference counting for the idmef-criteria and
prelude-connection API.
- Automatic casting when setting IDMEF Value to a field that is of
different type. Until now, if an user tried to set a path of a
specific type with an idmef_value_t object containing another type,
idmef_path_set() would return an error.
- Various bug fixes.
2008-08-26 22:21:55 +00:00
shannonjr
dc766237b5 Update to 0.9.18. Changes:
- Add support for newer GnuTLS 2.2.0 session priority functions. When
the option is available, the user might specify TLS settings through
the "tls-options" configuration entry.
- Workaround a GnuTLS issue where the client wouldn't be able
to negotiate a supported compression protocol with the server (#299).
- Implement variable substitution in Prelude configuration files.
- Allow IDMEF criteria with multiples values for a single path,
as can be seen in the following example:
alert.classification.text = (A || B || C || D)
- Implement negation of idmef-criteria, allowing to write criteria like:
! (alert.classification.text = A || alert.classification.text = B)
- Fix an IDMEF-Criteria matching problem, where the match function would
not attempt to match a OR after multiple consecutive AND that failed.
Thanks Alexander Afonyashin <firm(at)iname.com> for pointing out the
problem.
- Never use non-pointer field, always use the "required" keyword. Fix
API consistency issue, that could lead to unexpected behavior.
- Fix multiples problem with prelude_read_multiline /
prelude_read_multiline2,
(fix a problem with prelude-manager idmef-criteria that wouldn't read
external ruleset).
- Error out if GnuTLS initialization fail.
2008-07-21 12:10:48 +00:00
shannonjr
9b17cd7da7 RE: pkg/38922: security/libprelude fails to build
Applied Hasso Tepper recommended fix. Thank you.
2008-06-10 13:57:10 +00:00
shannonjr
d53d7b9ff0 New patch required for 0.9.17 2008-04-28 10:52:40 +00:00
shannonjr
7634cc570d Update to 0.9.17. Changes:
- Implement RFC 4122 UUIDv1 identifier generation, more resistant to
  duplicate than our previous implementation in case of clock skew, or
  multiple client with the same analyzerid sending alert in parallel.
- You can now provide NULL value to idmef_path_set() in order to
  destroy existing value within an IDMEF message.
- Unify memory handling of value retrieval through idmef_path_t. This
  allow the user to retrieve and keep any values, even through the
  associated IDMEF message is freed.
- Build system cleanup, enable RELRO when possible.
- Implement PRELUDE_CLIENT_FLAGS_AUTOCONFIG, which is set by default,
  but that applications might unset in order for their client not to
  read the default profile/global configuration.
- Fix possible assertion when destroying un-started prelude-client.
- Improvement to the prelude-io API, the user might now hook its own
  handling function.
- Fix dumping of (not) NULL criteria operator to string. Remove
  gratuitous space insertion when dumping criteria.
- Headers fixes for C++ build.
- Fix printing and cloning of empty IDMEF string.
- In IDMEF to string convertion code, print <invalid enum value> in
  place of NULL on invalid enumeration value.
- Various bug fixes.
2008-04-28 10:51:49 +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
shannonjr
39e994d32f Update to 0.9.16.2. Changes:
- Fix bindings for IDMEF 'get_next' functions.
- Make sure we use no additional GnuLib compiler flags when building
  bindings, this fix bindings compilation failure on some architecture
  (Solaris).
2008-03-03 15:13:02 +00:00
shannonjr
4ee9e5abe2 Update to 0.9.16. Changes:
- Implement prelude-admin list [-l] command, which provide the ability to list
  existing profile name, permission, registration permission, analyzerID, and
  Issuer analyzerid.
- Implement multiple analyzer deletion in prelude-admin.
- Correct printing of IDMEF time field using non local GMT offset.
- Patch to avoid struct typespec redefinition, due to variable mispelling.
  This fixes a compilation problem on OpenBSD 3.8.
- Various bug fixes.
2007-10-29 21:55:30 +00:00
joerg
8ea6894b6c Fix build issus on DragonFly with GNUlib and don't use d_reclen as the
assertion is ensured already by opendir.
2007-09-15 08:30:51 +00:00
shannonjr
a8dd436ca5 Correct PLIST ommission and bump PKGREVISION 2007-09-08 09:02:37 +00:00
shannonjr
d1f737d6a6 Corrected my misunderstanding of CONF_FILES
infrastrure. Fixed several configuration file
installation problems.
2007-09-05 18:58:19 +00:00
shannonjr
77bff19d86 Update to 0.9.15.1. Changes:
- Fix build error on system that use native awk implementation in place of GNU awk
  (Pierre Chifflier <chifflier at inl.fr>), fix #256.
- Avoid a prelude-string fatal assertion, by denying copy/cloning of an empty
  prelude-string.
- Correction to the 'prelude-admin send' help message.
- Convert prelude-string to use prelude_return_if_fail() in place of prelude_log().
2007-09-03 13:43:40 +00:00
jlam
4390d56940 Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-04 20:54:31 +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
43de302502 Update to 0.9.14. Changes:
- Implement TCP keepalive settings on platform that support it,
  check client.conf for details.
- When reading prelude-adduser password from a file, remove
  newline at the end of the string (fix #221).
- When we fail to read an IDMEF message, provide more information
  about the place where the error happened.
- Fix an issue with idmef_path_get() on empty path (pointing to the
  root message).
- Various bug fixes and minor API improvements.
2007-05-15 22:40:19 +00:00
shannonjr
8b44742330 Update to 0.9.13.2. Changes:
- Improve error reporting with the central option interface.
- Fix a bug when comparing IDMEF object with optional fields.
- Fix a problem with the logger, where large log entry wouldn't be
logged.
2007-04-09 12:46:48 +00:00
shannonjr
a106f6a657 Update to 0.9.13. Changes:
- Fix a crash with Python bindings upon signal reception (Fix #200).
- New --with-system-ltdl configure switch. The default is now to use the
  system wide ltdl library if it is available, unless specified otherwise
  (Fix #199).
- Prevent NULL pointer dereference if no permission is specified after the
  permission type (Fix #197).
- Upon IDMEFCriteria parsing error, recover from broken parser stater (Fix #195).
- Detailed error reporting on IDMEFCriteria parsing error.
- Fix string and possible criteria leak on IDMEFCriteria syntax error.
- Prefer anonymous authentication rather than SRP. We do this because there
  are compatibility issue with SRP between different GnuTLS version
  (Should fix #187).
- When dumping AdditionalData of type byte-string to string, encode the data using base64.
2007-02-20 15:13:02 +00:00
shannonjr
6fdf599c60 Update to 0.9.11. Changes:
- Hook class comparison function. Accept NULL, equal, not equal operator.
- Introduce better error checking in the idmef-class API, which is now
  considered public and might be used by external application. Rename
  error code to reflect the API.
- Change to the way IDMEF listed element are handled. Specifying negative
  number as the position of the element from the low level API now allow
  to position the element at the specified (reversed) index. Using the
  high level API a negative index permit to address a list of element
  backward (replace an element).
- Build fixes for SWIG > 1.3.27.
- Modify idmef_value_match() so that it always unroll listed value
  (do it for both val1 and val2. Remove assertion, and let
  idmef_value_type_compare() return an error code in case there is an issue.
- Handle path using IDMEF_LIST_APPEND or IDMEF_LIST_PREPEND as
  path using an undefined list index on idmef_path_get() call.
- Make criteria parser accept (*) list index.
- Implement comparison function for all IDMEF object.
2006-10-11 14:46:10 +00:00
rillig
9b5c8ba117 Replaced GENERATE_PLIST with PLIST_SRC, as suggested by wiz. 2006-08-31 18:02:41 +00:00
rillig
e2b089accc Fixed a few pkglint warnings. 2006-08-31 13:11:23 +00:00
rillig
a32b5110cb Fixed the PLISTs according to Krister's latest bulk build on NetBSD 3.0.
Made the "perl" option work and tested all four option combinations.
2006-08-31 13:04:54 +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
76f2c55f8d 1) Added PLIST.perl for perl option
2) Bumped PKGREVISION
2006-08-23 11:34:59 +00:00
shannonjr
5c585d04b1 1) Fixed problem where 64-bit minimums are set using 32-bit arithmetic
2) PLIST correction
2006-08-23 10:51:25 +00:00
shannonjr
5ae116d696 Update to 0.9.10.1. Changes:
- Fix checking for swig/perl/python when full path to the
  application is specified.
- Fix OpenBSD getaddrinfo() AI_ADDRCONFIG issue (apply to
  some other system as well).
- Fix workaround for system with broken libtool,
  that prevented the use of plugin (#168).
2006-08-17 11:31:40 +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
94b0b5b82d Removed temporary code that should not have been committed in my last
update.
2006-06-08 22:07:24 +00:00
shannonjr
c1bcede8ad Update to libprelude 0.9.9. Changes:
- Correct IDMEF v16 checksum algorithms letter case.
- Detailed, verbose error reporting when failing to read IDMEF message.
- Detailed, verbose error reporting for unsupported value operation.
2006-06-06 12:19:30 +00:00
shannonjr
dd9afe4bfc Updated to libprelude 0.9.8. Changes:
- Improve idmef-path error reporting.
- Rework configure script so that it use --with[out] in
  place of --(en|dis)able where we deal with external dependencies.
- Rework configure script so that --with[out] work as expected (enabling and
  disabling the feature, explicit error if "with" feature is explicitly
  specified but the feature it is unavailable, etc).
- Rework SNMPService class for IDMEF draft 16 compliance.
- Make sure we set alert CreateTime if the caller did not do it for us.
- Fix handling of \r\n terminated line.
- Ignore character that are part of the option value when comparing
  option specified using --option=value. Fix handling of parent option.
2006-05-04 13:13:17 +00:00
shannonjr
1f001e809d Update to 0.9.7.2. This is a bugfix release. 2006-04-24 10:19:20 +00:00
jlam
802ce74fcb Modify packages that set PKG_USERS and PKG_GROUPS to follow the new
syntax as specified in pkgsrc/mk/install/bsd.pkginstall.mk:1.47.
2006-04-23 00:12:35 +00:00
joerg
fd43603386 Use configuration file framework. Bump revision. 2006-04-12 19:40:51 +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