Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154164 - Updated net-irc/psybnc ebuild
Summary: Updated net-irc/psybnc ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bjarke Istrup Pedersen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-05 11:33 UTC by Sven Wegener
Modified: 2007-03-06 15:20 UTC (History)
1 user (show)

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


Attachments
psybnc.patch (psybnc.patch,10.04 KB, patch)
2006-11-05 11:34 UTC, Sven Wegener
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Wegener gentoo-dev 2006-11-05 11:33:52 UTC
Hi Bjarke!

Please find attached an updated psyBNC ebuild and support files, as a patch against the net-irc/psybnc package directory. Changes include:

- Major change: Move from installation into /opt to installation into /usr and a pseudo home in /var/lib/psybnc for the state files. We do not keep configuration and state data in /opt, it is ugly as hell. When an user re-emerges psyBNC portage will overwrite the psybnc.conf in /opt and *boom* all configuration is lost, same goes for the certificate files.
- Prevent stripping the binary, portage handles it. Needed for debugging support.
- Respect CFLAGS and use correct compiler for cross-compile support.
- Reuse salt.h, else an re-emerged psyBNC can't use the encrypted passwords from the old psybnc.conf,
- New ipv6 and ssl USE flags.

Sven
Comment 1 Sven Wegener gentoo-dev 2006-11-05 11:34:36 UTC
Created attachment 101288 [details, diff]
psybnc.patch
Comment 2 Sven Wegener gentoo-dev 2006-11-05 12:02:00 UTC
Might also want to protect /usr/bin/psybnc with root:psybnc and 750 to not leak the information from salt.h this way.
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2007-01-24 00:53:50 UTC
Reassign due to inactivity
Comment 4 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2007-02-25 23:12:47 UTC
Working on it, if all goes well, I'll have it done by tomorrow, sorry to have been keeping your guys waiting :-)
Comment 5 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2007-02-26 00:05:58 UTC
psybnc-2.3.2.7-r2 is in CVS, please test, works here.
Finally fixed :-)
Comment 6 Frank Schmitt 2007-03-06 15:20:27 UTC
The -r2-Version has stange Problems with logging. It logs lines when User is not connected to psybnc in  /var/lib/psybnc/log/USER1.TRL. Normaly it gives out this lines on command "/playtrafficlog last" in irc-client. It sems that psybnc not find the logs

<-psyBNC> Starting playing log since last.
<-psyBNC> End of log.