# HG changeset patch # User Eric Joseph-Alexandre # Date 1323826244 -3600 # Node ID f40fbf8bf14b4397c4ea412774c5dcece9a97a36 # Parent 00b0f1a6f8a1c67c30eefa49835ae83aeb146f3a Add: sagan, sagan-pgsql, sagan-mysql, sagan-rules diff -r 00b0f1a6f8a1 -r f40fbf8bf14b sagan-mysql/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sagan-mysql/receipt Wed Dec 14 02:30:44 2011 +0100 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="sagan-mysql" +VERSION="0.2.0" +CATEGORY="security" +SHORT_DESC="Real time system and event log monitoring system with MySQL support" +MAINTAINER="erjo@slitaz.org" +WEB_SITE="http://sagan.softwink.com/" +SOURCE="sagan" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="http://sagan.softwink.com/download/$TARBALL" + +DEPENDS="libesmtp libpcap libdnet libmysql-client liblognorm sagan-rules" +BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev mysql-dev liblognorm-dev" +PROVIDE="sagan" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure $CONFIGURE_ARGS \ + --sysconfdir=/etc/sagan \ + --disable-postgresql \ + --disable-prelude \ + --disable-lognorm \ + && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir $fs/usr + + cp -a $install/usr/bin $fs/usr + cp -a $install/var $fs/ + cp -a $install/etc $fs/ + +} diff -r 00b0f1a6f8a1 -r f40fbf8bf14b sagan-pgsql/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sagan-pgsql/receipt Wed Dec 14 02:30:44 2011 +0100 @@ -0,0 +1,38 @@ +# SliTaz package receipt. + +PACKAGE="sagan-pgsql" +VERSION="0.2.0" +CATEGORY="security" +SHORT_DESC="Real time system and event log monitoring system with MySQL support" +MAINTAINER="erjo@slitaz.org" +WEB_SITE="http://sagan.softwink.com/" +SOURCE="sagan" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="http://sagan.softwink.com/download/$TARBALL" + +DEPENDS="libesmtp libpcap libdnet libpostgresqlclient liblognorm sagan-rules" +BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev postgresql-dev liblognorm-dev" +PROVIDE="sagan" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure $CONFIGURE_ARGS \ + --sysconfdir=/etc/sagan \ + --with-postgresql-includes=/usr/include/postgresql \ + --with-postgresql-libraries=/usr/lib/postgresql \ + --disable-mysql \ + --disable-prelude \ + --disable-lognorm \ + && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir $fs/usr + + cp -a $install/usr/bin $fs/usr + cp -a $install/var $fs/ + cp -a $install/etc $fs/ +} diff -r 00b0f1a6f8a1 -r f40fbf8bf14b sagan-rules/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sagan-rules/receipt Wed Dec 14 02:30:44 2011 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="sagan-rules" +VERSION="current" +CATEGORY="security" +SHORT_DESC="sagan rules" +MAINTAINER="erjo@slitaz.org" +WEB_SITE="http://sagan.softwink.com/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://sagan.softwink.com/rules/$TARBALL" + +DEPENDS="" +BUILD_DEPENDS="" + +# Rules to configure and make the package. +compile_rules() +{ + [ -d $install ] || mkdir -p $install + cp * $install + +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/etc/sagan/rules + + cp -a $install/* $fs/etc/sagan/rules +} diff -r 00b0f1a6f8a1 -r f40fbf8bf14b sagan/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sagan/receipt Wed Dec 14 02:30:44 2011 +0100 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="sagan" +VERSION="0.2.0" +CATEGORY="security" +SHORT_DESC="Multi-threaded, real time system and event log monitoring system" +MAINTAINER="erjo@slitaz.org" +WEB_SITE="http://sagan.softwink.com/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://sagan.softwink.com/download/$TARBALL" + +DEPENDS="libesmtp libpcap libdnet liblognorm sagan-rules" +BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev liblognorm-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure $CONFIGURE_ARGS \ + --sysconfdir=/etc/sagan \ + --disable-mysql \ + --disable-postgresql \ + --disable-prelude \ + --disable-lognorm \ + && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir $fs/usr + + cp -a $install/usr/bin $fs/usr + cp -a $install/var $fs/ + cp -a $install/etc $fs/ + +}