[csw-maintainers] GAR modulations questions

Maciej (Matchek) Blizinski maciej at opencsw.org
Tue Oct 6 17:55:51 CEST 2009


I have two issues regarding modulations. One is a feature request.
Suppose I have two extra modulators, foo and bar. If each has two
values, I end up with four... um... modulations. The name for each
modulation is foomod-foovar-barmod-barval. If I want to add my own
merge rules, I need to enter:

MERGE_foomod-fooval1-barmod-barval1 = ...
MERGE_foomod-fooval1-barmod-barval2 = ...
MERGE_foomod-fooval2-barmod-barval1 = ...
MERGE_foomod-fooval2-barmod-barval2 = ...

Suppose I have a merge rule that applies to both values of barmod. I
would like then to say:

MERGE_foomod-fooval1 = one thing
MERGE_foomod-fooval2 = some other thing

The desired effect is that "one thing" is included in both barval1 and
barval2 modulations. Is it doable?

The second thing, version-modulated distfiles. Can we, instead of
creating the list and the filtering it, include only the right
versions? For instance:

DISTFILES_version-$(GARVERSION) = $(GARNAME)-$(GARVERSION).tar.gz

...and then have DISTFILES being assembled by GAR?

Maciej



More information about the maintainers mailing list