Supybot-0.77.0 Supybot: A Superb Python IRC bot
Created attachment 26145 [details] Supybot-0.77.0.ebuild tested, works. pkg_post_inst() doesn't work though, I'm not sure why
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().
Created attachment 26369 [details] setup.py.patch Here's the patch I forgot.
Created attachment 26370 [details] Supybot-0.77.0.ebuild fixed the pkg_post_inst -> pkg_postinst thing I didn't test though.
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.
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.
supybot-0.77.0 is now in portage.
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?
Philipp you should file a new bug
Done. #43502 - assigned to the bug wranglers.