- 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.
72 lines
2 KiB
Makefile
72 lines
2 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2007/10/29 21:59:00 shannonjr Exp $
|
|
#
|
|
|
|
DISTNAME= prewikka-${VERSION}
|
|
PKGNAME= ${PYPKGPREFIX}-prewikka-${VERSION}
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.prelude-ids.org/download/releases/ \
|
|
http://www.prelude-ids.org/download/releases/old/
|
|
|
|
VERSION= 0.9.13
|
|
|
|
CONFLICTS= prewikka-[0-9]*
|
|
|
|
MAINTAINER= shannonjr@NetBSD.org
|
|
HOMEPAGE= http://prelude-ids.org/download/releases/
|
|
COMMENT= Prelude-IDS console
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-cheetah-[0-9]*:../../devel/py-cheetah
|
|
|
|
USE_TOOLS+= msgfmt
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
PYDISTUTILSPKG= yes
|
|
PYBINMODULE= yes
|
|
PYSETUP= setup.py
|
|
PYTHON_VERSIONS_ACCEPTED= 24 23
|
|
PYTHON_PATCH_SCRIPTS= scripts/prewikka-httpd
|
|
PREWIKKA_USER?= prewikka
|
|
PREWIKKA_GROUP?= prewikka
|
|
PREWIKKA_HOME= /nonexistent
|
|
RCD_SCRIPTS= prewikka
|
|
PKG_SYSCONFSUBDIR= prewikka
|
|
|
|
PKG_GROUPS= ${PREWIKKA_GROUP}
|
|
PKG_USERS= ${PREWIKKA_USER}:${PREWIKKA_GROUP}
|
|
|
|
PKG_GECOS.${PREWIKKA_USER}= Prelude-IDS console
|
|
PKG_HOME.${PREWIKKA_USER}= ${PREWIKKA_HOME}
|
|
|
|
PKG_GROUPS_VARS+= PREWIKKA_GROUP
|
|
PKG_USERS_VARS+= PREWIKKA_USER
|
|
|
|
SUBST_CLASSES+= code
|
|
SUBST_STAGE.code= post-patch
|
|
SUBST_FILES.code= runPrewikka.c
|
|
SUBST_SED.code= -e 's,@PREFIX@,${PREFIX},g'
|
|
SUBST_SED.code+= -e 's,@PREWIKKA_USER@,${PREWIKKA_USER},g'
|
|
SUBST_SED.code+= -e 's,@PYTHONBIN@,${PYTHONBIN},g'
|
|
|
|
FILES_SUBST+= PREWIKKA_USER=${PREWIKKA_USER:Q}
|
|
|
|
MAKE_ENV+= EXAMPLEDIR=share/examples/${PKGBASE}
|
|
|
|
INSTALLATION_DIRS+= ${PREFIX}/share/examples/${PKGBASE}
|
|
CONF_FILES+= ${PREFIX}/share/examples/${PKGBASE}/prewikka.conf ${PKG_SYSCONFDIR}/prewikka.conf
|
|
|
|
pre-patch:
|
|
cp ${FILESDIR}/runPrewikka.c ${WRKSRC}
|
|
|
|
post-build:
|
|
cd ${WRKSRC} && env ${MAKE_ENV} ${CC} ${CFLAGS} -o runPrewikka runPrewikka.c
|
|
|
|
post-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/runPrewikka ${PREFIX}/sbin/runPrewikka
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
BUILDLINK_API_DEPENDS.libpreludedb+= libpreludedb>=0.9.9
|
|
.include "../../security/libpreludedb/buildlink3.mk"
|
|
.include "../../security/libprelude/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|