Is Linux emulator not up-to-date and doesn't understand STB_GNU_UNIQUE binding?

2010-12-29 Thread Yuri

I have the working app in Ubuntu.
When I copy it to FreeBSD with all shared libs I get such message:
app.linux: symbol lookup error: ../lib/libstdc++.so.6: undefined symbol: 
_ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE, 
version GLIBCXX_3.4


../lib/libstdc++.so.6 has been taken from Ubuntu (gcc-4.5.1)

Upon closer inspection I see that on FreeBSD:
 readelf -aW ../lib/libstdc++.so.6 | grep 
_ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE
  1426: 000f30dc 4 OBJECT OS specific: 10 DEFAULT   26 
_ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE@@GLIBCXX_3.4
  3380: 000f30dc 4 OBJECT OS specific: 10 DEFAULT   26 
_ZNSt7num_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE2idE


But on Ubuntu the word UNIQUE replaces 10. It refers to the relatively 
newly introduced extension STB_GNU_UNIQUE, see here:

http://osdir.com/ml/general/2009-08/msg09809.html

Should Linux emulator be updated?

Yuri
___
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


Change firefox/thunderbird open dialog application

2010-12-29 Thread David Demelier

Hello,

When you download a file with firefox or thunderbird you'll get this 
window : http://ompldr.org/vNnJxag


But I would like to switch the application to use for a certain mimetype 
like Text file should use leafpad, http link firefox and so on.


I do not really like to browse to the pointed binary since you cannot be 
sure it will works if you put your configuration on a system where 
binaries are not in the same place and you cannot add additional flags 
neither.


I never found anywhere where you can edit these settings,

Kind regards,

--
David Demelier
___
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


MySQL 5.5.7-5.5.8 instructions seem scary

2010-12-29 Thread Nerius Landys
I read this in /usr/ports/UPDATING today:

=
20101227:
  AFFECTS: users of databases/mysql55-server
  AUTHOR: a...@freebsd.org

  MySQL 5.5 has been updated to 5.5.8 GA release. Since layout is
  changed you should remove mysql55-{client/server/scripts} ports
  before upgrading. The build system is changed too, so expect
  failures.
=


Now that seems pretty scary.  Remove all mysql packages from my system?!?!
Expect failures?!?!?

I have important data in my current mysql install.

porky/zsh# pkg_info -Qao | grep -i mysql
mysql-client-5.5.7:databases/mysql55-client
mysql-server-5.5.7:databases/mysql55-server
php5-mysql-5.3.4:databases/php5-mysql

Should I wait until things settle down before upgrading?
I need better instruction on how to upgrade.
___
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


gnome-keyring-daemon errors in /var/log/messages

2010-12-29 Thread Leslie Jensen


I have a lot of these errors in /var/log/messages

gnome-keyring-daemon[2169]: couldn't set environment variable in 
session: The name org.gnome.SessionManager was not provided by any 
.service files



I don't use gnome-keyring but some of the ports I use has pulled it in.

Uninstalling is not allowed

pkg_delete gnome-keyring-2.32.1
pkg_delete: package 'gnome-keyring-2.32.1' is required by these other 
packages

and may not be deinstalled:
gnome-mount-0.8_7
py26-gnome-2.28.1_2
gvfs-1.6.6
libgnomeui-2.24.4
py26-gnome-extras-2.25.3_10
firefox-3.6.13,1
thunderbird-3.1.7
gimp-app-2.6.11,1
gimp-gutenprint-5.2.4_2
gimp-2.6.11,2
gramps-3.2.5_1


So can I get rid of the errors in any way?

Thanks

/Leslie



___
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: Change firefox/thunderbird open dialog application

2010-12-29 Thread Alexandre
On Wed, Dec 29, 2010 at 11:48 AM, David Demelier
demelier.da...@gmail.comwrote:

 Hello,

 When you download a file with firefox or thunderbird you'll get this window
 : http://ompldr.org/vNnJxag

 But I would like to switch the application to use for a certain mimetype
 like Text file should use leafpad, http link firefox and so on.

 I do not really like to browse to the pointed binary since you cannot be
 sure it will works if you put your configuration on a system where binaries
 are not in the same place and you cannot add additional flags neither.

 I never found anywhere where you can edit these settings,

 Kind regards,

 --
 David Demelier

In the Firefox preferences, there is an 'Application' menu where you can
associate the application with mimetype.
___
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


ZFS RAIDZ Controller Disk Order

2010-12-29 Thread Charlie Mason
Hi All,

I have an old server which has FreeBSD on it. It has a cheap PCI
raid controller in it, with the disks just set to pass through to the
OS. Then the OS had a RAIDZ configured array form the 6 x 250gig disks
passed through from the raid controller.

I decided to upgrade to an array of 4 2TB disks running on new
hardware (using the same server case). The disks were in a separate
chassis to the motherboard, its quite complicated! So I copied the
data off the old array via NFS to a separate 2TB disk. Then built the
new array.

Unfortunately I have realised I forgot to copy my old photos off the
old array. I would really like to recover the old photos although, I
suppose its not the end of the world if they are lost.

As a fail safe I had left the old array disks as they were so, that I
can just plug them back in if anything went wrong. Or so I thought! On
plugging them back in zpool is complaining that they are all corrupt,
except the first 2. It seems fairly unlikely I have got that unlucky.
So I was wondering, does the order they were in the controller matter.
They are all being presented in the same range of addresses da0
through da5 but they are probably connected up to different ports, so
da0 is now da2 and so on.

Can anyone think of a way to get them back in the correct order if it
does matter, other than trial and error. Can I find out what number
each one was in the pool from the disk somehow?

Thanks,

Charlie
___
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


Tomcat 6 log level

2010-12-29 Thread Robert Gründler
Hi,

we've installed tomcat 6 via freebsd ports and would like to change the log 
level on our
production server from INFO to SEVERE.

However, the tomcat6 startup script in /usr/local/etc/rc.d did not load the 
logging.properties
file of tomcat, so we've added a flag to the java_opts in /etc/rc.conf

tomcat60_java_opts=-Djava.util.logging.config.file=/usr/local/apache-tomcat-6.0/conf/logging.properties

When setting this option, it loads the config file, but throws some exceptions:

Can't load log handler 4host-manager.org.apache.juli.FileHandler
java.lang.ClassNotFoundException: 4host-manager.org.apache.juli.FileHandler
java.lang.ClassNotFoundException: 4host-manager.org.apache.juli.FileHandler

...

Is there a recommended way to alter tomcat log level when installed through 
ports on freebsd?


thanks!

-robert___
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: ZFS RAIDZ Controller Disk Order

2010-12-29 Thread David Rawling

On 29/12/2010 11:08 PM, Charlie Mason wrote:

Hi All,

I have an old server which has FreeBSD on it. It has a cheap PCI
raid controller in it, with the disks just set to pass through to the
OS. Then the OS had a RAIDZ configured array form the 6 x 250gig disks
passed through from the raid controller.

I decided to upgrade to an array of 4 2TB disks running on new
hardware (using the same server case). The disks were in a separate
chassis to the motherboard, its quite complicated! So I copied the
data off the old array via NFS to a separate 2TB disk. Then built the
new array.

Unfortunately I have realised I forgot to copy my old photos off the
old array. I would really like to recover the old photos although, I
suppose its not the end of the world if they are lost.

As a fail safe I had left the old array disks as they were so, that I
can just plug them back in if anything went wrong. Or so I thought! On
plugging them back in zpool is complaining that they are all corrupt,
except the first 2. It seems fairly unlikely I have got that unlucky.
So I was wondering, does the order they were in the controller matter.
They are all being presented in the same range of addresses da0
through da5 but they are probably connected up to different ports, so
da0 is now da2 and so on.

Can anyone think of a way to get them back in the correct order if it
does matter, other than trial and error. Can I find out what number
each one was in the pool from the disk somehow?

Thanks,

Charlie
___
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

Is it perhaps possible to disconnect the disks again, boot the system, and 
remove the ZFS pool cache (which location escapes me for the moment). Then you 
should be able to import the pool again using the -f switch (force). I think 
if you are using the cache, the order matters. If you're importing a fresh 
pool, the system simply needs to find enough member disks.


I'm not a ZFS expert though...

Dave.

--
David Rawling
Principal Consultant

PD Consulting And Security
20 Goodin Road
Baulkham Hills, NSW 2153
Australia
Mob: +61 412 135 513
Email: d...@pdconsec.net

Please note that whilst we take all care, neither PD Consulting and Security 
nor the sender accepts any responsibility for viruses and it is your 
responsibility to scan for viruses. The contents are intended only for use by 
the addressee and may contain confidential and/or privileged material and any 
use by other than the intended recipient is prohibited. If you received this in 
error, please inform the sender and/or addressee immediately and delete the 
material.

___
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: MySQL 5.5.7-5.5.8 instructions seem scary

2010-12-29 Thread Odhiambo Washington
On Wed, Dec 29, 2010 at 1:57 PM, Nerius Landys nlan...@gmail.com wrote:

 I read this in /usr/ports/UPDATING today:

 =
 20101227:
  AFFECTS: users of databases/mysql55-server
  AUTHOR: a...@freebsd.org

  MySQL 5.5 has been updated to 5.5.8 GA release. Since layout is
  changed you should remove mysql55-{client/server/scripts} ports
  before upgrading. The build system is changed too, so expect
  failures.
 =


 Now that seems pretty scary.  Remove all mysql packages from my system?!?!
 Expect failures?!?!?

 I have important data in my current mysql install.


If there is no reason for you to run it, then keep off.
Otherwise backup your DB and follow the instructions:-)



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!
___
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: Change firefox/thunderbird open dialog application

2010-12-29 Thread David Demelier

On 29/12/2010 13:04, Alexandre wrote:

On Wed, Dec 29, 2010 at 11:48 AM, David Demelier
demelier.da...@gmail.com mailto:demelier.da...@gmail.com wrote:

Hello,

When you download a file with firefox or thunderbird you'll get this
window : http://ompldr.org/vNnJxag

But I would like to switch the application to use for a certain
mimetype like Text file should use leafpad, http link firefox and so on.

I do not really like to browse to the pointed binary since you
cannot be sure it will works if you put your configuration on a
system where binaries are not in the same place and you cannot add
additional flags neither.

I never found anywhere where you can edit these settings,

Kind regards,

--
David Demelier

In the Firefox preferences, there is an 'Application' menu where you can
associate the application with mimetype.


But it's the same thing, it opens a dialog window to search a full 
binary path.


On ubuntu and other desktop aim distributions, these action are 
associated to .desktop files I think. They may have been set globally 
within GNOME or KDE maybe.


--
David Demelier
___
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: MySQL 5.5.7-5.5.8 instructions seem scary

2010-12-29 Thread Bill Moran
In response to Odhiambo Washington odhia...@gmail.com:

 On Wed, Dec 29, 2010 at 1:57 PM, Nerius Landys nlan...@gmail.com wrote:
 
  I read this in /usr/ports/UPDATING today:
 
  =
  20101227:
   AFFECTS: users of databases/mysql55-server
   AUTHOR: a...@freebsd.org
 
   MySQL 5.5 has been updated to 5.5.8 GA release. Since layout is
   changed you should remove mysql55-{client/server/scripts} ports
   before upgrading. The build system is changed too, so expect
   failures.
  =
 
 
  Now that seems pretty scary.  Remove all mysql packages from my system?!?!
  Expect failures?!?!?
 
  I have important data in my current mysql install.
 
 If there is no reason for you to run it, then keep off.
 Otherwise backup your DB and follow the instructions:-)

Better yet, make a jail, install the version of MySQL you're currently
using and copy your data over, then practice upgrading in the jail.
Once you have the procedure figured out, you can execute it on the
production system with a high level of confidence.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
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: ZFS RAIDZ Controller Disk Order

2010-12-29 Thread Charlie Mason
On Wed, Dec 29, 2010 at 12:50 PM, David Rawling d...@pdconsec.net wrote:
 On 29/12/2010 11:08 PM, Charlie Mason wrote:

 Is it perhaps possible to disconnect the disks again, boot the system, and
 remove the ZFS pool cache (which location escapes me for the moment). Then
 you should be able to import the pool again using the -f switch (force). I
 think if you are using the cache, the order matters. If you're importing a
 fresh pool, the system simply needs to find enough member disks.

 I'm not a ZFS expert though...

Thanks for the info Dave. I managed to find the cache file. On my
install its under /boot/zfs/zpool.cache. I have also seen reports of
it under /etc/zfs whilst googling (I think that was Solaris though).
For safety's sake I backed it up and rebooted the server. Zpool then
lost all trace of the old array.

Then I used the zpool import command which was able to automatically
locate the array then I simply imported it by its name. Magically all
is working agian! So I can now get my photos off the old array and on
to the new one.

Thanks again for the info, its been really useful.

Charlie
___
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: a new hard-drive in a 2y/o laptop

2010-12-29 Thread Paul Wootton

  On 12/28/10 16:02, Chris Brennan wrote:

Boot a LiveFS CD, then at a root prompt do:

sysctl kern.geom.debugflags=16  and:

dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1

where x equals your drive number. This will zero out any old MBR.

[..]
GARBAGEInvalid partition tableError loading operating systemMissing
operating systemGARBAGEGARBAGEGARBAGE1+0 records in
1+0 records out
512 bytes transferred in 2.712151 secs (189 bytes/sec)
[..]


Hi Chris,

Are you sure that you got the command right when DDing

If you saw Invalid partition tableError loading operating 
systemMissingoperating system, that suggests to me that you had the 
equivalent of


dd if=/dev/ad4 oseek=1 bs=512 count=1

Here is what I get is I run that DD command on a Windows HDD
demophon# dd if=/dev/ada2 bs=512 count=1
3Àм|ûPPü¾¿W¹åó¤Ë½¾±8n| uÅâôÍ▒õÆIt8,tö µ´ð¬tü»´ÍëòNèFs*þF~
   t
~
 t ¶uÒFV
è!s ¶ë¼þ}Uªt
 ~tÈ ·ë©üWõË¿VÍr#Á$?ÞüC÷ãÑÖ±ÒîB÷â9V
w#r9s¸»|NVÍsQOtN2äVÍëäV`»ªU´AÍr6ûUªu0öÁt+a`jjÿv
ÿjh|jj´BôÍaasOt
   2äVÍëÖaùÃInvalid partition tableError loading operating 
systemMissing operating system,Dcéêþÿÿ?Á¥P   Uª1+0 records in

1+0 records out
512 bytes transferred in 0.363712 secs (1408 bytes/sec)
demophon# 


Paul
___
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: Problem with 'portsnap'

2010-12-29 Thread Chris Brennan
2010/12/28 Istvan Galgand igalg...@freemail.hu

 On Tue, Dec 28, 2010 at 07:51:58AM -0500, Jerry wrote:
  For the past few days, I have been having problems updating my ports
  tree via 'portsnap'. It continually gives errors similar to the
  following:
 
  quote
  Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
  Fetching snapshot tag from portsnap2.FreeBSD.org... failed.
  Fetching snapshot tag from portsnap6.FreeBSD.org... failed.
  Fetching snapshot tag from portsnap1.FreeBSD.org... failed.
  Fetching snapshot tag from portsnap5.FreeBSD.org... failed.
  Fetching snapshot tag from portsnap4.FreeBSD.org... done.
  Fetching snapshot metadata... fetch:
 http://portsnap4.FreeBSD.org/t/4816ec0c67a1c999c4d3875335b3d419a1a1a2497262158e661b9b5973b0453a:
 No address record
  sha256: 4816ec0c67a1c999c4d3875335b3d419a1a1a2497262158e661b9b5973b0453a:
 No such file or directory
  [: !=: unexpected operator
  mv: rename
 4816ec0c67a1c999c4d3875335b3d419a1a1a2497262158e661b9b5973b0453a to
 tINDEX.new: No such file or directory
  done.
  grep: tINDEX.new: No such file or directory
  look: tINDEX.new: No such file or directory
 
  Portsnap metadata appears bogus.
  Cowardly refusing to proceed any further.
  /quote
 

 Dear All,

 For the past two days I experienced exactly the same phenomena. By this
 morning (CET, Tuesday) the normal operation has been restored.

 Istvan


Istvan,

What was your solution?
___
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


Join me on StumbleUpon!

2010-12-29 Thread aurinete
[StumbleUpon]
(http://www.stumbleupon.com/to/e/853849180:055A6B5UKJQ47KT8/invite-3/home1/https%253A%252F%252Fwww.stumbleupon.com%252F%253Fpre%253Dinvite%2526u%253DqC5V)
 
Join Now! 
(http://www.stumbleupon.com/to/e/853849180:055A6B5UKJQ47KT8/invite-3/home2/https%253A%252F%252Fwww.stumbleupon.com%252F%253Fpre%253Dinvite%2526u%253DqC5V)
 

I've been discovering great stuff on the web with StumbleUpon and I think 
you'll love it!



Join now 
(http://www.stumbleupon.com/to/e/853849180:055A6B5UKJQ47KT8/invite-3/home3/https%253A%252F%252Fwww.stumbleupon.com%252F%253Fpre%253Dinvite%2526u%253DqC5V)
  so we can see and share each other's favorite web pages 
(http://www.stumbleupon.com/to/e/853849180:055A6B5UKJQ47KT8/invite-3/pf1/http%253A%252F%252Fwww.stumbleupon.com%252Fstumbler%252Faurinete%252F%253Fpre%253Dinvite)
 .  It only takes a minute - check it out 
(http://www.stumbleupon.com/to/e/853849180:055A6B5UKJQ47KT8/invite-3/home4/https%253A%252F%252Fwww.stumbleupon.com%252F%253Fpre%253Dinvite%2526u%253DqC5V)
 !

- aurinete 
(http://www.stumbleupon.com/to/e/853849180:055A6B5UKJQ47KT8/invite-3/pf2/http%253A%252F%252Fwww.stumbleupon.com%252Fstumbler%252Faurinete%252F%253Fpre%253Dinvite)
 


StumbleUpon is a discovery engine that finds the best of the web, recommended 
just for you. 
Learn more 
(http://www.stumbleupon.com/to/e/853849180:055A6B5UKJQ47KT8/invite-3/hf/http%253A%252F%252Fwww.stumbleupon.com%252F)
 




If you do not wish to receive emails sent by StumbleUpon, please
click here 
(http://www.stumbleupon.com/to/e/853849180:055A6B5UKJQ47KT8/invite-3/oo/http%253A%252F%252Fwww.stumbleupon.com%252Fnotifications.php%253Femailcode%253D055A6B5UKJQ47KT8%2526type%253DInvite)
 


(c) StumbleUpon 2001 - 2010

___
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: Problem with 'portsnap'

2010-12-29 Thread Istvan Galgand
On Wed, Dec 29, 2010 at 10:09:32AM -0500, Chris Brennan wrote:
 
 What was your solution?

Hello there,

As a matter of fact, I did not intervene as actually I did not know how to 
mitigate. Trying to update my box several times 
I managed to do so on Tuesday in the morning hours. To tell you the truth, 
today I experienced the same phenomena but only once,
for the second try it was ockay. That's all, this is my short story...

Cheers,
Istvan
-- 
This mail was sent by Mutt-1.4.2.3_4,
FreeBSD 8.1-RELEASE-#0, GENERIC i386
___
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


Does anybody know a PeerGuardian like app?

2010-12-29 Thread S Mathias
Are there any programs blocking ip, and has frequently updated lists, like the 
peerguardian on windows?

sorry for the question, but i looking for this kind of application :O

Thank you, and a happy christmas!


  
___
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


Firefox 3.6 and Java ?

2010-12-29 Thread John Levine
I gather that Firefox 3.6 still doesn't work with Java, since the
glue hasn't been updated.  Is anyone likely to be working on this?

I'm willing in principle, although my knowledge of both Firefox and
Java internals is, ah, somewhat limited.

R's,
John


___
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: MySQL 5.5.7-5.5.8 instructions seem scary

2010-12-29 Thread Bryan H.
Oops, forgot the reply-all.  :X  Sorry Bill.  :)

I ran the update two nights ago, and it went rather smoothly for me
(updating from the 5.5.7 RC to 5.5.8 GA), but your mileage may vary.

Additionally, you can find some general rules for updating your MySQL
install here:  http://dev.mysql.com/doc/refman/5.5/en/upgrading.html

As the others recommended, backups are critical!

On Wed, Dec 29, 2010 at 8:10 AM, Bill Moran wmo...@potentialtech.comwrote:

 In response to Odhiambo Washington odhia...@gmail.com:

  On Wed, Dec 29, 2010 at 1:57 PM, Nerius Landys nlan...@gmail.com
 wrote:
 
   I read this in /usr/ports/UPDATING today:
  
   =
   20101227:
AFFECTS: users of databases/mysql55-server
AUTHOR: a...@freebsd.org
  
MySQL 5.5 has been updated to 5.5.8 GA release. Since layout is
changed you should remove mysql55-{client/server/scripts} ports
before upgrading. The build system is changed too, so expect
failures.
   =
  
  
   Now that seems pretty scary.  Remove all mysql packages from my
 system?!?!
   Expect failures?!?!?
  
   I have important data in my current mysql install.
  
  If there is no reason for you to run it, then keep off.
  Otherwise backup your DB and follow the instructions:-)

 Better yet, make a jail, install the version of MySQL you're currently
 using and copy your data over, then practice upgrading in the jail.
 Once you have the procedure figured out, you can execute it on the
 production system with a high level of confidence.

 --
 Bill Moran
 http://www.potentialtech.com
 http://people.collaborativefusion.com/~wmoran/
 ___
 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

___
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: Firefox 3.6 and Java ?

2010-12-29 Thread Jan Henrik Sylvester

On 01/-10/-28163 20:59, John Levine wrote:

I gather that Firefox 3.6 still doesn't work with Java, since the
glue hasn't been updated.  Is anyone likely to be working on this?


java/openjdk6 WITH_WEB will give you the plugin to use with www/firefox.

You just have to enable it manually:

cd ~/.mozilla/plugins/  ln -s /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so

Cheers,
Jan Henrik
___
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: Firefox 3.6 and Java ?

2010-12-29 Thread Jan Henrik Sylvester

On 01/-10/-28163 20:59, John Levine wrote:

I gather that Firefox 3.6 still doesn't work with Java, since the
glue hasn't been updated.  Is anyone likely to be working on this?


java/openjdk6 WITH_WEB will give you the plugin to use with www/firefox.

You just have to enable it manually:

cd ~/.mozilla/plugins/  ln -s /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so

Cheers,
Jan Henrik
___
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: Does anybody know a PeerGuardian like app?

2010-12-29 Thread Polytropon
On Wed, 29 Dec 2010 08:04:16 -0800 (PST), S Mathias smathias1...@yahoo.com 
wrote:
 Are there any programs blocking ip, and has frequently updated
 lists, like the peerguardian on windows?

Yes, FreeBSD's base system brings the IPFW firewall that can be
used to block IPs, ranges of IPs or lists. Also PF can be used
for that purpose. Still I'm not sure in how far there are GUI
applications that help you controlling those system-level tools.
For most uses, automated solutions without any UI at all are
widely preferred. See man ipfw for details.

There are also other tools to help with blocking SSH brute force
attacks or unwanted FTP connection attempts from unauthorized
IPs. There are good automating mechanisms in those tools. Those
tools are available from FreeBSD's ports collection.

Is this what you had in mind?


-- 
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


Re: Does anybody know a PeerGuardian like app?

2010-12-29 Thread Francisco Reyes

Polytropon writes:


Is this what you had in mind?


I think a big component of what the OP asked for is


and has frequently updated lists


If there was such a list available then it would be possible to integrate it 
with one of the firewals available in FreeBSD.

___
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: Does anybody know a PeerGuardian like app?

2010-12-29 Thread David Brodbeck
On Wed, Dec 29, 2010 at 8:04 AM, S Mathias smathias1...@yahoo.com wrote:
 Are there any programs blocking ip, and has frequently updated lists, like 
 the peerguardian on windows?

I'm not entirely sure what services you're trying to protect, but I
find /usr/ports/security/denyhosts works pretty well as an SSH brute
force blocker.  It includes the ability to automatically download
lists of IPs that other systems have identified as doing SSH scanning.
___
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: Does anybody know a PeerGuardian like app?

2010-12-29 Thread bsdaddict
On Wednesday 29 December 2010 16:04:16 S Mathias wrote:
 Are there any programs blocking ip, and has frequently updated lists, like
 the peerguardian on windows?
 
 sorry for the question, but i looking for this kind of application :O
 
 Thank you, and a happy christmas!
 
 

If you are looking for a way of protection on P2P, Deluge can use the 
peerguardian filters : http://dev.deluge-torrent.org/wiki/BlocklistPlugin

Beni.
___
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: Problem with dbus update

2010-12-29 Thread Charlie Kester

On Mon 27 Dec 2010 at 15:10:35 PST Charlie Kester wrote:

On Mon 27 Dec 2010 at 12:13:32 PST Alexander Konotop wrote:

Same problem. It's seems like it's not hanging, but awaiting of
something.


We've been discussing this on the forums.

The problem seems to be that textproc/man2html is broken.  Warren Block
pointed out that if you deinstall man2html, the dbus upgrade will
succeed.  (It just won't build html'ized versions of the manpages.)

If you do need the html'ized manpages, I suggest you build them after
the upgrade, perhaps using www/man2web instead.


I need to correct something I said here.

textproc/man2html is NOT broken.  It simply wasn't intended to be used
in the way the dbus Makefiles are trying to use it.

man2html only takes its input from stdin.  If you specify a filename on
its commandline, as the dbus Makefile does, man2html will ignore it and
simply wait for input on stdin.  Since that input never comes, the dbus
build appears to hang.

I've submitted a PR to patch the dbus port so it uses man2html
correctly.

___
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


Upgrading python and it's ensuing issues

2010-12-29 Thread Chris Brennan
So, in the course of actually upgrading all of my ports (via portmaster -a),
which I've been trying to do for weeks and weeks now.

1) 'portmaster -o lang/python26 lang/python25' was successful
2) Python 2.6.6 is installed.
3) 'cd /usr/ports/lang/python  make upgrade-site-packages
-DUSE_PORTMASTER' failes, every time, so I have no idea what has actually
been successfully updated and what hasn't, short of comparing the below
list.

Copy/paste if a split tmux screen, the left is what SHOULD have been
installed, the right is what WAS installed (*I think*)
=== The following actions will be taken if you choose to proceed:
Upgrade py25-dbus-0.83.0_1 to py26-dbus-0.83.2   │=== The
following actions were performed:
Re-install dbus-glib-0.88│
Re-installation of libtool-2.2.10
Re-install dbus-1.4.1│
Re-installation of libiconv-1.13.1_1
Re-install gmake-3.81_4  │
Re-installation of gettext-0.18.1.1
Re-install gettext-0.18.1.1  │
Re-installation of gmake-3.81_4
Re-install libiconv-1.13.1_1 │
Re-installation of pkg-config-0.25_1
Re-install libtool-2.2.10│
Re-installation of expat-2.0.1_1
Re-install pkg-config-0.25_1 │
Re-installation of libxml2-2.7.8_1
Re-install gnome_subr-1.0│
Re-installation of libsigsegv-2.9
Re-install expat-2.0.1_1 │
Re-installation of m4-1.4.15,1
Re-install libxml2-2.7.8_1   │
Re-installation of perl-threaded-5.8.9_4
Re-install libX11-1.3.3_1,1  │
Re-installation of p5-Locale-gettext-1.05_3
Re-install autoconf-2.68 │
Re-installation of help2man-1.38.2_1
Re-install autoconf-wrapper-20101119 │
Re-installation of autoconf-wrapper-20101119
Re-install m4-1.4.15,1   │
Re-installation of autoconf-2.68
Re-install libsigsegv-2.9│
Re-installation of automake-wrapper-20101119
Re-install perl-threaded-5.8.9_4 │
Re-installation of automake-1.11.1
Re-install help2man-1.38.2_1 │
Re-installation of xorg-macros-1.6.0
Re-install p5-Locale-gettext-1.05_3  │
Re-installation of xf86bigfontproto-1.2.0
Re-install automake-1.11.1   │
Re-installation of bigreqsproto-1.1.0
Re-install automake-wrapper-20101119 │
Re-installation of inputproto-2.0
Re-install xorg-macros-1.6.0 │
Re-installation of kbproto-1.0.4
Re-install xf86bigfontproto-1.2.0│
Re-installation of xproto-7.0.16
Re-install bigreqsproto-1.1.0│
Re-installation of libXau-1.0.5
Re-install inputproto-2.0│
Re-installation of libXdmcp-1.0.3
Re-install kbproto-1.0.4 │
Re-installation of libcheck-0.9.8
Re-install libXau-1.0.5  │
Re-installation of libpthread-stubs-0.3_3
Re-install xproto-7.0.16 │
Re-installation of pth-2.0.7
Re-install libXdmcp-1.0.3│
Re-installation of python26-2.6.6
Re-install libxcb-1.7│
Re-installation of libgpg-error-1.10
Re-install libcheck-0.9.8│
Re-installation of libgcrypt-1.4.6
Re-install libpthread-stubs-0.3_3│
Re-installation of libxslt-1.1.26_2
Re-install python26-2.6.6│
Re-installation of xcb-proto-1.6
Re-install pth-2.0.7 │
Re-installation of libxcb-1.7
Re-install libxslt-1.1.26_2  │
Re-installation of xcmiscproto-1.2.0
Re-install libgcrypt-1.4.6   │
Re-installation of xextproto-7.1.1
Re-install libgpg-error-1.10 │
Re-installation of xtrans-1.2.5
Re-install xcb-proto-1.6 │
Re-installation of libX11-1.3.3_1,1
Re-install xcmiscproto-1.2.0 │
Re-installation of gnome_subr-1.0
Re-install xextproto-7.1.1   │
Re-installation of dbus-1.4.1
Re-install xtrans-1.2.5  │
Re-installation of icu-4.6
Re-install gio-fam-backend-2.26.1│
Re-installation of pcre-8.10
Re-install gamin-0.1.10_4│
Re-installation of glib-2.26.1_1
Re-install glib-2.26.1_1 │
Re-installation of gamin-0.1.10_4
Re-install icu-4.6  

setting a random password with PAM API

2010-12-29 Thread Christopher J. Ruwe
Hi,

First, I'd like to apologise for my choice of lists to post to ... the
question is more PAM-specific than FreeBSD, but the idea comes from
BSD, so I hope someone will have an idea or knows where to turn to (and
I don't know where to turn else).

I am trying to implement the feature to set a random password like in
BSD pw usermod -W in the Solaris passwd. Regrettably, I have not
found or perhaps not understood the PAM API documentation on how to
_inject a given string_ into the change-auth-token function
pam_chauthtok(...), which always jumps in an interactive pw-changing
loop.

After I have generated a random string char * randstring, I have tried
setting that string using

retval = pam_set_item( pamh, PAM_AUTHTOK, randstring);
 
which returns PAM_SUCCESS. The password / authentication token remains
unchanged, however. My second idea, i.e., using pam_sm_chauthtok(...),
did not work, either, as I have not understood the arguments to be
passed.

Should anybody know how to inject a given/known string into PAM to set
a user password, know where to look for documentation regarding that
issue or have another idea, I would really appreciate it ... and again
my apologies for being more than just slightly off topic.

Kind regards,
-- 
Christopher J. Ruwe
TZ GMT + 1


signature.asc
Description: PGP signature


Any recommendations for FreeBSD VPS hosting?

2010-12-29 Thread n j
Hello,

I'm looking for inexpensive but reliable FreeBSD VPS hosting. Any
input coming from a positive personal experience will be most
appreciated.

So far the most likely candidate seems to be
http://www.nqhost.com/unmetered-xen-vds.html. If anyone ever dealt
with them, please share.

TIA,
-- 
Nino
___
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: Any recommendations for FreeBSD VPS hosting?

2010-12-29 Thread Randal L. Schwartz
 n == n j nin...@gmail.com writes:

n I'm looking for inexpensive but reliable FreeBSD VPS hosting. Any
n input coming from a positive personal experience will be most
n appreciated.

If you're an expert, and require a minimum of handholding, I highly
recommend arpnetworks.com.  I've had 4 boxes with them for a year, and
am very pleased with the services offered and the resulting price.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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: Any recommendations for FreeBSD VPS hosting?

2010-12-29 Thread Indexer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 30/12/2010, at 10:28, Randal L. Schwartz wrote:

 n == n j nin...@gmail.com writes:
 
 n I'm looking for inexpensive but reliable FreeBSD VPS hosting. Any
 n input coming from a positive personal experience will be most
 n appreciated.

http://www.johncompanies.com/jc_bsd.html

They are excellent. The service is great, and they really understand the 
technology.


 
 If you're an expert, and require a minimum of handholding, I highly
 recommend arpnetworks.com.  I've had 4 boxes with them for a year, and
 am very pleased with the services offered and the resulting price.
 
 -- 
 Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
 See http://methodsandmessages.posterous.com/ for Smalltalk discussion
 ___
 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

William Brown

pgp.mit.edu



-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)

iQIcBAEBAgAGBQJNG8zaAAoJEHF16AnLoz6J95EP/irUL8MeVnf6sofw8ztQAVii
KOLcPO6ITYWfMursB4YKVyKW8PAvqk7Bf9LKTGKf8/y8ZDYLM+D1NXyMhEzCHX8r
8L+N2goswgoCccRvQlHZYi+QzmzVXyU4yq7ERe02SG88EZq9Irgudqf/LzS17TI9
EmagdQkLTG9RiArVRTHMSJnlUadzG3tbTBIDtWw9JSLa82vp6Z2cIlUae89Cr1lW
ZrOHkQaxGP+GgRvb/Jo6RGzlP5urclSuv3lXH5fpnCBoUiJliEPLgveQr8Sx8VVs
y5FSHCubXcT8nGflpR3BsK+f3esDUeMTRRDYnc3sMQ5x6IKiTmA6zHZqZ+qz2VnZ
qYmf/ZK+ro0ANjUQt8mXmi2H+2CBDaK8px/jRtZJGrbkmEVbPHYtjzSepOjuRB6U
3LPhC+xIE7hu8qYiC0fMyC5wllTviJqRQEdbR03DUle/pOQWlLDk5312nNO1JjC2
qOGPzm70YUk66LhYj2mR2B8PmZjBaMdGOzjHZDks5EB/7Fn6DXQZeF94xs/qavh5
qiC14Cv35f/Of989IT6FBsqAHrMCg+r/R4S5fPFVOCWV1ePFNE/eROqoE4yD7Lpq
lZ8sv4cnqQuBmd/uqh5FDlsrfP6jdFCfMkiTMdMrtXHcd9R35CEuBmOgyhLvmSTg
UX3mUhLerYZ+obi+f63k
=/L1l
-END PGP SIGNATURE-
___
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: Any recommendations for FreeBSD VPS hosting?

2010-12-29 Thread Eric
n j wrote:
 Hello,
 
 I'm looking for inexpensive but reliable FreeBSD VPS hosting. Any
 input coming from a positive personal experience will be most
 appreciated.
 
 So far the most likely candidate seems to be
 http://www.nqhost.com/unmetered-xen-vds.html. If anyone ever dealt
 with them, please share.
 
 TIA,

ive had good experiences across a few servers with rootbsd.

Eric
___
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: Any recommendations for FreeBSD VPS hosting?

2010-12-29 Thread Bruce Cran
On Wed, 29 Dec 2010 15:58:52 -0800
mer...@stonehenge.com (Randal L. Schwartz) wrote:

 If you're an expert, and require a minimum of handholding, I highly
 recommend arpnetworks.com.  I've had 4 boxes with them for a year, and
 am very pleased with the services offered and the resulting price.

I can't see any mention of it on their site - do you know if they have
datacentres other than in Los Angeles? Being based in Europe it's too
far away.

-- 
Bruce Cran
___
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: Any recommendations for FreeBSD VPS hosting?

2010-12-29 Thread Randal L. Schwartz
 Bruce == Bruce Cran br...@cran.org.uk writes:

Bruce I can't see any mention of it on their site - do you know if they have
Bruce datacentres other than in Los Angeles? Being based in Europe it's too
Bruce far away.

Arp is only LA for now.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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


How to build a BROKEN port?

2010-12-29 Thread Da Rock
Pardon me for being the queer one to ask this- but how does one 
force/override building a port marked as broken?


I'm not about to run a make install clean on it, but I would like to at 
least have a crack at trying to fix whats wrong. In this particular case 
its involving a particular arch, and seeing as I have this arch I'd 
reckon I'm an ideal candidate to try and help fix it :)


I poked around for a bit for an answer, but pretty much all the info is 
on how to mark it as broken- not overriding it.

___
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: How to build a BROKEN port?

2010-12-29 Thread Bruce Cran
On Thu, 30 Dec 2010 10:49:25 +1000
Da Rock freebsd-questi...@herveybayaustralia.com.au wrote:

 Pardon me for being the queer one to ask this- but how does one 
 force/override building a port marked as broken?

Edit the port's Makefile and comment-out the BROKEN line.

-- 
Bruce Cran
___
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: How to build a BROKEN port?

2010-12-29 Thread Giorgos Keramidas
On Thu, 30 Dec 2010 10:49:25 +1000, Da Rock 
freebsd-questi...@herveybayaustralia.com.au wrote:
 Pardon me for being the queer one to ask this- but how does one
 force/override building a port marked as broken?

 I'm not about to run a make install clean on it, but I would like to at
 least have a crack at trying to fix whats wrong. In this particular case
 its involving a particular arch, and seeing as I have this arch I'd
 reckon I'm an ideal candidate to try and help fix it :)

 I poked around for a bit for an answer, but pretty much all the info is
 on how to mark it as broken- not overriding it.

Edit it's 'Makefile'.  Look for an assignment of the form:

.if ${MACHINE_ARCH} = amd64
BROKEN= This port fails to frobnicate foo on amd64.
.endif

Remove this assignment, build the port and try to debug its problems.
When you have a fix, run make clean in the port directory, save a copy
of the entire port subdirectory somewhere and email the person or team
listed in MAINTAINER with your fix.

___
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: How to build a BROKEN port?

2010-12-29 Thread Da Rock

On 12/30/10 11:09, Bruce Cran wrote:

On Thu, 30 Dec 2010 10:49:25 +1000
Da Rockfreebsd-questi...@herveybayaustralia.com.au  wrote:

   

Pardon me for being the queer one to ask this- but how does one
force/override building a port marked as broken?
 

Edit the port's Makefile and comment-out the BROKEN line.

   
Oh, the irony! :) I considered doing that, but I thought there might 
have been some magic incantation that got around this...


Cheers
___
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: How to build a BROKEN port?

2010-12-29 Thread Da Rock

On 12/30/10 11:10, Giorgos Keramidas wrote:

On Thu, 30 Dec 2010 10:49:25 +1000, Da 
Rockfreebsd-questi...@herveybayaustralia.com.au  wrote:
   

Pardon me for being the queer one to ask this- but how does one
force/override building a port marked as broken?

I'm not about to run a make install clean on it, but I would like to at
least have a crack at trying to fix whats wrong. In this particular case
its involving a particular arch, and seeing as I have this arch I'd
reckon I'm an ideal candidate to try and help fix it :)

I poked around for a bit for an answer, but pretty much all the info is
on how to mark it as broken- not overriding it.
 

Edit it's 'Makefile'.  Look for an assignment of the form:

 .if ${MACHINE_ARCH} = amd64
 BROKEN= This port fails to frobnicate foo on amd64.
 .endif

Remove this assignment, build the port and try to debug its problems.
When you have a fix, run make clean in the port directory, save a copy
of the entire port subdirectory somewhere and email the person or team
listed in MAINTAINER with your fix.
   
I got that one. But what you have replied here has got my attention: 
${MACHINE_ARCH} and ${ARCH} the same? I have ${ARCH} in this one.


.if ${ARCH} == amd64

I'm stupid now, but I will learn... :)
___
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: Any recommendations for FreeBSD VPS hosting?

2010-12-29 Thread n j
Thanks for the input, I'll look into the suggested options:

http://arpnetworks.com/vps
http://www.rootbsd.net/virtual-hosting/
http://www.johncompanies.com/jc_bsd.html

If you know of any other FreeBSD VPS providers, please share.

Thanks,
-- 
Nino
___
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: How to build a BROKEN port?

2010-12-29 Thread Randal L. Schwartz
 Giorgos == Giorgos Keramidas keram...@ceid.upatras.gr writes:

Giorgos Edit it's 'Makefile'.  Look for an assignment of the form:

Minor nit... that's its not it's.  If you can't say it is or it
has in place, then it's its, not it's. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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: Any recommendations for FreeBSD VPS hosting?

2010-12-29 Thread David Scheidt

On Dec 29, 2010, at 8:21 PM, n j wrote:

 Thanks for the input, I'll look into the suggested options:
 
 http://arpnetworks.com/vps
 http://www.rootbsd.net/virtual-hosting/
 http://www.johncompanies.com/jc_bsd.html
 
 If you know of any other FreeBSD VPS providers, please share.


I've got several with panix:
http://www.panix.com/corp/v-colo/vplans.html

Also includes IPv6 connectivity, not currenlty mentioned on that page.  
___
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: Any recommendations for FreeBSD VPS hosting?

2010-12-29 Thread Randal L. Schwartz
 n == n j nin...@gmail.com writes:

n Thanks for the input, I'll look into the suggested options:
n http://arpnetworks.com/vps
n http://www.rootbsd.net/virtual-hosting/
n http://www.johncompanies.com/jc_bsd.html

There are rumors of a FreeBSD AMI for Amazon S3 as well, although I
can't find it on the prebuilt AMI pages yet.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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: Any recommendations for FreeBSD VPS hosting?

2010-12-29 Thread Randal L. Schwartz
 Randal == Randal L Schwartz mer...@stonehenge.com writes:

Randal There are rumors of a FreeBSD AMI for Amazon S3 as well, although I
Randal can't find it on the prebuilt AMI pages yet.

And by that I mean Amazon EC2, not S3.  {sigh}

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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: How to build a BROKEN port?

2010-12-29 Thread Da Rock

On 12/30/10 11:31, Randal L. Schwartz wrote:

Giorgos == Giorgos Keramidaskeram...@ceid.upatras.gr  writes:
 

Giorgos  Edit it's 'Makefile'.  Look for an assignment of the form:

Minor nit... that's its not it's.  If you can't say it is or it
has in place, then it's its, not it's. :)

   

Fine line that one :)

I've always thought that was the case (primary school english), but 
couldn't quite remember if that was accurate. Thanks for the confim

___
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: How to build a BROKEN port?

2010-12-29 Thread Charlie Kester

On Wed 29 Dec 2010 at 17:31:37 PST Randal L. Schwartz wrote:

Giorgos == Giorgos Keramidas keram...@ceid.upatras.gr writes:


Giorgos Edit it's 'Makefile'.  Look for an assignment of the form:

Minor nit... that's its not it's.  If you can't say it is or it
has in place, then it's its, not it's. :)


English has some funny rules.

Most of the time, possessives are formed with apostrophe+s.  I'm not
sure, but its might be the only exception to the rule. So I tend to be
more forgiving when people get it wrong -- especially when English is
not their native tongue.

On the other hand, people who write loose when they mean lose
deserve our most scathing scorn.  :)

___
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: How to build a BROKEN port?

2010-12-29 Thread Rob Farmer
On Wed, Dec 29, 2010 at 17:42, Charlie Kester corky1...@comcast.net wrote:
 Most of the time, possessives are formed with apostrophe+s.  I'm not
 sure, but its might be the only exception to the rule. So I tend to be
 more forgiving when people get it wrong -- especially when English is
 not their native tongue.


It is not an exception - just the only one that's confusing.
Apostrophes for possessives only applies to nouns, not pronouns (its,
hers, yours, etc.). It's recieves an apostrophe because it is a
contraction, like that's.

Supposedly, English has a lot more homonyms than other languages.

-- 
Rob Farmer
___
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: How to build a BROKEN port?

2010-12-29 Thread RW
On Thu, 30 Dec 2010 11:10:04 +1000
Da Rock freebsd-questi...@herveybayaustralia.com.au wrote:

 On 12/30/10 11:09, Bruce Cran wrote:
  On Thu, 30 Dec 2010 10:49:25 +1000
  Da Rockfreebsd-questi...@herveybayaustralia.com.au  wrote:
 
 
  Pardon me for being the queer one to ask this- but how does one
  force/override building a port marked as broken?
   
  Edit the port's Makefile and comment-out the BROKEN line.
 
 
 Oh, the irony! :) I considered doing that, but I thought there might 
 have been some magic incantation that got around this...

Have you never read The Lion the Witch and the Wardrobe, any of the
Harry Potters, or the Bible? There's always deeper magic that's held
back until it's dramatically convenient.

  TRYBROKEN


 
___
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: How to build a BROKEN port?

2010-12-29 Thread Da Rock

On 12/30/10 12:27, RW wrote:

On Thu, 30 Dec 2010 11:10:04 +1000
Da Rockfreebsd-questi...@herveybayaustralia.com.au  wrote:

   

On 12/30/10 11:09, Bruce Cran wrote:
 

On Thu, 30 Dec 2010 10:49:25 +1000
Da Rockfreebsd-questi...@herveybayaustralia.com.au   wrote:


   

Pardon me for being the queer one to ask this- but how does one
force/override building a port marked as broken?

 

Edit the port's Makefile and comment-out the BROKEN line.


   

Oh, the irony! :) I considered doing that, but I thought there might
have been some magic incantation that got around this...
 

Have you never read The Lion the Witch and the Wardrobe, any of the
Harry Potters, or the Bible? There's always deeper magic that's held
back until it's dramatically convenient.

   TRYBROKEN
   
LOL :) I knew there had to be something! I just couldn't find it in the 
ocean of information on ports.


So...

make -DTRYBROKEN

Thanks guys. Now to crack the mongrel holding up my perfectly updated box...
___
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: Firefox 3.6 and Java ?

2010-12-29 Thread John Levine
 I gather that Firefox 3.6 still doesn't work with Java, since the
 glue hasn't been updated.  Is anyone likely to be working on this?

java/openjdk6 WITH_WEB will give you the plugin to use with www/firefox.

I'm trying to build openjdk6 on amd64 8.1-RELEASE, and I'm getting
build errors.  I did make config and turned on the WEB option, then make.

One error went away when I installed libXtst, but there's another near
the end of the build when it's trying to build icedtea and it can't
find nsThreadUtils.h.  That appears to be a firefox36 file, and I see
it's installed, but the includes are messed up or something.

Any suggestions?
___
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: a new hard-drive in a 2y/o laptop

2010-12-29 Thread Ian Smith
In freebsd-questions Digest, Vol 343, Issue 5, Message: 10
On Tue, 28 Dec 2010 11:02:45 -0500 Chris Brennan xa...@xaerolimit.net wrote:
  On Tue, Dec 28, 2010 at 2:23 AM, Michael Powell 
  nightre...@hotmail.comwrote:
  
   Try zeroing out the mbr:
  
   Boot a LiveFS CD, then at a root prompt do:
  
   sysctl kern.geom.debugflags=16  and:
  
   dd if=/dev/zero of=/dev/adx oseek=1 bs=512 count=1
  
   where x equals your drive number. This will zero out any old MBR.

Er, no, Mike.  The MBR is in sector 0 of the disk; that would zero out 
sector 1 as oseek=1 skips over sector 0.  What's in sector 1 depends on 
how/whether the disk is sliced.  In a 'dangerously dedicated' (unsliced) 
disk like a memory stick perhaps, this would usually be /boot/boot1 and
include the bsdlabel.  In a sliced disk, sectors 1 to 62 are typically 
unused, the first slice usually starting at sector 63.

t23% fdisk -s ad0
/dev/ad0: 232581 cyl 16 hd 63 sec
PartStartSize Type Flags
   1:  63 8385867 0x0b 0x00
   2: 8385930   125821080 0xa5 0x80
   3:   13420701033543342 0xa5 0x00
   4:   16775073066685815 0xa5 0x00

If you really want to zero out sector 0, leave out the oseek (or use 
oseek=0) - but you're better off using 'fdisk -Bi' to init a new disk.

   I have seen this exact error before, and this is what took care of it.
  
   -Mike

Mmm .. it's not clear from Chris' original message exactly what he did.

  Mike,
  
  Thanks for that little tip, I tried it this morning and it hung for about 30
  second w/ no cd/hd activity, then it resumed w/ a beep, it printed some
  garbage on the console, the only ledgeable was the following
  
  [..]
  GARBAGEInvalid partition tableError loading operating systemMissing
  operating systemGARBAGEGARBAGEGARBAGE1+0 records in
  1+0 records out
  512 bytes transferred in 2.712151 secs (189 bytes/sec)
  [..]

This doesn't make sense.  Rather than 'I tried it' please show the exact 
command/s you are issuing.  Given it's a new disk you can afford to make 
mistakes, but once you have anything valuable on a disk you need to take 
extreme care with dd(1), it's so easy to fatfinger something wrong.

eg, what you show above would indicate just what you'd get by running:

dd if=/dev/ad4 count=1

ie, using 'if=' not 'of=', with of=/dev/stdout implied, ie to console.

If you do want to look at one or more raw sectors, it's very much safer 
piping dd's stdout to hd (hexdump), as the delays and beep you mention 
are consistent with piping raw bytes out to the console .. often this 
can blow your console settings away (I've done it too many times :)

If you initialise a disk with the default MBR (or it came that way) then 
that's usually what's in /boot/mbr - or /boot/boot0 if you've chosen the 
FreeBSD boot manager, or something else if using (say) grub.

t23% dd if=/boot/mbr | hd
  fc 31 c0 8e c0 8e d8 8e  d0 bc 00 7c be 1a 7c bf  |.1.|..|.|
0010  1a 06 b9 e6 01 f3 a4 e9  00 8a 31 f6 bb be 07 b1  |..1.|
0020  04 38 2f 74 08 7f 75 85  f6 75 71 89 de 80 c3 10  |.8/t..u..uq.|
0030  e2 ef 85 f6 75 02 cd 18  80 fa 80 72 0b 8a 36 75  |u..r..6u|
0040  04 80 c6 80 38 f2 72 02  8a 14 89 e7 8a 74 01 8b  |8.r..t..|
0050  4c 02 bb 00 7c f6 06 bd  07 80 74 2d 51 53 bb aa  |L...|.t-QS..|
0060  55 b4 41 cd 13 72 20 81  fb 55 aa 75 1a f6 c1 01  |U.A..r ..U.u|
0070  74 15 5b 66 6a 00 66 ff  74 08 06 53 6a 01 6a 10  |t.[fj.f.t..Sj.j.|
0080  89 e6 b8 00 42 eb 05 5b  59 b8 01 02 cd 13 89 fc  |B..[Y...|
0090  72 0f 81 bf fe 01 55 aa  75 0c ff e3 be b9 06 eb  |r.U.u...|
00a0  11 be d1 06 eb 0c be f0  06 eb 07 bb 07 00 b4 0e  ||
00b0  cd 10 ac 84 c0 75 f4 eb  fe 49 6e 76 61 6c 69 64  |.u...Invalid|
00c0  20 70 61 72 74 69 74 69  6f 6e 20 74 61 62 6c 65  | partition table|
00d0  00 45 72 72 6f 72 20 6c  6f 61 64 69 6e 67 20 6f  |.Error loading o|
00e0  70 65 72 61 74 69 6e 67  20 73 79 73 74 65 6d 00  |perating system.|
00f0  4d 69 73 73 69 6e 67 20  6f 70 65 72 61 74 69 6e  |Missing operatin|
0100  67 20 73 79 73 74 65 6d  00 90 90 90 90 90 90 90  |g system|
0110  90 90 90 90 90 90 90 90  90 90 90 90 90 90 90 90  ||
*
01b0  90 90 90 90 90 90 90 90  90 90 90 90 90 80 00 00  ||
01c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  ||
*
01f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..U.|
0200
1+0 records in
1+0 records out
512 bytes transferred in 0.079548 secs (6436 bytes/sec)

Look familiar? :)  That's what 'dd if=/dev/ad4 count=1 | hd' would show 
on a disk with default MBR, except there'd be the slice data in the MBR 
section of the boot sector, starting at 0x1be, ending with 'sig' 55aa.

  Restarting the install process, again accepting defaults, I am again

Again, please be more explicit.  Defaults for what?  One slice covering 
the 

Re: How to build a BROKEN port?

2010-12-29 Thread perryh
Charlie Kester corky1...@comcast.net wrote:

 Most of the time, possessives are formed with apostrophe+s.  I'm
 not sure, but its might be the only exception to the rule ...

It's seems to be the most common misusage, but I have seen her's,
our's, and occasionally their's.  Interestingly, I've never seen
anyone write hi's when meaning his.

 On the other hand, people who write loose when they mean lose
 deserve our most scathing scorn.  :)

Perhaps they have merely lost their linguistic bearings.

Innaddverttentt ddoubblle llettterss ccann occcassionnallly bbee
ccaussedd bby ffllakkeey kkeeybbooarddss :))
___
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: How to build a BROKEN port?

2010-12-29 Thread Da Rock

On 12/30/10 15:52, per...@pluto.rain.com wrote:

Charlie Kestercorky1...@comcast.net  wrote:

   

Most of the time, possessives are formed with apostrophe+s.  I'm
not sure, but its might be the only exception to the rule ...
 

It's seems to be the most common misusage, but I have seen her's,
our's, and occasionally their's.  Interestingly, I've never seen
anyone write hi's when meaning his.

   

On the other hand, people who write loose when they mean lose
deserve our most scathing scorn.  :)
 

Perhaps they have merely lost their linguistic bearings.

Innaddverttentt ddoubblle llettterss ccann occcassionnallly bbee
ccaussedd bby ffllakkeey kkeeybbooarddss :))
   
I find most teenagers (and getting older too) can't tell the difference- 
and its not their keyboards.


Oddly enough, their teachers do it on a regular basis as well: in their 
handwriting!

___
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