Big patches

Chris Rees crees at freebsd.org
Fri Aug 19 10:24:52 UTC 2011


On 19 August 2011 11:18, Helmut Schneider <jumper99 at gmx.de> wrote:
> Boris Samorodov wrote:
>
>> On Thu, 18 Aug 2011 19:11:22 +0000 (UTC) Helmut Schneider wrote:
>>
>> > I've been told that dynamic pkg-plists are bad or at least should be
>> > avoided´at most costs.
>>
>> > Now, all my patches for Typo3 seem blocked by a "SPAM Filter" or at
>> > least take 2 days until I get reply. See PR159878-81, I submitted
>> > the patches on tuesday.
>>
>> > So, what should I do? Still create full pkg-plists and hope that the
>> > patch passes the FreeBSD PR system or fall back to dynamic
>> > pkg-plists?
>>
>> You may try to reduce pkg-plist changes. Are you speaking about
>> www/typo* ports? If yes, those ports have hardcoded PORTVERSION
>> at pkg-plist. One can use make variables to dramatically reduce
>> pkg-plist changes:
>>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist.html#PLIST-SUB
>
> "dramatically reduce"? How? Currently it seems it gets even bigger:
>
> [helmut at BSDHelmut ~]$ ls -s /usr/ports/www/typo3.org/pkg-plist
>  592 /usr/ports/www/typo3.org/pkg-plist
> [helmut at BSDHelmut ~]$ ls -s /usr/ports/www/typo3/pkg-plist
>  672 /usr/ports/www/typo3/pkg-plist
> [helmut at BSDHelmut ~]$
>

Just the once, but then the _changes_ each time it's updated are smaller.

Remember, we keep our ports in CVS, so every _change_ takes up space.

Chris


More information about the freebsd-ports mailing list