Changeset 24488


Ignore:
Timestamp:
2010-12-11T17:54:18+01:00 (7 years ago)
Author:
jow
Message:

[packages] snort: fix autoreconf

Location:
packages/net/snort/patches
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • packages/net/snort/patches/010-dont-add-host-paths.patch

    r19807 r24488  
    1 diff --git a/configure b/configure 
    2 index 205be9c..df159e3 100755 
    31--- a/configure 
    42+++ b/configure 
     
    1210   *-hpux10*|*-hpux11*) 
    1311  
    14 @@ -26209,7 +26207,6 @@ if test "x$enable_flexresp" != "xno" -a "x$enable_flexresp" = "xyes"; then 
     12@@ -26218,7 +26216,6 @@ if test "x$enable_flexresp" != "xno" -a  
    1513     fi 
    1614  
     
    2018     fi 
    2119  
    22 @@ -26220,7 +26217,6 @@ echo "$as_me: WARNING: libnet-config --libs is broken on your system.  If you" > 
     20@@ -26229,7 +26226,6 @@ echo "$as_me: WARNING: libnet-config --l 
    2321 echo "$as_me: WARNING: are using a precompiled package please notify the" >&2;} 
    2422         { echo "$as_me:$LINENO: WARNING: maintainer." >&5 
     
    2826     fi 
    2927  
    30 @@ -26795,7 +26791,6 @@ if test "x$enable_react" != "xno" -a "x$enable_react" = "xyes"; then 
     28@@ -26804,7 +26800,6 @@ if test "x$enable_react" != "xno" -a "x$ 
    3129     fi 
    3230  
     
    3634     fi 
    3735  
    38 @@ -26806,7 +26801,6 @@ echo "$as_me: WARNING: libnet-config --libs is broken on your system.  If you" > 
     36@@ -26815,7 +26810,6 @@ echo "$as_me: WARNING: libnet-config --l 
    3937 echo "$as_me: WARNING: are using a precompiled package please notify the" >&2;} 
    4038         { echo "$as_me:$LINENO: WARNING: maintainer." >&5 
  • packages/net/snort/patches/100-cross-compile.patch

    r16820 r24488  
    11--- a/configure 
    22+++ b/configure 
    3 @@ -20770,8 +20770,7 @@ 
     3@@ -20768,8 +20768,7 @@ echo $ECHO_N "checking for sparc %time r 
    44   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 
    55 See \`config.log' for more details." >&5 
     
    1111   cat >conftest.$ac_ext <<_ACEOF 
    1212 /* confdefs.h.  */ 
    13 @@ -22981,8 +22980,7 @@ 
     13@@ -22979,8 +22978,7 @@ if test "$cross_compiling" = yes; then 
    1414   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 
    1515 See \`config.log' for more details." >&5 
     
    2121   cat >conftest.$ac_ext <<_ACEOF 
    2222 /* confdefs.h.  */ 
    23 @@ -23766,8 +23764,7 @@ 
     23@@ -23764,8 +23762,7 @@ echo $ECHO_N "checking for libpcap versi 
    2424   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 
    2525 See \`config.log' for more details." >&5 
     
    3131   cat >conftest.$ac_ext <<_ACEOF 
    3232 /* confdefs.h.  */ 
    33 @@ -23854,8 +23851,7 @@ 
     33@@ -23852,8 +23849,7 @@ echo $ECHO_N "checking for libpcap versi 
    3434   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 
    3535 See \`config.log' for more details." >&5 
     
    4141   cat >conftest.$ac_ext <<_ACEOF 
    4242 /* confdefs.h.  */ 
    43 diff -urN snort-2.8.4.1/configure snort-2.8.4.1.new/configure 
    44 --- snort-2.8.4.1/configure     2009-04-21 21:39:16.000000000 +0200 
    45 +++ snort-2.8.4.1.new/configure 2009-07-12 19:59:26.000000000 +0200 
    46 @@ -23766,8 +23766,7 @@ 
     43@@ -23939,8 +23935,7 @@ if test "$cross_compiling" = yes; then 
    4744   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 
    4845 See \`config.log' for more details." >&5 
     
    5451   cat >conftest.$ac_ext <<_ACEOF 
    5552 /* confdefs.h.  */ 
    56 --- snort-2.8.4.1/configure     2009-07-12 20:33:36.000000000 +0200 
    57 +++ snort-2.8.4.1.new/configure 2009-07-12 20:34:10.000000000 +0200 
    58 @@ -24651,8 +24651,7 @@ 
     53@@ -24654,8 +24649,7 @@ echo $ECHO_N "checking for mysql default 
    5954   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 
    6055 See \`config.log' for more details." >&5 
     
    6661   cat >conftest.$ac_ext <<_ACEOF 
    6762 /* confdefs.h.  */ 
    68 @@ -24719,8 +24718,7 @@ 
     63@@ -24722,8 +24716,7 @@ echo $ECHO_N "checking for mysql reconne 
    6964   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling 
    7065 See \`config.log' for more details." >&5 
  • packages/net/snort/patches/500-no-config-search.patch

    r16820 r24488  
    11--- a/src/snort.c 
    22+++ b/src/snort.c 
    3 @@ -4140,7 +4140,7 @@ 
     3@@ -4198,7 +4198,7 @@ static char *ConfigFileSearch(void) 
    44 { 
    55     struct stat st; 
     
    1010     char *rval = NULL; 
    1111  
    12 @@ -4159,30 +4159,6 @@ 
     12@@ -4217,30 +4217,6 @@ static char *ConfigFileSearch(void) 
    1313         i++; 
    1414     } 
  • packages/net/snort/patches/750-lightweight-config.patch

    r16820 r24488  
    1 Index: snort-2.8.4.1/etc/snort.conf 
    2 =================================================================== 
    3 --- snort-2.8.4.1.orig/etc/snort.conf   2009-04-21 21:39:51.000000000 +0200 
    4 +++ snort-2.8.4.1/etc/snort.conf        2009-07-12 19:54:47.000000000 +0200 
     1--- a/etc/snort.conf 
     2+++ b/etc/snort.conf 
    53@@ -6,6 +6,7 @@ 
    64 # 
     
    2422 # Configure your server lists.  This allows snort to only look for attacks to 
    2523 # systems that have a service up.  Why look for HTTP attacks if you are not 
    26 @@ -107,8 +108,8 @@ 
     24@@ -107,8 +108,8 @@ var AIM_SERVERS [64.12.24.0/23,64.12.28. 
    2725 # Path to your rules files (this can be a relative path) 
    2826 # Note for Windows users:  You are advised to make this an absolute path, 
     
    3533 # Configure the snort decoder 
    3634 # ============================ 
    37 @@ -307,11 +308,11 @@ 
     35@@ -307,11 +308,11 @@ preprocessor stream5_tcp: policy first,  
    3836 # lots of options available here. See doc/README.http_inspect. 
    3937 # unicode.map should be wherever your snort.conf lives, or given 
     
    5149 # 
    5250 #  Example unique server configuration 
    53 @@ -345,7 +346,7 @@ 
     51@@ -345,7 +346,7 @@ preprocessor http_inspect_server: server 
    5452 # no_alert_incomplete - don't alert when a single segment 
    5553 #                       exceeds the current packet size 
     
    6058 # bo: Back Orifice detector 
    6159 # ------------------------- 
    62 @@ -368,7 +369,7 @@ 
     60@@ -368,7 +369,7 @@ preprocessor rpc_decode: 111 32771 
    6361 #   3       Back Orifice Server Traffic Detected 
    6462 #   4       Back Orifice Snort Buffer Attack 
     
    6967 # ftp_telnet: FTP & Telnet normalizer, protocol enforcement and buff overflow 
    7068 # --------------------------------------------------------------------------- 
    71 @@ -391,32 +392,32 @@ 
     69@@ -391,32 +392,32 @@ preprocessor bo 
    7270 # or use commandline option 
    7371 # --dynamic-preprocessor-lib <full path to libsf_ftptelnet_preproc.so> 
     
    122120 # smtp: SMTP normalizer, protocol enforcement and buffer overflow 
    123121 # --------------------------------------------------------------------------- 
    124 @@ -434,15 +435,15 @@ 
     122@@ -434,15 +435,15 @@ preprocessor ftp_telnet_protocol: ftp cl 
    125123 # or use commandline option 
    126124 # --dynamic-preprocessor-lib <full path to libsf_smtp_preproc.so> 
     
    147145 # sfPortscan 
    148146 # ---------- 
    149 @@ -498,9 +499,9 @@ 
     147@@ -498,9 +499,9 @@ preprocessor smtp: \ 
    150148 #       false alerts, especially under heavy load with dropped packets; which is why 
    151149 #       the option is off by default. 
     
    160158 # arpspoof 
    161159 #---------------------------------------- 
    162 @@ -623,9 +624,9 @@ 
     160@@ -623,9 +624,9 @@ preprocessor dcerpc2_server: default 
    163161 # or use commandline option 
    164162 # --dynamic-preprocessor-lib <full path to libsf_dns_preproc.so> 
     
    173171 # SSL 
    174172 #---------------------------------------- 
    175 @@ -649,7 +650,7 @@ 
     173@@ -649,7 +650,7 @@ preprocessor dns: \ 
    176174 #   To add reassembly on port 443 to Stream5, use 'port both 443' in the  
    177175 #   Stream5 configuration. 
     
    182180  
    183181 #################################################################### 
    184 @@ -811,41 +812,41 @@ 
     182@@ -811,41 +812,41 @@ include $RULE_PATH/local.rules 
    185183 include $RULE_PATH/bad-traffic.rules 
    186184 include $RULE_PATH/exploit.rules 
     
    258256 # include $RULE_PATH/backdoor.rules 
    259257 # include $RULE_PATH/shellcode.rules 
    260 @@ -859,7 +860,7 @@ 
     258@@ -859,7 +860,7 @@ include $RULE_PATH/other-ids.rules 
    261259 # include $RULE_PATH/p2p.rules 
    262260 # include $RULE_PATH/spyware-put.rules 
Note: See TracChangeset for help on using the changeset viewer.