[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ossec-hids/
commit: d88281f267d8b74148a94a3813a29dc88de028c9 Author: Ralph Seichter seichter de> AuthorDate: Sat Dec 19 00:15:54 2020 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Dec 26 21:34:50 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d88281f2 net-analyzer/ossec-hids: Change to "maintainer needed" Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Ralph Seichter seichter.de> Closes: https://github.com/gentoo/gentoo/pull/18718 Signed-off-by: Andreas Sturmlechner gentoo.org> net-analyzer/ossec-hids/metadata.xml | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/net-analyzer/ossec-hids/metadata.xml b/net-analyzer/ossec-hids/metadata.xml index a6ba742f6ee..cef6eccb2d7 100644 --- a/net-analyzer/ossec-hids/metadata.xml +++ b/net-analyzer/ossec-hids/metadata.xml @@ -1,14 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd";> - - gen...@seichter.de - Ralph Seichter - - - proxy-ma...@gentoo.org - Proxy Maintainers - + OSSEC is a full platform to monitor and control your systems. It mixes together all the aspects of HIDS (host-based intrusion detection), log
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ossec-hids/
commit: f67522bc95ac63b1090bceaf85ef9d08f4c0f54a Author: Ralph Seichter seichter de> AuthorDate: Wed Sep 2 10:10:05 2020 + Commit: Sam James gentoo org> CommitDate: Mon Sep 14 00:56:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f67522bc net-analyzer/ossec-hids: Add libpcre2[jit] dependency Closes: https://bugs.gentoo.org/733230 Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: Ralph Seichter seichter.de> Closes: https://github.com/gentoo/gentoo/pull/17372 Signed-off-by: Sam James gentoo.org> net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild b/net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild index 366aa7098bd..a716eb211cf 100644 --- a/net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild +++ b/net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild @@ -19,7 +19,7 @@ RDEPEND="acct-user/ossec acct-user/ossecm acct-user/ossecr dev-libs/libevent - dev-libs/libpcre2 + dev-libs/libpcre2[jit] mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= ) sqlite? ( dev-db/sqlite:3 )"
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ossec-hids/files/, net-analyzer/ossec-hids/
commit: 96587d39bdb2cdbd29a66ec50af93b2b82510f9e Author: Sam James gentoo org> AuthorDate: Fri Jul 17 21:01:45 2020 + Commit: Sam James gentoo org> CommitDate: Fri Jul 17 23:59:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96587d39 net-analyzer/ossec-hids: security cleanup Bug: https://bugs.gentoo.org/707826 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Sam James gentoo.org> net-analyzer/ossec-hids/Manifest | 3 - net-analyzer/ossec-hids/files/makefile-3.2.0.patch | 28 - net-analyzer/ossec-hids/files/makefile-3.3.0.patch | 28 - net-analyzer/ossec-hids/files/makefile.patch | 28 - net-analyzer/ossec-hids/ossec-hids-3.1.0.ebuild| 68 -- net-analyzer/ossec-hids/ossec-hids-3.2.0-r1.ebuild | 64 net-analyzer/ossec-hids/ossec-hids-3.2.0.ebuild| 63 net-analyzer/ossec-hids/ossec-hids-3.3.0.ebuild| 67 - 8 files changed, 349 deletions(-) diff --git a/net-analyzer/ossec-hids/Manifest b/net-analyzer/ossec-hids/Manifest index 993d4d047a7..a88003bb41c 100644 --- a/net-analyzer/ossec-hids/Manifest +++ b/net-analyzer/ossec-hids/Manifest @@ -1,4 +1 @@ -DIST ossec-hids-3.1.0.tar.gz 1886469 BLAKE2B c175c8659a8b5d0d269a5cb6bf142276f29e6f676afc6029accf854d68299d71147ba65a667601e77c6db8ca49a29afa49534e5683369f420f6389059ae61fc3 SHA512 fe55f82ac354d9fcd767d8379a492279644308788535780bb029d46688c93f259771686462570137555b40082c6756daad44bbdd1ddc953ed0bb22b65c6cb566 -DIST ossec-hids-3.2.0.tar.gz 1896977 BLAKE2B d77cff3a3a72287ad2235f346c7d07cfdad83872d956f57877ed44ad21bb717e4b4ddcfd0e8b2ce45cb90160bb63a28a7d06bc6225b53cc5ed42f7a97c5a1765 SHA512 40b25b97c43a66b8a145914ab0badd9d4f7de7d2168aa7a49abdf778c620a4b533ce3de0883d26c4c39816cf78674a053788a57c5f9c38fbea7cd8b13a35d18f -DIST ossec-hids-3.3.0.tar.gz 1900070 BLAKE2B a18a1e55ba44450c634b59099f10b674d27b2079ff456a034dc7bb4bbaf3c89b96f197515f3fb7aa54c248643f333e830a519b04cd4a9402cec2c32597fd96b2 SHA512 97c7e7b21ce88a3f1c89b79ff74b0c13804ba313cf3f30b98bcb4011f422ca050876e780c30624812d399d6b5c59629e52f6772b9ee0cd7cead1d66044dca627 DIST ossec-hids-3.6.0.tar.gz 1921753 BLAKE2B ca33a94d09265c94dbdb99e2b9637d1e062f39ab88837a5c8f089d64a6369c1bef1e010b18ac4713cd4965dcf189bb1c2866fd33813cd94ae34ac04182070580 SHA512 1f5e897de757df264dfb56def74b7d8f886b6b9d772b5b3d0197c9cd00a32fd7fd8a7b53566851fea3cd74d433b5594cbd074e50b7dbe36305fb3c243e8ddcf5 diff --git a/net-analyzer/ossec-hids/files/makefile-3.2.0.patch b/net-analyzer/ossec-hids/files/makefile-3.2.0.patch deleted file mode 100644 index 810bc077d43..000 --- a/net-analyzer/ossec-hids/files/makefile-3.2.0.patch +++ /dev/null @@ -1,28 +0,0 @@ a/Makefile 2019-03-09 16:33:13.465947636 +0100 -+++ b/Makefile 2019-03-09 16:32:57.105946856 +0100 -@@ -370,7 +370,6 @@ - install-server: install-server-generic - - install-common: build -- ./init/adduser.sh ${OSSEC_USER} ${OSSEC_USER_MAIL} ${OSSEC_USER_REM} ${OSSEC_GROUP} ${PREFIX} - $(call INSTALL_CMD,0550,root,${OSSEC_GROUP}) -d ${PREFIX}/ - $(call INSTALL_CMD,0750,${OSSEC_USER},${OSSEC_GROUP}) -d ${PREFIX}/logs - $(call INSTALL_CMD,0660,${OSSEC_USER},${OSSEC_GROUP}) /dev/null ${PREFIX}/logs/ossec.log -@@ -1160,7 +1159,7 @@ - test ## - - --CFLAGS_TEST = -g -O0 --coverage -+CFLAGS_TEST = -g -O0 - - LDFLAGS_TEST = -lcheck -lm -pthread -lrt - -@@ -1171,7 +1170,7 @@ - - test_programs = test_os_zlib test_os_xml test_os_regex test_os_crypto test_shared - --.PHONY: test run_tests build_tests test_valgrind test_coverage -+.PHONY: test run_tests build_tests test_valgrind - - test: build_tests - ${MAKE} run_tests diff --git a/net-analyzer/ossec-hids/files/makefile-3.3.0.patch b/net-analyzer/ossec-hids/files/makefile-3.3.0.patch deleted file mode 100644 index 810bc077d43..000 --- a/net-analyzer/ossec-hids/files/makefile-3.3.0.patch +++ /dev/null @@ -1,28 +0,0 @@ a/Makefile 2019-03-09 16:33:13.465947636 +0100 -+++ b/Makefile 2019-03-09 16:32:57.105946856 +0100 -@@ -370,7 +370,6 @@ - install-server: install-server-generic - - install-common: build -- ./init/adduser.sh ${OSSEC_USER} ${OSSEC_USER_MAIL} ${OSSEC_USER_REM} ${OSSEC_GROUP} ${PREFIX} - $(call INSTALL_CMD,0550,root,${OSSEC_GROUP}) -d ${PREFIX}/ - $(call INSTALL_CMD,0750,${OSSEC_USER},${OSSEC_GROUP}) -d ${PREFIX}/logs - $(call INSTALL_CMD,0660,${OSSEC_USER},${OSSEC_GROUP}) /dev/null ${PREFIX}/logs/ossec.log -@@ -1160,7 +1159,7 @@ - test ## - - --CFLAGS_TEST = -g -O0 --coverage -+CFLAGS_TEST = -g -O0 - - LDFLAGS_TEST = -lcheck -lm -pthread -lrt - -@@ -1171,7 +1170,7 @@ - - test_programs = test_os_zlib test_os_xml test_os_regex test_os_crypto test_shared - --.PHONY: test run_tests build_tests test_valgrind test_coverage -+.PHONY: test run_tests build_tests test_valg
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ossec-hids/
commit: db90a56583292311e28de8f65554a5ce1192ed9d Author: Joonas Niilola gentoo org> AuthorDate: Fri Jul 17 06:10:01 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Fri Jul 17 06:10:01 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db90a565 net-analyzer/ossec-hids: stabilize 3.6.0 on amd64, #707826 Bug: https://bugs.gentoo.org/707826 Signed-off-by: Joonas Niilola gentoo.org> net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild b/net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild index d305e7ce418..366aa7098bd 100644 --- a/net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild +++ b/net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/ossec/ossec-hids/archive/${PV}.tar.gz -> ${P}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="agent hybrid local mysql postgres server sqlite test" REQUIRED_USE="^^ ( agent hybrid local server ) ?? ( mysql postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ossec-hids/, net-analyzer/ossec-hids/files/
commit: cc358dded272e5f8313f7ec2762af2f11f6c Author: Ralph Seichter seichter de> AuthorDate: Sun May 24 15:02:32 2020 + Commit: Aaron Bauman gentoo org> CommitDate: Thu Jun 4 17:05:32 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc35 net-analyzer/ossec-hids: Add GCC -fno-common fix Add an upstream-provided fix for the impending GCC-10 change regarding the -fno-common flag. Bugs: https://bugs.gentoo.org/720088 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Ralph Seichter seichter.de> Closes: https://github.com/gentoo/gentoo/pull/15953 Signed-off-by: Aaron Bauman gentoo.org> .../ossec-hids/files/gcc-fno-common-3.6.0.patch| 402 + net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild| 9 +- 2 files changed, 410 insertions(+), 1 deletion(-) diff --git a/net-analyzer/ossec-hids/files/gcc-fno-common-3.6.0.patch b/net-analyzer/ossec-hids/files/gcc-fno-common-3.6.0.patch new file mode 100644 index 000..e8ed3c66dd9 --- /dev/null +++ b/net-analyzer/ossec-hids/files/gcc-fno-common-3.6.0.patch @@ -0,0 +1,402 @@ +diff --git a/src/addagent/main.c b/src/addagent/main.c +index 587a8a3d8..ab12f0326 100644 +--- a/src/addagent/main.c b/src/addagent/main.c +@@ -17,6 +17,7 @@ static void print_banner(void); + static void manage_shutdown(int sig) __attribute__((noreturn)); + #endif + ++int willchroot; + + #if defined(__MINGW32__) + static int setenv(const char *name, const char *val, __attribute__((unused)) int overwrite) +diff --git a/src/addagent/manage_agents.c b/src/addagent/manage_agents.c +index ac39c1e66..4f9c266ff 100644 +--- a/src/addagent/manage_agents.c b/src/addagent/manage_agents.c +@@ -85,6 +85,8 @@ int add_agent(int json_output) + + char authfile[257]; + ++extern int willchroot; ++ + if(willchroot > 0) { + snprintf(authfile, 256, "%s", AUTH_FILE); //XXX + } else { +diff --git a/src/addagent/manage_agents.h b/src/addagent/manage_agents.h +index 4812dba43..f2962e80b 100644 +--- a/src/addagent/manage_agents.h b/src/addagent/manage_agents.h +@@ -147,4 +147,4 @@ extern fpos_t fp_pos; + #define GMF_UNKN_ERROR ARGV0 ": Could not run GetModuleFileName which returned (%ld).\n" + + +-int willchroot; ++//int willchroot; +diff --git a/src/addagent/manage_keys.c b/src/addagent/manage_keys.c +index 146b48326..ffb9a1f21 100644 +--- a/src/addagent/manage_keys.c b/src/addagent/manage_keys.c +@@ -336,6 +336,8 @@ int k_bulkload(const char *cmdbulk) + char delims[] = ","; + char *token = NULL; + ++extern int willchroot; ++ + /* Check if we can open the input file */ + printf("Opening: [%s]\n", cmdbulk); + infp = fopen(cmdbulk, "r"); +diff --git a/src/analysisd/analysisd.c b/src/analysisd/analysisd.c +index a220f4421..0a81971de 100644 +--- a/src/analysisd/analysisd.c b/src/analysisd/analysisd.c +@@ -42,7 +42,12 @@ + #endif + + #ifdef SQLITE_ENABLED +-#include "syscheck-sqlite.h" ++#include ++sqlite3 *conn; ++#endif ++ ++#ifdef LIBGEOIP_ENABLED ++GeoIP *geoipdb; + #endif + + /** Prototypes **/ +diff --git a/src/analysisd/config.h b/src/analysisd/config.h +index 8d74c756e..976d1942e 100644 +--- a/src/analysisd/config.h b/src/analysisd/config.h +@@ -12,6 +12,7 @@ + + #include "config/config.h" + #include "config/global-config.h" ++ + #ifdef LIBGEOIP_ENABLED + #include "GeoIP.h" + #endif +@@ -20,9 +21,11 @@ + extern long int __crt_ftell; /* Global ftell pointer */ + extern _Config Config; /* Global Config structure */ + ++/* + #ifdef LIBGEOIP_ENABLED + GeoIP *geoipdb; + #endif ++*/ + + int GlobalConf(const char *cfgfile); + +diff --git a/src/analysisd/decoders/geoip.c b/src/analysisd/decoders/geoip.c +index 464e4bb71..9816b4c81 100644 +--- a/src/analysisd/decoders/geoip.c b/src/analysisd/decoders/geoip.c +@@ -30,6 +30,7 @@ char *GetGeoInfobyIP(char *ip_addr) + GeoIPRecord *geoiprecord; + char *geodata = NULL; + char geobuffer[256 +1]; ++extern GeoIP *geoipdb; + + if(!geoipdb) + { +diff --git a/src/analysisd/decoders/syscheck.c b/src/analysisd/decoders/syscheck.c +index a6d675892..30339a00d 100644 +--- a/src/analysisd/decoders/syscheck.c b/src/analysisd/decoders/syscheck.c +@@ -16,7 +16,7 @@ + #include "decoder.h" + + #ifdef SQLITE_ENABLED +-#include "syscheck-sqlite.h" ++#include + #endif + + typedef struct __sdb { +diff --git a/src/analysisd/makelists.c b/src/analysisd/makelists.c +index 06c90db70..dfbe6a4a3 100644 +--- a/src/analysisd/makelists.c b/src/analysisd/makelists.c +@@ -32,6 +32,10 @@ time_t c_time; + char __shost[512]; + OSDecoderInfo *NULL_Decoder; + ++#ifdef LIBGEOIP_ENABLED ++GeoIP *geoipdb; ++#endif ++ + /* print help statement */ + __attribute__((noreturn)) + static void help_makelists(void) +diff --git a/src/analysisd/syscheck-sqlite.h b/src/analysisd/syscheck-sqlite.h +deleted file mode 100644 +index 526cab26e..0 +--- a/src/analysisd/syscheck-sqlite
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ossec-hids/
commit: c04c247c64ca935798fd6ca14ae9e929ac2ba599 Author: Ralph Seichter seichter de> AuthorDate: Fri Mar 20 22:32:51 2020 + Commit: Thomas Deutschmann gentoo org> CommitDate: Sat Mar 21 01:23:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c04c247c net-analyzer/ossec-hids: Fix dependency Add dev-libs/libevent as a dependency. Closes: https://bugs.gentoo.org/713692 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Ralph Seichter seichter.de> Closes: https://github.com/gentoo/gentoo/pull/15030 Signed-off-by: Thomas Deutschmann gentoo.org> net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild b/net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild index 24d95cba9f5..7c416ed9c25 100644 --- a/net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild +++ b/net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild @@ -18,6 +18,7 @@ RESTRICT="!test? ( test )" RDEPEND="acct-user/ossec acct-user/ossecm acct-user/ossecr + dev-libs/libevent dev-libs/libpcre2 mysql? ( virtual/mysql ) postgres? ( dev-db/postgresql:= )
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ossec-hids/files/, net-analyzer/ossec-hids/
commit: 893c535777a2ae759e3065aafb25f5c9d77e3ad9 Author: Ralph Seichter seichter de> AuthorDate: Sat Feb 22 18:33:07 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Wed Mar 11 06:09:14 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=893c5357 net-analyzer/ossec-hids: GLEP 81, version bump Change ebuild for GLEP 81, bump to upstream release 3.6.0. Bug: https://bugs.gentoo.org/707826 Closes: https://bugs.gentoo.org/707890 Closes: https://bugs.gentoo.org/710508 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Ralph Seichter seichter.de> Closes: https://github.com/gentoo/gentoo/pull/14743 Signed-off-by: Joonas Niilola gentoo.org> net-analyzer/ossec-hids/Manifest | 1 + net-analyzer/ossec-hids/files/makefile-3.6.0.patch | 28 + net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild| 66 ++ 3 files changed, 95 insertions(+) diff --git a/net-analyzer/ossec-hids/Manifest b/net-analyzer/ossec-hids/Manifest index e33470f61e0..993d4d047a7 100644 --- a/net-analyzer/ossec-hids/Manifest +++ b/net-analyzer/ossec-hids/Manifest @@ -1,3 +1,4 @@ DIST ossec-hids-3.1.0.tar.gz 1886469 BLAKE2B c175c8659a8b5d0d269a5cb6bf142276f29e6f676afc6029accf854d68299d71147ba65a667601e77c6db8ca49a29afa49534e5683369f420f6389059ae61fc3 SHA512 fe55f82ac354d9fcd767d8379a492279644308788535780bb029d46688c93f259771686462570137555b40082c6756daad44bbdd1ddc953ed0bb22b65c6cb566 DIST ossec-hids-3.2.0.tar.gz 1896977 BLAKE2B d77cff3a3a72287ad2235f346c7d07cfdad83872d956f57877ed44ad21bb717e4b4ddcfd0e8b2ce45cb90160bb63a28a7d06bc6225b53cc5ed42f7a97c5a1765 SHA512 40b25b97c43a66b8a145914ab0badd9d4f7de7d2168aa7a49abdf778c620a4b533ce3de0883d26c4c39816cf78674a053788a57c5f9c38fbea7cd8b13a35d18f DIST ossec-hids-3.3.0.tar.gz 1900070 BLAKE2B a18a1e55ba44450c634b59099f10b674d27b2079ff456a034dc7bb4bbaf3c89b96f197515f3fb7aa54c248643f333e830a519b04cd4a9402cec2c32597fd96b2 SHA512 97c7e7b21ce88a3f1c89b79ff74b0c13804ba313cf3f30b98bcb4011f422ca050876e780c30624812d399d6b5c59629e52f6772b9ee0cd7cead1d66044dca627 +DIST ossec-hids-3.6.0.tar.gz 1921753 BLAKE2B ca33a94d09265c94dbdb99e2b9637d1e062f39ab88837a5c8f089d64a6369c1bef1e010b18ac4713cd4965dcf189bb1c2866fd33813cd94ae34ac04182070580 SHA512 1f5e897de757df264dfb56def74b7d8f886b6b9d772b5b3d0197c9cd00a32fd7fd8a7b53566851fea3cd74d433b5594cbd074e50b7dbe36305fb3c243e8ddcf5 diff --git a/net-analyzer/ossec-hids/files/makefile-3.6.0.patch b/net-analyzer/ossec-hids/files/makefile-3.6.0.patch new file mode 100644 index 000..810bc077d43 --- /dev/null +++ b/net-analyzer/ossec-hids/files/makefile-3.6.0.patch @@ -0,0 +1,28 @@ +--- a/Makefile 2019-03-09 16:33:13.465947636 +0100 b/Makefile 2019-03-09 16:32:57.105946856 +0100 +@@ -370,7 +370,6 @@ + install-server: install-server-generic + + install-common: build +- ./init/adduser.sh ${OSSEC_USER} ${OSSEC_USER_MAIL} ${OSSEC_USER_REM} ${OSSEC_GROUP} ${PREFIX} + $(call INSTALL_CMD,0550,root,${OSSEC_GROUP}) -d ${PREFIX}/ + $(call INSTALL_CMD,0750,${OSSEC_USER},${OSSEC_GROUP}) -d ${PREFIX}/logs + $(call INSTALL_CMD,0660,${OSSEC_USER},${OSSEC_GROUP}) /dev/null ${PREFIX}/logs/ossec.log +@@ -1160,7 +1159,7 @@ + test ## + + +-CFLAGS_TEST = -g -O0 --coverage ++CFLAGS_TEST = -g -O0 + + LDFLAGS_TEST = -lcheck -lm -pthread -lrt + +@@ -1171,7 +1170,7 @@ + + test_programs = test_os_zlib test_os_xml test_os_regex test_os_crypto test_shared + +-.PHONY: test run_tests build_tests test_valgrind test_coverage ++.PHONY: test run_tests build_tests test_valgrind + + test: build_tests + ${MAKE} run_tests diff --git a/net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild b/net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild new file mode 100644 index 000..24d95cba9f5 --- /dev/null +++ b/net-analyzer/ossec-hids/ossec-hids-3.6.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Open Source Host-based Intrusion Detection System" +HOMEPAGE="https://www.ossec.net/"; +SRC_URI="https://github.com/ossec/ossec-hids/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="agent hybrid local mysql postgres server sqlite test" +REQUIRED_USE="^^ ( agent hybrid local server ) + ?? ( mysql postgres )" +RESTRICT="!test? ( test )" + +RDEPEND="acct-user/ossec + acct-user/ossecm + acct-user/ossecr + dev-libs/libpcre2 + mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql:= ) + sqlite? ( dev-db/sqlite:3 )" +DEPEND="${RDEPEND} + test? ( + dev-libs/check + dev-python/subunit + )" +S="${WORKDIR}/${P}/src" +PATCHES=( "${FILESDIR}/makefile-${PV}.patch" ) + +declare -a MY_OPT + +src_configure() { + local target="local" + use agent && target="agent" + use hybrid && target="hybrid" +
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ossec-hids/, net-analyzer/ossec-hids/files/
commit: cc56e191d778f684fd3da1ae45c10e1ff3cd2f9e Author: Ralph Seichter seichter de> AuthorDate: Fri Jun 28 17:29:32 2019 + Commit: Michał Górny gentoo org> CommitDate: Fri Jul 5 17:30:26 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc56e191 net-analyzer/ossec-hids: Fix build issue, version bump Added enewgroup to fix bug #688892. Updated to release 3.3.0. Closes: https://bugs.gentoo.org/688892 Signed-off-by: Ralph Seichter seichter.de> Package-Manager: Portage-2.3.66, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/12350 Signed-off-by: Michał Górny gentoo.org> net-analyzer/ossec-hids/Manifest | 1 + net-analyzer/ossec-hids/files/makefile-3.3.0.patch | 28 + net-analyzer/ossec-hids/ossec-hids-3.3.0.ebuild| 67 ++ 3 files changed, 96 insertions(+) diff --git a/net-analyzer/ossec-hids/Manifest b/net-analyzer/ossec-hids/Manifest index 9fd4fe3f66d..e33470f61e0 100644 --- a/net-analyzer/ossec-hids/Manifest +++ b/net-analyzer/ossec-hids/Manifest @@ -1,2 +1,3 @@ DIST ossec-hids-3.1.0.tar.gz 1886469 BLAKE2B c175c8659a8b5d0d269a5cb6bf142276f29e6f676afc6029accf854d68299d71147ba65a667601e77c6db8ca49a29afa49534e5683369f420f6389059ae61fc3 SHA512 fe55f82ac354d9fcd767d8379a492279644308788535780bb029d46688c93f259771686462570137555b40082c6756daad44bbdd1ddc953ed0bb22b65c6cb566 DIST ossec-hids-3.2.0.tar.gz 1896977 BLAKE2B d77cff3a3a72287ad2235f346c7d07cfdad83872d956f57877ed44ad21bb717e4b4ddcfd0e8b2ce45cb90160bb63a28a7d06bc6225b53cc5ed42f7a97c5a1765 SHA512 40b25b97c43a66b8a145914ab0badd9d4f7de7d2168aa7a49abdf778c620a4b533ce3de0883d26c4c39816cf78674a053788a57c5f9c38fbea7cd8b13a35d18f +DIST ossec-hids-3.3.0.tar.gz 1900070 BLAKE2B a18a1e55ba44450c634b59099f10b674d27b2079ff456a034dc7bb4bbaf3c89b96f197515f3fb7aa54c248643f333e830a519b04cd4a9402cec2c32597fd96b2 SHA512 97c7e7b21ce88a3f1c89b79ff74b0c13804ba313cf3f30b98bcb4011f422ca050876e780c30624812d399d6b5c59629e52f6772b9ee0cd7cead1d66044dca627 diff --git a/net-analyzer/ossec-hids/files/makefile-3.3.0.patch b/net-analyzer/ossec-hids/files/makefile-3.3.0.patch new file mode 100644 index 000..810bc077d43 --- /dev/null +++ b/net-analyzer/ossec-hids/files/makefile-3.3.0.patch @@ -0,0 +1,28 @@ +--- a/Makefile 2019-03-09 16:33:13.465947636 +0100 b/Makefile 2019-03-09 16:32:57.105946856 +0100 +@@ -370,7 +370,6 @@ + install-server: install-server-generic + + install-common: build +- ./init/adduser.sh ${OSSEC_USER} ${OSSEC_USER_MAIL} ${OSSEC_USER_REM} ${OSSEC_GROUP} ${PREFIX} + $(call INSTALL_CMD,0550,root,${OSSEC_GROUP}) -d ${PREFIX}/ + $(call INSTALL_CMD,0750,${OSSEC_USER},${OSSEC_GROUP}) -d ${PREFIX}/logs + $(call INSTALL_CMD,0660,${OSSEC_USER},${OSSEC_GROUP}) /dev/null ${PREFIX}/logs/ossec.log +@@ -1160,7 +1159,7 @@ + test ## + + +-CFLAGS_TEST = -g -O0 --coverage ++CFLAGS_TEST = -g -O0 + + LDFLAGS_TEST = -lcheck -lm -pthread -lrt + +@@ -1171,7 +1170,7 @@ + + test_programs = test_os_zlib test_os_xml test_os_regex test_os_crypto test_shared + +-.PHONY: test run_tests build_tests test_valgrind test_coverage ++.PHONY: test run_tests build_tests test_valgrind + + test: build_tests + ${MAKE} run_tests diff --git a/net-analyzer/ossec-hids/ossec-hids-3.3.0.ebuild b/net-analyzer/ossec-hids/ossec-hids-3.3.0.ebuild new file mode 100644 index 000..c9b83c7daa3 --- /dev/null +++ b/net-analyzer/ossec-hids/ossec-hids-3.3.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit user + +DESCRIPTION="Open Source Host-based Intrusion Detection System" +HOMEPAGE="https://www.ossec.net/"; +SRC_URI="https://github.com/ossec/ossec-hids/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="agent hybrid local mysql postgres server sqlite" +REQUIRED_USE="^^ ( agent hybrid local server ) + ?? ( mysql postgres )" + +DEPEND="dev-libs/libpcre2 + mysql? ( virtual/mysql ) + sqlite? ( dev-db/sqlite:3 ) + postgres? ( dev-db/postgresql:= )" +RDEPEND="${DEPEND}" +S="${WORKDIR}/${P}/src" +PATCHES=( "${FILESDIR}/makefile-${PV}.patch" ) + +declare -a MY_OPT + +pkg_setup() { + enewgroup ossec + enewuser ossec -1 -1 /var/ossec ossec + enewuser ossecm -1 -1 -1 ossec + enewuser ossecr -1 -1 -1 ossec +} + +src_configure() { + local target="local" + use agent && target="agent" + use hybrid && target="hybrid" + use server && target="server" + MY_OPT=( + PCRE2_SYSTEM=yes + TARGET=${target} + USE_SQLITE=$(usex sqlite) + V=0 + ZLIB_SYSTEM=yes + ) + use mysql && MY_OPT+=( DATABASE=mysql ) + use postgres && MY_OPT+=( DATABASE=pgsql ) +} + +src_compile() { + emake "${MY_OPT[@]}" PREFIX=/var/ossec +} + +src_tes
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ossec-hids/
commit: 20658cb6eaa7092885c8edf99300b67ded5a536e Author: Mikle Kolyada gentoo org> AuthorDate: Sat May 25 08:44:08 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Sat May 25 08:44:08 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20658cb6 net-analyzer/ossec-hids: amd64 stable wrt bug #685468 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 RepoMan-Options: --include-arches="amd64" net-analyzer/ossec-hids/ossec-hids-3.2.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-analyzer/ossec-hids/ossec-hids-3.2.0-r1.ebuild b/net-analyzer/ossec-hids/ossec-hids-3.2.0-r1.ebuild index 31980c7fe55..61c46601595 100644 --- a/net-analyzer/ossec-hids/ossec-hids-3.2.0-r1.ebuild +++ b/net-analyzer/ossec-hids/ossec-hids-3.2.0-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/ossec/ossec-hids/archive/${PV}.tar.gz -> ${P}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="agent hybrid local mysql postgres server sqlite" REQUIRED_USE="^^ ( agent hybrid local server ) ?? ( mysql postgres )"
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ossec-hids/
commit: 1701ae5fff85bd7e8b6eb84c7e0fbac3a2cadd11 Author: Ralph Seichter seichter de> AuthorDate: Wed Apr 17 17:35:38 2019 + Commit: Michał Górny gentoo org> CommitDate: Sat Apr 27 14:25:52 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1701ae5f net-analyzer/ossec-hids: Fix config data getting overwritten Create an env.d file containing CONFIG_PROTECT="/var/ossec/etc" to prevent existing config data from being overwritten by the ebuild. Closes: https://bugs.gentoo.org/683448 Signed-off-by: Ralph Seichter seichter.de> Package-Manager: Portage-2.3.62, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/11724 Signed-off-by: Michał Górny gentoo.org> net-analyzer/ossec-hids/ossec-hids-3.2.0-r1.ebuild | 64 ++ 1 file changed, 64 insertions(+) diff --git a/net-analyzer/ossec-hids/ossec-hids-3.2.0-r1.ebuild b/net-analyzer/ossec-hids/ossec-hids-3.2.0-r1.ebuild new file mode 100644 index 000..31980c7fe55 --- /dev/null +++ b/net-analyzer/ossec-hids/ossec-hids-3.2.0-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit user + +DESCRIPTION="Open Source Host-based Intrusion Detection System" +HOMEPAGE="https://www.ossec.net/"; +SRC_URI="https://github.com/ossec/ossec-hids/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="agent hybrid local mysql postgres server sqlite" +REQUIRED_USE="^^ ( agent hybrid local server ) + ?? ( mysql postgres )" + +DEPEND="mysql? ( virtual/mysql ) + sqlite? ( dev-db/sqlite:3 ) + postgres? ( dev-db/postgresql:= )" +RDEPEND="${DEPEND}" +S="${WORKDIR}/${P}/src" +PATCHES=( "${FILESDIR}/makefile-${PV}.patch" ) + +declare -a MY_OPT + +pkg_setup() { + enewuser ossec -1 -1 /var/ossec + enewuser ossecm -1 -1 -1 ossec + enewuser ossecr -1 -1 -1 ossec +} + +src_configure() { + local target="local" + use agent && target="agent" + use hybrid && target="hybrid" + use server && target="server" + MY_OPT=( + TARGET=${target} + USE_SQLITE=$(usex sqlite) + V=0 + ZLIB_SYSTEM=yes + ) + use mysql && MY_OPT+=( DATABASE=mysql ) + use postgres && MY_OPT+=( DATABASE=pgsql ) +} + +src_compile() { + emake "${MY_OPT[@]}" PREFIX=/var/ossec +} + +src_test() { + emake "${MY_OPT[@]}" PREFIX=/var/ossec test +} + +src_install() { + keepdir /var/ossec/logs/{alerts,archives,firewall} + keepdir /var/ossec/lua/{compiled,native} + keepdir /var/ossec/queue/{agent-info,agentless,alerts,diff,fts,ossec,rids,rootcheck,syscheck} + keepdir /var/ossec/{.ssh,stats,tmp,var/run} + newenvd - 50ossec-hids <<<'CONFIG_PROTECT="/var/ossec/etc"' + emake "${MY_OPT[@]}" PREFIX="${D}/var/ossec" install +}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ossec-hids/files/, net-analyzer/ossec-hids/
commit: 4eb0be7ea233b8638abacc43d868196396c32126 Author: Ralph Seichter seichter de> AuthorDate: Sat Mar 9 15:40:47 2019 + Commit: Patrice Clement gentoo org> CommitDate: Sun Mar 10 22:35:17 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4eb0be7e net-analyzer/ossec-hids: upstream release 3.2.0. Extended JSON output support and more, see https://github.com/ossec/ossec-hids/releases/tag/3.2.0 for the official release notes. Signed-off-by: Ralph Seichter seichter.de> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/11320 Signed-off-by: Patrice Clement gentoo.org> net-analyzer/ossec-hids/Manifest | 1 + net-analyzer/ossec-hids/files/makefile-3.2.0.patch | 28 ++ net-analyzer/ossec-hids/ossec-hids-3.2.0.ebuild| 63 ++ 3 files changed, 92 insertions(+) diff --git a/net-analyzer/ossec-hids/Manifest b/net-analyzer/ossec-hids/Manifest index f36a96f0d3e..9fd4fe3f66d 100644 --- a/net-analyzer/ossec-hids/Manifest +++ b/net-analyzer/ossec-hids/Manifest @@ -1 +1,2 @@ DIST ossec-hids-3.1.0.tar.gz 1886469 BLAKE2B c175c8659a8b5d0d269a5cb6bf142276f29e6f676afc6029accf854d68299d71147ba65a667601e77c6db8ca49a29afa49534e5683369f420f6389059ae61fc3 SHA512 fe55f82ac354d9fcd767d8379a492279644308788535780bb029d46688c93f259771686462570137555b40082c6756daad44bbdd1ddc953ed0bb22b65c6cb566 +DIST ossec-hids-3.2.0.tar.gz 1896977 BLAKE2B d77cff3a3a72287ad2235f346c7d07cfdad83872d956f57877ed44ad21bb717e4b4ddcfd0e8b2ce45cb90160bb63a28a7d06bc6225b53cc5ed42f7a97c5a1765 SHA512 40b25b97c43a66b8a145914ab0badd9d4f7de7d2168aa7a49abdf778c620a4b533ce3de0883d26c4c39816cf78674a053788a57c5f9c38fbea7cd8b13a35d18f diff --git a/net-analyzer/ossec-hids/files/makefile-3.2.0.patch b/net-analyzer/ossec-hids/files/makefile-3.2.0.patch new file mode 100644 index 000..810bc077d43 --- /dev/null +++ b/net-analyzer/ossec-hids/files/makefile-3.2.0.patch @@ -0,0 +1,28 @@ +--- a/Makefile 2019-03-09 16:33:13.465947636 +0100 b/Makefile 2019-03-09 16:32:57.105946856 +0100 +@@ -370,7 +370,6 @@ + install-server: install-server-generic + + install-common: build +- ./init/adduser.sh ${OSSEC_USER} ${OSSEC_USER_MAIL} ${OSSEC_USER_REM} ${OSSEC_GROUP} ${PREFIX} + $(call INSTALL_CMD,0550,root,${OSSEC_GROUP}) -d ${PREFIX}/ + $(call INSTALL_CMD,0750,${OSSEC_USER},${OSSEC_GROUP}) -d ${PREFIX}/logs + $(call INSTALL_CMD,0660,${OSSEC_USER},${OSSEC_GROUP}) /dev/null ${PREFIX}/logs/ossec.log +@@ -1160,7 +1159,7 @@ + test ## + + +-CFLAGS_TEST = -g -O0 --coverage ++CFLAGS_TEST = -g -O0 + + LDFLAGS_TEST = -lcheck -lm -pthread -lrt + +@@ -1171,7 +1170,7 @@ + + test_programs = test_os_zlib test_os_xml test_os_regex test_os_crypto test_shared + +-.PHONY: test run_tests build_tests test_valgrind test_coverage ++.PHONY: test run_tests build_tests test_valgrind + + test: build_tests + ${MAKE} run_tests diff --git a/net-analyzer/ossec-hids/ossec-hids-3.2.0.ebuild b/net-analyzer/ossec-hids/ossec-hids-3.2.0.ebuild new file mode 100644 index 000..417ebde460d --- /dev/null +++ b/net-analyzer/ossec-hids/ossec-hids-3.2.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit user + +DESCRIPTION="Open Source Host-based Intrusion Detection System" +HOMEPAGE="https://www.ossec.net/"; +SRC_URI="https://github.com/ossec/ossec-hids/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="agent hybrid local mysql postgres server sqlite" +REQUIRED_USE="^^ ( agent hybrid local server ) + ?? ( mysql postgres )" + +DEPEND="mysql? ( virtual/mysql ) + sqlite? ( dev-db/sqlite:3 ) + postgres? ( dev-db/postgresql:= )" +RDEPEND="${DEPEND}" +S="${WORKDIR}/${P}/src" +PATCHES=( "${FILESDIR}/makefile-${PV}.patch" ) + +declare -a MY_OPT + +pkg_setup() { + enewuser ossec -1 -1 /var/ossec + enewuser ossecm -1 -1 -1 ossec + enewuser ossecr -1 -1 -1 ossec +} + +src_configure() { + local target="local" + use agent && target="agent" + use hybrid && target="hybrid" + use server && target="server" + MY_OPT=( + TARGET=${target} + USE_SQLITE=$(usex sqlite) + V=0 + ZLIB_SYSTEM=yes + ) + use mysql && MY_OPT+=( DATABASE=mysql ) + use postgres && MY_OPT+=( DATABASE=pgsql ) +} + +src_compile() { + emake "${MY_OPT[@]}" PREFIX=/var/ossec +} + +src_test() { + emake "${MY_OPT[@]}" PREFIX=/var/ossec test +} + +src_install() { + keepdir /var/ossec/logs/{alerts,archives,firewall} + keepdir /var/ossec/lua/{compiled,native} + keepdir /var/ossec/queue/{agent-info,agentless,alerts,diff,fts,ossec,rids,rootcheck,syscheck} + keepdir /var/ossec/{.ssh,stats,tmp,var/run} + emake "${MY_OPT[@]}" PRE
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/ossec-hids/, net-analyzer/ossec-hids/files/
commit: 9fcab634ffa351e9821d8ae2539aef280f751a25 Author: Ralph Seichter seichter de> AuthorDate: Sat Oct 20 19:30:21 2018 + Commit: Michał Górny gentoo org> CommitDate: Tue Oct 30 10:27:49 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fcab634 net-analyzer/ossec-hids: open source HIDS (new package) OSSEC is a full platform to monitor and control your systems. It mixes together all the aspects of HIDS (host-based intrusion detection), log monitoring and SIM/SIEM together in a simple, powerful and open source solution. Signed-off-by: Ralph Seichter seichter.de> Closes: https://bugs.gentoo.org/545788 Package-Manager: Portage-2.3.49, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10189 Signed-off-by: Michał Górny gentoo.org> net-analyzer/ossec-hids/Manifest| 1 + net-analyzer/ossec-hids/files/makefile.patch| 28 ++ net-analyzer/ossec-hids/metadata.xml| 30 +++ net-analyzer/ossec-hids/ossec-hids-3.1.0.ebuild | 68 + 4 files changed, 127 insertions(+) diff --git a/net-analyzer/ossec-hids/Manifest b/net-analyzer/ossec-hids/Manifest new file mode 100644 index 000..f36a96f0d3e --- /dev/null +++ b/net-analyzer/ossec-hids/Manifest @@ -0,0 +1 @@ +DIST ossec-hids-3.1.0.tar.gz 1886469 BLAKE2B c175c8659a8b5d0d269a5cb6bf142276f29e6f676afc6029accf854d68299d71147ba65a667601e77c6db8ca49a29afa49534e5683369f420f6389059ae61fc3 SHA512 fe55f82ac354d9fcd767d8379a492279644308788535780bb029d46688c93f259771686462570137555b40082c6756daad44bbdd1ddc953ed0bb22b65c6cb566 diff --git a/net-analyzer/ossec-hids/files/makefile.patch b/net-analyzer/ossec-hids/files/makefile.patch new file mode 100644 index 000..2169b5287fd --- /dev/null +++ b/net-analyzer/ossec-hids/files/makefile.patch @@ -0,0 +1,28 @@ +--- a/Makefile 2018-10-12 00:25:16.0 +0200 b/Makefile 2018-10-26 17:59:44.458689842 +0200 +@@ -378,7 +378,6 @@ + install-server: install-server-generic + + install-common: build +- ./init/adduser.sh ${OSSEC_USER} ${OSSEC_USER_MAIL} ${OSSEC_USER_REM} ${OSSEC_GROUP} ${PREFIX} + install -d -m 0550 -o root -g ${OSSEC_GROUP} ${PREFIX}/ + install -d -m 0750 -o ${OSSEC_USER} -g ${OSSEC_GROUP} ${PREFIX}/logs + install -m 0660 -o ${OSSEC_USER} -g ${OSSEC_GROUP} /dev/null ${PREFIX}/logs/ossec.log +@@ -1166,7 +1165,7 @@ + test ## + + +-CFLAGS_TEST = -g -O0 --coverage ++CFLAGS_TEST = -g -O0 + + LDFLAGS_TEST = -lcheck -lm -pthread -lrt + +@@ -1177,7 +1176,7 @@ + + test_programs = test_os_zlib test_os_xml test_os_regex test_os_crypto test_shared + +-.PHONY: test run_tests build_tests test_valgrind test_coverage ++.PHONY: test run_tests build_tests test_valgrind + + test: build_tests + ${MAKE} run_tests diff --git a/net-analyzer/ossec-hids/metadata.xml b/net-analyzer/ossec-hids/metadata.xml new file mode 100644 index 000..a6ba742f6ee --- /dev/null +++ b/net-analyzer/ossec-hids/metadata.xml @@ -0,0 +1,30 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + gen...@seichter.de + Ralph Seichter + + + proxy-ma...@gentoo.org + Proxy Maintainers + + + OSSEC is a full platform to monitor and control your systems. It mixes + together all the aspects of HIDS (host-based intrusion detection), log + monitoring and SIM/SIEM together in a simple, powerful and open source + solution. + To determine which build target (agent, server, hybrid or local) best + suits your needs, please visit https://www.ossec.net/ and review the + documentation provided there. + + + Build "agent" installation target (see package description) + Build "hybrid" installation target + Build "local" installation target + Build "server" installation target + + + ossec/ossec-hids + + diff --git a/net-analyzer/ossec-hids/ossec-hids-3.1.0.ebuild b/net-analyzer/ossec-hids/ossec-hids-3.1.0.ebuild new file mode 100644 index 000..9df4ea46973 --- /dev/null +++ b/net-analyzer/ossec-hids/ossec-hids-3.1.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit user + +DESCRIPTION="Open Source Host-based Intrusion Detection System" +HOMEPAGE="https://www.ossec.net/"; +SRC_URI="https://github.com/ossec/ossec-hids/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="agent hybrid local mysql postgres server sqlite" +REQUIRED_USE="^^ ( agent hybrid local server ) + ?? ( mysql postgres )" + +DEPEND="mysql? ( virtual/mysql ) + sqlite? ( dev-db/sqlite:3 ) + postgres? ( dev-db/postgresql:= ) + sys-libs/z