Date: Wed, 1 Jul 2009 23:24:20 +0200 From: Roland Smith <rsmith@xs4all.nl> To: freebsd-stable@freebsd.org Cc: Harald Weis <hawei@free.fr> Subject: Re: Vulnerability question Message-ID: <20090701212420.GA43923@slackbox.xs4all.nl> In-Reply-To: <20090701210528.GC1846@pollux.local.net> References: <20090701111437.GB1846@pollux.local.net> <20090701170012.CAF421CC09@ptavv.es.net> <20090701210528.GC1846@pollux.local.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 01, 2009 at 11:05:28PM +0200, Harald Weis wrote: > > > How do you do that precisely ? > > > ``WITH_REALPLAYER=3Dno'' in /etc/make.conf ? > >=20 > > 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 > >=20 > > Or use 'portupgrade -f' AFTER the 'make config'. >=20 > 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=3Dno 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. The= se 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 u= sed. Another method is to put variables in /etc/make.conf, but to prevent mistak= es 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: =2Eif ${.CURDIR:M*/multimedia/mplayer} WITH_DVD_DEVICE=3D/dev/cd1 WITH_CDROM_DEVICE=3D/dev/cd1 =2Eendif 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 --=20 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) --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpL1AQACgkQEnfvsMMhpyWsDQCgoc7gQf/Vig1s9bg37HbQEyL4 mf0Anjf0cIW07LWShgh2Tpefbs7fiTij =gwzS -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090701212420.GA43923>