Kopete plugin, which allows to ignore spam messages by using simple answer/question scheme. It would be really cool to have this in portage. It seems to only depend on Kopete (from KDE3) and only needs './configure && make && make install'.
It's really basic — it just asks potential spammers a simple question and ignores them until they answer correctly. I'm attaching an ebuild that I just wrote for it.
Created attachment 156123 [details] net-im/kopete-antispam 0.2 ebuild Initial ebuild. Works for me. P.S. This is my first ever working ebuild and was hacked together by using Vim's ebuild template and peeking at kopete-otr and kopete-ktts ebuilds.
- likely ARTS_REQUIRED="never" should be set before inherit - || -> first kopete, then kdenetwork - the order does matter. - RDEPEND="${DEPEND}" is superfluous - need-kde 3.5, please.
Created attachment 156203 [details] net-im/kopete-antispam 0.2-r1 ebuild Fixed what Carsten Lohrke suggested.
(In reply to comment #3) > - likely ARTS_REQUIRED="never" should be set before inherit > - || -> first kopete, then kdenetwork - the order does matter. > - RDEPEND="${DEPEND}" is superfluous > - need-kde 3.5, please. Done, thanks :] By the way, the same changes you suggested lack in kopete-otr and kopete-ktts ebuilds in portage.
I have another relevant question: would it be better to put it in 'net-im' or 'kde-misc' (or even 'mail-filter')? I'm a bit confused since 'kopete-otr' resides in 'net-im', but 'kopete-ktts' is located in 'kde-misc'.
Created attachment 161552 [details] net-im/kopete-antispam-0.3.ebuild A new ebuild for the new (0.3) version. Works for me.
sudo emerge -av kopete-antispam These are the packages that would be merged, in order: Calculating dependencies | !!! All ebuilds that could satisfy "net-im/kopete-antispam" have been masked. !!! One of the following masked packages is required to complete your request: - net-im/kopete-antispam-0.3 (masked by: missing keyword) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook.
(In reply to comment #8) > - net-im/kopete-antispam-0.3 (masked by: missing keyword) I only included KEYWORDS="~amd64" since that's what I use. In case you are using any other arch (e.g. x86), you have to add that to the ebuild. 1) download the ebuild and put it in your overlay (as it seems you did) 2) add your ~arch (e.g. "~x86") to the KEYWORDS line 3) be sure to add a line 'net-im/kopete-antispam ~<your_arch>' to your '/etc/portage/package.keywords' I hope that helps :) Also please add the output of your 'emerge --info'. 4) now 'ebuild kopete-antispam-0.3.ebuild digest' and emerge as normal
First I will thank you alle for that good stuff! :) (In reply to comment #9) > [...] > 2) add your ~arch (e.g. "~x86") to the KEYWORDS line I tested it with "~x86" KEYWORD and it works like a charme. > [...] > I hope that helps :) It did help! :) > Also please add the output of your 'emerge --info'. So go on... Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-tuxonice i686) ================================================================= System uname: 2.6.26-tuxonice i686 AMD Athlon(tm) XP 1800+ Timestamp of tree: Sat, 16 Aug 2008 23:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.5.2-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.ynet.sk/pub http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.intergenia.de/" LANG="de_DE.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/centerim /usr/portage/local" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib accessibility acpi alsa apache2 asf attr audiofile automount avi bash-completion bluetooth bzip2 cddb cdparanoia cdr cli crypt css ctype cups curl daap dbus directfb divx dri dts dv dvb dvd dvdr dvdread encode exif fam fat fbcon ffmpeg flac flash gd gif glitz gmedia gmp gnutls gphoto2 hal iconv icq id3tag idn imagemagick imlib irc irda jabber java javascript jpeg jpeg2k kde kdepim kipi kontact lame lirc lm_sensors logrotate mad maildir midi mikmod mjpeg mmx mmxext mng mozilla mozsvg mp3 mp4 mpeg mplayer musepack musicbrainz ncurses nepomuk network nls nptl nptlonly nsplugin ntfs odbc ogg oggvorbis opengl pam pcre pda pdf perl pic png pnp posix ppds python qt qt3support qt4 quicktime readline real realmedia reiser4 reiserfs rss samba sasl sdl semantic-desktop session slang sndfile sse ssl suexec svg svga syslog theora threads tiff truetype udev unicode usb userlocales utempter utf8 v4l v4l2 vcd vcdimager vdr videos vim-syntax visualization vnc vorbis win32codecs wma123 wmf x86 xcomposite xfs xinerama xml xmlreader xmlrpc xmlwriter xorg xosd xprint xsl xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="iec958 plug ioplug hooks empty route" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="atiusb" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Thanks again and I hope it kopete-antispam will be in Portage as soon as possible! :) Best regards!
I ll forward this ebuild to sunrise overlay :)
(In reply to comment #11) > I ll forward this ebuild to sunrise overlay :) > Thanks :]
"Version 0.3 for KDE4 released." ebuild coming soon?
I ll take care of it as soon as possible Thanks :)
Allright then kopete-antispam ebuild for kde3 is dropped from sunrise now. I ve just commited a new ebuild for kde4 Enjoy :)
emerge -s kopete-antispam Searching... [ Results for search key : kopete-antispam ] [ Applications found : 0 ] Why? Portage synchronize
Its not in the portage ( yet ). As you can see from the Status Whiteboard+Keywords, this ebuild is in sunrise-overlay
Moved from sunrise to kde-crazy overlay
Why drop the KDE3 support?
(In reply to comment #19) > Why drop the KDE3 support? > We had to make that for several reasons discussed on #gentoo-sunrise. If you want kde3 support you can use the attached ebuild
(In reply to comment #20) > (In reply to comment #19) > > Why drop the KDE3 support? > We had to make that for several reasons discussed on #gentoo-sunrise. If you > want kde3 support you can use the attached ebuild Fair 'nuff.
Fixed =)