
On Tue, Aug 29, 2006 at 05:23:49PM +0200, heidi wrote:
hello on first sorry for my English :)
I write something like gentoo's use flags but more simplest. for example i need (or i like :) ) fluxbox witch imlib2 but i don't need xinerama if i wont add or delete some functionality i must rewrite Pkgfile . [...]
What you thinking about it ?
Personally I think it's ghastly to death. :-) What is CRUX? ISO images? No. Pkgutils? No - they are really not necessary, you can write simple scripts in shell using tar with similar functionality. Pkgfiles? Bingo! Indeed, Pkgfiles is really valuable thing in CRUX. That's it, Pkgfiles should be as KISS as possible. If they are not, then it's not CRUX anymore. Think about the reason why you need USE flags? To customize ports, right? Okay, you can do that in much cleaner way: subversion. You can use attached file, place it in /etc/ports/drivers, chmod +x it, then replace /etc/ports/{core,opt}.rsync with other two attached files. Next, rm -rf /usr/ports/{core,opt} ; ports -u. From that point can change Pkgfiles as you wish, and don't look back for the maintainer preference. Using subversion for the controlling /usr/ports gives you additional benefits (distro upgrading, easy reverting,...) which is offtopic in that thread, but I hope that subversion usage will be fully covered in the public wiki. -- Anton (irc: bd2)