diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2019-07-09 06:24:11 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-07-09 07:11:42 +0000 |
commit | 79ca634a27ef7689cf00de94c4c0896cc3bc3c91 (patch) | |
tree | 3eb5da0b2e5057da221d603a1ee907bd715573a7 /testing/ossec-hids | |
parent | 45c24345e85c89419a97def46776b94b95480ce3 (diff) | |
download | aports-79ca634a27ef7689cf00de94c4c0896cc3bc3c91.tar.bz2 aports-79ca634a27ef7689cf00de94c4c0896cc3bc3c91.tar.xz |
community/perl-mojolicious: upgrade to 8.19
Diffstat (limited to 'testing/ossec-hids')
-rw-r--r-- | testing/ossec-hids/00_a-out-h-path.patch | 13 | ||||
-rw-r--r-- | testing/ossec-hids/01_makefile.patch | 76 | ||||
-rw-r--r-- | testing/ossec-hids/02_ossec-server.conf.patch | 84 |
3 files changed, 0 insertions, 173 deletions
diff --git a/testing/ossec-hids/00_a-out-h-path.patch b/testing/ossec-hids/00_a-out-h-path.patch deleted file mode 100644 index b9e5a246cd..0000000000 --- a/testing/ossec-hids/00_a-out-h-path.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/rootcheck/os_string.c b/src/rootcheck/os_string.c -index 069f5bd..e5aafca 100755 ---- a/src/rootcheck/os_string.c -+++ b/src/rootcheck/os_string.c -@@ -78,7 +78,7 @@ struct exec - - #else - --#include <a.out.h> -+#include <linux/a.out.h> - #endif - - diff --git a/testing/ossec-hids/01_makefile.patch b/testing/ossec-hids/01_makefile.patch deleted file mode 100644 index c0536f29d3..0000000000 --- a/testing/ossec-hids/01_makefile.patch +++ /dev/null @@ -1,76 +0,0 @@ -Index: ossec-hids-2.8.2/Makefile -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ ossec-hids-2.8.2/Makefile 2015-08-10 04:36:27.819134760 +0000 -@@ -0,0 +1,71 @@ -+# -+# Santiago Bassett <santiago.bassett@gmail.com> -+# 06/15/2015 -+# -+ -+DESTDIR?=/ -+DIR=$(DESTDIR)/var/ossec -+OSSEC_INIT=$(DIR)/etc/ossec-init.conf -+ -+all: -+ echo "HEXTRA=-DMAX_AGENTS=16384" >> src/Config.OS -+ (cd src; make all; make build) -+ -+clean: -+ rm bin/* || /bin/true -+ mkdir -p $(DIR)/rules/translated/ -+ chmod 750 $(DIR) || /bin/true -+ chmod 750 $(DIR)/* || /bin/true -+ chmod 750 $(DIR)/rules/translated/ || /bin/true -+ chmod 750 $(DIR)/rules/translated/* || /bin/true -+ (cd src; make clean) -+ rm -f src/Config.OS -+ rm -f src/analysisd/compiled_rules/compiled_rules.h -+ rm -f src/isbigendian.c -+ rm -f src/analysisd/ossec-makelists -+ rm -f src/analysisd/ossec-logtest -+ rm -f src/isbigendian -+ -+install: -+ mkdir -p $(DIR) -+ (cd $(DIR); mkdir -p logs logs/archives logs/alerts logs/firewall bin stats rules queue queue/alerts queue/ossec queue/fts queue/syscheck queue/rootcheck queue/diff queue/agent-info queue/agentless queue/rids tmp var var/run etc etc/init.d etc/shared active-response active-response/bin agentless .ssh contrib) -+ cp -pr etc/rules/* $(DIR)/rules/ -+ chmod -x $(DIR)/rules/*.xml -+ chmod -x $(DIR)/rules/log-entries/* -+ chmod -x $(DIR)/rules/translated/pure_ftpd/*.xml -+ cp -pL /etc/localtime $(DIR)/etc/ 2>/dev/null || /bin/true -+ cp -p /etc/TIMEZONE $(DIR)/etc/ 2>/dev/null || /bin/true -+ cp -p contrib/compile_alerts.pl $(DIR)/contrib/ -+ cp -p contrib/compile_alerts.txt $(DIR)/contrib/ -+ cp -p contrib/config2xml $(DIR)/contrib/ -+ cp -p contrib/ossec-batch-manager.pl $(DIR)/contrib/ -+ cp -p contrib/ossec-eps.sh $(DIR)/contrib/ -+ cp -pr bin/ossec* $(DIR)/bin/ -+ cp -pr bin/manage_agents $(DIR)/bin/ -+ cp -pr bin/syscheck_update $(DIR)/bin/ -+ cp -pr bin/verify-agent-conf $(DIR)/bin/ -+ cp -pr bin/clear_stats $(DIR)/bin/ -+ cp -pr bin/list_agents $(DIR)/bin/ -+ cp -pr bin/agent_control $(DIR)/bin/ -+ cp -pr bin/syscheck_control $(DIR)/bin/ -+ cp -pr bin/rootcheck_control $(DIR)/bin/ -+ cp -pr contrib/util.sh $(DIR)/bin/ -+ cp -pr src/init/ossec-server.sh $(DIR)/bin/ossec-control -+ cp -pr etc/decoder.xml $(DIR)/etc/ -+ chmod -x $(DIR)/etc/decoder.xml -+ cp -pr etc/local_decoder.xml $(DIR)/etc/ > /dev/null 2>&1 || /bin/true -+ cp -pr etc/local_internal_options.conf $(DIR)/etc/ > /dev/null 2>&1 || /bin/true -+ cp -pr etc/client.keys $(DIR)/etc/ > /dev/null 2>&1 ||/bin/true -+ cp -pr src/agentlessd/scripts/* $(DIR)/agentless/ -+ cp -pr etc/internal_options.conf $(DIR)/etc/ -+ chmod -x $(DIR)/etc/internal_options.conf -+ cp -pr etc/ossec-server.conf $(DIR)/etc/ossec.conf -+ chmod -x $(DIR)/etc/ossec.conf -+ cp -pr src/rootcheck/db/*.txt $(DIR)/etc/shared/ -+ chmod -x $(DIR)/etc/shared/*.txt -+ cp -p active-response/*.sh $(DIR)/active-response/bin/ -+ cp -p active-response/firewalls/*.sh $(DIR)/active-response/bin/ -+ echo "DIRECTORY=\"/var/ossec\"" > $(OSSEC_INIT) -+ echo "VERSION=\"$(cat src/VERSION)" >> $(OSSEC_INIT) -+ echo "DATE=\"`date`\"" >> $(OSSEC_INIT) -+ echo "TYPE=\"server\"" >> $(OSSEC_INIT) diff --git a/testing/ossec-hids/02_ossec-server.conf.patch b/testing/ossec-hids/02_ossec-server.conf.patch deleted file mode 100644 index f09a2045ed..0000000000 --- a/testing/ossec-hids/02_ossec-server.conf.patch +++ /dev/null @@ -1,84 +0,0 @@ -diff --git a/etc/ossec-server.conf b/etc/ossec-server.conf -index 1a4998c..da49262 100755 ---- a/etc/ossec-server.conf -+++ b/etc/ossec-server.conf -@@ -2,10 +2,10 @@ - - <ossec_config> - <global> -- <email_notification>yes</email_notification> -- <email_to>daniel.cid@xxx.com</email_to> -- <smtp_server>smtp.xxx.com.</smtp_server> -- <email_from>ossecm@ossec.xxx.com.</email_from> -+ <email_notification>no</email_notification> -+ <email_to>your_email_address@example.com</email_to> -+ <smtp_server>smtp.your_domain.com.</smtp_server> -+ <email_from>ossecm@ossec.your_domain.com.</email_from> - </global> - - <rules> -@@ -94,10 +94,6 @@ - - <global> - <white_list>127.0.0.1</white_list> -- <white_list>192.168.2.1</white_list> -- <white_list>192.168.2.190</white_list> -- <white_list>192.168.2.32</white_list> -- <white_list>192.168.2.10</white_list> - </global> - - <remote> -@@ -138,6 +134,7 @@ - - level (severity) >= 6. - - The IP is going to be blocked for 600 seconds. - --> -+ <disabled>yes</disabled> - <command>host-deny</command> - <location>local</location> - <level>6</level> -@@ -149,6 +146,7 @@ - - 600 seconds on the firewall (iptables, - - ipfilter, etc). - --> -+ <disabled>yes</disabled> - <command>firewall-drop</command> - <location>local</location> - <level>6</level> -@@ -164,31 +162,31 @@ - - <localfile> - <log_format>syslog</log_format> -- <location>/var/log/authlog</location> -+ <location>/var/log/auth.log</location> - </localfile> - - <localfile> - <log_format>syslog</log_format> -- <location>/var/log/secure</location> -+ <location>/var/log/syslog</location> - </localfile> - - <localfile> - <log_format>syslog</log_format> -- <location>/var/log/xferlog</location> -+ <location>/var/log/daemon.log</location> - </localfile> - - <localfile> - <log_format>syslog</log_format> -- <location>/var/log/maillog</location> -+ <location>/var/log/mail.log</location> - </localfile> - - <localfile> - <log_format>apache</log_format> -- <location>/var/www/logs/access_log</location> -+ <location>/var/log/apache2/access_log</location> - </localfile> - - <localfile> - <log_format>apache</log_format> -- <location>/var/www/logs/error_log</location> -+ <location>/var/log/apache2/error_log</location> - </localfile> - </ossec_config> |