options used to compile packages

2011-07-16 Thread David Arendt
Hi,

I want to compile packages from the ports collections with exactly the
same options that have been used to compile the official packages from
the official freebsd package collection. Is the var/db/ports directory
used to compile the official freebsd package collection available
somewhere ? If not, it would be very good to make it available as ports
default options seem to be different from options used to compile
official packages.

Thanks in advance
Bye,
David Arendt

___
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: can't build teTeX port in FreeBSD 8.2 amd64

2011-07-16 Thread Jamie Paul Griffin
 Yes, I'm aware of this, but texlive
 is not an option for me, unless and
 until it appears in the port tree.
 But I'm also aware of the step up
 or shut up reality, so I shut up.

As Frank pointed out, It's common to have more than one TeX distribution 
installed. I have had TeTex and TeXlive installed for quite some time and 
indeed multiple versions of TeXlive can live together in /usr/local. Maybe that 
would work for you. Anyway it sounds as though you're happy with your setup 
which is the main thing. I'll probably only ever use a small subset of the 
TeXlive distribution, there is so much there. 

Jamie
___
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: Upgrading very old installation

2011-07-16 Thread krad
On 15 July 2011 22:12, Balázs Mátéffy repcs...@gmail.com wrote:

 On 15 July 2011 22:46, Roland Smith rsm...@xs4all.nl wrote:

  On Fri, Jul 15, 2011 at 08:20:52AM -0400, Jaime Kikpole wrote:
   I'm running a FreeBSD 6.x server that hasn't been updated in about 1.5
  years.
  
   atlas:~uname -mprs
   FreeBSD 6.4-RELEASE-p8 i386 i386
 
   I've been using the cvsup/make method of upgrades for years and only
   used freebsd-upgrade once.  I'm not sure if either method can handle a
   6.x to 8.x upgrade.
 
  They are tested for upgrading to the next major version. Who knows if it
  will
  work across two major versions? Personally I wouldn't want to be the one
 ot
  try it out. :-)
 
   I also have a bunch of ports in this server (e.g. apache, postfix,
   etc.)  Once the OS is updated, should I just portupgrade them all?
 
  Doesn't work reliably across major version updates. When updating to a
  newer
  major version, the best way is to delete all ports (save their config
 files
  of course), scrub the /usr/local tree clean and then re-install them.
 
  Matthews advice of re-installing 8.2 on a second harddrive is probably
 the
  easiest and safest way to go.
 
  Roland
  --
  R.F.Smith
 http://www.xs4all.nl/~rsmith/
  [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
  pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
 

 Hi,

 I would try to update the split mirror of the 6.4 to 8.2, I did manage to
 update couple of years back from Releng6 to Current 8 :).

 Did the usual make kernel / world stuff mergemaster prebuild in the middle
 and mergemaster after the update then I rebuilt all the ports.

 I recently did a 6.4-STABLE  8.2-RELEASE-p2 migration to another server,
 but without using only some initial old config files  from the old system
 because I had to build a better environment with other software for the
 same
 role (almost the same thing that Matt recommended you). For me this is a
 longer procedure then updating all the software and checking for maybe now
 deprecated options and other problems.

 So I think its down to your level of knowledge and personal preference (
 whether you want to check what is to problem in case something goes wrong-
 I
 like this because I get to know the system and the inner workings in more
 detail). I personally don't like freebsd-update, and if your are new to the
 build from source way, you should really go with building up from scratch,
 then migrate.

 In case you want to update have a WORKING backup, and do a test run for the
 update (restore your 6.4 on a test machine and try to update it) before you
 bring down the productive system.

 Good luck!

 Regards,

 Balazs.
 ___
 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



Also one thing to watch with ports is thing like lang/php tend to jump a
point release or a major release. Its kind of anoying in my opinion that
lang/php can be php v4, 5.2 or 5.3 depending on what version of the os you
run, when there is stall a php52 port in say 8-stable. Makes
keeping consistent php versions more difficult. In my experience portmaster
is better than portupgrade as it doesnt have to mess around with binary dbs
of the ports
___
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: when compile,gcc can not work?

2011-07-16 Thread jyl_2006
For some reason,I want to compile the source code of mozilla,so i can not
use port.

2011/7/14 Lowell Gilbert-2 [via FreeBSD] 
ml-node+4587204-2058148006-208...@n5.nabble.com

 jyl_2006 [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=4587204i=0
 writes:

  Anyone who encounter this problem?
  checking whether the complier (*gcc -L/usr/local/v6/lib*) works... no
 
  The gcc version is 4.2.1 20070719 .And if I complie a simple program such
 as
  hello,world. It works well,but when I compile mozilla,it shows the
 problme?

 Use the ports system; handling this sort of thing is exactly what it's
 there for.
 ___
 [hidden email] http://user/SendEmail.jtp?type=nodenode=4587204i=1mailing 
 list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=4587204i=2



 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://freebsd.1045724.n5.nabble.com/when-compile-gcc-can-not-work-tp4586491p4587204.html
  To unsubscribe from when compile,gcc can not work?, click 
 herehttp://freebsd.1045724.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4586491code=eWlsaW5qaW5nMjAwNkBnbWFpbC5jb218NDU4NjQ5MXwxMjUzMzgwMzAy.




--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/when-compile-gcc-can-not-work-tp4586491p4593425.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


Re: before i ugrade from 7.3 to 8.x....

2011-07-16 Thread Matthew Seaman
On 16/07/2011 06:45, Gary Kline wrote:
 i ant to be as sure as possible that my network stuff and mail
 Works!   how can i test my /etc/namedb/*  'stuff'?  pretty sure mail
 works .. AND finally, i'm glad i stuck with FreeBSD and fer all your
 help.

http://dnscheck.iis.se/ is a good start.  Given that you're posting to
this list, I'd say mail and DNS is probably working.  Maybe not
completely perfect, but good enough.  Beyond that, it's usually a matter
of checking your logs and dealing with any problems as they come up.

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: options used to compile packages

2011-07-16 Thread Matthew Seaman
On 16/07/2011 08:44, David Arendt wrote:
 I want to compile packages from the ports collections with exactly the
 same options that have been used to compile the official packages from
 the official freebsd package collection. Is the var/db/ports directory
 used to compile the official freebsd package collection available
 somewhere ? If not, it would be very good to make it available as ports
 default options seem to be different from options used to compile
 official packages.

Official packages are compiled using the default options in each port.
What have you found where that is seemingly not the case?

You can see the logs from the port build clusters on
http://pointyhat.freebsd.org/errorlogs/

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: before i ugrade from 7.3 to 8.x....

2011-07-16 Thread Balázs Mátéffy
On 16 July 2011 11:27, Matthew Seaman m.sea...@infracaninophile.co.ukwrote:

 On 16/07/2011 06:45, Gary Kline wrote:
  i ant to be as sure as possible that my network stuff and mail
  Works!   how can i test my /etc/namedb/*  'stuff'?  pretty sure mail
  works .. AND finally, i'm glad i stuck with FreeBSD and fer all your
  help.

 http://dnscheck.iis.se/ is a good start.  Given that you're posting to
 this list, I'd say mail and DNS is probably working.  Maybe not
 completely perfect, but good enough.  Beyond that, it's usually a matter
 of checking your logs and dealing with any problems as they come up.

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


Hello,

If you want to check your zones, you can use dig @localhost DOMAINTOCHECK
AXFR for a local zone transfer from the dns server itself. Or from another
server dig @yourdnsserver domainname. Or from a windows server the command
nslookup, then in the nslookup query add your dns server as source like
this: server yourdnsserver then your can check the domains by just typing
them in.

What exactly you want to check Gary?

Best Regards,

Balazs
___
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: options used to compile packages

2011-07-16 Thread David Arendt
Hi,

well I don't actually now which package it was, but I compiled gdm (so
it should be one of it's dependencies). A compilation resulted in a non
working gdm (something with pam support not found on execution). Upon
installing gdm and is dependencies from packages, everything worked
correctly. Therefore I thought there might be other default options. I
am sorry that I cannot be more precise, but I tried it 2 months ago, so
I do not remember exactly. I think I will try it again from scratch with
latest ports tree and give you more precise information.

Bye,
David Arendt

On Sat, 2011-07-16 at 10:36 +0100, Matthew Seaman wrote:
 On 16/07/2011 08:44, David Arendt wrote:
  I want to compile packages from the ports collections with exactly the
  same options that have been used to compile the official packages from
  the official freebsd package collection. Is the var/db/ports directory
  used to compile the official freebsd package collection available
  somewhere ? If not, it would be very good to make it available as ports
  default options seem to be different from options used to compile
  official packages.
 
 Official packages are compiled using the default options in each port.
 What have you found where that is seemingly not the case?
 
 You can see the logs from the port build clusters on
 http://pointyhat.freebsd.org/errorlogs/
 
   Cheers,
 
   Matthew
 


___
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


gcc 4.4.7

2011-07-16 Thread ajtiM
Hi!

I decided to switch from portmaster to portupgrade and pkddb -F show many 
stale dependencies on gcc-4.4.5.20110503 (lang/gcc44).

Do I need to put new dependencies to gcc-4.5.4.20110630 or something else, 
please?
For portmaster I put IGNOREMI+ line and it works but I don't know how to do 
with portupgrade.

Thanks in advance.

Mitja

http://jpgmag.com/people/lumiwa
___
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: Multimedia

2011-07-16 Thread Alejandro Imass
I use FBSD mainly as a server so I don't have much experience on these
devices for FBSD. This is just an idea, but maybe with this WinTV
stuff you may have better luck using the Linux compatibility layer
(take advantage of software and drivers for V4L UVC, etc.). People run
stuff like Skype through that and it seems to work very well albeit a
small performance penalty. Before going through the trouble, make sure
it actually works in Linux and then figure out if the linuxator layer
can actually help you out.

On Sat, Jul 16, 2011 at 12:28 AM, hasanhasanli Hasan
hasanhasa...@mail.ru wrote:


 Hello everybody
 I want to install driver
 Hauppauge WinTV PVR 250 for FreeBSD. I try for any version FreeBSD 7.4 and 
 8.2. I can't install it.
 I have done following:
 In Kernel I added next lines:

 device  bktr
 device  iicbus
 device  iicbb
 device  smbus

 then I have donecd
 cp hcwPVRP2.sys /usr/ports/distfiles
 cd /usr/ports/multimedia/pvr250/
 make install

 Port was installed ok didn't appeared any mistake.
 But I can't see any driver cxm
 # pciconf -lv


 none2@pci0:4:5:0:   class=0x04 card=0x48010070 chip=0x0803 
 rev=0x01 hdr=0x00
     vendor = 'Conexant Inc (Was: Globespan, ICompression Inc)'
     device = 'iTVC15/CX23415 MPEG Codec'
     class  = multimedia
     subclass   = vidHelp me pleave
 ___
 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


Problems with the Asus P8h61 -m pro motherboard

2011-07-16 Thread Matevž Markovič
Hy!

I just installed the FreeBSD 8.2 on my computer, but unfortunately my
integrated network card was not recognised. Only the loopback and plip (or
something like that) interfaces are present in the sysinstall / ifconfig -a.
I have the Asus P8h61 -m pro motherboard. I wanted to configure this
computer to take part in boinc projects (like einstein@home, in the freebsd
group, of course :) ), but without a working internet connection, I am not
able to do this.
By the way, does FreeBSD support CUDA? I bought a CUDA graphics card and it
would be useful for BOINC projects.

Thank you for you answers and your time,

Matevž
___
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: can't build teTeX port in FreeBSD 8.2 amd64

2011-07-16 Thread Christian Barthel
Hello, 

I've not really followed this message but I ran (nearly) into the same problem. 
I also need latex! But I don't want to use tetex because I am used to texlive. 
So, I downloaded the texlive ISO Image and installed it with the included 
script: 

http://www.tug.org/texlive/acquire-iso.html

The installation works fine (my desktop pc, FreeBSD 8.1, AMD64) and I am able 
to use all tex features (pdflatex, ...)

Christian



On Wed, Jul 13, 2011 at 02:53:55PM -0700, Jeff Hamann wrote:
 I've tried to install the teTeX port (for pdflatex, etc.) and keep running 
 into this error.
 
 I can't seem to find a solution on the web and I could really use the help.
 
 freebsd-82-amd64# uname -a
 FreeBSD freebsd-82-amd64.localdomain 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu 
 Feb 17 02:41:51 UTC 2011 
 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
 freebsd-82-amd64# cd /usr/ports/print/teTeX
 freebsd-82-amd64# make install
 ===  Installing for teTeX-3.0_4
 ===   teTeX-3.0_4 depends on file: /usr/local/share/texmf-local/ls-R - found
 ===   teTeX-3.0_4 depends on file: /usr/local/share/texmf-dist/LICENSE.texmf 
 - not found
 ===Verifying install for /usr/local/share/texmf-dist/LICENSE.texmf in 
 /usr/ports/print/teTeX-texmf
 ===   teTeX-texmf-3.0_6 depends on file: /usr/local/share/texmf-local/ls-R - 
 found
 ===   teTeX-texmf-3.0_6 depends on file: 
 /usr/local/share/fonts/cmpsfont/README - not found
 ===Verifying install for /usr/local/share/fonts/cmpsfont/README in 
 /usr/ports/print/cmpsfont
 ===  Vulnerability check disabled, database not found
 ===  License check disabled, port has not defined LICENSE
 = cmps-unix.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
 = Attempting to fetch http://cvsup.theplanet.com/distfiles//cmps-unix.tar.gz
 fetch: http://cvsup.theplanet.com/distfiles/cmps-unix.tar.gz: Connection 
 refused
 = Attempting to fetch 
 http://ftp.ctex.org/pub/tex/fonts/type1//cmps-unix.tar.gz
 fetch: http://ftp.ctex.org/pub/tex/fonts/type1/cmps-unix.tar.gz: size 
 mismatch: expected 1915486, actual 1917739
 = Attempting to fetch 
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles//cmps-unix.tar.gz
 fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/cmps-unix.tar.gz: 
 size mismatch: expected 1915486, actual 1917739
 = Couldn't fetch it - please try to retrieve this
 = port manually into /usr/ports/distfiles/ and try again.
 *** Error code 1
 
 Stop in /usr/ports/print/cmpsfont.
 *** Error code 1
 
 Stop in /usr/ports/print/teTeX-texmf.
 *** Error code 1
 
 Stop in /usr/ports/print/teTeX.
 *** Error code 1
 
 Stop in /usr/ports/print/teTeX.
 
 
 
 Respectfully,
 Jeff.
 
 
 Jeff Hamann, PhD
 PO Box 1421
 Corvallis, Oregon 97339-1421
 541-754-2457
 jeff.hamann[at]forestinformatics[dot]com
 jeff.d.hamann[at]gmail[dot]com
 http://www.forestinformatics.com
 http://forufus.blogspot.com/
 http://en.wikipedia.org/wiki/Forest_informatics
 
 
 
 
 
 
 
 
 ___
 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

-- 
Christian Barthel (Public-Key: http://bc.user-mode.org/bc.asc ) 
Mail: b...@user-mode.org
Web: http://bc.user-mode.org
Server: nemesis.user-mode.org 
Status:  21:12:21 up 9 days, 13:41, 1 user, load average: 0.00, 0.00, 0.00
___
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: before i ugrade from 7.3 to 8.x....

2011-07-16 Thread Gary Kline
On Sat, Jul 16, 2011 at 11:50:09AM +0200, Bal?zs M?t?ffy wrote:
 Date: Sat, 16 Jul 2011 11:50:09 +0200
 From: Bal?zs M?t?ffy repcs...@gmail.com
 Subject: Re: before i ugrade from 7.3 to 8.x
 To: FreeBSD freebsd-questions@freebsd.org
 
 On 16 July 2011 11:27, Matthew Seaman m.sea...@infracaninophile.co.ukwrote:
 
  On 16/07/2011 06:45, Gary Kline wrote:
   i ant to be as sure as possible that my network stuff and mail
   Works!   how can i test my /etc/namedb/*  'stuff'?  pretty sure mail
   works .. AND finally, i'm glad i stuck with FreeBSD and fer all your
   help.
 
  http://dnscheck.iis.se/ is a good start.  Given that you're posting to
  this list, I'd say mail and DNS is probably working.  Maybe not
  completely perfect, but good enough.  Beyond that, it's usually a matter
  of checking your logs and dealing with any problems as they come up.
 
 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
 
 
 Hello,
 
 If you want to check your zones, you can use dig @localhost DOMAINTOCHECK
 AXFR for a local zone transfer from the dns server itself. Or from another
 server dig @yourdnsserver domainname. Or from a windows server the command
 nslookup, then in the nslookup query add your dns server as source like
 this: server yourdnsserver then your can check the domains by just typing
 them in.
 
 What exactly you want to check Gary?
 
 Best Regards,
 
 Balazs



Something very much like what you suggest.  I'm still using
nslookup, and it can't fiind things like ns1.thought.org.

I just tried your first dig command and it failed:




pts/4 12:44 tao [5169] dig @localhost thought.org  AXFR
~
;; Connection to 127.0.0.1#53(127.0.0.1) for thought.org failed:
connection refused.
;; Connection to 127.0.0.1#53(127.0.0.1) for thought.org failed:
connection refused.
;; Connection to 127.0.1.1#53(127.0.1.1) for thought.org failed:
connection refused.


Maybe the site that Matthew recommend will give me soe pointers!


gary




 ___
 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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.51a release of Jottings: http://jottings.thought.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: before i ugrade from 7.3 to 8.x....

2011-07-16 Thread Gary Kline
On Sat, Jul 16, 2011 at 11:50:09AM +0200, Bal?zs M?t?ffy wrote:
 Return-Path: owner-freebsd-questi...@freebsd.org
 Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by
  ethic.thought.org (8.14.4/8.14.4) with ESMTP id p6G9pbKj074808 for
  kl...@thought.org; Sat, 16 Jul 2011 02:51:37 -0700 (PDT) (envelope-from
  owner-freebsd-questi...@freebsd.org)
 Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36])
  by mx2.freebsd.org (Postfix) with ESMTP id 2166B155347; Sat, 16 Jul 2011
  09:50:18 + (UTC)
 Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org
  (Postfix) with ESMTP id 52A2010656A5; Sat, 16 Jul 2011 09:50:18 +
  (UTC) (envelope-from owner-freebsd-questi...@freebsd.org)
 Delivered-To: freebsd-questions@freebsd.org
 Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
  by hub.freebsd.org (Postfix) with ESMTP id 101D21065670 for
  freebsd-questions@freebsd.org; Sat, 16 Jul 2011 09:50:11 + (UTC)
  (envelope-from repcs...@gmail.com)
 Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com
  [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 9EBE88FC12 for
  freebsd-questions@freebsd.org; Sat, 16 Jul 2011 09:50:10 + (UTC)
 Received: by wwe6 with SMTP id 6so1844807wwe.31 for
  freebsd-questions@freebsd.org; Sat, 16 Jul 2011 02:50:09 -0700 (PDT)
 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
  h=mime-version:in-reply-to:references:date:message-id:subject:from:to
  :content-type; bh=O1O+m/JLbQDquK2LhLcANrKQiDAyw4XeAp9McSrqVqI=;
  b=p5XIBqNW7h7LFnn+w5uVVOHa5XIHv1ySZwKPV5E3q3mKhMCvWtHca0QNEAOJru9An1
  +2gRitJCG5sjglsTwH8JgZQpBHNfWwCNwpiK7/HEu79VneKNragYy62hJKGFpafAW7+b
  jG+Pmu5Gj8MeunXD22qTp0MZ5FOqXgpGZHim0=
 MIME-Version: 1.0
 Received: by 10.227.197.139 with SMTP id ek11mr518362wbb.23.1310809809611;
  Sat, 16 Jul 2011 02:50:09 -0700 (PDT)
 Received: by 10.227.146.138 with HTTP; Sat, 16 Jul 2011 02:50:09 -0700 (PDT)
 In-Reply-To: 4e215975.4010...@infracaninophile.co.uk
 References: 20110716054554.ga18...@thought.org
  4e215975.4010...@infracaninophile.co.uk
 Date: Sat, 16 Jul 2011 11:50:09 +0200
 Message-ID: 
 caguelt9vyfqa5-z_jpnph9xyrmfgcj3fcr13mnyj20z029u...@mail.gmail.com
 From: Bal?zs M?t?ffy repcs...@gmail.com
 To: FreeBSD freebsd-questions@freebsd.org
 Content-Type: text/plain; charset=ISO-8859-1
 X-Content-Filtered-By: Mailman/MimeDel 2.1.5
 Subject: Re: before i ugrade from 7.3 to 8.x
 X-BeenThere: freebsd-questions@freebsd.org
 X-Mailman-Version: 2.1.5
 Precedence: list
 List-Id: User questions freebsd-questions.freebsd.org
 List-Unsubscribe: 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions,
   mailto:freebsd-questions-requ...@freebsd.org?subject=unsubscribe
 List-Archive: http://lists.freebsd.org/pipermail/freebsd-questions
 List-Post: mailto:freebsd-questions@freebsd.org
 List-Help: mailto:freebsd-questions-requ...@freebsd.org?subject=help
 List-Subscribe: http://lists.freebsd.org/mailman/listinfo/freebsd-questions,
   mailto:freebsd-questions-requ...@freebsd.org?subject=subscribe
 Sender: owner-freebsd-questi...@freebsd.org
 Errors-To: owner-freebsd-questi...@freebsd.org
 X-Spam-Status: No, score=-4.2 required=3.9 tests=BAYES_00,FREEMAIL_FROM,
  RCVD_IN_DNSWL_MED,T_RP_MATCHES_RCVD autolearn=ham version=3.3.1
 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ethic.thought.org
 
 On 16 July 2011 11:27, Matthew Seaman m.sea...@infracaninophile.co.ukwrote:
 
  On 16/07/2011 06:45, Gary Kline wrote:
   i ant to be as sure as possible that my network stuff and mail
   Works!   how can i test my /etc/namedb/*  'stuff'?  pretty sure mail
   works .. AND finally, i'm glad i stuck with FreeBSD and fer all your
   help.
 
  http://dnscheck.iis.se/ is a good start.  Given that you're posting to
  this list, I'd say mail and DNS is probably working.  Maybe not
  completely perfect, but good enough.  Beyond that, it's usually a matter
  of checking your logs and dealing with any problems as they come up.
 
 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
 
 
 Hello,
 
 If you want to check your zones, you can use dig @localhost DOMAINTOCHECK
 AXFR for a local zone transfer from the dns server itself. Or from another
 server dig @yourdnsserver domainname. Or from a windows server the command
 nslookup, then in the nslookup query add your dns server as source like
 this: server yourdnsserver then your can check the domains by just typing
 them in.
 
 What exactly you want to check Gary?
 
 Best Regards,
 
 Balazs



HA! Wait; that last was from my desktop, tao; the following is
from my server, ethic


q5 13:00 Server ethic [5016]  dig @localhost thought.org  AXFR  
;; Connection to ::1#53(::1) for thought.org failed: 

Re: options used to compile packages

2011-07-16 Thread b. f.
 I want to compile packages from the ports collections with exactly the
 same options that have been used to compile the official packages from
 the official freebsd package collection. Is the var/db/ports directory
 used to compile the official freebsd package collection available
 somewhere ? If not, it would be very good to make it available as ports
 default options seem to be different from options used to compile
 official packages.

As far as I know, the default options are used to compile the standard
packages.  Where did you think that there were differences?  The
official builds use a vanilla ports tree, and the scripts at
http://svnweb.FreeBSD.org/base/projects/portbuild/ .

b.
___
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: gcc 4.4.7

2011-07-16 Thread b. f.
 I decided to switch from portmaster to portupgrade and pkddb -F show many
 stale dependencies on gcc-4.4.5.20110503 (lang/gcc44).

 Do I need to put new dependencies to gcc-4.5.4.20110630 or something else,
 please?
 For portmaster I put IGNOREMI+ line and it works but I don't know how to do
 with portupgrade.

I am not sure what you mean by using +IGNOREME here.  Unless you have
a good reason to use lang/gcc44, you should replace lang/gcc44 with
lang/gcc45, and rebuild or otherwise obtain newer versions of the
packages that formerly used lang/gcc44 at runtime, so that the newer
packages use the libraries from lang/gcc45 at runtime.  The
bookkeeping in the portupgrade database and in /var/db/pkg, and the
updating tool(s) that you choose to use, are relatively minor details.
 If you choose to use portupgrade to do this, you should probably do
something like:

portupgrade -o lang/gcc45 lang/gcc44
portupgrade -rfx lang/gcc45 lang/gcc45

(although it has been a while since I used portupgrade). You may want
to first try the steps with an added -n.

b.
___
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: options used to compile packages

2011-07-16 Thread b. f.
 well I don't actually now which package it was, but I compiled gdm (so
 it should be one of it's dependencies). A compilation resulted in a non
 working gdm (something with pam support not found on execution). Upon
 installing gdm and is dependencies from packages, everything worked
 correctly. Therefore I thought there might be other default options. I
 am sorry that I cannot be more precise, but I tried it 2 months ago, so
 I do not remember exactly. I think I will try it again from scratch with
 latest ports tree and give you more precise information.

In addition to the obvious possibilities that your test was faulty, or
that you somehow polluted your build environment, It is also possible
that:

-at least one of your ports was a different version than used in the
default packages, and had a bug;

-there was a transient build error;

or

-you were using a different version of FreeBSD than that used to build
the default packages that you used, and there is a problem with one of
the ports on that version of FreeBSD.

b.
___
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 force a hard reboot remotely

2011-07-16 Thread Aryeh Friedman
Is there any way to force a complete power down and then reset of a
i386 without physically being present?
___
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 force a hard reboot remotely

2011-07-16 Thread Antonio Olivares
On Sun, Jul 17, 2011 at 2:40 AM, Aryeh Friedman
aryeh.fried...@gmail.com wrote:
 Is there any way to force a complete power down and then reset of a
 i386 without physically being present?
 ___

Sure!

If I understand your question correctly, reboot yes, shutdown then
powerup by itself *Don't know :( *

You can setup a crontab (as root user or with setuid ),

something like
30 09 * * * /sbin/init 6  /dev/null;

would reboot the machine at 9:30 am.  But if you mean shut it down and
then restart it automatically, I don't know for sure if it can be
done?

Regards,

Antonio
___
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 force a hard reboot remotely

2011-07-16 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Sat Jul 16 21:40:19 2011
 Date: Sat, 16 Jul 2011 22:40:19 -0400
 From: Aryeh Friedman aryeh.fried...@gmail.com
 To: FreeBSD Mailing List freebsd-questions@freebsd.org
 Subject: how to force a hard reboot remotely

 Is there any way to force a complete power down and then reset of a
 i386 without physically being present?

Powerdown:   'man shutdown'  see the -p option.  Hardware dependant.

Reset after powerdown:  Hardware dependant.  requires remomte 'console' 
access of some sort, e.g. 'lights out' managment console.

_Just_ force a hard reboot', per Subject line:   'man reboot'.


___
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 force a hard reboot remotely

2011-07-16 Thread Ryan Coleman
Won't  -p  power it down and leave it powered down?


On Jul 16, 2011, at 10:08 PM, Robert Bonomi wrote:

 From owner-freebsd-questi...@freebsd.org  Sat Jul 16 21:40:19 2011
 Date: Sat, 16 Jul 2011 22:40:19 -0400
 From: Aryeh Friedman aryeh.fried...@gmail.com
 To: FreeBSD Mailing List freebsd-questions@freebsd.org
 Subject: how to force a hard reboot remotely
 
 Is there any way to force a complete power down and then reset of a
 i386 without physically being present?
 
 Powerdown:   'man shutdown'  see the -p option.  Hardware dependant.
 
 Reset after powerdown:  Hardware dependant.  requires remomte 'console' 
access of some sort, e.g. 'lights out' managment console.
 
 _Just_ force a hard reboot', per Subject line:   'man reboot'.
 
 
 ___
 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: how to force a hard reboot remotely

2011-07-16 Thread Bill Tillman




From: Aryeh Friedman aryeh.fried...@gmail.com
To: FreeBSD Mailing List freebsd-questions@freebsd.org
Sent: Sat, July 16, 2011 10:40:19 PM
Subject: how to force a hard reboot remotely

Is there any way to force a complete power down and then reset of a
i386 without physically being present?
___
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



WOW! That's a tall order. A reboot from remote is simple, but a cold bootI 
don't think that's possible unless you have some kind of Wake-On-Lan capable 
NIC 
which could detect a connection attempt while the machine is off. I can't say 
that for sure because what you've got to remember is that with a cold boot, the 
machine will no longer remember what OS it was running until it reboots. My 
advice would be to get to the console if you absolutely have to cold boot it. 
Or 
call someone nearby the console and have the actually turn the machine off, 
wait 
the obligatory 30 seconds and then restart it. Someone else may have a better 
idea.
___
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 force a hard reboot remotely

2011-07-16 Thread Ryan Coleman
When bottom replying, please clear the header and signature - thanks.

You can set up a BIOS boot time, if you can get onsite... that would allow you 
to power it down at, say, 11:59PM and have it power back on at Midnight.

Or a UPS that's controlled by another machine. Or the magic packet WOL 
option... but those require another machine. Maybe a switch or router than can 
send WOL packets would be a possibility?

--
Ryan

On Jul 16, 2011, at 10:31 PM, Bill Tillman wrote:

 
 WOW! That's a tall order. A reboot from remote is simple, but a cold 
 bootI 
 don't think that's possible unless you have some kind of Wake-On-Lan capable 
 NIC 
 which could detect a connection attempt while the machine is off. I can't say 
 that for sure because what you've got to remember is that with a cold boot, 
 the 
 machine will no longer remember what OS it was running until it reboots. My 
 advice would be to get to the console if you absolutely have to cold boot it. 
 Or 
 call someone nearby the console and have the actually turn the machine off, 
 wait 
 the obligatory 30 seconds and then restart it. Someone else may have a better 
 idea.
 ___
 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: how to force a hard reboot remotely

2011-07-16 Thread Dan Nelson
In the last episode (Jul 16), Aryeh Friedman said:
 Is there any way to force a complete power down and then reset of a i386
 without physically being present?

If you have a server motherboard with IPMI (or a high-end server with a
service processor module), you can use that to power cycle the system
remotely even if the OS is hung.

-- 
Dan Nelson
dnel...@allantgroup.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: how to force a hard reboot remotely

2011-07-16 Thread Joshua Isom

On 7/16/2011 9:40 PM, Aryeh Friedman wrote:

Is there any way to force a complete power down and then reset of a
i386 without physically being present?
___
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


Odds are this would be a little bit of a hardware mod.  Get a 
microcontroller and a relay, and tell the microcontroller to kill power 
to the system.  Make sure in the BIOS you're set to restart when the 
power comes back on.  If that fails you'll need another relay to short 
the on button.  I don't know of anything in the computer that could be 
easily used instead of a microcontroller.


You might be able to find something that'll work related to home 
automation.  But the only guarantee of a power down is physically 
killing power, even if you're a thousand miles away.

___
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 force a hard reboot remotely

2011-07-16 Thread Ryan Coleman

On Jul 16, 2011, at 11:01 PM, Joshua Isom wrote:

 On 7/16/2011 9:40 PM, Aryeh Friedman wrote:
 Is there any way to force a complete power down and then reset of a
 i386 without physically being present?
 ___
 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
 
 Odds are this would be a little bit of a hardware mod.  Get a microcontroller 
 and a relay, and tell the microcontroller to kill power to the system.  Make 
 sure in the BIOS you're set to restart when the power comes back on.  If that 
 fails you'll need another relay to short the on button.  I don't know of 
 anything in the computer that could be easily used instead of a 
 microcontroller.


I think I kinda covered that with the UPS remote control thing... 

___
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 force a hard reboot remotely

2011-07-16 Thread Gary Kline
On Sat, Jul 16, 2011 at 10:39:06PM -0500, Ryan Coleman wrote:
 Date: Sat, 16 Jul 2011 22:39:06 -0500
 From: Ryan Coleman edi...@d3photography.com
 Subject: Re: how to force a hard reboot remotely
 To: Bill Tillman btillma...@yahoo.com
 Cc: freebsd-questions@freebsd.org
 X-Mailer: Apple Mail (2.1084)
 
 When bottom replying, please clear the header and signature - thanks.
 
 You can set up a BIOS boot time, if you can get onsite... that would allow 
 you to power it down at, say, 11:59PM and have it power back on at Midnight.
 
 Or a UPS that's controlled by another machine. Or the magic packet WOL 
 option... but those require another machine. Maybe a switch or router than 
 can send WOL packets would be a possibility?
 
 --
 Ryan


I had something like this in late 1995.  Remotely 
shutdown -h [time]  got my box powered down, then a 
remote timer cycled the power.  Problems were: that the 
timer was hard to set exacrly.  [There may have ben two
timers; it was a bear of a problem.  ]

gary

 
 On Jul 16, 2011, at 10:31 PM, Bill Tillman wrote:
 
  
  WOW! That's a tall order. A reboot from remote is simple, but a cold 
  bootI 
  don't think that's possible unless you have some kind of Wake-On-Lan 
  capable NIC 
  which could detect a connection attempt while the machine is off. I can't 
  say 
  that for sure because what you've got to remember is that with a cold boot, 
  the 
  machine will no longer remember what OS it was running until it reboots. My 
  advice would be to get to the console if you absolutely have to cold boot 
  it. Or 
  call someone nearby the console and have the actually turn the machine off, 
  wait 
  the obligatory 30 seconds and then restart it. Someone else may have a 
  better 
  idea.
  ___
  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
 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.51a release of Jottings: http://jottings.thought.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