aboutsummaryrefslogtreecommitdiffstats
path: root/freebsd/port/files/patch-perl_Rspamd.pm
blob: d4cd5a91508957d5f1a782c00ab7720a92bdf490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
--- perl/Rspamd.pm	2010-03-24 16:39:28.000000000 +0300
+++ perl/Rspamd.pm	2010-03-24 19:35:13.000000000 +0300
@@ -1,54 +0,0 @@
-package Mail::Rspamd;
-
-use 5.006001;
-use strict;
-use warnings;
-
-require Exporter;
-
-our @ISA = qw(Exporter);
-our @EXPORT = qw(
-    module_init
-    module_reload
-    LOG_ERROR
-    LOG_WARNING
-    LOG_MESSAGE
-    LOG_INFO
-    LOG_DEBUG
-);
-
-our $VERSION = '0.0.1';
-
-require XSLoader;
-XSLoader::load('Rspamd', $VERSION);
-
-sub module_init {
-    my ($cfg) = @_;
-}
-
-sub module_reload {
-    my ($cfg) = @_;
-}
-
-use constant LOG_ERROR          =>  1 << 3;
-use constant LOG_WARNING        =>  1 << 4;
-use constant LOG_MESSAGE        =>  1 << 5;
-use constant LOG_INFO           =>  1 << 6;
-use constant LOG_DEBUG          =>  1 << 7;
-
-1;
-__END__
-
-=head1 NAME
-
-rspamd - Perl interface to the rspamd API
-
-=head1 SYNOPSIS
-
-  use rspamd;
-
-=head1 DESCRIPTION
-
-TODO: Not ready yet
-
-=cut