Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225655 - net-im/kopete-antispam to be added to portage
Summary: net-im/kopete-antispam to be added to portage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://kopeteantispam.sourceforge.net
Whiteboard: [kde-crazy]
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2008-06-09 20:00 UTC by Matija "hook" Šuklje
Modified: 2009-02-01 18:58 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net-im/kopete-antispam 0.2 ebuild (kopete-antispam-0.2.ebuild,482 bytes, text/plain)
2008-06-09 20:30 UTC, Matija "hook" Šuklje
Details
net-im/kopete-antispam 0.2-r1 ebuild (kopete-antispam-0.2-r1.ebuild,493 bytes, text/plain)
2008-06-10 08:06 UTC, Matija "hook" Šuklje
Details
net-im/kopete-antispam-0.3.ebuild (kopete-antispam-0.3.ebuild,637 bytes, text/plain)
2008-07-28 17:40 UTC, Matija "hook" Šuklje
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matija "hook" Šuklje 2008-06-09 20:00:31 UTC
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'.
Comment 1 Matija "hook" Šuklje 2008-06-09 20:28:17 UTC
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. 
Comment 2 Matija "hook" Šuklje 2008-06-09 20:30:46 UTC
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.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-10 00:02:39 UTC
- 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.
Comment 4 Matija "hook" Šuklje 2008-06-10 08:06:43 UTC
Created attachment 156203 [details]
net-im/kopete-antispam 0.2-r1 ebuild

Fixed what Carsten Lohrke suggested.
Comment 5 Matija "hook" Šuklje 2008-06-10 08:08:03 UTC
(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.
Comment 6 Matija "hook" Šuklje 2008-06-13 14:37:43 UTC
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'.
Comment 7 Matija "hook" Šuklje 2008-07-28 17:40:25 UTC
Created attachment 161552 [details]
net-im/kopete-antispam-0.3.ebuild

A new ebuild for the new (0.3) version.

Works for me.
Comment 8 sanya 2008-08-08 09:53:53 UTC
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.
Comment 9 Matija "hook" Šuklje 2008-08-08 11:23:10 UTC
(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
Comment 10 Deleted Account 2008-08-17 20:55:47 UTC
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!
Comment 11 Markos Chandras (RETIRED) gentoo-dev 2008-09-10 15:49:55 UTC
I ll forward this ebuild to sunrise overlay :)
Comment 12 Matija "hook" Šuklje 2008-09-10 17:10:34 UTC
(In reply to comment #11)
> I ll forward this ebuild to sunrise overlay :)
> 

Thanks :]
Comment 13 Dimmus 2008-10-29 16:14:57 UTC
"Version 0.3 for KDE4 released." ebuild coming soon?
Comment 14 Markos Chandras (RETIRED) gentoo-dev 2008-12-07 21:35:22 UTC
I ll take care of it as soon as possible

Thanks :)
Comment 15 Markos Chandras (RETIRED) gentoo-dev 2008-12-07 22:42:59 UTC
Allright then

kopete-antispam ebuild for kde3 is dropped from sunrise now. I ve just commited a new ebuild for kde4

Enjoy :)
Comment 16 George Galeev 2008-12-14 05:23:00 UTC
emerge -s kopete-antispam
Searching...
[ Results for search key : kopete-antispam ]
[ Applications found : 0 ]

Why?
Portage synchronize
Comment 17 Markos Chandras (RETIRED) gentoo-dev 2008-12-14 10:19:01 UTC
Its not in the portage ( yet ). As you can see from the Status Whiteboard+Keywords, this ebuild is in sunrise-overlay
Comment 18 Markos Chandras (RETIRED) gentoo-dev 2008-12-19 08:30:14 UTC
Moved from sunrise to kde-crazy overlay
Comment 19 Matija "hook" Šuklje 2008-12-25 21:56:14 UTC
Why drop the KDE3 support?
Comment 20 Markos Chandras (RETIRED) gentoo-dev 2008-12-26 01:32:46 UTC
(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
Comment 21 Matija "hook" Šuklje 2008-12-26 01:42:17 UTC
(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.
Comment 22 Alexey Shvetsov archtester gentoo-dev 2009-02-01 18:58:12 UTC
Fixed =)