Vulnerability question
Roland Smith
rsmith at xs4all.nl
Wed Jul 1 21:24:22 UTC 2009
On Wed, Jul 01, 2009 at 11:05:28PM +0200, Harald Weis wrote:
> > > How do you do that precisely ?
> > > ``WITH_REALPLAYER=no'' in /etc/make.conf ?
> >
> > cd /us/ports/multimedia/mplayer
> > make config
> > Scroll down to the "REALPLAYER Enable real player plugin" line
> > <SPACE> to un-check the line
> > <TAB><ENTER>
> > make
> > make deinstall
> > make reinstall
> > make clean
> >
> > Or use 'portupgrade -f' AFTER the 'make config'.
>
> That's not what I meant.
> Every time I do ``portsnap fetch update'' mplayer's Makefile contains
> the ``real player plugin'' option set to ``on''.
> If for some reason I've got to reinstall mplayer with (my preferred)
> ``portmaster --force-config [-d|-D] multimedia/mplayer'', then
> I would like to have the realplay option already unchecked.
<snip>
> I thought the WITH_REALPLAYER=no line in make.conf could do this job,
The config values given in the Makefile are defaults. If you change
them, the options values are saved in /var/db/ports/<portname>/options. These
values override the defaults, and you will not be shown the dialog again
unless extra options have been added to the Makefile or --force-config is used.
Another method is to put variables in /etc/make.conf, but to prevent mistakes
you should only put those varialbes in /etc/make.conf that are not
supported by options. E.g. for mplayer I have the following in make.conf:
.if ${.CURDIR:M*/multimedia/mplayer}
WITH_DVD_DEVICE=/dev/cd1
WITH_CDROM_DEVICE=/dev/cd1
.endif
The if-construction is used to set these variables only when invoked in
the mplayer port directory, to prevent possible conflicts with other ports.
These particular variables have to be set in make.conf because the
options mechanism currently only supports yes/no values.
Roland
--
R.F.Smith http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090701/5a0ea27a/attachment.pgp
More information about the freebsd-stable
mailing list