Hi everyone, a little while back I wanted to create a web front-end to sqlports. Unfortunately I am not crazy about the database schema of sqlports so I'm trying to make a new script (based alot on mksqlitedb by Marc Espie) to generate a new database.
Now I have a few questions concerning flavors/subpackages/all those kinds of things. At the moment I am a bit confused. I haven't looked at ports in awhile, but I was under the impression that there were categories (archivers, astro, audio, etc...) that contained ports, and the ports could have different 'flavors'. When I issue the make dump-vars command in /usr/ports, I realized that there's something I'm not quite understanding. Here are a few examples of what I mean: ---------------------------------------------------------------------------------- # cd /usr/ports/archivers/gtar/ # make show=FLAVORS static # make dump-vars archivers/gtar.PKGNAME=gtar-1.15.1p4 <TRUNCATED A BUNCH OF LINES> archivers/gtar.CONFIGURE_ARGS=--program-prefix=g --prefix='/usr/local' --sysconfdir='/etc' --mandir='/usr/local/man' --infodir='/usr/local/info' Now everything is about gtar in here. But if I do make dump-vars in /usr/ports/archivers, I'll get the following: ===> archivers/gtar archivers/gtar.PKGNAME=gtar-1.15.1p4 <TRUNCATED A BUNCH OF LINES> archivers/gtar.CONFIGURE_ARGS=--program-prefix=g --prefix='/usr/local' --sysconfdir='/etc' --mandir='/usr/local/man' --infodir='/usr/local/info' ===> archivers/gtar,static archivers/gtar,static.PKGNAME=gtar-1.15.1p4 <TRUNCATED A BUNCH OF LINES> archivers/gtar,static.CONFIGURE_ARGS=--program-prefix=g --prefix='/us I get 2 ports. Now the part that really confuses me, is that if I go see the /astro/abcde port, it says it has 1 flavor. But even if I do a make dump-vars in /usr/ports/astro I don't see 2 ports this time, I only see 1. And for those thatwant to me more confused, go look into /usr/ports/audio/festival and do a make dump-vars...you'll get a whole tree of ports. ---------------------------------------------------------------------------------- Is anyone willing to explain this to me? Thanks, JD