securing MySQL: easiest/best ways?

2012-05-08 Thread Paul Beard
Monkeying with IPv6, I discovered that globally routable addresses are what it 
says on the tin, so hiding behind a network appliance is not longer viable for 
me. An nmap scan showed the port 3306 was hanging out for all to see but  I 
couldn't figure out how to close it off. The --skip-networking argument seems 
not to work, either in my.cnf or as an rc argument. The server just fails to 
start. (For some reason the socket is hard-coded to live in /tmp, regardless of 
what's in my.cnf but I gave up bothering about that.)

What I ended up doing was adding 

mysql_args=--bind-address=127.0.0.1

to /etc/rc.conf. This seems to work as netstat and sockstat no longer show port 
3306 listening and database connections are happening. 

Is this the preferred/best way? 
--
Paul Beard

Are you trying to win an argument or solve a problem? 



maybe not truly freebsd related

2012-05-08 Thread Wojciech Puchar

by possibly someone can help.

I want to use FreeBSD as timeshared server with some amount of X terminal 
(basically for free with old computers, netboot, running just Xorg -query 
and xdm on server).


There is usable software that have the commonly required uselessness 
(called desktop environment) and yet works at tolerable speed and uses 
tolerable amount of resources - i mean gnome2


there are working and available programs for common needs like abiword, 
gnumeric, optionally openoffice, gimp, firefox etc.. etc..


But yet - what graphical mail program can you recommend that have such 
simple basic functionality of local mail support in Maildir format?


Just running thunderbird to connect dovecot(imap) over localhost and 
having duplicated mail indexes (dovecot and thunderbird) isn't something 
that make sense.


i use pine but people like pointclick.

if there are none, is there a method to alter password setting in 
thunderbird using command line tool. just i don't like loggin on over X11 
to change password in thunderbird after changing it with passwd.



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: securing MySQL: easiest/best ways?

2012-05-08 Thread Matthew Seaman
On 08/05/2012 14:49, Paul Beard wrote:
 Monkeying with IPv6, I discovered that globally routable addresses
 are what it says on the tin, so hiding behind a network appliance is
 not longer viable for me. An nmap scan showed the port 3306 was
 hanging out for all to see but  I couldn't figure out how to close it
 off. The --skip-networking argument seems not to work, either in
 my.cnf or as an rc argument. The server just fails to start. (For
 some reason the socket is hard-coded to live in /tmp, regardless of
 what's in my.cnf but I gave up bothering about that.)
 
 What I ended up doing was adding
 
 mysql_args=--bind-address=127.0.0.1
 
 to /etc/rc.conf. This seems to work as netstat and sockstat no longer
 show port 3306 listening and database connections are happening.
 
 Is this the preferred/best way?

You have been restarting mysql to test changes to my.cnf?  You have to
do a full restart to get mysql to re-read the config file.  If you need
to reconfigure without interrupting service, you can set most parameters
at runtime using mysql(1).

Sounds almost as if the my.cnf you've been editing is not the my.cnf
that your mysql instance is using.  IIRC there was some talk about
moving from the usual BSD-ish /var/db/mysql/my.cnf to
/usr/local/etc/my.cnf (no doubt under some insidious influence from Linux.)

skip-networking certainly should leave you with just the unix domain
socket.  Alternatively you can bind mysql's network socket to a specific
interface -- so if you bind it to the loopback, it should make it
inaccessible from the network.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: maybe not truly freebsd related

2012-05-08 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Tue May  8 09:31:02 2012
 Date: Tue, 8 May 2012 16:28:08 +0200 (CEST)
 From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl
 To: freebsd-questions@freebsd.org
 Subject: maybe not truly freebsd related

 by possibly someone can help.

 I want to use FreeBSD as timeshared server with some amount of X terminal 
 (basically for free with old computers, netboot, running just Xorg -query 
 and xdm on server).

 But yet - what graphical mail program can you recommend that have such 
 simple basic functionality of local mail support in Maildir format?

Did you try googling for 'X mail client FreeBSD'?   A mere 14+ million hits.
add 'maildir' to the search, and you get over 1.6 million .  Eliminate
referenes to Apple, and there are still over 1.2 million hits.

*LOTS* of options for you to investigate.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: maybe not truly freebsd related

2012-05-08 Thread Wojciech Puchar

But yet - what graphical mail program can you recommend that have such
simple basic functionality of local mail support in Maildir format?


Did you try googling for 'X mail client FreeBSD'?   A mere 14+ million hits.


true. and none usable. all outdated etc. did YOU checked them before 
answering?



add 'maildir' to the search, and you get over 1.6 million .  Eliminate
referenes to Apple, and there are still over 1.2 million hits.

*LOTS* of options for you to investigate.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


synproxy definition in pfctl -si

2012-05-08 Thread krad
Hi,

I am looking to track the number of syn packets coming into a system,
as the box in question has pf running and using the synproxy attribute
on tcp services, I hope to be able to use the synproxy field in pfctl
-si. However I cant find a definitive definition of the variable, Ive
looking in the source but haven't have much look in finding where it
is derived. Can anyone shed any light on if my assumption is valid as
without a proper definition of this variable I can't really trust its
output is what i think it is. Alternatively if anyone could suggest an
another  way of tracking inbound syn packets I would be grateful, it
must use base os tools though, ie no ports or other apps required.


Thanks

K
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: maybe not truly freebsd related

2012-05-08 Thread Robert Bonomi
 From: Wojciech Puchar woj...@wojtek.tensor.gdynia.pl
 Subject: Re: maybe not truly freebsd related

  But yet - what graphical mail program can you recommend that have such
  simple basic functionality of local mail support in Maildir format?
 
  Did you try googling for 'X mail client FreeBSD'?   A mere 14+ million hits.

 true. and none usable. all outdated etc. did YOU checked them before 
 answering?

Strange.

With 'maildir' and '-apple' added, I found several product names I recognized
on the first page of items.

_I_ don't use a point-and-drool mail client so I can't commennt on any of
them, but 'mutt' for example, running in an xterm (or a putty client), 
*is* mouse aware.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: securing MySQL: easiest/best ways?

2012-05-08 Thread Peter Vereshagin
Hello.

2012/05/08 06:49:01 -0700 Paul Beard paulbe...@gmail.com = To 
FreeBSD-questions :
PB Monkeying with IPv6, I discovered that globally routable addresses are what 
it says on the tin, so hiding behind a network appliance is not longer viable 
for me. An nmap scan showed the port 3306 was hanging out for all to see but  I 
couldn't figure out how to close it off. The --skip-networking argument seems 
not to work, either in my.cnf or as an rc argument. The server just fails to 
start. (For some reason the socket is hard-coded to live in /tmp, regardless of 
what's in my.cnf but I gave up bothering about that.)

How can you know for sure that your my.cnf is being taken into the account by 
mysqld at all? I remember some issues that made me to put a symlink /etc/my.cnf 
to ..//usr/local/etc/my.cnf ...

PB What I ended up doing was adding 
PB 
PB mysql_args=--bind-address=127.0.0.1
PB 
PB to /etc/rc.conf. This seems to work as netstat and sockstat no longer show 
port 3306 listening and database connections are happening. 
PB 
PB Is this the preferred/best way? 

I just think locking mysqld into the jail(4) is better. ;-)

PB Are you trying to win an argument or solve a problem? 

Whatever I may need.

--
Peter Vereshagin pe...@vereshagin.org (http://vereshagin.org) pgp: A0E26627 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: USA Anonymous CVS

2012-05-08 Thread Ted Sun
I have similar issue earlier today.
Then I make it by login first and checkout next.

cvs -d :pserver:anon...@anoncvs.tw.freebsd.org:/home/ncvs login
cvs co src -rRELENG_8_3_0_RELEASE

Best regards,

Ted

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/USA-Anonymous-CVS-tp5565539p5695622.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Video not view-able

2012-05-08 Thread Carmel
I have been visiting several sites lately in which the video content
was not view-able.

Example:
http://www.huffingtonpost.com/2012/05/05/republicans-get-in-my-vagina-kate-beckinsale_n_1484918.html?ref=fbsrc=spcomm_ref=false
 

There is a video there that displays perfectly in MS Windows in either
IE8 or 9 and Firefox. However, under FreeBSD-8.3 with the latest
version of Firefox all I get is a black box. No controls to click,
etcetera. This sort of thing happens way to frequently on way to many
sites. It cannot be a simple blame Microsoft thing since these sites
work under Firefox when used in MS Windows.

Does anyone have a possible solution?

-- 
Carmel ✌
carmel...@hotmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Video not view-able

2012-05-08 Thread Craig Butler


On Tue, 2012-05-08 at 15:09 -0400, Carmel wrote:
 I have been visiting several sites lately in which the video content
 was not view-able.
 
 Example:
 http://www.huffingtonpost.com/2012/05/05/republicans-get-in-my-vagina-kate-beckinsale_n_1484918.html?ref=fbsrc=spcomm_ref=false
  
 
 There is a video there that displays perfectly in MS Windows in either
 IE8 or 9 and Firefox. However, under FreeBSD-8.3 with the latest
 version of Firefox all I get is a black box. No controls to click,
 etcetera. This sort of thing happens way to frequently on way to many
 sites. It cannot be a simple blame Microsoft thing since these sites
 work under Firefox when used in MS Windows.
 
 Does anyone have a possible solution?
 

Working fine here with 8.2-STABLE amd64, firefox 9,
linux-f10-flashplugin-11, and nspluginwrapper

Have you installed the flash port ?

/CB

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: securing MySQL: easiest/best ways?

2012-05-08 Thread Jerry
On Tue, 08 May 2012 15:34:02 +0100
Matthew Seaman articulated:

Sounds almost as if the my.cnf you've been editing is not the my.cnf
that your mysql instance is using.  IIRC there was some talk about
moving from the usual BSD-ish /var/db/mysql/my.cnf to
/usr/local/etc/my.cnf (no doubt under some insidious influence from
Linux.)

The first time I ever looked for my.cnf I had expected to find it in
/usr/local/etc. Since so many configuration files are stored there,
it just seemed like a natural place for it to be located. IMHO, a
centralized repository for configuration files greatly simplifies
system maintenance.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__


signature.asc
Description: PGP signature


Re: Video not view-able

2012-05-08 Thread RW
On Tue, 8 May 2012 15:09:26 -0400
Carmel wrote:

 I have been visiting several sites lately in which the video content
 was not view-able.
 
 Example:
 http://www.huffingtonpost.com/2012/05/05/republicans-get-in-my-vagina-kate-beckinsale_n_1484918.html?ref=fbsrc=spcomm_ref=false
  
 
 There is a video there that displays perfectly in MS Windows in either
 IE8 or 9 and Firefox. However, under FreeBSD-8.3 with the latest
 version of Firefox all I get is a black box. No controls to click,
 etcetera. This sort of thing happens way to frequently on way to many
 sites. It cannot be a simple blame Microsoft thing since these sites
 work under Firefox when used in MS Windows.

I know this isn't what you want to hear, but it works just fine for me.

It's a bit anecdotal, but I've had fewer problems with flash video since
upgrading to modern hardware a year ago. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Preventing portmaster from using packages for specified ports

2012-05-08 Thread Mike Clarke

I'm happy to use the -P option to let portmaster use packages for most 
of my ports but there's a few that must be compiled from the port 
instead because I need to configure non default options, e.g. to enable 
GIMP plugin support in graphics/xsane

Is there any way of forcing portmaster to never use packages for certain 
specified ports?

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Video not view-able

2012-05-08 Thread Chris Whitehouse

On 08/05/2012 20:09, Carmel wrote:

I have been visiting several sites lately in which the video content
was not view-able.

Example:
http://www.huffingtonpost.com/2012/05/05/republicans-get-in-my-vagina-kate-beckinsale_n_1484918.html?ref=fbsrc=spcomm_ref=false

There is a video there that displays perfectly in MS Windows in either
IE8 or 9 and Firefox. However, under FreeBSD-8.3 with the latest
version of Firefox all I get is a black box. No controls to click,
etcetera. This sort of thing happens way to frequently on way to many
sites. It cannot be a simple blame Microsoft thing since these sites
work under Firefox when used in MS Windows.

Does anyone have a possible solution?

Do you have adblock plus installed and enabled? Try disabling it for 
that page and reloading.


Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Video not view-able

2012-05-08 Thread Carmel
On Tue, 8 May 2012 21:14:23 +0100
RW articulated:

On Tue, 8 May 2012 15:09:26 -0400
Carmel wrote:

 I have been visiting several sites lately in which the video content
 was not view-able.
 
 Example:
 http://www.huffingtonpost.com/2012/05/05/republicans-get-in-my-vagina-kate-beckinsale_n_1484918.html?ref=fbsrc=spcomm_ref=false
  
 
 There is a video there that displays perfectly in MS Windows in
 either IE8 or 9 and Firefox. However, under FreeBSD-8.3 with the
 latest version of Firefox all I get is a black box. No controls to
 click, etcetera. This sort of thing happens way to frequently on way
 to many sites. It cannot be a simple blame Microsoft thing since
 these sites work under Firefox when used in MS Windows.

I know this isn't what you want to hear, but it works just fine for me.

It's a bit anecdotal, but I've had fewer problems with flash video
since upgrading to modern hardware a year ago. 

Define modern hardware. The Windows machine is actually older then
the FreeBSD one.

-- 
Carmel ✌
carmel...@hotmail.com

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: securing MySQL: easiest/best ways?

2012-05-08 Thread Matthew Seaman
On 08/05/2012 20:55, Jerry wrote:
 On Tue, 08 May 2012 15:34:02 +0100
 Matthew Seaman articulated:
 
 Sounds almost as if the my.cnf you've been editing is not the my.cnf
 that your mysql instance is using.  IIRC there was some talk about
 moving from the usual BSD-ish /var/db/mysql/my.cnf to
 /usr/local/etc/my.cnf (no doubt under some insidious influence from
 Linux.)

 The first time I ever looked for my.cnf I had expected to find it in
 /usr/local/etc. Since so many configuration files are stored there,
 it just seemed like a natural place for it to be located. IMHO, a
 centralized repository for configuration files greatly simplifies
 system maintenance.

Yeah.  It's no big deal.

But...

Maybe you want to run more than one instance of mysql on the same machine.

Or you want to move the data directory lock, stock and barrel onto a
different server.  Maybe it's some ultra fancy fail-over setup with a
data dir shared between two servers.  Keeping the configs with the data
does have a few advantages.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: securing MySQL: easiest/best ways?

2012-05-08 Thread Andre Goree

On Tue, 08 May 2012 15:55:36 -0400, Jerry je...@seibercom.net wrote:


On Tue, 08 May 2012 15:34:02 +0100
Matthew Seaman articulated:


Sounds almost as if the my.cnf you've been editing is not the my.cnf
that your mysql instance is using.  IIRC there was some talk about
moving from the usual BSD-ish /var/db/mysql/my.cnf to
/usr/local/etc/my.cnf (no doubt under some insidious influence from
Linux.)


The first time I ever looked for my.cnf I had expected to find it in
/usr/local/etc. Since so many configuration files are stored there,
it just seemed like a natural place for it to be located. IMHO, a
centralized repository for configuration files greatly simplifies
system maintenance.



Hence the reason almost all of my config files are symlinked in someway in  
/etc/


Call it a habit from spending much of my time using  working on Linux :p

--
Using Opera's revolutionary email client: http://www.opera.com/mail/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Preventing portmaster from using packages for specified ports

2012-05-08 Thread John Webster
--On May 8, 2012 9:33:59 PM +0100 Mike Clarke jmc-freeb...@milibyte.co.uk 
wrote:

 
 I'm happy to use the -P option to let portmaster use packages for most 
 of my ports but there's a few that must be compiled from the port 
 instead because I need to configure non default options, e.g. to enable 
 GIMP plugin support in graphics/xsane
 
 Is there any way of forcing portmaster to never use packages for certain 
 specified ports?
 
 -- 

Would this work for you?  From the manpage:

 For those who wish to be sure that specific ports are always compiled
 instead of being installed from packages the PT_NO_INSTALL_PACKAGE vari-
 able can be defined in the make(1) environment, perhaps in
 /usr/local/etc/ports.conf if using /usr/ports/ports-mgmt/portconf, or in
 /etc/make.conf.  This setting is not compatible with the
 -PP/--packages-only option.



pgpBUQ7LBK3b1.pgp
Description: PGP signature


Re: securing MySQL: easiest/best ways?

2012-05-08 Thread Jerry
On Tue, 08 May 2012 21:51:49 +0100
Matthew Seaman articulated:

On 08/05/2012 20:55, Jerry wrote:
 On Tue, 08 May 2012 15:34:02 +0100
 Matthew Seaman articulated:
 
 Sounds almost as if the my.cnf you've been editing is not the
 my.cnf that your mysql instance is using.  IIRC there was some
 talk about moving from the usual BSD-ish /var/db/mysql/my.cnf to
 /usr/local/etc/my.cnf (no doubt under some insidious influence from
 Linux.)

 The first time I ever looked for my.cnf I had expected to find it
 in /usr/local/etc. Since so many configuration files are stored
 there, it just seemed like a natural place for it to be located.
 IMHO, a centralized repository for configuration files greatly
 simplifies system maintenance.

Yeah.  It's no big deal.

But...

Maybe you want to run more than one instance of mysql on the same
machine.

Or you want to move the data directory lock, stock and barrel onto a
different server.  Maybe it's some ultra fancy fail-over setup with a
data dir shared between two servers.  Keeping the configs with the data
does have a few advantages.

Actually, it has a lot of advantages. I only run one instance of MySQL;
however, for multiple instances, keeping the configs in one location
would probably not be advantageous. Someone else mentioned creating a
link for the my.cnf file. Since I never touch the my.cnf file once
MySQL is setup, I probably would not bother with it, although it is an
interesting idea.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__


signature.asc
Description: PGP signature


Re: Preventing portmaster from using packages for specified ports

2012-05-08 Thread Mike Clarke
On Tuesday 08 May 2012, John Webster wrote:

 Would this work for you?  From the manpage:

      For those who wish to be sure that specific ports are always
 compiled instead of being installed from packages the
 PT_NO_INSTALL_PACKAGE vari- able can be defined in the make(1)
 environment, perhaps in /usr/local/etc/ports.conf if using
 /usr/ports/ports-mgmt/portconf, or in /etc/make.conf.  This setting
 is not compatible with the -PP/--packages-only option.

Yes, that looks like exactly what I need. I don't know how I missed it, 
I must have searched through the manpage several times and had a total 
blind spot for that paragraph - sorry for looking so dumb.

-- 
Mike Clarke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Video not view-able

2012-05-08 Thread RW
On Tue, 8 May 2012 16:51:06 -0400
Carmel wrote:

 On Tue, 8 May 2012 21:14:23 +0100
 RW articulated:

 It's a bit anecdotal, but I've had fewer problems with flash video
 since upgrading to modern hardware a year ago. 
 
 Define modern hardware. The Windows machine is actually older then
 the FreeBSD one.

There's no point in comparing performance on Windows and FreeBSD.
Anything other than Windows is an afterthought as far as Flash
development is concerned. 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: maybe not truly freebsd related

2012-05-08 Thread Polytropon
On Tue, 8 May 2012 16:28:08 +0200 (CEST), Wojciech Puchar wrote:
 But yet - what graphical mail program can you recommend that have such 
 simple basic functionality of local mail support in Maildir format?

I'm using Sylpheed here. It requires Gtk 2 (which should be
fine when you're using Gnome anyway), and it stores mails in
MH format (quite comparable to Maildir). Related to TB, it's
still very lightweight.

There has also been a Gtk 1 version (much more lightweight),
but I think it's already out of ports, and its UTF-8 support
does not exist. However, it's even faster than the current
version. :-)

Remember that it's a MUA. It's not a calendar, not a web
browser, not a multimedia player and not a PDF viewer. (But
you can interface it to open content based on file type by
using external programs, such as xmms, xpdf, xzgv etc.).


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


error: libm.so.4 needed by libspeex may conflict w libm.so.5

2012-05-08 Thread David Banning
while attempting to build and install mplayer under FreeBSD Release 8.2 I get 
the error;

/usr/local/bin/ld: warning: libm.so.4, needed by /usr/local/lib/libspeex.so, 
may conflict with libm.so.5
/usr/local/lib/libgdk-x11-2.0.so: undefined reference to 
`XRRGetScreenResourcesCurrent'
/usr/local/lib/libgdk-x11-2.0.so: undefined reference to `XRRGetOutputPrimary'
collect2: ld returned 1 exit status
gmake: *** [mplayer] Error 1

If it's libspeex / libm.so.4 that is causing the error (thats what it looks 
like to me)
I wonder how to find out what libspeex is being used for - or for that matter 
what 
libm.so.4 is needed for.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Preventing portmaster from using packages for specified ports

2012-05-08 Thread John Webster


--On May 8, 2012 10:51:16 PM +0100 Mike Clarke jmc-freeb...@milibyte.co.uk 
wrote:

 On Tuesday 08 May 2012, John Webster wrote:
 
 Would this work for you?  From the manpage:
 
      For those who wish to be sure that specific ports are always
 compiled instead of being installed from packages the
 PT_NO_INSTALL_PACKAGE vari- able can be defined in the make(1)
 environment, perhaps in /usr/local/etc/ports.conf if using
 /usr/ports/ports-mgmt/portconf, or in /etc/make.conf.  This setting
 is not compatible with the -PP/--packages-only option.
 
 Yes, that looks like exactly what I need. I don't know how I missed it, 
 I must have searched through the manpage several times and had a total 
 blind spot for that paragraph - sorry for looking so dumb.
 
 -- 
 Mike Clarke


I know how that is, I've missed stuff in the manpages too.  grin


 sorry for looking so dumb.

Not dumb.  You had a question and you asked it on freebsd-questions
looking for an answer.  That's smart in my book.  That's what the 
list is for.

Cheers,

jw



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: error: libm.so.4 needed by libspeex may conflict w libm.so.5

2012-05-08 Thread Polytropon
On Tue, 8 May 2012 21:04:18 -0400, David Banning wrote:
 If it's libspeex / libm.so.4 that is causing the error (thats what it looks 
 like to me)
 I wonder how to find out what libspeex is being used for - or for that matter 
 what 
 libm.so.4 is needed for.

I see you start exploring the joy of front page decisions based
upon information provided exactly there. :-)

Speex is a codec intended for speech compression (and libspeex is
its corresponding library implementation), and libm is the math
library of your FreeBSD system (OS, not a port).

However, I have mplayer 1.0.r20110329_3 installed here on FreeBSD
8.2-STABLE (i386), using speex 1.2.r1_3,1. If you have problems
installing it, and you know you're not going to need it, just do
a make config in the mplayer port's directory and deselect SPEEX
option, then it shouldn't be built.

Is your ports tree up to date? Maybe there's a newer version of
speex or mplayer that will happily work with the system's libm v5?



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org