Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42556 - new ebuild: Supybot-0.77.0
Summary: new ebuild: Supybot-0.77.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-23 00:58 UTC by David Grant
Modified: 2004-03-02 12:44 UTC (History)
2 users (show)

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


Attachments
Supybot-0.77.0.ebuild (Supybot-0.77.0.ebuild,698 bytes, text/plain)
2004-02-23 00:59 UTC, David Grant
Details
setup.py.patch (setup.py.patch,629 bytes, text/plain)
2004-02-25 19:07 UTC, David Grant
Details
Supybot-0.77.0.ebuild (Supybot-0.77.0.ebuild,697 bytes, text/plain)
2004-02-25 19:08 UTC, David Grant
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Grant 2004-02-23 00:58:17 UTC
Supybot-0.77.0

Supybot: A Superb Python IRC bot
Comment 1 David Grant 2004-02-23 00:59:34 UTC
Created attachment 26145 [details]
Supybot-0.77.0.ebuild

tested, works.

pkg_post_inst() doesn't work though, I'm not sure why
Comment 2 Bryan Østergaard (RETIRED) gentoo-dev 2004-02-25 18:53:18 UTC
Hi David.

Thanks for ebuild. Could you also attach the setup.py.patch file referred to in the ebuild?

net-irc, this is your territory so I'm reassigning to you?

Btw David, it's pkg_postinst() instead of pkg_post_inst().
Comment 3 David Grant 2004-02-25 19:07:44 UTC
Created attachment 26369 [details]
setup.py.patch

Here's the patch I forgot.
Comment 4 David Grant 2004-02-25 19:08:25 UTC
Created attachment 26370 [details]
Supybot-0.77.0.ebuild

fixed the pkg_post_inst -> pkg_postinst thing  I didn't test though.
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2004-02-26 00:00:56 UTC
actually, i'm interested in maintaining this personally, so i'll assign it to myself. i was planning to add supybot a while back but after a discussion with the author, i decided to wait until 0.77.0 because of major configuration changes.
Comment 6 David Grant 2004-02-26 00:25:57 UTC
liquidx, yeah jemfinch was mentioning something about you.  I guess he knew you were a gentoo guy.  I had a discussion with him about gentoo vs. debian.  He said "all I know is that debian will have a supybot package by tomorrow". So I whipped up this ebuild in 5 minutes.
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2004-02-28 13:50:51 UTC
supybot-0.77.0 is now in portage.
Comment 8 Philipp Kern 2004-03-02 12:15:20 UTC
This is problematic with -fstack-protector.
Many plugins and even the main routine to the following strace backtrace:

unlink("/usr/lib/python2.3/site-packages/supybot/plugins/FunDB.pyc") = -1 ENOENT (No such file or directory)
open("/usr/lib/python2.3/site-packages/supybot/plugins/FunDB.pyc", O_WRONLY|O_CREAT|O_TRUNC|O_EXCL|O_LARGEFILE, 0666) = -1 EACCES (Permission denied)
kill(10177, SIGRTMIN)                   = 0
gettimeofday({1078258357, 475146}, NULL) = 0
gettimeofday({1078258357, 476080}, NULL) = 0
gettimeofday({1078258357, 476666}, NULL) = 0
gettimeofday({1078258357, 478910}, NULL) = 0
gettimeofday({1078258357, 479086}, NULL) = 0
gettimeofday({1078258357, 479617}, NULL) = 0
gettimeofday({1078258357, 479781}, NULL) = 0
close(24)                               = 0
munmap(0x20a1a000, 4096)                = 0
open("/home/phil/supybot/logs/plugins/FunDB.log", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666python: stack smashing attack in function call_function()
) = 24
fstat64(24, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x20a1a000
fstat64(24, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
_llseek(24, 0, [0], SEEK_SET)           = 0
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([]

I can't tell why it does this.
It's also upon load of some plugins.
Could be a security bug?
liquidx: I could even file a new bug if you want me to?
Comment 9 David Grant 2004-03-02 12:37:43 UTC
Philipp you should file a new bug
Comment 10 Philipp Kern 2004-03-02 12:44:55 UTC
Done.
#43502 - assigned to the bug wranglers.