
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Kopete Antispam Plugin helps to protect kopete messenger from various spammers by using simple answer/question scheme:
Potential spammers receive a simple question, and they are ignored until they answers question.
Both KDE3 and KDE4 versions are available, see downloads.
Compilation:
To compile plugin you need a kopete shared library. In Debian and Ubuntu Karmic it's libkopete-dev package, in older Ubuntu - kdenetwork-dev, in openSUSE - kopete-devel.
KDE3 version uses autotools, to install you need:
./configure
make
sudo make install
KDE4 version uses CMake, so you need:
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
sudo make install
Where /usr prefix is for Debian/Ubuntu, for other distributions it may vary.
PPA for Karmic available: https://launchpad.net/~alexey-noskov/+archive/kde
11 years ago
Version 0.5:
- Multiple answers support, patterns in answers
- Fixes in contact deleting in KDE 4.2
Version 0.4:
- Ability to ignore all unknown contacts.
- Ability to remove contacts failed test.
Big thanks to Richard Donkin (aka Cato here) for his patch!
Version 0.3 KDE4:
- KDE4 port, using CMake for building plugin.
Version 0.3:
- Added white list, containing wildcards: if some wildcards matches contact no test needed for him.
- Added notification about passing test: when some contact passes test, it receives message about it.
11 years ago
Version 0.5:
- Multiple answers support, patterns in answers
- Fixes in contact deleting in KDE 4.2
Version 0.4:
- Ability to ignore all unknown contacts.
- Ability to remove contacts failed test.
Big thanks to Richard Donkin (aka Cato here) for his patch!
Version 0.3 KDE4:
- KDE4 port, using CMake for building plugin.
Version 0.3:
- Added white list, containing wildcards: if some wildcards matches contact no test needed for him.
- Added notification about passing test: when some contact passes test, it receives message about it.
joergm2706
10 years ago
Report
sarbash
10 years ago
Спасибо.
Ask for authorization requests filtration.
Thanks.
Report
swiftscythe
10 years ago
Thanks in advance!
Report
alno
11 years ago
Report
xwild
11 years ago
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name."
Try to install "lsb-cxx" package.
kubuntu 9.10 (karmic)
Linux xwild 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux
Report
pippo73
11 years ago
The bug is the following
http://bugs.kde.org/show_bug.cgi?id=213095
Could you take a look at it?
Tnx
leo
Report
alno
11 years ago
I'll try to fix it in nearly time.
Report
pippo73
11 years ago
I'm trying to install your plugin on a Karmik Koala box but I get the following error:
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.5.2 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Phonon includes NOT found!
CMake Error at /usr/share/kde4/apps/cmake/modules/FindPhonon.cmake:63 (message):
Phonon library or includes NOT found!
Call Stack (most recent call first):
/usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:559 (find_package)
/usr/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)
CMakeLists.txt:3 (find_package)
-- Configuring incomplete, errors occurred!
=========================
libqt4-phonon-dev and libphonon-dev are installed on my system and also kdenetwork-dev which now is called libkopete-dev
Any idea how to fix it?
tnx
Report
pippo73
11 years ago
http://bugs.launchpad.net/ubuntu/+source/cmake/+bug/386742
Just resintall libqt4-phonon-dev package
and good antispam to everybody ;)
Leo
Report
overmind88
11 years ago
потому что нынешний русский первод сильно выбивается из перевода остального кде :)
Report
StirlitzKyrlitz
11 years ago
Report
Pollywog
11 years ago
Report
Pollywog
11 years ago
Report
pippo73
11 years ago
the right way to compile it is:
$ cmake -DCMAKE_INSTALL_PREFIX=/usr .
$ make
$ sudo make install
my 2 cents... :)
Report
Pollywog
12 years ago
I am using this plugin also in KDE3 where it seems to stop the auth spams.
Report
Pollywog
11 years ago
thanks for the plugin.
Report
Sagittarius
12 years ago
Report
Chain
12 years ago
Linking CXX shared module lib/kopete_antispam.so
Undefined symbols:
"QObject::childEvent(QChildEvent*)", referenced from:
vtable for KopeteAntispamPluginin kopete_antispam_automoc.o
vtable for KopeteAntispamPluginFactoryin kopeteantispamplugin.o
vtable for KopeteAntispamConfigin kopeteantispamconfig.o
Report
alno
12 years ago
Now it's fixed, thanks to Gentoo Team Ru.
You may download fixed source.
Report
Chain
12 years ago
Report
alno
12 years ago
Please send me output of cmake and make commands.
Report
Cato
12 years ago
It defines anyone not in your contact list as a spammer, which is a bit harsh perhaps but helps avoid the problem of spammers appearing in your temporary contacts list. For people who don't often add contacts it's a good solution to Kopete spam, though it doesn't stop someone adding you to their contacts list and you then getting a message to authorise this.
To download the patch, see
https://sourceforge.net/tracker/?func=detail&atid=1076376&aid=2333222&group_id=229210
I've also passed this to Alexey Noskov, so it can go into the main plugin in some form.
Report
uteck
12 years ago
Report
pippo73
12 years ago
I'm trying to install this plugin on my kubuntu platform.
I start with
cmake -DCMAKE_INSTALL_PREFIX=/usr /lib/kde4/ .
and this goes well but when I run the make command I get the following error.
$ make
[...SNIP...]
[ 55%] Building CXX object CMakeFiles/kcm_kopete_antispam.dir/kopeteantispamconfig.o
Linking CXX shared module lib/kcm_kopete_antispam.so
/usr/bin/ld: cannot find -lkopete
collect2: ld returned 1 exit status
make[2]: *** [lib/kcm_kopete_antispam.so] Error 1
make[1]: *** [CMakeFiles/kcm_kopete_antispam.dir/all] Error 2
make: *** [all] Error 2
Could you help me pls
Report
alno
12 years ago
Try it, if no.
Report