Forcing a variant to a variant

Scott Haneda talklists at newgeo.com
Thu Jun 4 18:08:41 PDT 2009


On Jun 4, 2009, at 5:58 PM, Ryan Schmidt wrote:

> On Jun 4, 2009, at 19:56, Ryan Schmidt wrote:
>
>> On Jun 4, 2009, at 19:52, Scott Haneda wrote:
>>
>>> port install assp
>>> Within that port, assp will depend on clamav, but since I can not  
>>> define a variant for clamav +server, I have to make a clamav- 
>>> server port.  Fine up to that point.
>>>
>>> Now, what is I want clamav +server +clamav_milter available to the  
>>> assp port?
>>> My port install command would be port install assp still, there  
>>> would still be a call in there to clamav-server, where does the  
>>> milter go in?
>>
>> It does not.
>>
>> When I spoke earlier about creating a clamav-server port, I was  
>> speaking of the +server variant only, not any of the other  
>> variants. The clamav_milter variant, for example, is, I believe,  
>> integrated into the clamav software. The variant adds the configure  
>> argument --enable-milter. This presumably causes the clamav  
>> software to build additional libraries, or modify the libraries it  
>> builds in some way. You probably can't separate that into a  
>> separate port.
>>
>> If there is a file clamav+clamav_milter installs that regular  
>> clamav does not, you can detect the absence of that file in your  
>> assp port and issue the appropriate error message. See the pango  
>> port for an example (it checks that the cairo port is installed  
>> with the correct variants).
>
> Now that I actually come to look at the clamav portfile.... it  
> doesn't have a +server variant! So.... what are we talking about here?


Ha ha! :)  Brad and myself are working on a few things in ports  
closely.  He made a +server for clamav, and I am trying to pull it all  
together in ASSP in a user friendly way.

We aim to get it nice, clean, and documented really well, so other  
people can more or less, get a solid web, php, ftp, mysql, postfix,  
dovecot, .... and ISP in a few commands, type of deal.  All of course,  
based on MacPorts being used as the distribution and installation  
mechanism for those above goodies.
-- 
Scott * If you contact me off list replace talklists@ with scott@ *



More information about the macports-dev mailing list