Summary: | cisco-vpnclient-3des-4.8 should use the linux-mod eclass | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Auty (RETIRED) <ikelos> |
Component: | Current packages | Assignee: | Chris Gianelloni (RETIRED) <wolf31o2> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | m.debruijne |
Priority: | Normal | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | cisco-vpnclient-3des-4.8.00.0490-linux-mod.patch |
Description
Mike Auty (RETIRED)
![]() Got a patch? No, but I'm happy for you to leave it with me and I'll try and work one up over the weekend... 5:) Sure. I have no clue how that eclass works (because I haven't looked at it) so I'd definitely be interested in a patch. I'll end up back-porting it to all of the older ebuilds. Created attachment 85148 [details, diff]
cisco-vpnclient-3des-4.8.00.0490-linux-mod.patch
Turns out, this is really easy. Inherit linux-mod (which inherits linux-info, so we can remove that). Then ensure that the pkg_postinst and pkg_postrm use the linux-mod version. Since there's no postrm in this ebuild that's done automatically, so finally just inset linux-mod_pkg_postinst at the start of this pkg_postinst and we're done. The module will be both registered and unregistered with the moduledb properly. The only side effects are the the module dependencies and module conf stuff gets updated too, but that should be ok. Lemme know if it causes any problems... 5:)
Fixed in CVS... thanks for the bug report and the patch! |