[PATCH] Postfix port

James Berry jberry at macports.org
Thu Sep 28 12:05:48 PDT 2006


On Sep 28, 2006, at 12:01 PM, Mark Duling wrote:

> "Daniel J. Luke" <dluke at geeklair.net> writes:
>>> After installation 2 files must be deleted (I don't know which is  
>>> the
>>> best way to do this in the Portfile):
>>>
>>> /opt/local/var//spool/postfix/maildrop/.turd_postfix
>>> /opt/local/var//spool/postfix/public/.turd_postfix
>>
>> You can't really delete those files on install, but they are an old
>> holdover from before we had destroot.keepdirs , so you can probably
>> change the portfile to no longer generate them.
>
> I don't understand.  destroot.keepdirs generates those files as well.
> Wouldn't deleting them in the post-activate phase still adhere to our
> guidelines?  I hope so because I did that with one port of mine.  I  
> wish
> there were a better way to create empty directories.

Yeah, unfortunately those files are actually created by  
destroot.keepdirs. I think because at various places empty  
directories are otherwise nuked, which probably isn't advisable.  
Patches are welcome.

James



More information about the macports-dev mailing list