22dd5f46f0
Changelog: - Only perform additional database request when using Sensor localtime: this bring a performance improvement of about 36% on aggregated query, when using either frontend localtime (the default), or UTC time. - JQuery support: Port most of the javascript code to make use of JQuery. Add show/hide effect to CSS popup. More filtering functionality in the SensorListing view. - Cleanup the Authentication class, so that uper Prewikka layer can act depending whether the backend support user creation / deletion. Anonymous authentication is nowa plugin. - Better integration of CGI authentication allowing user listing and deletion. - Report template exception directly to the user. - Fix exception if an alert analyzer name is empty. - Fix problem when adding new Prewikka users (#262). - Fix exception when user has no permission set. - When changing password, we didn't try to match an empty 'current password' (which is a minor issue since the user is already authenticated). Thanks to Helmut Azbest <helmut.azbest@gmail.com> for the fix. - Fix a typo making mod_python use the parent method (patch from Helmut Azbest <helmut.azbest@gmail.com>). - In the configuration file, recognize section even if there are whitespace at the beginning of the line. - Localization fixes, by Sebastien Tricaud <toady@gscore.org>, and Bjoern Weiland. PR: 117471 Submitted by: Robin Gruyters <r.gruyters@yirdis.nl> (maintainer)
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# New ports collection makefile for: prewikka
|
|
# Date created: 2006-03-13
|
|
# Whom: Robin Gruyters <r.gruyters@yirdis.nl>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= prewikka
|
|
PORTVERSION= 0.9.13
|
|
CATEGORIES= www security python
|
|
MASTER_SITES= http://www.prelude-ids.org/download/releases/ \
|
|
http://www.prelude-ids.org/download/releases/old/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= r.gruyters@yirdis.nl
|
|
COMMENT= Frontend for the Prelude IDS
|
|
|
|
BUILD_DEPENDS= cheetah-compile:${PORTSDIR}/devel/py-cheetah
|
|
LIB_DEPENDS= prelude.13:${PORTSDIR}/security/libprelude \
|
|
preludedb.4:${PORTSDIR}/security/libpreludedb
|
|
|
|
USE_PYTHON= 2.3+
|
|
USE_PYDISTUTILS= yes
|
|
|
|
.if !defined(WITHOUT_NLS)
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
post-patch:
|
|
${MV} ${WRKSRC}/conf/prewikka.conf ${WRKSRC}/conf/prewikka.conf-dist
|
|
${REINPLACE_CMD} 's,conf/prewikka.conf,conf/prewikka.conf-dist,' \
|
|
${WRKSRC}/setup.py
|
|
.if defined(WITHOUT_NLS)
|
|
${REINPLACE_CMD} 's,\(.*self.data_files.extend(self._compile_po_files())\),#\1,' \
|
|
${WRKSRC}/setup.py
|
|
.endif
|
|
|
|
post-install:
|
|
@if [ ! -f ${PREFIX}/etc/prewikka/prewikka.conf ]; then \
|
|
${CP} -p ${PREFIX}/etc/prewikka/prewikka.conf-dist \
|
|
${PREFIX}/etc/prewikka/prewikka.conf ; \
|
|
fi
|
|
|
|
.include <bsd.port.mk>
|