wok-4.x rev 11418

Add: sagan, sagan-pgsql, sagan-mysql, sagan-rules
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Dec 14 02:30:44 2011 +0100 (2011-12-14)
parents 00b0f1a6f8a1
children 7b3d75b1c235
files sagan-mysql/receipt sagan-pgsql/receipt sagan-rules/receipt sagan/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sagan-mysql/receipt	Wed Dec 14 02:30:44 2011 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="sagan-mysql"
     1.7 +VERSION="0.2.0"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="Real time system and event log monitoring system with MySQL support"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +WEB_SITE="http://sagan.softwink.com/"
    1.12 +SOURCE="sagan"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WGET_URL="http://sagan.softwink.com/download/$TARBALL"
    1.15 +
    1.16 +DEPENDS="libesmtp libpcap libdnet libmysql-client liblognorm sagan-rules"
    1.17 +BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev mysql-dev liblognorm-dev"
    1.18 +PROVIDE="sagan"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	./configure $CONFIGURE_ARGS \
    1.24 +		--sysconfdir=/etc/sagan \
    1.25 +		--disable-postgresql \
    1.26 +		--disable-prelude \
    1.27 +		--disable-lognorm \
    1.28 +	&& make && make install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir $fs/usr
    1.35 +	
    1.36 +	cp -a $install/usr/bin $fs/usr
    1.37 +	cp -a $install/var $fs/
    1.38 +	cp -a $install/etc $fs/
    1.39 +	
    1.40 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/sagan-pgsql/receipt	Wed Dec 14 02:30:44 2011 +0100
     2.3 @@ -0,0 +1,38 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="sagan-pgsql"
     2.7 +VERSION="0.2.0"
     2.8 +CATEGORY="security"
     2.9 +SHORT_DESC="Real time system and event log monitoring system with MySQL support"
    2.10 +MAINTAINER="erjo@slitaz.org"
    2.11 +WEB_SITE="http://sagan.softwink.com/"
    2.12 +SOURCE="sagan"
    2.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.14 +WGET_URL="http://sagan.softwink.com/download/$TARBALL"
    2.15 +
    2.16 +DEPENDS="libesmtp libpcap libdnet libpostgresqlclient liblognorm sagan-rules"
    2.17 +BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev postgresql-dev liblognorm-dev"
    2.18 +PROVIDE="sagan"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +		./configure $CONFIGURE_ARGS \
    2.24 +		--sysconfdir=/etc/sagan \
    2.25 +		--with-postgresql-includes=/usr/include/postgresql \
    2.26 +		--with-postgresql-libraries=/usr/lib/postgresql \
    2.27 +		--disable-mysql \
    2.28 +		--disable-prelude \
    2.29 +		--disable-lognorm \
    2.30 +	&& make && make install
    2.31 +}
    2.32 +
    2.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.34 +genpkg_rules()
    2.35 +{
    2.36 +	mkdir $fs/usr
    2.37 +	
    2.38 +	cp -a $install/usr/bin $fs/usr
    2.39 +	cp -a $install/var $fs/
    2.40 +	cp -a $install/etc $fs/
    2.41 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/sagan-rules/receipt	Wed Dec 14 02:30:44 2011 +0100
     3.3 @@ -0,0 +1,29 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="sagan-rules"
     3.7 +VERSION="current"
     3.8 +CATEGORY="security"
     3.9 +SHORT_DESC="sagan rules"
    3.10 +MAINTAINER="erjo@slitaz.org"
    3.11 +WEB_SITE="http://sagan.softwink.com/"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.13 +WGET_URL="http://sagan.softwink.com/rules/$TARBALL"
    3.14 +
    3.15 +DEPENDS=""
    3.16 +BUILD_DEPENDS=""
    3.17 +
    3.18 +# Rules to configure and make the package.
    3.19 +compile_rules()
    3.20 +{
    3.21 +	[ -d $install ] || mkdir -p $install
    3.22 +	cp *  $install
    3.23 +	
    3.24 +}
    3.25 +
    3.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.27 +genpkg_rules()
    3.28 +{
    3.29 +	mkdir -p $fs/etc/sagan/rules
    3.30 +	
    3.31 +	cp -a $install/* $fs/etc/sagan/rules
    3.32 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/sagan/receipt	Wed Dec 14 02:30:44 2011 +0100
     4.3 @@ -0,0 +1,36 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="sagan"
     4.7 +VERSION="0.2.0"
     4.8 +CATEGORY="security"
     4.9 +SHORT_DESC="Multi-threaded, real time system and event log monitoring system"
    4.10 +MAINTAINER="erjo@slitaz.org"
    4.11 +WEB_SITE="http://sagan.softwink.com/"
    4.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.13 +WGET_URL="http://sagan.softwink.com/download/$TARBALL"
    4.14 +
    4.15 +DEPENDS="libesmtp libpcap libdnet liblognorm sagan-rules"
    4.16 +BUILD_DEPENDS="libesmtp-dev libpcap-dev libdnet-dev liblognorm-dev"
    4.17 +
    4.18 +# Rules to configure and make the package.
    4.19 +compile_rules()
    4.20 +{
    4.21 +	./configure $CONFIGURE_ARGS \
    4.22 +		--sysconfdir=/etc/sagan \
    4.23 +		--disable-mysql \
    4.24 +		--disable-postgresql \
    4.25 +		--disable-prelude \
    4.26 +		--disable-lognorm \
    4.27 +	&& make && make install
    4.28 +}
    4.29 +
    4.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.31 +genpkg_rules()
    4.32 +{
    4.33 +	mkdir $fs/usr
    4.34 +	
    4.35 +	cp -a $install/usr/bin $fs/usr
    4.36 +	cp -a $install/var $fs/
    4.37 +	cp -a $install/etc $fs/
    4.38 +	
    4.39 +}