/[smecontribs]/rpms/smeserver-mailstats/contribs7/smeserver-mailstats-0.0.3-removeMySQLInstructions.patch
ViewVC logotype

Annotation of /rpms/smeserver-mailstats/contribs7/smeserver-mailstats-0.0.3-removeMySQLInstructions.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sat Oct 11 23:36:51 2008 UTC (16 years, 1 month ago) by snetram
Branch: MAIN
CVS Tags: smeserver-mailstats-0_0_3-13_el4_sme, smeserver-mailstats-0_0_3-12_el4_sme
Remove MySQL database creation instructions from script

1 snetram 1.1 --- smeserver-mailstats-0.0.3/root/usr/bin/spamfilter-stats-7.pl.removeDBInstructions 2008-10-12 01:32:50.000000000 +0200
2     +++ smeserver-mailstats-0.0.3/root/usr/bin/spamfilter-stats-7.pl 2008-10-12 01:34:06.000000000 +0200
3     @@ -28,154 +28,6 @@
4     # / Base - "Midnight", "Midday", "Now", "99" hour (0-23) (default is midnight)
5     #
6     #############################################################################
7     -#
8     -# Table structure for MySQL table for saving data
9     -#
10     -# Database : `mailstats`
11     -#
12     -# use mailstats;
13     -# --------------------------------------------------------
14     -
15     -#
16     -# Table structure for table `ColumnStats`
17     -#
18     -#
19     -#CREATE TABLE `ColumnStats` (
20     -# `ColumnStatsid` int(11) NOT NULL auto_increment,
21     -# `dateid` int(11) NOT NULL default '0',
22     -# `timeid` int(11) NOT NULL default '0',
23     -# `descr` varchar(20) NOT NULL default '',
24     -# `count` bigint(20) NOT NULL default '0',
25     -# `servername` varchar(30) NOT NULL default '',
26     -# PRIMARY KEY (`ColumnStatsid`)
27     -#) ENGINE=MyISAM DEFAULT CHARSET=latin1;
28     -
29     -# --------------------------------------------------------
30     -
31     -#
32     -# Table structure for table `JunkMailStats`
33     -#
34     -
35     -#CREATE TABLE `JunkMailStats` (
36     -# `JunkMailstatsid` int(11) NOT NULL auto_increment,
37     -# `dateid` int(11) NOT NULL default '0',
38     -# `user` varchar(12) NOT NULL default '',
39     -# `count` bigint(20) NOT NULL default '0',
40     -# `servername` varchar(30) default NULL,
41     -# PRIMARY KEY (`JunkMailstatsid`)
42     -#) ENGINE=MyISAM DEFAULT CHARSET=latin1;
43     -#
44     -# --------------------------------------------------------
45     -
46     -#
47     -# Table structure for table `SARules`
48     -#
49     -
50     -#CREATE TABLE `SARules` (
51     -# `SARulesid` int(11) NOT NULL auto_increment,
52     -# `dateid` int(11) NOT NULL default '0',
53     -# `rule` varchar(50) NOT NULL default '',
54     -# `count` bigint(20) NOT NULL default '0',
55     -# `totalhits` bigint(20) NOT NULL default '0',
56     -# `servername` varchar(30) NOT NULL default '',
57     -# PRIMARY KEY (`SARulesid`)
58     -#) ENGINE=MyISAM DEFAULT CHARSET=latin1;
59     -
60     -# --------------------------------------------------------
61     -
62     -#
63     -# Table structure for table `SAscores`
64     -#
65     -
66     -#CREATE TABLE `SAscores` (
67     -# `SAscoresid` int(11) NOT NULL auto_increment,
68     -# `dateid` int(11) NOT NULL default '0',
69     -# `acceptedcount` bigint(20) NOT NULL default '0',
70     -# `rejectedcount` bigint(20) NOT NULL default '0',
71     -# `hamcount` bigint(20) NOT NULL default '0',
72     -# `acceptedscore` decimal(20,2) NOT NULL default '0.00',
73     -# `rejectedscore` decimal(20,2) NOT NULL default '0.00',
74     -# `hamscore` decimal(20,2) NOT NULL default '0.00',
75     -# `totalsmtp` bigint(20) NOT NULL default '0',
76     -# `totalrecip` bigint(20) NOT NULL default '0',
77     -# `servername` varchar(30) NOT NULL default '',
78     -# PRIMARY KEY (`SAscoresid`)
79     -#) ENGINE=MyISAM DEFAULT CHARSET=latin1;
80     -
81     -# --------------------------------------------------------
82     -
83     -#
84     -# Table structure for table `VirusStats`
85     -#
86     -
87     -#CREATE TABLE `VirusStats` (
88     -# `VirusStatsid` int(11) NOT NULL auto_increment,
89     -# `dateid` int(11) NOT NULL default '0',
90     -# `descr` varchar(40) NOT NULL default '',
91     -# `count` bigint(20) NOT NULL default '0',
92     -# `servername` varchar(30) NOT NULL default '',
93     -# PRIMARY KEY (`VirusStatsid`)
94     -#) ENGINE=MyISAM DEFAULT CHARSET=latin1;
95     -#
96     -# --------------------------------------------------------
97     -
98     -#
99     -# Table structure for table `date`
100     -#
101     -
102     -#CREATE TABLE `date` (
103     -# `dateid` int(11) NOT NULL auto_increment,
104     -# `date` date NOT NULL default '0000-00-00',
105     -# PRIMARY KEY (`dateid`)
106     -#) ENGINE=MyISAM DEFAULT CHARSET=latin1;
107     -#
108     -# --------------------------------------------------------
109     -
110     -#
111     -# Table structure for table `domains`
112     -#
113     -
114     -#CREATE TABLE `domains` (
115     -# `domainsid` int(11) NOT NULL auto_increment,
116     -# `dateid` int(11) NOT NULL default '0',
117     -# `domain` varchar(40) NOT NULL default '',
118     -# `type` varchar(10) NOT NULL default '',
119     -# `total` bigint(20) NOT NULL default '0',
120     -# `denied` bigint(20) NOT NULL default '0',
121     -# `xfererr` bigint(20) NOT NULL default '0',
122     -# `accept` bigint(20) NOT NULL default '0',
123     -# `servername` varchar(30) NOT NULL default '',
124     -# PRIMARY KEY (`domainsid`)
125     -#) ENGINE=MyISAM DEFAULT CHARSET=latin1;
126     -
127     -# --------------------------------------------------------
128     -
129     -#
130     -# Table structure for table `qpsmtpdcodes`
131     -#
132     -
133     -#CREATE TABLE `qpsmtpdcodes` (
134     -# `qpsmtpdcodesid` int(11) NOT NULL auto_increment,
135     -# `dateid` int(11) NOT NULL default '0',
136     -# `reason` varchar(40) NOT NULL default '',
137     -# `count` bigint(20) NOT NULL default '0',
138     -# `servername` varchar(30) NOT NULL default '',
139     -# PRIMARY KEY (`qpsmtpdcodesid`)
140     -#) ENGINE=MyISAM DEFAULT CHARSET=latin1;
141     -
142     -# --------------------------------------------------------
143     -
144     -#
145     -# Table structure for table `time`
146     -#
147     -
148     -#CREATE TABLE `time` (
149     -# `timeid` int(11) NOT NULL auto_increment,
150     -# `time` time NOT NULL default '00:00:00',
151     -# PRIMARY KEY (`timeid`)
152     -#) ENGINE=MyISAM DEFAULT CHARSET=latin1;
153     -#
154     -#############################################################################
155    
156     # internal modules (part of core perl distribution)
157     use strict;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed