Re: Possible /bin/sh Bug?

2012-06-05 Thread Randy Pratt
On Tue, 05 Jun 2012 10:40:45 -0500
Tim Daneliuk  wrote:

> Given this script:
> #!/bin/sh
> 
> foo=""
> while read line
> do
>foo="$foo -e"
> done
> echo $foo
> 
> Say I respond 3 times, I'd expect to see:
> 
> -e -e -e
> 
> Instead, I get:
> 
> -e -e

The last line "echo $foo" is what is getting confused.  At the end of
3 passes, $foo contains " -e -e -e" so when the last line is executed,
it looks like:

echo -e -e -e

The first -e is probably being interperted by "echo" as a flag 
( echo -e ) and then only prints the last two -e.

Its easier to see if you execute the script with xtrace:

sh -x /path/to/script

I'd recommend that you write the last line with quotes:

echo "$foo"

and I think it'll produce the results you expect.

HTH,
Randy

___
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: Fast personal printing _without_ CUPS

2011-10-28 Thread Randy Pratt
On Thu, 27 Oct 2011 01:28:30 -0700
"Ronald F. Guilmette"  wrote:

> 
> 
> This isn't really a question.  It's more of a semi-rant, combined with some
> information that I wanted to put on the record (so that it can be googled)
> because it may benefit some folks, other than just me.
> 
> I'm impatient by nature, and I don't like CUPS.  (I would say that I hate
> it, but I don't actually feel that strongly.)
> 
> I have two personal workstations.  When I say "personal" I mean it.  I'm
> the only one who ever touches them.

I think I have over 50 ports depending on CUPS in one way or another..
but I've never configured or knowingly used CUPS.

The easiest way I've found for printing is ports/print/apsfilter.  It
seems to support a lot of printers and has a configuration script that
generates the /etc/printcap file.  There is a guide at

http://www.freebsddiary.org/apsfilter.php

Take a look at http://www.apsfilter.org/ for detailed information.

Randy
___
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 list admins?

2011-06-23 Thread Randy Pratt
On Thu, 23 Jun 2011 22:14:55 -0400
Robert Simmons  wrote:

> On Thursday, June 23, 2011 08:10:29 PM Randy Pratt wrote:
> > I don't think making a list writable only to subscribers solves
> > anything since it seems the spammers are already subscribed.  This only
> > makes it difficult for others like myself who read the lists online and
> > only post occasionally.
> 
> Making it writable to subscribers only in-and-of-itself does not solve the 
> problem, but it is one of two things together that will fix the repeated 
> spammer problem. The second is removing and banning offenders. Without making 
> the list subscriber only there is no way to get rid of spammers. 
> Additionally, 
> for your situation, you can filter everything from the list to /dev/null.

I've been reading these lists for over 13 years, seen this discussion
many times, and the list remained open.  There were reasons for that
which are in the archives if you're interested.

I'm no longer an active committer so whatever @core decides is fine
with me.  I, however, would prefer to see it remain open.  

I'm done with this potentially endless discussion.

Randy
___
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 list admins?

2011-06-23 Thread Randy Pratt
On Wed, 22 Jun 2011 00:03:23 +0200
"Julian H. Stacey"  wrote:

> Hi questions@
> 
> > Robert Simmons articulated:
> > > There
> > > seems to be a few email addresses that are subscribed to these lists
> > > that keep spamming it periodically,



> I think we should: 
>   make questions@ list writable only to subscribers (if not already); &
>   Edit /usr/src/etc/motd  eg:
> OLD   If you still have a question or problem, please take the output of
> OLD   `uname -a', along with any relevant error messages, and email it
> OLD   as a question to the questi...@freebsd.org mailing list. 

I don't think making a list writable only to subscribers solves
anything since it seems the spammers are already subscribed.  This only
makes it difficult for others like myself who read the lists online and
only post occasionally.  

Just my 0.02.

Randy

(Apologies if snipping irrelevant text makes it hard to identify
original posters).

___
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: Hide Terminal window (using xfce4. and 7.2-RELEASE)?

2009-07-03 Thread Randy Pratt
On Fri, 3 Jul 2009 17:21:58 -0400
Daniel Underwood  wrote:

> > Why?  More specifically, can't it be started from the XFCE menu with "Run
> > Program" or right-click the desktop and "Create Launcher"?
> 
> I don't know, honestly.  Whenever I try to run it from a Launcher or
> via Run Program, it will display the splash screen, but then
> terminate.  This also happens on all Linux machines I use.

I'm not familar with MATLAB but you may find ports/sysutils/screen
helpful.  See http://www.gnu.org/software/screen/ for more
information.  I use it for starting some programs in a detached
mode but they can be reattached at any time.

HTH,

Randy
___
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: USENET?

2009-03-09 Thread Randy Pratt
On Mon, 9 Mar 2009 07:14:26 -0700

> For text, I'd recommend slrn.  Gary is already using mutt, so I'd
> suggest he go that route, or alternatively, try mutt's nntp patch and
> use mutt instead.  Works perfectly well and it's what I use.  If reading
> news is going to be a regular thing, then setting up a local server of
> some sort (to pull down feeds from one or more providers) may be a
> useful addition, though slrn does does provide a companion program to do
> something similar.
> 
> Binary groups, on the other hand, are generally best handled by a GUI
> client.  If you know what you're doing, command-line programs like nget,
> nzbperl, etc. may be preferrable or useful additions.
> 
> The thing to keep in mind is that irrespective of what client one is
> using, it's the quality of the feed that matters most.  At least for
> non-casual use.  For a top notch feed, expect to pay out a few extra
> bucks per month.  That typically gives you a host of other benefits that
> would include a complete hierarchy, high retention levels, unrestricted
> download speeds, web access, multiple connections, multiple servers,
> NNTPS, HTTPs, Clarinet, and a direct line to customer support.

Even though this has nothing to do with FreeBSD, its worth mentioning
that pulling down headers for a news group can use a lot of disk space
and consume a lot of time.  The OP might consider using one of the NZB
aggregator sites and using a client that is NZB capable.  This, of
course, is most useful for binaries.  The other tools usually required
for these multipart postings are also in the tree.  A little bit
of Googling will cover learning how to use them.

Back to my lurking corner ;-)

Randy
___
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: local copy of handbook

2008-12-29 Thread Randy Pratt
On Mon, 29 Dec 2008 20:39:42 +0530
Masoom Shaikh  wrote:

> On Monday 29 December 2008 18:15:58 RW wrote:
> > On Mon, 29 Dec 2008 10:16:42 +0530
> > "Masoom Shaikh"  wrote:
> >
> > lso I cud use tarballs from FTP, but is there easy way to install
> >
> > > them ? also csup didn't help here is my csup file
> > >
> > > *default tag=RELENG_7
> > > *default host=ftp2.tw.freebsd.org
> > > *default prefix=/usr
> > > *default base=/var/db
> > > *default release=cvs delete use-rel-suffix compress
> > > src-all
> > > doc-all
> > >
> > > csup updates the source each time, but now i am not sure about doc!!
> >
> > If you do it that way, you have to generate the html files yourself,
> > cvup fetches generic data files that can be used to generate html , pdf
> > etc.
> >
> > What I do these days is mirror the online version with wget.
> >
> >
> >
> > #!/bin/sh
> >
> > cd /usr/share/doc/en
> >
> > wg_args=" --mirror -np -nH --cut-dirs=2 --limit-rate=33k"
> >
> > bg_flags=""
> >
> > # Run quietly from cron
> > [ ! -t 0 ] && bg_flags=" --quiet "
> >
> > wget $bg_flags $wg_args  "http://www.freebsd.org/doc/en_US.ISO8859-1/";
> > ___
> > 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"
> 
> that is clever use of wget :)
> but can't docs remain updated with csup ? if yes, how ?
> otherwise I will be happy to generate them from sources if they happen to be 
> some simple target

You might consider using Docsnap.  This allows you to maintain all
the FreeBSD documentation with a minimum of effort.

Docsnap is an rsync repository for easy updating of installed
FreeBSD documentation (/usr/share/doc).

The first run may take longer but subsequent updates take very
little time.  Only the differences in the documents are transferred.
That is the main advantage but you also do not need to install ports
with hefty overhead to build documents.

Rsync is only utility required (/usr/ports/net/rsync). Typical usage:

  # rsync -rltvz docsnap.sk.FreeBSD.org::docsnap /usr/share/doc/

For more information see http://docsnap.sk.freebsd.org/ and possibly
the rsync manual page.



HTH,

Randy

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


Re: Firefox, or FreeBSD?

2008-12-18 Thread Randy Pratt
On Thu, 18 Dec 2008 13:28:04 -0800
"Kurt Buff"  wrote:

> On Thu, Dec 18, 2008 at 1:16 PM, Roland Smith  wrote:
> > On Thu, Dec 18, 2008 at 11:29:37AM -0800, Kurt Buff wrote:
> >> I'm visiting various web sites, and having a stupid little issue which
> >> is really annoying.
> >>
> >> FreeBSD 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #4: Sun Dec 14 22:08:22
> >> PST 2008 root@:/usr/obj/usr/src/sys/GENERIC  amd64
> >
> > Same here.
> >
> >> FireFox 3.04.
> >
> > Ditto, with NoScript and AdBlock Plus extensions.
> >
> >> For instance, if I go to http://www.wsj.com, among others, it's
> >> constantly beeping, as the little headline scroller at the top of the
> >> page updates.
> >
> > No headline scroller and no beeps here.
> >
> >> I can't find anywhere in the menu items, or in FF help, on how to turn
> >> the beeping off, and it's driving me nuts.
> >>
> >> Anyone have a hint for me?
> >
> > Install NoScript and AdBlock Plus. It makes for a much nicer web
> > experience, IMHO.
> >
> > Roland.
> 
> Heh.
> 
> I have those, but actually *want* the headline scroller, and some of
> those other things - I just want the silly beep to go away. It seems
> to do this on any page that does autoupdates - gmail does it too, when
> a new message comes in.

I'm on 6.4-STABLE and the "Breaking News" and "Latest Headlines" are
present but no beeping.

If you can't find the problem you can shut off the beeping with:

xset -b off

Of course, the downside is it turns off _all_ beeping for everthing.

Randy


-- 
___
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: switching discs during install

2008-09-07 Thread Randy Pratt
On Sun, 7 Sep 2008 10:22:37 +0100
Mike Clarke <[EMAIL PROTECTED]> wrote:

> On Sunday 07 September 2008, James Strother wrote:
> 
> > That said, I still think that as long as the freebsd foundation
> > distributes CD images it would be worthwhile to make them as
> > effective as possible. Actually, even if the install were moved to a
> > DVD, the ordered install I proposed would still improve the
> > situation.  When the packages are haphazardly ordered on the disc,
> > the CD/DVD reader is forced to perform a large number of seeks that
> > dramatically reduces data throughput.  When they are read in order,
> > read rates should be much better.
> 
> They might not be as haphazard as you suggest. ISTR once reading that 
> the CDs were arranged with the most popular packages on the first CD so 
> that you would only need to download disk 2 (and 3) if you wanted some 
> of the less common packages. With your suggested layout it's quite 
> likely that a package which most of the others depend on would be right 
> down at the bottom of the list with the result that you'd invariably 
> need to download all 3 CD images.
> 
> I think the best way to avoid the need for frequent CD switching would 
> be for sysinstall to sort the list of selected packages into CD order 
> before installing them. I imagine this would require some changes to 
> pkg_add to prevent it from installing dependencies and I expect the 
> possible benefits would not be considered to be sufficient to justify 
> the effort.

Another way to avoid switching CDs is to select an FTP server for
installing packages.  This also avoids downloading bits you don't
need or want.

There is another discussion:

  http://docs.freebsd.org/cgi/mid.cgi?1220762797.29265.43.camel

which would address the disk swapping by removing all the packages
from disc1 and providing a DVD of packages that could be used
after installation.

HTH,

Randy



-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Why /usr/local/etc???

2008-08-23 Thread Randy Pratt
On Sat, 23 Aug 2008 18:24:48 -0700
Gary Kline <[EMAIL PROTECTED]> wrote:

> 
>   Folks,
> 
>   This may have been covered too-often before, buy why can't
>   *everything* related to /etc hang off "/etc"?  I can create a
>   symlink in /etc to /usr/local/etc named "loc" or "local".  
>   Thing is, why this isn't done by default?

Everything could be off / too but that's not how FreeBSD does it.

See man 7 heir.  Its a sketch of the FreeBSD filesystem hierarchy.

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: question about posting to FreeBSD mailing lists

2008-06-09 Thread Randy Pratt
On Sun, 8 Jun 2008 22:22:24 -0500
Novembre <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Is there any way to answer the posts in the mailing lists if one is not
> subscribed to the list and does not receive them in his mailbox? From time
> to time, I see posts which I can actually answer and contribute to, but
> since I'm not subscribed to the lists, even if I post an answer to the
> person asking the question and CC it to the list, it doesn't regroup with
> other posts on the same topic. Is there any way around this?

If you are reading the mailing lists via the FreeBSD website
(http://docs.freebsd.org/mail/current/freebsd-questions.html)
you can use the "Raw E-Mail" link of a posting to fetch a
copy and incorporate it into your mail client.

Two common mail formats are pine mail (one file per folder),
and MH mail (one file per message).  I use Sylpheed which uses
MH mail format so its quite easy.  I created a folder called
"Mail/web-list" and fetch the mail directly to it.  The trick
is to use the next numerical message number, in this example
"114":

  cd ~/Mail/web-list
  fetch -R -o 114 
'http://docs.freebsd.org/cgi/getmsg.cgi?fetch=422834+0+current/freebsd-questions+raw'

It is then possible to just use Sylpheed normally and click
on "Reply to All".  The mail will be properly threaded for
the mailing lists.

I've not used the "one file per folder" type of mail client
in a very long time but I would think that just appending
the new mail to the end would suffice.  

You will need to investigate how your particular mail client
operates and what format it uses, but what you want to do
is possible.  I would recommend backing up your mail before
experimenting and using the test mailing list
([EMAIL PROTECTED]).

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: List replies

2008-03-22 Thread Randy Pratt
On Sat, 22 Mar 2008 20:07:57 -0400
Robert Huff <[EMAIL PROTECTED]> wrote:

> Dmitry RCL Rekman writes:
> 
> >  I actually did the mistake of subscribing to mailing list,
> >  because I did not know that I would be able to post (and receive
> >  answers) without being subscribed. That resulted in a few tens of
> >  messages not related to the subject I posted about on the very
> >  first day, including yours one.
> 
>   The downside of being subscribed is one will have to wade
> through many topics which are of no interest.
>   The upside is sometimes seeing useful information on topics
> previously unknown.
>   The third hand is "paying it forward" - the opportunity to
> contribute back to the community.
>   Your choice.

Of course, there is yet another way.   Read the lists online:

  http://docs.freebsd.org/mail/current/freebsd-questions.html

Message on the list can be replied to by saving the "Raw E-Mail"
in the appropriate way for your email client.

I quit subscribing to the lists about 5 years ago and exclusively
read them online.

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Portmaster error or actual bug?

2008-02-26 Thread Randy Pratt
On Tue, 26 Feb 2008 13:08:59 -0500
"Michael W. Lucas" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Not sure if this is a bug, but it sure looks like one to me.
> 
> I run:
> 
> # portmaster -o lang/expect-devel expect-5.43.0_3
> 
> expecting to replace Expect 5.43 with the version in expect-devel
> (5.44).  Instead, it reinstalls expect-5.43.
> 
> Am I doing something wrong?  Or is this an actual bug in portmaster?
> 

I think this has been reported and Doug Barton has a patch for it
already:
  
  http://docs.freebsd.org/cgi/mid.cgi?47BF5119.206

I don't think its been committed yet though.

HTH,

Randy


-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Handbook out-of-date after csup/buildworld

2008-02-11 Thread Randy Pratt
On Mon, 11 Feb 2008 10:54:15 +0200
Jonathan McKeown <[EMAIL PROTECTED]> wrote:

> I have a machine which was initially installed from CD (including the source 
> tree). It's subsequently been updated with cvsup, and latterly csup, and the 
> make buildworld/make kernel/make installworld sequence described in the 
> handbook.
> 
> I noticed last week that the handbook on this machine ``covers the 
> installation and day to day use of FreeBSD 4.10-RELEASE and FreeBSD 
> 5.3-RELEASE'' (it's actually running 6.3-RELEASE).
> 
> Should the handbook be updated as part of building and installing world?

No.  It is another tree.

> If so, what am I likely to have done wrong?
> 
> If not, what do I need to do to get the handbook (and presumably the other 
> documentation) updated?
> 
> (I'm assuming, possibly wrongly, that there's a method of updating the 
> installed documentation without grabbing the doc-all sup collection, 
> installing the documentation tools package from the ports tree, and building 
> it all from scratch).

You are correct here.  The documentation tools package is quite large
and only needed if you are creating documentation.

Docsnap is another method using the net/rsync port to pull in
updates.  Some information on usage is at
http://docsnap.sk.freebsd.org/ .  Its really quite easy.

HTH,
Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shell scripting kungfu

2008-01-18 Thread Randy Pratt
On Fri, 18 Jan 2008 11:09:14 -0600
Paul Schmehl <[EMAIL PROTECTED]> wrote:

> I need to do the following:
> 
> Take a list of various strings, one of which is a quoted IP address, and 
> extract the IPs.  (Done that.)
> 
> Then take the list of IPs and convert them to a list of IPs with masks on a 
> single line.
> 
> IOW, I have converted the original list to this:
> 
> x.x.x.x
> x.x.x.x
> x.x.x.x
> x.x.x.x
> 
> Now I need to remove the newlines and add /32, to the end of each IP so that 
> I 
> have this:
> x.x.x.x/32,x.x.x.x/32,x.x.x.x/32,etc.
> 
> I got close with sed, but I'm not quite there.
> 
> I got this:
> 
> x.x.x.x/32,x.x.x.x
> x.x.x.x/32,x.x.x.x
> x.x.x.x/32,x.x.x.x
> 
> Here's the code I used:
> cat hostlist | cut -d',' -f2 | cut -d'"' -f2 | sort | uniq | grep -v "inet" | 
> sed '/[^*]$/N;s/\n */\/32,/'
> 
> What am I missing?

I'm sure you'll get a lot of comments on this one ;-)

Here's my one-liner take:

while read line; do echo -n "${line}/32,"; done < hostlist | sed 's/\,$//'

or to be a bit more understandable:

while read line; do
  echo -n "${line}/32,"
done < hostlist | sed 's/\,$//'

the little sed part just removes the last comma from the list.

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: goffice fails to install

2008-01-12 Thread Randy Pratt
On Sat, 12 Jan 2008 22:04:49 +0100
Laszlo Nagy <[EMAIL PROTECTED]> wrote:

> Daniel Rucci írta:
> > Ghirai wrote:
> >> Hello list,
> >>
> >> I had gnumeric installed, and wanted to upgrade.
> >>
> >> portupgrade gnumeric failed because it wanted a newer version of
> >> goffice.
> >>
> >> I deinstalled the old goffice and did make install.
> >> It fails here:
> >>   
> > I'd remove  devel/goffice/work  and try make; make install again .
> I have the same problem. I did remove devel/goffice/work but it did not 
> help. (Ports tree was updated one day ago, and everything is being 
> updated with portupgrade -a)
> 
>Laszlo

It has been fixed in the tree:

  http://docs.freebsd.org/cgi/mid.cgi?200801101834.m0AIYEX7060675

Re-cvsup/csup and try it again.  It should work now.

HTH,

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Opera, Flash and the stench of failure...

2008-01-04 Thread Randy Pratt
On Fri, 4 Jan 2008 06:16:59 -0700
Modulok <[EMAIL PROTECTED]> wrote:

> Seeing the thread about flash with mozilla, I thought, "a flash plugin
> with opera would be cool." Last night I tried to get flash working
> with opera. I failed. With native opera, I cannot get any plugins to
> work. Here is what I know:
> 
> 1. What opera bitches about:
>Could not start operapluginwrapper.
>Plugins will not work correctly.
> 
> 2. Why opera bitches:
>ldd operapluginwrapper;
>...
>libXThrStub.so.6 => not found (0x0)
>...
> 
> 3. Why it is missing:
>"On OpenBSD, and on old FreeBSD, libc lacks pthread stubs.
>This is a problem because libX11 needs to support threading,
>but shouldn't cause all X programs to be linked against the
>threading library. The solution is libXThrStub (UIThrStubs.c),
>which provides weak symbols to stub threading functions,
>which are ignored if the application links against the thread
>library. I had moved libXThrStub into libX11, because it
>seemed unnecessary."
> 
> 4. What I have installed:
>linux-flashplugin-9.0r115 Adobe Flash Player NPAPI Plugin
>opera-9.25.20071214 A blazingly fast, full-featured,
> standards-compliant browse
>opera-linuxplugins-9.21.20070510_1 Linux plugin support for the
> native Opera browser
> 
> Does anyone have flash working with opera? If so, how? Where can I get
> libXThrStub.so.6?

I vaguely remembered someting about this and a google search
turned up this old PR:

  http://www.freebsd.org/cgi/query-pr.cgi?pr=ports%2F91900

The instructions in the referenced pkg-message for /etc/libmap.conf
disappeared after opera was subsequently updated seemingly because it
was no longer needed but I'm not sure of that.

I'm not sure that this will help you but its an easy thing to try
and back out if it doesn't.

Caveat:  I'm not an opera user and I don't use flash. ;-)

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is it safe yet!

2007-12-15 Thread Randy Pratt
On Fri, 14 Dec 2007 22:59:49 -0800
Gary Kline <[EMAIL PROTECTED]> wrote:

>   People, 
> 
>   I'd like to do a complete upgrade to see if I can fix whatever is
>   broken with evolution.

Evolution was updated a few days ago but there's no guarantee that
it will fix whatever.  You might try asking on a more specific question
on freebsd-gnome mailing list.  The more information you supply will
help those who can answer.

>   I'm considerned about the MGA driver NOT having been backed up to
>   what worked.  My xf86-video-mga is back-patched to v 1.4.7, IIRC
>   Everything works correcctly.  But looking at the newest version of
>   xf86-video-mga (and mga-new) it looks  like both ports are what
>   they were.

Florent Thoumie has requested feedback from those using the patch from
ports/117726 for x11-drivers/xf86-video-mga:

  
http://docs.freebsd.org/cgi/mid.cgi?a01628140712120517k667af97clddb475aca3b644d8

It appears that the current version in the ports tree,
xf86-video-mga-1.9.100, works for some using a dual-head configuration
while some have trouble using it with a single monitor.

A ports update may try to update your patched version to the latest.
Its possible to 'hold' a port from updating.  If you're using
portupgrade, the easiest might be to add an entry to the "HOLD_PKGS"
section of /usr/local/etc/pkgtools.conf :

  HOLD_PKGS = [
'bsdpan-*',
'x11-drivers/xf86-video-mga',
  ]

There are other port update tools and methods to prevent a port
from being updated but the preceeding is my preference.

It would also be up to you to determine when to remove the entry
and update.  I'd suggest following the freebsd-x11 mailing list
online for mga driver discussions:

  http://docs.freebsd.org/mail/current/freebsd-x11.html

Is it safe yet?  I'm presuming you mean is it safe to update ports
at this time.  The ports tree is in "thaw" state after the tree was
tagged for the 6.3 and 7.0 releases so new commits are being made.
I'm just not sure how to answer the 'safe' part though.

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: still no luck in coping a 6 G dvd to a 4.7 dvd...

2007-12-11 Thread Randy Pratt
On Tue, 11 Dec 2007 00:21:49 -0800
Gary Kline <[EMAIL PROTECTED]> wrote:

> 
>   Guys, I've set up a test account which is pure KDE.  Still,
>   using both my Pioneer and the Lite-on burners, no luck in burning
>   a DVD that is larger than thee default.  This time I'm using a
>   documentary that I own, so there is nothing wrong in making a
>   backup.   Results: Same thing as happened with the other 
>   commercially created DVD.
> 
>   K3B reads the disk flawlessly, but growisofs fails (perhaps) to do
>   its thing.  In any case, the program complains that there is not
>   enough space on the blank and spits out the disk.
> 
>   I've tried replacing "auto" with "generic-mmc-raw" on the Lit-On
>   burner.  Nope.  Anybody other suggestions?

It may be that the source DVD is using some compression method to
fit the content on a 4.7G DVD.  The size of the original DVD can
be checked with "dvd+rw-mediainfo" (sysutils/dvd+rw-tools), ex:

# dvd+rw-mediainfo /dev/cd0

If the source DVD is a 4.7G DVD then the simplest way might be to
first make a duplicate image with "dd", for example:

# dd bs=2048 if=/dev/cd0 of=duplicate.iso

This should produce an image of suitable size in the current
directory to fit on another DVD which can be burned with
"growisofs" (sysutils/dvd +rw-tools):

# growisofs -dvd-compat -speed=4 -Z /dev/cd0=duplicate.iso

The preceeding commands are only examples and may need to be
adjusted for your hardware/situation.  

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Amarok crashes X (since portupgrade)

2007-11-29 Thread Randy Pratt
On Fri, 30 Nov 2007 00:47:01 +
John Murphy <[EMAIL PROTECTED]> wrote:

> Testing 7.0 beta2 so I should upgrade to beta3, but all was working
> well until I portupgraded yesterday. Now amarok shuts down X server:
> 
> Nov 30 00:14:37 asus kdm-bin[1146]: X server for display :0 terminated
> unexpectedly
> 
> I get a couple of lines of text if I start it from an xterm, but they
> are gone too quick to read. I will upgrade tomorrow, but my question
> is more: how can I discover which ports were upgraded most recently

I use a little shell script to find upgrade dates:


#!/bin/sh

cd /var/db/pkg
list="$(ls -trd */+COMMENT)"

for item in ${list}; do
   _date="`stat -f "%Sm" ${item}`"
   printf "%-25s %s\n" "${_date}" "`echo ${item} | sed 's/\/.*//'`"

done


I can't help with the debug part though.

Randy



-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Unexpected shutdown

2007-11-18 Thread Randy Pratt
On Sun, 18 Nov 2007 22:12:34 +0100
"n j" <[EMAIL PROTECTED]> wrote:

> > Does it happened before, or does it happened everyday at 3 am, or is this 
> > the first time your box shutdown without explaination?
> 
> No, this is the first time this has occurred, that is what makes it
> completely unexpected.
> 
> > If this is the first time, I would say there are many possibilities. Say an 
> > accidental quick push on power button or - humor me - the cleaning lady is 
> > with the conserve energy movement and thought your box just another 
> > forgotten-to-shutdown desktop, that alone could explain your mysterious 
> > shutdown incident.
> 
> The machine is located in a server room within a server rack with a
> (detachable) panel on the front side of the machine (Dell Poweredge)
> that is covering the power-off button. No cleaning lady is entering
> the room, especially at 3 AM. Due to all the circumstances I had
> described, I ruled out (physical) human factor as the cause of
> shutdown.
> 
> The box has two independent AC power supplies, no hardware error is
> found in RAC card logs, no other server (in the same rack/room) shut
> down at that time. That is what leads me to believe that the problem
> is software-related.
> 
> I know there are many possibilities out there, but I am pondering this
> for the whole day and ruled out everything that came to mind. So, any
> other ideas - even humorous - are welcome.

A few months ago I started having random mysterious lockups, no
panics, no messages, no hints, no keyboard and no ssh.  It forced
me to recycle power to get the system back.

After playing the RAM swap game, updating sources, and other such
dead-ends, I felt the hard drives (Maxtor 7200RPM 250G type) and
they were quite warm.  I did a little hardware re-arranging so that the
hard drives got more air and I've not had a lockup since. I had also
been monitoring the temperature but didn't see any indication that it
was the CPU or motherboard components.

This is all ancedotal since I don't have any hard evidence to point
to exactly one thing since I also swapped out a fan and reinserted
connectors in the process.  My feeling is that it was hard
drive heat-related so my suggestion is to do some poking around for hot
spots, clogged fan filters and any other factors affecting temperatures.

In any case, in the grand scheme of things, *all* hardware will
fail ... eventually ;-)

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: strange error when building cups

2007-11-09 Thread Randy Pratt
On Fri, 09 Nov 2007 15:18:20 +
Adam J Richardson <[EMAIL PROTECTED]> wrote:

> Aryeh M. Friedman wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > Can some tell me what this means and how to fix it:
> > 
> > ===>   cups-pstoraster-8.15.4_1 depends on shared library: cups.2 -
> > not found
> > ===>Verifying install for cups.2 in /usr/ports/print/cups-base
> > ===>  cups-base-1.3.3 is forbidden: remote execution of arbitrary code.
> > *** Error code 1
> > 
> > Stop in /FreeBSD/FreeBSD-current/ports/print/cups-base.
> > *** Error code 1
> > 
> > Stop in /FreeBSD/FreeBSD-current/ports/print/cups-pstoraster.
> > *** Error code 1
> > 
> > Stop in /FreeBSD/FreeBSD-current/ports/print/cups.
> > 
> 
> Hi Aryeh,
> 
> I can't tell you about the error, but:
> 
> %pkg_info | grep cups
> cups-base-1.3.3 Common UNIX Printing System
> cups-pstoraster-8.15.4_1 Postscript interpreter for CUPS printing to 
> non-PS printers
> 
> Looks like the same versions. They do build ok. Perhaps a "make clean 
> distclean" will shake out the bugs?
> 
> 'Remote execution' is interesting. Do you use some sort of load balancer?

The print/cups-base was marked FORBIDDEN due remote execution of
arbitrary code on 2007-11-08, see:

  http://docs.freebsd.org/cgi/mid.cgi?200711081832.lA8IWv3T075088

You can read more about the vulnerability at:

  
http://www.freebsd.org/ports/portaudit/8dd9722c-8e97-11dc-b8f6-001c2514716c.html

If you decide that your risk is acceptable you still wish to
install/update at this time, you can comment ( # ) the particular line
in the ports/print/cups-base/Makefile:

  #FORBIDDEN=  remote execution of arbitrary code

I would presume that cups-base-1.3.4 is going to be committed shortly
since there are quite a few ports that depend on it.

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cannot get screen out of black/black mode...

2007-11-04 Thread Randy Pratt
On Sun, 4 Nov 2007 14:18:19 -0800
Gary Kline <[EMAIL PROTECTED]> wrote:

> On Sun, Nov 04, 2007 at 07:22:07AM -0500, Randy Pratt wrote:
> > On Sat, 3 Nov 2007 22:14:18 -0800
> > Gary Kline <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > >   Where do I set up the screen to never go blan? both in console
> > >   (white on black) mode and in X?  Every so often my video card
> > >   driver (mga) remains blank after 10 to 15 minutes.  And gets
> > >   stuck in this mode.  --FWIW, this did not happen in xorg-6.9--
> > >   only in  the 7.x versions.  My hunch is to never let the screen
> > >   blank.  The screensaver does seem to work, tho.
> > 
> > Blanking in console mode is controlled by /etc/defaults/rc.conf:
> >  
> >   blanktime="300"# blank time (in seconds) or "NO" to turn it off.
> > 
> > Put your override in /etc/rc.conf .
> > 
> > Xorg blanking can be set via "xset".  To see your settings run
> > "xset q".  If you run "xset" without arguments, you can get hints
> > on settings:
> > 
> > For screen-saver control:
> >  s [timeout [cycle]]  s defaults on
> >  s blank  s noblanks off
> >  s expose s noexpose
> >  s activate   s reset
> > 
> > For more detail, see "man xset".
> 
> 
>   Ty, ty, ty!  For unknown reasons (I don't know how I screwed up
>   and set this:-), I also set the screen to require my passwd to
>   bring it back to life.  But that's another issue; it'll be awhile
>   before I figure out the widgets and gimmicks of Gnome/KDE.  
>   You've givenme a jump.

Setting of a password does sound like a Gnome/KDE thing.  I can't
comment on that since its been at least 7 or 8 years since I swore off
the mega-managers and use Fluxbox to select which xterm to use ;-)

>   Will Gnome choke if I put the ``xset [foobar]'' string  in ~/.gnome2?
>   I want to add some initiation commands for the window manager and
>   the gnome-[stuff] seems to choke if I make the slightest fumble.

When I'm in Xorg, I just issue the commands from an xterm.  Xset should
keep track of your settings for you without having to add it to
~/.gnome2 .

> > You may also have some window manager screensaver mode to contend
> > with.
> 
> 
>   Hm...  Well, I'll experiment.  One at a time; blanktime=NO 
>   or xset s off.  
> > 
> > Also as a side, since you're using the xf86-video-mga driver, see
> > 
> >   http://www.freebsd.org/cgi/query-pr.cgi?pr=117726
> > 
> 
>   Wow, that is very close to my problems:: with my G450 and 
>   the mga-1.9.100, my screen was only bright at 800x600.  My
>   workaround,, suggested by a gent in OZ was to use xgamma.
>   xgamma -gamma 0.100 only works up to 1280x1024; but I've got 
>   32megs on this video card, which is plenty.  I haven't written a
>   dev driver in years.  The patch code looks interesting.  

I'm of the opinion that these drivers should work out-of-the-box for
a given card with the configuration file generated thru Xorg.  If
they don't then new users will have a less than happy experience
when they install FreeBSD.  Understandably, special features of a
card may require additional hand configurations.

What the patch does is to revert to the mga-1.4.7 with some bug fixes
making it 1.4.7,1 .  If you had no problems with the previous 1.4.7
driver then it should work fine.  Keep in mind, its still a PR and
subject to further modification/approaches.

If you're comfortable with doing local patches and being able to deal
with them during subsequent port updates then it might be worth
considering.

If you want to read further you could look at last week's archive
for freebsd-x11:

  
http://docs.freebsd.org/mail/archive/2007/freebsd-x11/20071104.freebsd-x11.html

and this weeks current mailings:

  http://docs.freebsd.org/mail/current/freebsd-x11.html

Look for postings regarding the 'mga' driver.

>   I didn't understand that I could file a PR thru FBSD for an
>   xorg driver fault... .  

Xorg is another third-party software like other ports and can have
a PR filed for a problem.  Of course, its preferable that changes
go upstream so it minimizes patches for FreeBSD since this adds
extra work for the maintainers.

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ports problem

2007-11-04 Thread Randy Pratt
On Sun, 4 Nov 2007 12:30:07 +
Desmond Chapman <[EMAIL PROTECTED]> wrote:

> 
> Hello.
> I am having multiple problems with the ports collection
> 
> # cd /usr/ports/ports-mgmt/portupgrade
> # make install clean

  [ build log removed for brevity ]

> ===>   Registering installation for portupgrade-2.3.1,2
> ===>  Cleaning for portupgrade-2.3.1,2
> # portsdb -Uu
> portsdb: Command not found.
 
>From the Handbook section 4.5.2 "Installing Ports":

  Note: Some shells keep a cache of the commands that are available in
  the directories listed in the PATH environment variable, to speed up
  lookup operations for the executable file of these commands. If you
  are using one of these shells, you might have to use the rehash
  command after installing a port, before the newly installed commands
  can be used. This command will work for shells like tcsh. Use the hash
  -r command for shells like sh. Look at the documentation for your
  shell for more information.

If you are using root's default shell, then "rehash" is probably what
you want.

> # cd kdenetwork3
> # make

   [ Log detail omitted ]

> ===>   qt-copy-3.3.8_6 depends on file: /usr/local/libdata/xorg/libraries - 
> not found
> ===>Verifying install for /usr/local/libdata/xorg/libraries in 
> /usr/ports/x11/xorg-libraries

The following is probably causing the multiple problems you are seeing:

> /usr/X11R6 exists, but it is not a symlink. Installation cannot proceed.
> This looks like an incompletely removed old version of X.  In the current 
> version, /usr/X11R6 must be a symlink if it exists at all.Please read 
> /usr/ports/UPDATING (entry of 20070519) for the procedure to upgrade X.org 
> related ports.*** Error code 1

  [ More log detail omitted ]

> I have done the cvsup, csup, portsnap, and followed the instructions ion 
> /usr/ports/UPDATING.
> I get thses same results each time.
> 
> 
> How do i fix this? Any help would be appreciated.

It appears that you missed the /usr/ports/UPDATING (entry of
20070519) or forgot to run the script.  There is a script (mergebase.sh)
to run which creates the symlink for /usr/X11R6 (as well as other
things). It might be a good idea to review that UPDATING entry and see
if there are other things that might apply.

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cannot get screen out of black/black mode...

2007-11-04 Thread Randy Pratt
On Sat, 3 Nov 2007 22:14:18 -0800
Gary Kline <[EMAIL PROTECTED]> wrote:

> 
>   Where do I set up the screen to never go blan? both in console
>   (white on black) mode and in X?  Every so often my video card
>   driver (mga) remains blank after 10 to 15 minutes.  And gets
>   stuck in this mode.  --FWIW, this did not happen in xorg-6.9--
>   only in  the 7.x versions.  My hunch is to never let the screen
>   blank.  The screensaver does seem to work, tho.

Blanking in console mode is controlled by /etc/defaults/rc.conf:
 
  blanktime="300"# blank time (in seconds) or "NO" to turn it off.

Put your override in /etc/rc.conf .

Xorg blanking can be set via "xset".  To see your settings run
"xset q".  If you run "xset" without arguments, you can get hints
on settings:

For screen-saver control:
 s [timeout [cycle]]  s defaults on
 s blank  s noblanks off
 s expose s noexpose
 s activate   s reset

For more detail, see "man xset".

You may also have some window manager screensaver mode to contend
with.

Also as a side, since you're using the xf86-video-mga driver, see

  http://www.freebsd.org/cgi/query-pr.cgi?pr=117726

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: xorg driver bug

2007-10-15 Thread Randy Pratt
On Mon, 15 Oct 2007 11:04:02 -0700
Gary Kline <[EMAIL PROTECTED]> wrote:

> On Sun, Oct 14, 2007 at 10:37:10PM -0700, Gary Kline wrote:
> > Guys,
> > 
> > Has anybody with any Dell run into this before?  I just got a new
> > Matrox with 32M of video ram.  Run with the "mga" driver, X comes
> > up extremely dark.  If I change the driver to the "vesa" X comes
> > up with normal brightness but the resolution is terrible.  At
> > most 640x480.  tHis could be a hardware bug;I'm hoping it is
> > just not having selected the right driver.  
> > 
> > Anybody know what to try next?
> > 
> 
>   Update, and no-joy: i've added Modes lines, tried different flags.
>   Still, using the "mga" drivr gives a dark screen; only the "vesa" works.
>   none of the xorg config toools work.  The Matroc Millennium G450
>   is brand new, so doubt it's the card.  The previous card had the
>   same problem--way to dark--soI got this new card.

I ran into a resolution problem with the xf86-video-mga-1.9.100 driver
(http://docs.freebsd.org/cgi/mid.cgi?20071014075931.3c5ec756.rpratt1950)
and reverted back to xf86-video-mga-1.4.7 which was working okay.

My card was a Matrox G400.  I've also done some searching but have not
turned up anything helpful so far.  Maybe give the older driver a
try and see if that works for you.

Randy


-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installing FreeBSD using a PPPoE connection

2007-09-06 Thread Randy Pratt
On Thu, 6 Sep 2007 08:59:32 -0700 (PDT)
asdf <[EMAIL PROTECTED]> wrote:

> Does the FreeBSD 6.2 installer support a network install over an ethernet 
> interface
> connected to a DSL modem using a PPPoE connection?
> 
> I am switching ISPs from a cable-based provider to a DSL-based provider and 
> would
> like to install FreeBSD on an old PC to set it up as a router/firewall for my 
> home
> network. And since this old PC does not have a CD-ROM drive I'd like to a 
> network
> install using PPPoE.
> 
> But I haven't been able to find any current information on how to accomplish 
> this.
> There used to be an (unofficial) page by Randy Pratt:
> 
> "Installing FreeBSD Using PPPoE":
> <http://www.treefort.org/~rpratt/pppoe/article.html>
> 
> but it's no longer there.

I still have a copy at:

http://myfreebsd.homeunix.net/pppoe-article/article.html

Its probably still pretty close since sysinstall doesn't change that
much.  I hope you find it useful.

HTH,

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /usr/ports/packages cleanup

2007-07-12 Thread Randy Pratt
On Thu, 12 Jul 2007 08:46:26 -0500
Jonathan Horne <[EMAIL PROTECTED]> wrote:

> my packages dir is starting to have more than a few packages of incrementing 
> versions.  example:
> 
> [EMAIL PROTECTED] All] $ ls kde-3*
> kde-3.5.6_1.tbz  kde-3.5.7.tbz
> 
> is there a simple way to clean the packages directory, and only keep the 
> latest version of each package?

I use "portsclean -P" to clean out /usr/ports/packages.  Perhaps it
is what you're looking for.

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recursivity of -r and -R in portupgrade

2007-07-04 Thread Randy Pratt
On Wed, 4 Jul 2007 15:56:13 +0700 (ICT)
Olivier Nicole <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I am wondering is the option -R and -r are mutually recursive in
> portupgrade.
> 
> That is, if the option -R applies to every ports detected by -r and
> respectively if -r applies to every ports detected by -R.
> 
> Lest take the example of:
> 
> portupgrade -fRr gd
> 
> gd depends on png, does it upgrade png with portupgrade -fRr png?
> 
> php4-gd is built from gd, does it upgrade php4-gd with 
> portupgrade -Rrf php4-gd? (That will in turn upgrade php, maybe 
> apache...)

Portupgrade has a no-execute option (-n) which will allow you
to see what would be done without actually performing the
operation; for example:

portupgrade -nfRr gd

will end with a list of ports that would be updated.  Another
port you may find useful is ports-mgmt/pkg_tree which will
show a dependency tree for a port.

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: running portupgrade -a

2007-06-29 Thread Randy Pratt
On Fri, 29 Jun 2007 19:14:52 -0400
"Michael P. Soulier" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> It seems like a lot of people keep their ports regularly up to date by just
> running portupgrade -a. I've seen it online, and in books. 

I've been updating ports daily for several years using portupgrade
since that seemed the best for me.  Doing it on a frequent basis
usually keeps the number of ports changing to a smaller number and
it seems easier to track down any issues that crop up.

> As /usr/ports/UPDATING is rather large, it seems impossible to look for
> potential issues with every package that you're going to upgrade. So, is
> running portupgrade -a a good idea, as you likely haven't checked for issues
> for your system?

Its only necessary to check the entries in UPDATING since your last
update.  If you don't check the entries before updating, its
possible that a problem might happen.  The more frequent you update,
the less new entries there are to check of course.

> Otherwise, the ports change so fast that if you don't regularly update, when
> you do go to upgrade you may find yourself in a difficult position to do so. 

Agreed.  It may even reach the point where so many ports need
updated that it may be just as fast to deinstall all ports and
install fresh.

Frequent updating also gains you more familarity with the ports
system.  I don't think there are any tools that are 100%
perfect and human errors do happen.

HTH

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: auto-removal of earlier package??

2007-03-24 Thread Randy Pratt
On Sat, 24 Mar 2007 16:37:58 -0800
Gary Kline <[EMAIL PROTECTED]> wrote:

> 
>   Guys,
> 
>   Can anybody suggest ascript means to rm -i a whole slew of
>   packages I am collection in /usr/ports/packages/All/?
> 
>   On some of my i686's I have collected as many as three versions 
>   of some *tbz files.   Other than doing this by-hand on four
>   boxens, I'd have automate.  pkgdb -F will ask if the user wants
>   to delete (the earlier) of two packages with an [n].  I'd rather
>   not reinvent the wheel.  
> 
>   (I *thought* I was nearly finished updating this machine;
>   suddenty I've got 50 new ones!! )

You might try "portsclean -P".  I've not used it but it looks like
it might be what you're looking for.  You can also test it by
adding the "-n" (no execute) to see if it will do what you want,
ie "portsclean -nP" for a dry run.

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recover Make ARG's from a ports Install

2007-03-12 Thread Randy Pratt
On Mon, 12 Mar 2007 20:15:20 -0400
Parv <[EMAIL PROTECTED]> wrote:

> in message <[EMAIL PROTECTED]>,
> wrote Alexander Schlichting thusly...
> >
> > On a server I have a package installed using ports and now I have
> > to install the package with exactly the same make arguments on
> > another server. I just don't find a way to see what arguments
> > where used to install it the first time. With Linux I would look
> > into config.status is there something similar with FreeBSD?
> 
> There may be config.status present in $WRKSRC directory (in a port
> directory, run "make -V WRKSRC" to find the value) if that port's
> make process generates such a file AND you have not run "make clean"
> yet.  (That also means you have to compile the port yourself.)
> 
> To save make arguments for future use, you could write a wrapper
> which would save the arguments in a file|database before running
> appropriate make target.  Use the same wrapper to retrieve the
> stored arguments.
> 
> Below is my attempt at such a wrapper (feel free to change) ...
> 
>   http://www103.pair.com/parv/comp/src/sh/pmk
> 
> 
> ... to see available commands just run "pmk" without any arguments.
> Provide arguments to a make target as ...
> 
>   pmk  [ arg_1 arg_2 arg_3 ... ]

There is already a mechanism in place for this:

/usr/local/etc/pkgtools.conf

See man 5 pkgtools.conf for a full description.  It has the advantage
that portupgrade will use the contents of that file when updating
to new versions so that your settings are not lost.

Make arguments as well as a variety of other options for installing
and updating ports can reside there.  Typically, I use this if
there are no OPTIONS (ie, "make config") settings available and
I need to use non-default options.

The only difference is that you would use "portupgrade -N ..." or
portinstall to install new ports rather than "make install".  See the
man pages for further information.

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: searching archives broken?

2007-03-10 Thread Randy Pratt
On Sat, 10 Mar 2007 12:51:03 -0800
"Ed Zwart" <[EMAIL PROTECTED]> wrote:

> Hi there, I'm new to the list, and have been trying to search the
> archives at http://lists.freebsd.org/pipermail/freebsd-questions/.  No
> matter what I search for, I get no results (even one-word searches
> that should definitely have hits; eg, 'mail', 'hostname', etc).
> 
> I want to search the archives before asking the group, but the archive
> is way too large to make browsing feasible.  Is search broken, or am I
> missing something?

I use google to search the FreeBSD site.  Do your google search
as usual but add "site:freebsd.org" at the end and it limits the
searches to freebsd.org.

Other operators can be used for google also:

  http://www.google.com/intl/en/help/operators.html

HTH some,

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [portupgrade] pkgdb -L

2007-03-03 Thread Randy Pratt
On Sun, 4 Mar 2007 01:57:54 +0100
Patrick Lamaizière <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I'm asking about the goal of the new option -L of pkgdb :
>  -L --fix-lost Check and restore lost dependencies against the ports tree.
> 
> What is a lost dependency ?

I hope I can explain this right.  Its a situation where a dependency
was marked as "DELETED" in /var/db/pkg/*/+CONTENTS for some versions
of portupgrade (a bug).  Using the -L forces a recheck of each
ports dependencies and updates /var/db/pkg/*/+CONTENTS in accordance
with the port skeleton(s). See this thread for more information:

  http://docs.freebsd.org/cgi/mid.cgi?20070205001114.b4f77f86.bsd-unix

> # pkgdb -L
> Look for lost dependencies:
> ImageMagick-6.3.2.0: found
>   print/ghostscript-afpl
> -> Fixed.
> ORBit2-2.14.6: ok
> [...]
> 
> But i use ghostscript-gnu-7.07_15
> 
> So :
> # pkgdb -F
> --->  Checking the package registry database
> Stale dependency: ImageMagick-6.3.2.0 -> ghostscript-afpl-8.54,1 
> (print/ghostscript-afpl):
> ghostscript-gnu-7.07_15 (score:70%) ? ([y]es/[n]o/[a]ll) [a]
> 
> And then i've got the same lost dependency again.
> 
> I do not understand the goal and the utility of this option -L, a sample ?

I had the same issue where different ports wanted different versions
of ghostscript but both versions will work (for me) in the
applications I have installed.  It was an easy matter using
pkgtools.conf to specify that portupgrade use a particular version
with the ALT_PKGDEP variable.  This is the case mentioned in
/usr/ports/UPDATING:

==
20070301:
  AFFECTS: users of ports-mgmt/portupgrade*
  AUTHOR: [EMAIL PROTECTED]

  Because of a bug in previous version, it's recomended you fill
ALT_PKGDEP section in pkgtools.conf file for portupgrade be aware of
alternative dependencies you use, and run pkgdb -L to restore
dependencies that was lost.

  Example of ALT_PKGDEP section:
  ALT_PKGDEP = {
'www/apache13' => 'www/apache13-modssl',
'print/ghostscript-afpl' => 'print/ghostscript-gnu',
  }

  Note also, portupgrade knows nothing how to handle ports with
different suffixes (E.g. -nox11). So you should define explicitly
variables (E.g. WITHOUT_X11=yes) for the ports in /etc/make.conf or
pkgtools.conf (MAKE_ARGS section) files.
=+

Depending on how long it has been since your ports were updated,
the 20070102 entry regarding portupgrade may also be of interest.

HTH,

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Could we get the FreeBSD torrent servers back?

2007-02-25 Thread Randy Pratt
On Sun, 25 Feb 2007 03:29:37 -0500
Chris Slothouber <[EMAIL PROTECTED]> wrote:

> Andrew Lentvorski wrote:
> > Chris Slothouber wrote:
> > 
> >> But isn't the whole point of peer to peer file distribution to 
> >> *distribute* the bandwidth requirements to the point that the costs 
> >> involved for each of the individual peers is trivial but the client 
> >> receiving the file still obtains full speed of a direct download?
> > 
> > Yes, actually, it is.
> > 
> > -a
> 
> I think it would then serve the interests of the FreeBSD community to 
> establish a long-term file distribution plan that includes a proven peer 
> to peer system, like torrent.
> 
> It really wouldn't take that much effort, and any bandwidth necessary 
> for seeding, especially initial seeding, could be re-allocated out of 
> what is already being used for direct downloads.
> 
> Since torrent is a rather widely-accepted means of downloading and 
> clients are available for pretty much every platform, it could become 
> the primary vector for distributing large binaries (such as ISOs) that 
> put a sustained burden on the donated mirrors.
> 
> Direct downloads could still be offered for these files for 
> compatibility's sake, albeit at a reduced rate, using shaping or 
> whatever else.

I didn't even realize that torrents were no longer offered but its
not too surprising.  I would guess the reason to be that most
FreeBSD users update their systems via cvsup/csup and never have
any need for all the bits that are on the iso images.

A fresh install is about the only time an iso image is useful.
When its necessary to do a fresh install, I typically will
get the boot-only image and install only the binaries.  No sources,
no ports tree, no docs since the iso image is outdated as soon as
it was posted.  The latest sources are then added to the system via
cvsup/csup and built.

I have 6.2-STABLE running on all systems but don't have any 6.x
CDROM's.  I used some 5.x version image to reinstall from 4.x in
order to ease that transition point but normally reinstalls are
unnecessary and avoided.

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Guidance requested for multimedia conversion

2007-02-08 Thread Randy Pratt
On Fri, 9 Feb 2007 01:15:21 +
dgmm <[EMAIL PROTECTED]> wrote:

> On Friday 09 February 2007 00:04, Murray Taylor wrote:
> > Hi all,
> >
> > Being much more a system programmer / database person
> > than a multi media type I am requesting a 'recipe' from
> > a video media expert.
> >
> > I need to convert an 8 minute .avi file into a basic dvd.
> > No menus or anything, just a dumb as possible 'load it, press play'
> > disk. As long as I can do that, and also get the dvd player to
> > do loop play, its fine.
> >
> > I have a dvd burner, have used it via command line and k3b to
> > burn data Cds and data DVDs.
> >
> > I am quite happy to load a list of ports to do the conversion,
> > layout and burning for the video DVD... I just need a list of
> > ports to load, and the sequence of command lines to execute.
> >
> > FreeBSD 5.4 Release,  KDE 3.5.4.
> > Ports tree within 1 week of current, normally use portmanager
> > for port installs, but direct make is ok too.
> >
> >
> > Thanks
> >
> > Murray T
> 
> Start here...
> 
> http://www.mplayerhq.hu/DOCS/HTML-single/en/MPlayer.html#menc-feat-vcd-dvd
> 
> In particular, scroll down to section 14.8.5 for some "recipes" to create the 
> DVD compatible video then you'll want multimedia/dvdauthor to create the disc 
> image and finally sysutils/dvd+rw-tools for burning
> 
> You might want to look at multimedia/dvdstyler as a GUI front end to 
> dvdauthor 
> and, depending on your set-up/dvd writer it might do the burning from the GUI 
> too.
> 
> It's not exactly point'n'shoot but all you need should be there.

The multimedia/avidemux2 is a bit easier to use (IMO) than mencoder
since its a gui-type video editor/converter that can produce the mpeg2
program streams from avi files for use with dvdstyler.  Its really
quite nice with lots of intuitive features.

The ease in converting with any of the utilities will depend largely
on the source material.

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Makefile knobs

2007-02-06 Thread Randy Pratt
On Tue, 6 Feb 2007 14:14:29 +0100
"n j" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I have a question regarding the various knobs one can set while
> building a port. The problem as I see it is that the user usually has
> to be a makefile lingo expert (okay, not an expert, but you catch my
> drift) to decipher all the various options and set perhaps only the
> one he really needs. So, my question is: is there a port that does
> that for you? Reads makefile options from a makefile and prints them
> out in a nicely ordered way to you? If there's no such port, is it
> actually possible to create one (meaning is it possible to get needed
> information from a makefile in an automated fashion)?

The "portsopt" might be what you're looking for:

  Shows WITH(OUT)-knobs of a port makefile and if you want also
  the knobs of all port dependencies.

  WWW: http://www.chruetertee.ch/portsopt/

It has recently moved from the sysutils category to ports-mgmt
category.  Its location will depend on when you last updated your
ports tree.  While it will show various knobs, their purpose may
not be apparent without further investigation.

There are quite a few ports that have an options screen which you
can access by first doing a "make config" before building and
selecting options. It will store those options in /var/db/ports/...
directories and use them for future builds ("man 7 ports" for more
info).  I would suspect that more ports will use this approach in the
future.

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Search & Replace Issue

2006-12-23 Thread Randy Pratt
On Sat, 23 Dec 2006 21:29:40 -0600
"Jack Stone" <[EMAIL PROTECTED]> wrote:

> Appreciate a tip on how to search & replace  hundreds of *.htm files:
> 
> >From this:
> http://www.domain.com/tales/wouf.html
> To this:
> http://www.domain.htm/  portions of the lines.

Probably many ways to do this but I typically use sed to edit
files in-place:

sed -i "" 's/http:\/\/www.domain.com\///g' *.htm

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Getting a list of dependencies which have to be installed ?

2006-12-14 Thread Randy Pratt
On Thu, 14 Dec 2006 19:10:27 +0100
Frank Staals <[EMAIL PROTECTED]> wrote:

> Hey...,
> 
> Is there a utility to display the dependencies of a port which have yet 
> to be installed ? I know you can get a complete dependency list on 
> freebsd.org/ports , pkg_info -r or just looking in the files in the 
> ports dir. But is there a command to display only the dependencies which 
> haven't been installed on your system yet ? I also looked at pkg_add -n 
> but it immediately starts fetching the packages needed. I don't want to 
> start downloading the complete package just because I want a list of 
> ports I haven't installed yet.
> 
> Or is the only way making a diff between the pkg_info -r output and your 
> pkg_info -a ? If so : Is there a way to tell pkg_info when using the -r 
> flag on a not-yet-installed-port to only get a list of the dependencies 
> instead of downloading the complete package ? Or is there just an other 
> utility which can display this information which I'm not aware of ?

I don't know of a utility that does that function.  Like you, I often
want to know what I'm committing to when installing a new port so I
wrote a small script to do just that:

what_do_i_need.sh
=
#!/bin/sh
#List needed ports not already installed

portsdir="`make -V PORTSDIR`"
pkgdbdir="`make -V PKG_DBDIR`"
indexfile="`make -V INDEXFILE`"

origin_list="`pwd` `make all-depends-list`"

for origin in ${origin_list}; do
#  echo "ORIGIN: ${origin}"
   pkg_name="`grep "|${origin}|" ${portsdir}/${indexfile} \
  | cut -d "|" -f 1`"
   padding=$(( 50 - `echo "${origin}" | wc -c` +1))
   if [ ! -e "${pkgdbdir}/${pkg_name}" ]; then
  printf " NEED: ${origin}%${padding}c${pkg_name}\n" " "
   fi
done
=

Put it in your path somewhere, chmod to executable and use like:
# cd xawtv
# what_do_i_need.sh 
 NEED: /usr/ports/multimedia/xawtv   xawtv-3.95_1
 NEED: /usr/ports/x11-fonts/tv-fonts tv-fonts-1.1

It will only list the needed ports butyou can modify it to do as
you want.  Its probably a wise idea to make sure all ports have
been updated to match your ports tree.

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dbus_enable

2006-12-12 Thread Randy Pratt
On Tue, 12 Dec 2006 21:14:08 +
eoghan <[EMAIL PROTECTED]> wrote:

> On 12 Dec 2006, at 20:57, Garrett Cooper wrote:
> 
> > eoghan wrote:
> >> Hi
> >> Im seeing some dbus_enable warnings when booting... saying its not  
> >> set properly in rc.conf
> >> I dont see these warnings in dmesg though. I assume its coming  
> >> from my option:
> >> gnome_enable="YES"
> >>
> >> here is the full contents of my /etc/rc.conf
> >>
> >> # -- sysinstall generated deltas -- # Wed Jul 19 20:56:08 2006
> >> # Created: Wed Jul 19 20:56:08 2006
> >> # Enable network daemons for user convenience.
> >> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> >> # This file now contains just the overrides from /etc/defaults/ 
> >> rc.conf.
> >> hostname="nathaniel"
> >> ifconfig_rl0="DHCP"
> >> ipv6_enable="YES"
> >> keymap="us.iso"
> >> moused_enable="YES"
> >> sshd_enable="YES"
> >> usbd_enable="YES"
> >> mysql_enable="YES"
> >> webmin_enable="YES"
> >> gdm_enable="YES"
> >> ntpd_enable="YES"
> >> gnome_enable="YES"
> >>
> >> Should I have gdm_enable and gnome_enable, or one or the other...  
> >> could that be causing the dbus_enable problem?
> >>
> >> Thanks
> >> Eoghan
> > Could you provide the errors you receive in a reply email please?
> > Thanks,
> > -Garrett
> 
> Hi Garrett
> They appear at the very end of booting, just before I get the gnome  
> login...
> I got this from the system log:
> Dec 12 19:44:03 nathaniel root: /etc/rc: WARNING: $dbus_enable is not  
> set properly - see rc.conf(5).
> Dec 12 19:44:03 nathaniel root: /etc/rc: WARNING: $dbus_enable is not  
> set properly - see rc.conf(5).
> Dec 12 19:44:03 nathaniel root: /etc/rc: WARNING: $polkitd_enable is  
> not set properly - see rc.conf(5).

You might find this recent thread useful:

  http://lists.freebsd.org/pipermail/freebsd-gnome/2006-October/015587.html

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: streaming content on fbsd

2006-11-12 Thread Randy Pratt
On Sun, 12 Nov 2006 14:49:45 +0100
dick hoogendijk <[EMAIL PROTECTED]> wrote:

> I have the latest ports. I run freebsd-6.1
> I compiled almost every option / dataformat into mplayer.
> Still no streaming media. Although about:plugin states the format is
> supported (and mplayer is compiled to support the format too).
> No support for i,e.:
> 
> http://cgi.omroep.nl/cgi-bin/streams?/tv/vara/dewerelddraaitdoor/bb.20061109.asf?start=0:0:1478.6&end=0:0:1875.8
> 
> Streaming media with realplayer also does not seem to work.
> Anybody has ideas where to look for?

I usually look for the real URL of the stream if its not obvious:

$ fetch -o - 
'http://cgi.omroep.nl/cgi-bin/streams?/tv/vara/dewerelddraaitdoor/bb.20061109.asf?start=0:0:1478.6&end=0:0:1875.8'
-   0% of  195  B0
Bps 

 




Then play it like:
mplayer "mms://topstreams.omroep.nl/tv/vara/dewerelddraaitdoor/bb.20061109.asf"

HTH,

Randy









$ fetch -o - 'http://cgi.omroep.nl/cgi-bin/streams?/tv/vara/dewerelddra
-   0% of  195  B0
Bps
 




-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade ruby package

2006-07-31 Thread Randy Pratt
On Mon, 31 Jul 2006 23:50:28 +0800
"jan gestre" <[EMAIL PROTECTED]> wrote:

> On 7/31/06, jan gestre <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > On 7/31/06, Randy Pratt <[EMAIL PROTECTED]> wrote:
> > >
> > > On Mon, 31 Jul 2006 23:07:39 +0800
> > > "jan gestre" <[EMAIL PROTECTED]> wrote:
> > >
> > > > hi guys,
> > > >
> > > > portaudit reperoted a vulnerability on the ruby package, so i did the
> > > > following:
> > > >
> > > > # cvsup -L 2 ports-supfile
> > > > # portsdb -Uu
> > > > # portupgrade -rR ruby
> > > >
> > > > but i encountered this error message, i can't upgrade ruby.
> > > >
> > > > --->  Upgrading ' ruby-1.8.4_8,1' to 'ruby-1.8.4_9,1' (lang/ruby18)
> > > > --->  Building '/usr/ports/lang/ruby18'
> > > > ===>  Cleaning for ruby-1.8.4_9,1
> > > >
> > > > NOTE:
> > > > You can enable pthread support by defining WITH_PTHREADS variable,
> > > > but not recommended since this might break some ruby apps.
> > > >
> > > > ===>  ruby-1.8.4_9,1 has known vulnerabilities:
> > > > => ruby - multiple vulnerabilities.
> > > >Reference: <
> > > >
> > > http://www.FreeBSD.org/ports/portaudit/76562594-1f19-11db-b7d4-0008743bf21a.html
> > > > >
> > > > => ruby - multiple vulnerabilities.
> > > >Reference: <
> > > >
> > > http://www.FreeBSD.org/ports/portaudit/76562594-1f19-11db-b7d4-0008743bf21a.html
> > > > >
> > > > => Please update your ports tree and try again.
> > > > *** Error code 1
> > > >
> > > > Stop in /usr/ports/lang/ruby18.
> > > > ** Command failed [exit code 1]: /usr/bin/script -qa
> > > /tmp/portupgrade94211.0
> > > > env PORT_UPGRADE=yes make PORT_UPGRADE=yes
> > > > ** Fix the problem and try again.
> > > > --->  Skipping 'databases/ruby-bdb' ( ruby18-bdb-0.5.9_2) because a
> > > requisite
> > > > package 'ruby-1.8.4_8,1' (lang/ruby18) failed (specify -k to force)
> > > > --->  Skipping 'sysutils/portupgrade' (portupgrade-2.1.3.2_2,2)
> > > because a
> > > > requisite package ' ruby-1.8.4_8,1' (lang/ruby18) failed (specify -k
> > > to
> > > > force)
> > > > ** Listing the failed packages (*:skipped / !:failed)
> > > > ! lang/ruby18 (ruby-1.8.4_8,1)  (unknown build error)
> > > > * databases/ruby-bdb ( ruby18-bdb-0.5.9_2)
> > > > * sysutils/portupgrade (portupgrade-2.1.3.2_2,2)
> > > > --->  Packages processed: 0 done, 0 ignored, 2 skipped and 1 failed
> > > >
> > > > any ideas on how to fix this?
> > > >
> > > > TIA
> > > >
> > >
> > > It may be that portaudit is preventing you from updating.  You could
> > > try:
> > > portupgrade -Rr -m DISABLE_VULNERABILITIES="yes" ruby
> > >
> > > and see if that allows you to update. I use the
> > > -m DISABLE_VULNERABILITIES="yes" all the time for updating.
> > >
> > > HTH,
> > >
> > > Randy
> > >
> > > --
> > >
> > i was able to upgrade the ruby package with the tip you provided but i
> > keep on getting the vulnerability warning from portaudit, is this ok? or do
> > i have to run cvsup and portsdb -Uu again to update the database?
> >
> 
> i failed to mention this message when i did portsdb -Uu
> 
> Package gtk+-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gtk+-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gtk+-2.0' found
> gnome-config: not found
> Package gdk-pixbuf-xlib-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gdk-pixbuf-xlib-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gdk-pixbuf-xlib-2.0' found
> "Makefile", line 24: warning: "pkg-config gtk+-2.0
> gdk-pixbuf-xlib-2.0--cflags" returned non-zero status
> gnome-config: not found
> Package gtk+-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gtk+-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gtk+-2.0' found
> gnome-config: not found
> Package gdk-pixbuf-xlib-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gdk-pixbuf-xlib-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gdk-pixbuf-xlib-2.0' found
> "Makefile", line 25: warning: "pkg-config gtk+-2.0
> gdk-pixbuf-xlib-2.0--libs" returned non-zero status
> 
> i don't run X but i did install xlib coz it was needed by one of the ports.

I think you'll need to provide more specific information for anyone
to be able to help with this.  It seems like there are missing
dependencies for "one of the ports".  Someone who is familar with
that port may be able to assist you in configuring it for non-X use.

Sorry I can't help with this aspect of your updating.

Randy


-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade ruby package

2006-07-31 Thread Randy Pratt
On Mon, 31 Jul 2006 23:07:39 +0800
"jan gestre" <[EMAIL PROTECTED]> wrote:

> hi guys,
> 
> portaudit reperoted a vulnerability on the ruby package, so i did the
> following:
> 
> # cvsup -L 2 ports-supfile
> # portsdb -Uu
> # portupgrade -rR ruby
> 
> but i encountered this error message, i can't upgrade ruby.
> 
> --->  Upgrading 'ruby-1.8.4_8,1' to 'ruby-1.8.4_9,1' (lang/ruby18)
> --->  Building '/usr/ports/lang/ruby18'
> ===>  Cleaning for ruby-1.8.4_9,1
> 
> NOTE:
> You can enable pthread support by defining WITH_PTHREADS variable,
> but not recommended since this might break some ruby apps.
> 
> ===>  ruby-1.8.4_9,1 has known vulnerabilities:
> => ruby - multiple vulnerabilities.
>Reference: <
> http://www.FreeBSD.org/ports/portaudit/76562594-1f19-11db-b7d4-0008743bf21a.html
> >
> => ruby - multiple vulnerabilities.
>Reference: <
> http://www.FreeBSD.org/ports/portaudit/76562594-1f19-11db-b7d4-0008743bf21a.html
> >
> => Please update your ports tree and try again.
> *** Error code 1
> 
> Stop in /usr/ports/lang/ruby18.
> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade94211.0
> env PORT_UPGRADE=yes make PORT_UPGRADE=yes
> ** Fix the problem and try again.
> --->  Skipping 'databases/ruby-bdb' (ruby18-bdb-0.5.9_2) because a requisite
> package 'ruby-1.8.4_8,1' (lang/ruby18) failed (specify -k to force)
> --->  Skipping 'sysutils/portupgrade' (portupgrade-2.1.3.2_2,2) because a
> requisite package 'ruby-1.8.4_8,1' (lang/ruby18) failed (specify -k to
> force)
> ** Listing the failed packages (*:skipped / !:failed)
> ! lang/ruby18 (ruby-1.8.4_8,1)  (unknown build error)
> * databases/ruby-bdb (ruby18-bdb-0.5.9_2)
> * sysutils/portupgrade (portupgrade-2.1.3.2_2,2)
> --->  Packages processed: 0 done, 0 ignored, 2 skipped and 1 failed
> 
> any ideas on how to fix this?
> 
> TIA
> 

It may be that portaudit is preventing you from updating.  You could
try:
portupgrade -Rr -m DISABLE_VULNERABILITIES="yes" ruby

and see if that allows you to update. I use the 
-m DISABLE_VULNERABILITIES="yes" all the time for updating.

HTH,

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: unable to mount VCD's

2006-07-07 Thread Randy Pratt
On Fri, 7 Jul 2006 13:16:03 +0200
Fabian Keil <[EMAIL PROTECTED]> wrote:

> "Arun G Nair" <[EMAIL PROTECTED]> wrote:
> 
> >Am unable to mount VCD's on freebsd 6.1. I have a custom kernel.
> > When trying to mount it says input/output error. Am trying to copy a
> > VCD as i can't play the last part of any vcd. Mplayer always says
> > broken frame when it reaches the end. :( I can mount all other data
> > CD's.
> 
> Like Audio CDs Video CDs have no file system and can't be mounted.
> 
> You could copy it with dd or readcd and cdrecord or burncd,
> but it's unlikely that it will fix the broken frames. 
> 
> You could also try readcd's -c2scan option to see if
> the disc itself is ok. 

You might try "vcdxrip" ( /usr/ports/multimedia/vcdimager ) to
extract the mpeg file from the VCD.

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apache22 + PHP5 installation issues

2006-06-03 Thread Randy Pratt
On Sat, 03 Jun 2006 19:12:04 +0100
robert <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> I am having problems with setting up a web server. I'm running FreeBSD
> 6.1-Release-P1, updated of yesterday.
> 
> I have installed Apache22, php5 and php5-extensions from the ports. (I
> did check the build Apache module option in the php5 config).
> 
> My first problem is that the handbook still refers the to mod_php which
> is not available. A search of the archives gave me the answer that it
> has been removed.

There's been some changes to the way PHP is organized.  Take a look
at /usr/ports/UPDATING, particularly the 20060506 entry for users
of PHP.

If I remember correctly:

cd /usr/ports/lang/php5
make config
  (select "Build Apache Module")
make install clean 
  (or portupgrade -f php5-\* if you already have it installed)

This has also been discussed and should be in the archives.

HTH

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to get networker backup software

2006-06-02 Thread Randy Pratt
On Fri, 2 Jun 2006 19:01:38 -0300
"Donald Teed" <[EMAIL PROTECTED]> wrote:

> As far as I know, the security issues are moot.  The note
> I remember seeing said that the default configuration
> was problematic.  If our backup server is behind a firewall,
> and we always config things after installing, I can't
> see how the security issue is relevant enough to rip
> it out of ports.  It is far better to have a security issue
> awaiting resolution than to have zero backup capability.
> 
> The ports skeleton we have is on one machine and
> shared by NFS to the rest. It is updated nightly so
> the old one is gone.  We do have the tarball
> in distfiles, but I don't see a Makefile, etc.
> 
> How do I find it from CVS source?  Is there a pointer on
> where to find that?

You could get a complete tree just before the port was removed by
setting a date in a cvsup file.  Its been awhile since I've done
this but here's a modified example from an old file I still had:

*default host=cvsup4.FreeBSD.org(or whatever)
*default base=/usr/oldtree
*default prefix=/home/oldtree
*default release=cvs
*default delete use-rel-suffix
*default date=2006.03.31.00.00.00
*default compress
ports-all

I think that date is about 8 hours before the ports were removed
from the tree but you might want to check the dates of any other
ports you might need to be sure the date is correct for what you
need.  You can check these with cvsweb:

http://www.freebsd.org/cgi/cvsweb.cgi/

Note that the base and prefix are different so that you don't
clobber your existing ports tree.  Choose something appropriate
for your situation.

Instead of using "ports-all", you might save some bandwidth by only
selecting the ports modules you need.  They are listed in:

/usr/share/examples/cvsup/ports-supfile

You would have selected entries in your supfile like:

ports-base
ports-sysutils

After that, just cvsup using the new supfile.  That should get what
is needed and then you'll be able to add them to your NFS tree.

It sounds like you're quite familar with these ports.  Perhaps if
you can get them security patched you might consider becoming the
maintainer for the ports and get them back in the tree.

Perhaps this will get you closer to where you need to be.  If
anyone spots anything I missed, be sure to comment.

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to get networker backup software

2006-06-02 Thread Randy Pratt
On Fri, 2 Jun 2006 16:49:09 -0300
"Donald Teed" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Our institution uses networker for backups.  We absolutely require
> networker client for FreeBSD.  I'm astonished that it was just dropped
> from ports.
> 
> I have a dozen or so machines where networker client is already
> humming along and it works well for us.  I have a recently setup
> BSD box I want to add to the backup routines.  Unfortunately,
> making a tar of nsr folder and copying the networker.sh script
> has not worked.  We have the same 4.11 BSD on all BSD boxes.
> When I try to run nsrexecd, it dumps core.
> 
> I found an old copy of the dists tarball, but that doesn't
> contain everything I'm finding in an existing install of networker
> client on another BSD box.
> 
> Has anyone figured out how to support networker client
> since it was dropped from ports?

I would think the first thing to do would be to fix the unresolved
security issues.

http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/nwclient/Attic/

http://www.vuxml.org/freebsd/d177d9f9-e317-11d9-8088-00123f0f7307.html

It was marked as forbidden as far back as July 2005 and apparently no
one stepped up to fix those issues and was subsequently removed from
the ports tree. It also seems that the security issues existed as far
back as 2002.

You should be able to copy the ports skeleton(s) from your existing
machines (or get it from CVS) and build it that way.  I'd just be a
bit cautious relying on software with known security issues.

Caveat:  I could be wrong on this since I don't use and have
 never used this port.

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Odd sendmail behavior change

2006-06-01 Thread Randy Pratt
On Fri, 2 Jun 2006 10:03:35 +0700 (ICT)
Olivier Nicole <[EMAIL PROTECTED]> wrote:

> > Now all system mail seems to want to be forwarded thru some relay
> a> t hus.parkingspa.com.  I have no clue where this came from nor
> 
> Try "dig kt.weeble.com" it is just an alias name for hus.parkingspa.com

Doh.. the obvious.. 

I've been using that name internally for many years and I do have
it listed in /etc/hosts.  I thought that /etc/hosts was checked
before bind.  It was never an issue before May 28 but the solution
was relatively easy: 

change the network name for my LAN
add the hostname to /etc/mail/local-host-names
restart sendmail (kill -HUP `head -1 /var/run/sendmail.pid`)


Thanks for the clue stick and the quick response!  It really was
driving me crazy for a bit but I should know after 8 unix years
that when contradictions exist, check the premises.  I never
dreamed anyone would actually use such a stupid hostname for real ;-)

Best regards,

Randy



-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Odd sendmail behavior change

2006-06-01 Thread Randy Pratt
Sendmail seems to have changed its behavior in the last week.  I only
use sendmail for system mail and it was working up until May 28:

 May 28 03:08:23 kt sendmail[96390]: k4S78MdC096390: to=root,
 ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay,
 pri=32393, relay=[127.0.0.1] [12 7.0.0.1], dsn=2.0.0, stat=Sent
 (k4S78MRA096392 Message accepted for delivery)

 May 28 03:09:39 kt sm-mta [96399]: k4S78MRA096392:
 to=<[EMAIL PROTECTED]>, delay =00:01:16, xdelay=00:01:16,
 mailer=esmtp, pri=32709, relay=hus.parkingspa.com. [ 66.246.195.41],
 dsn=4.0.0, stat=Deferred: Operation timed out with hus.parkingspa.com.

Now all system mail seems to want to be forwarded thru some relay
at hus.parkingspa.com.  I have no clue where this came from nor
can I find any configuration for it.  My sendmail configuration
has always been the default (6.1-STABLE).  The only 'configuration'
I've done is to alias root's mail to my local user in /etc/aliases.

Have there been any changes to sendmail or required configurations
that I've missed.  src/UPDATING gave no clues and I've grepped files
trying to find where "hus.parkingspa.com" could have came from to
no avail.

Any suggestions for fixing this would be appreciated.  If any 
information is needed, just ask.

Randy





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: What is the maximum file size on a dvd+r ?

2006-05-28 Thread Randy Pratt
On Sun, 28 May 2006 22:51:07 +0200
[EMAIL PROTECTED] (Hans Lambermont) wrote:

> yattaran wrote:
> 
> > Hans Lambermont wrote:
> >> What is the maximum file size on a dvd+r ?
> > 
> > Here's a list of sites I have bookmarked about DVD sizes:
> 
> Hi Yattaran,
> 
> I'm not looking into the size of a DVD disc, I'm looking into the size
> limits of a *file* on the DVD. Sorry for the confusion.
> 
> I can write a file of 4166629386 bytes to the dvd+r just fine, but
> cannot read it afterwards :
> ls: backup.bz2: Value too large to be stored in data type
> 
> The dvddemystified website has an interesting pointer on it in the 'note
> section of chapter 3.3' : "FAT16 also has a 2 gigabyte file size limit"

There is a PR about this:

ttp://www.freebsd.org/cgi/query-pr.cgi?pr=kern-91488

I have a PVR250 tv capture card and it will easily produce files
in excess of 2G.  I applied one of the patches mention in the PR
locally and can read those large files back to the system (and
reapply it after each CVSup since it hasn't been committed).

HTH,

Randy



-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: colors in messages

2006-05-19 Thread Randy Pratt
On Sat, 20 May 2006 00:33:58 +0200
Mathias Menzel-Nielsen <[EMAIL PROTECTED]> wrote:

> [EMAIL PROTECTED] wrote:
> >
> > Since I'm asking about  FreeBSD (version 4.3), I'm asking about the  
> > echo ,  print ,  printf , etc. commands, and similar commands ib  PERL ,  
> > awk , etc.
> > Where can I find the  vt terminal encoding  for this (hopefully on the 
> > internet)?
> >   
> 
> Hi
> 
> a simple googlin' for vt100 color codes brings this as first hit:
> tp://www.termsys.demon.co.uk/vtansi.htm
> 
> you can change colors by the escape sequences shown in the link resource.
> 
> for example to get red text use:
> echo ^[[31m
> 
> you can get the escape character by pressing Ctrl-V followed by escape 
> in bash and vi and i suppose other environments

A bit off-topic but I found this reference quite handy when
experimenting with colors in scripts:

  http://www.tldp.org/linuxfocus/English/May2004/article335.shtml

HTH,

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Find the Date a Port Was Installed

2006-05-17 Thread Randy Pratt
On Wed, 17 May 2006 17:30:55 -0500
Jeff Cross <[EMAIL PROTECTED]> wrote:

> I have recently upgraded to RELENG_6_1 and have attempted a portupgrade
> on all ports since the upgrade so that new libs, etc. are being used
> with the installed ports.  When it *finally* finished I saw that 9 ports
> were not upgraded due to various reasons but because I did this from the
> command line I couldn't scroll up to see what 9 ports failed.

Take a look at using "script" to log the output (man 1 script).  It
is started before running the process you want to log:

script /path/to/logfile

Then the process (portupgrade in this case) is ran to completion.
Just type "exit" after it is finished to end the "script" logging.

> Is it possible to determine which ports weren't upgraded so I can deal
> with them manually or is it possible to show the install date for all
> ports?  If I can pull the install date for all of them I can see which
> ones are older than today and deal with them individually. I looked at
> the man page for pkg_info to see if there was anything I could do there
> to list the installed ports along with an installation date but I didn't
> see anything.

Another way to determine which ports need updated that has not been
mentioned is:

portversion -vL=

Instead of looking at timestamps for the last install/update
it would probably be easier to just run "portupgrade -a" using
"script" to recreate a log.  Doing this will provide you with logs
of any failures as well as a list of any failures.  Its the
information in those logs that will be most helpful in resolving
problems and is also the information others would need to see if
you needed additional help.

HTH a bit,

Randy


-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD wiki

2006-03-10 Thread Randy Pratt
On Fri, 10 Mar 2006 07:32:16 -0600 (CST)
Jamie <[EMAIL PROTECTED]> wrote:

> 
> 
> I found a really interesting FreeBSD wiki at www.freebsdwiki.net which
> covers FreeBSD admin info.
> 
> Does anyone know of a wiki for FreeBSD developers? Looking for info on
> FreeBSD kernel and some OS theory. The former focuses on administration.

The best place to start looking for information is at the FreeBSD
site:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/design-44bsd/
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/

If you need answers to specific questions, I'd suggest the place to
get the most definitive answers are the FreeBSD mailing lists.

There are also other documents you may find of interest
at http://www.freebsd.org/doc/en_US.ISO8859-1/ .

HTH,

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sending a message to another computer on the network

2006-03-09 Thread Randy Pratt
On Thu, 9 Mar 2006 15:30:15 - 
Maldonado Dennis R SrA AFIA/MSP <[EMAIL PROTECTED]>
wrote:

> Hello,
> 
> Can you tell me how to message other computers on my network?  Thanks

Take a look at the man pages for "wall", "mesg" and "write".  They
may suit your need for network messaging.

HTH,

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Tracking Security in Ports and Base System

2006-03-01 Thread Randy Pratt
As an addendum:

I forgot to mention that its a good idea when updating sources or
ports to wrap the process in "script" so that you have a log of what
was actually done.

script /path/to/someplace_with_space/scriptname

Then run the commands for the process involved.  When you are finished
then type "exit" to stop the "script" process.  You will have a
complete log of everything that was displayed.

If you have any problems during an update, then people may ask for
a log excerpt to see the actual problem.

For more information on "script":  man script

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Tracking Security in Ports and Base System

2006-03-01 Thread Randy Pratt
On Wed, 1 Mar 2006 14:31:55 -0800 (PST)
Chris Maness <[EMAIL PROTECTED]> wrote:

> 
> 
> On Wed, 1 Mar 2006, Randy Pratt wrote:
> 
> > On Wed, 1 Mar 2006 10:09:51 -0800 (PST)
> > [EMAIL PROTECTED] wrote:
> >
> >>> On Wed, 8 Feb 2006, Chris Maness wrote:
> >>>
> >>>> How should I set up cvsup to just track security updates for ports. And
> >> would the best thing to do after I synced CVS, do portupgrade -a so
> >> that everything selected gets rebuilt.
> >>>
> >>> I'm not sure there is a way to do this for ports, other than manually
> >> checking what's been changed and whether you consider that to be a
> >> security upgrade, then upgrading each applicable port by hand. As far as
> >> I understand, there is only one tag for ports ("tag=."), which gets you
> >> the "current" ports tree. I *can* guarantee that others know more about
> >> this than I do.
> >
> > There is a port which does this for you (security/portaudit):
> >
> >  portaudit provides a system to check if installed ports are
> >  listed in a database of published security vulnerabilities.
> >
> >  After installation it will update this security database
> >  automatically and include its reports in the output of the
> >  daily security run.
> >
> >>>> What is the equivalent for the base system?
> >>>
> >>> Much simpler: just track RELENG_your_release to get security updates and
> >> bug fixes and nothing else. For example, mine is RELENG_5_4 and
> >>> therefore tracks 5.4-RELEASE.
> >
> > Additionally, I'd suggest subscribing to one of these mailing list so
> > that you are notified when a SA is issued:
> >
> >  [EMAIL PROTECTED]
> >  freebsd-announce@freebsd.org
> >
> > HTH,
> >
> > Randy
> > -- 
> >
> 
> Thanks, I do have port audit installed.  I was refering to system 
> security.  The base system + FreeBSD userland.  I wanted to do this 
> because I did get a notice from the security list today.  Do I do a make 
> buildworld, to update the system?  Do I do this in /usr/src ?

The only thing that portaudit does is to apprise you of potential
problems.  You would need to update ports (/usr/ports) to fix those
issues.  I probably misunderstood your question.  I'll attempt to
go into more detail.

Just so we're talking the same language, I call anything that is
built/installed from /usr/src the 'base system'.  Some people break
this down into kernel+userland.  Perhaps this is the userland to
which you refer.

I call anything built/installed from /usr/ports "third-party
applications" or the "ports tree".  Some people also call this userland
applications.

Each one is updated independent of the other.

If you want to update the things from /usr/src (base system), refer
to the Handbook (Chapter 21 The Cutting Edge ).  In particular:

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

It may appear complicated because of all the explanation given there
and the different branches covered but its a pretty easy process once
you work thru it.  I suggest going through the document and make
yourself a crib sheet.  Here's an example of how one might
look:

cvsup -g -L 2 stable-supfile

# READ this!!
less /usr/src/UPDATING

#If an old backup exists (/etc.old) remove it
rm -rf /etc.old
#Make a new backup of /etc
cp -Rp /etc /etc.old

adjkerntz -i

cd /usr/obj
chflags -R noschg *
rm -rf *

cd /usr/src
make buildworld

#Check custom kernel config for changes after cvsup
#modify as needed.  If using GENERIC kernel, just leave
#off the "KERNCONF=CUSTOM" part.
cd /usr/src
make buildkernel KERNCONF=CUSTOM
make installkernel KERNCONF=CUSTOM

# need to be in single user mode at this point
# either reboot to single user mode according to the handbook
# or alternatively "shutdown now" according to the handbook
cd /usr/src
make installworld

mergemaster

reboot

Please don't use the above as a substitute for reading the Handbook
in detail and applying it to your own situation.  In all cases, the
Handbook takes precedence over the above.  I also do not recommend
using a scripted approach until you are comfortable with the
process.

Note that the preceeding does not update anyting that was installed
from the ports tree (/usr/ports/...).  The usual tool for doing
ports updating is sysutils/portupgrade.  A typical update would
be like:

#make sure dependencies are in

Re: Tracking Security in Ports and Base System

2006-03-01 Thread Randy Pratt
On Wed, 1 Mar 2006 10:09:51 -0800 (PST)
[EMAIL PROTECTED] wrote:

> > On Wed, 8 Feb 2006, Chris Maness wrote:
> >
> >> How should I set up cvsup to just track security updates for ports. And
> would the best thing to do after I synced CVS, do portupgrade -a so
> that everything selected gets rebuilt.
> >
> > I'm not sure there is a way to do this for ports, other than manually
> checking what's been changed and whether you consider that to be a
> security upgrade, then upgrading each applicable port by hand. As far as
> I understand, there is only one tag for ports ("tag=."), which gets you
> the "current" ports tree. I *can* guarantee that others know more about
> this than I do.

There is a port which does this for you (security/portaudit):

  portaudit provides a system to check if installed ports are
  listed in a database of published security vulnerabilities.

  After installation it will update this security database
  automatically and include its reports in the output of the
  daily security run.

> >> What is the equivalent for the base system?
> >
> > Much simpler: just track RELENG_your_release to get security updates and
> bug fixes and nothing else. For example, mine is RELENG_5_4 and
> > therefore tracks 5.4-RELEASE.

Additionally, I'd suggest subscribing to one of these mailing list so
that you are notified when a SA is issued:

  [EMAIL PROTECTED]
  freebsd-announce@freebsd.org

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Path And 'cron'

2006-02-20 Thread Randy Pratt
On Mon, 20 Feb 2006 10:21:22 -0600
Tim Daneliuk <[EMAIL PROTECTED]> wrote:

> Randy Pratt wrote:
> 
> > On Sun, 19 Feb 2006 15:25:49 -0600
> > Tim Daneliuk <[EMAIL PROTECTED]> wrote:
> > 
> > 
> >>Where is the default path for cron jobs established? (And can it
> >>be changed...)
> >>
> > 
> > 
> > Take a look at:
> > 
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-cron.html
> > 
> > and see if that answers your question.
> > 
> > Best regards,
> > 
> > Randy
> > --
> > 
> 
> Well ... it answered my question partially.  But as I looked back over
> it, I realized my central questions are still unanswered:
> 
>If I do not have a PATH= statement in a particular user's crontab,
>what is used for a default PATH?

>From "man 5 crontab" :

 Several environment variables are set up automatically by the cron
 (8) daemon.  SHELL is set to /bin/sh, PATH is set to /usr/bin:/bin,
 and LOGNAME and HOME are set from the /etc/passwd line of the
 crontab's owner.  HOME, PATH and SHELL may be overridden by
 settings in the crontab; LOGNAME may not.

>Is the path in /etc/crontab inherited somehow?
> 
>Given that the default shell is /bin/sh, are the settings
>in /etc/profile observed?  If no PATH is established there either,
>what will cron use?
> 
> I am trying to determine the best place to establish correct global
> PATH settings for all cron users so I don't have to edit each users'
> crontab file when file locations are updated or changed.

It seems that the PATH is being set in the source code, in particular
/usr/src/usr.sbin/cron/cron/pathnames.h :

 #ifndef _PATH_DEFPATH
 # define _PATH_DEFPATH "/usr/bin:/bin"
 #endif

I suppose its possible to change the source and rebuild but there may
be subtle interactions that aren't readily apparent that would need to
be considered.  There may even be a knob to tweak somewhere for this.

Sorry I can't give you a definitive answer on this.  Perhaps someone
with more direct experience can give you proper guidance here.  

Best regards,

Randy


-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: hostname

2006-02-19 Thread Randy Pratt
On Sun, 19 Feb 2006 22:55:14 +
eoghan <[EMAIL PROTECTED]> wrote:

> Hello
> Im wondering what the hostname value should read in my rc.conf... I  
> booted to gnome and it was complaining it couldnt find "myhostname"...
> suggested adding it to /etc/hosts
> So i added
> 127.0.0.1 nathaniel
> also in here was:
> 127.0.0.1 localhost
> reboot and i was getting errors about not being able to bind to nathanie
> Check my rc.conf and hostname now read nathanie (without the l)
> I changed it to localhost and im still getting these boot errors and  
> message when i startx.
> What should this read. I has been long since i have edited my rc.conf...

/etc/rc.conf should contain the hostname in the form of:

hostname="mymachine.example.net"

Some further information can be found in the Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-core-configuration.html

HTH,

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Path And 'cron'

2006-02-19 Thread Randy Pratt
On Sun, 19 Feb 2006 15:25:49 -0600
Tim Daneliuk <[EMAIL PROTECTED]> wrote:

> Where is the default path for cron jobs established? (And can it
> be changed...)
> 

Take a look at:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-cron.html

and see if that answers your question.

Best regards,

Randy
--

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: command line sound player?

2005-11-23 Thread Randy Pratt
On Wed, 23 Nov 2005 21:59:47 +0100
Blue Raccoon <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I have searched high and low for a simple command-line sound player that I 
> can call from other apps. I need something that just plays the sound, without 
> any feedback. Like 'cat sound.wav > /dev/dsp' but without the almost zero 
> signal-to-noise ratio.
> 
> Any ideas?

You might try ports/audio/sox which is a set of audio utilities.  One of
them is "play" which handles .wav format.  See the pkg-descr for
more information.

HTH,

Randy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: port version

2005-10-09 Thread Randy Pratt
On Sun, 09 Oct 2005 08:30:26 -0700
Micah <[EMAIL PROTECTED]> wrote:

> eoghan wrote:
> > Hello
> > I have done some searching but not really found my answer. I was  
> > wondering if there is a way to check port version? I cvsup'd my ports  
> > and id like to check version of some ports before I install them...
> > I know many have the version in the dir like mysql. But for example / 
> > usr/ports/X11/kde3/
> > I dont know if this is 3.4 or 3.5? I have checked the make file...  But 
> > I dont see the version.
> > Thanks
> > Eoghan
> 
> There may be easier ways, but this is how I check. For regular ports 
> (your example is a metaport) you can check distinfo to see which version 
> of the source files it's downloading.  You can also check 
> www.freshports.org and see there along with other useful information. 
> According to freshports, the kde3 in a recently updated ports tree is 3.4.2.
> 
> HTH,
> Micah

I think what you may be asking for can be found using the ports
Make variables, for example:

cd /usr/ports/x11/kde3
make -V PKGNAME

The above returns "kde-3.4.2" on my system.  Of course, there are
more ports Make variables which can be found in:

/usr/ports/Mk/bsd.port.mk

HTH!

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: New user

2005-09-28 Thread Randy Pratt
On Wed, 28 Sep 2005 06:38:53 -0600
Joshua Tinnin <[EMAIL PROTECTED]> wrote:

> On Wed 28 Sep 05 03:54, Dmitry Mityugov <[EMAIL PROTECTED]> 
> wrote:
> > On 9/28/05, Xian <[EMAIL PROTECTED]> wrote:
> > > > On Tue, 27 Sep 2005, Tharaka Abeysekera wrote:
> > > > > I'm a new to UNIX, I got to know about your services recently.
> > > > > Please tell me ware to start FreeBSD(UNIX) . Because I'm pissed
> > > > > off with Windows
> > >
> > > On Tuesday 27 September 2005 14:29, Derrick Test wrote:
> > > > thats a big question. the handbook off the website is a great
> > > > resource.
> > >
> > > It can also be found on the disk
> > > (at /usr/share/doc/en_US.ISO8859-1/books/handbook/index.html ) once
> > > you have installed. Usefull for working out how to set up internet
> > > ;-) Using it will also save FreeBSD site bandwidth :-)
> >
> > But I believe the handbook at www.freebsd.org is more accurate and
> > up-to-date than the one on the CDs.
> 
> Yes, but if you update the doc tree locally and build from that, then 
> you have the most up-to-date copy right on your machine. You have to 
> install /usr/ports/textproc/docproj first, and there's more details 
> about that here: 
> http://www.onlamp.com/pub/a/bsd/2001/02/08/Big_Scary_Daemons.html
> 
> Hope I don't scare off the new user, but this does demonstrate the power 
> and simplicity of UNIX in general, and FreeBSD in particular.
> 
> Here's an example straight from my workstation (this can be used as a 
> way to update and serve docs for an entire organization, such as one 
> build machine being used for packages for the other machines in a 
> network, though presumably there would be NFS or a webserver involved 
> in such a case).
> 
> My /etc/make.conf includes this:
> 
> # doc proj make options
> SUP=/usr/local/bin/cvsup
> SUPFLAGS=   -L 2 -1
> DOC_LANG=   en_US.ISO8859-1
> SUPHOST=`/usr/local/bin/fastest_cvsup -q -c us`
> DOCSUPFILE= /home/krinklyfig/supfiles/doc-supfile
> SUP_UPDATE= yes
> 
> 
> ... and my supfile for docs:
> 
> % cat /home/krinklyfig/supfiles/doc-supfile
> *default base=/usr
> *default prefix=/usr
> *default release=cvs tag=.
> *default delete use-rel-suffix
> *default compress
> doc-all
> 
> 
> And in my root crontab is:
> 
> # cvsup and build docs, 4am, every day
> 1 4   *   *   *
> /bin/sh /home/krinklyfig/supfiles/sup-doc 2>&1
> 
> 
> And the script referenced above:
> 
> # cat /home/krinklyfig/supfiles/sup-doc
> #!/bin/sh
> 
> MAILTO=krinklyfig
> MEHOME=/usr/home/krinklyfig
> 
> touch $MEHOME/log/sup-doc.log ;
> touch $MEHOME/log/sup-make-doc.log ;
> 
> cd /usr/doc ;
> make update >> $MEHOME/log/sup-doc.log 2>&1 &&
> make install clean >> $MEHOME/log/sup-make-doc.log 2>&1
> 
> 
> At 4am every day the above script is run: the changes to docs are 
> downloaded though cvsup, and the new docs are built. My local docs are 
> most likely just as up-to-date as the ones on the web (<1 day), and I 
> only have to download the updates from cvs to keep them current.
> 
> - jt

There is (yet) another way to get the latest documentation.  Docsnap
doesn't require the overhead of the documentation tool chain and is
quite easy to use.  More information about docsnap can be found at:

http://docsnap.sk.freebsd.org/

For the original poster, reading the documentation before you start
installation will give you a lot more confidence in your new venture.

Its a steep learning curve at first, but stick with it and you'll
get there.  Additionally, the fun never ends since you'll learn
new things every day.

If you run into snags, chances are that someone on the mailing lists
will be able to help you if reading the docs or googling doesn't
turn up a solution.

Above all, have fun!

Randy


-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 5.4 or 6 ?

2005-08-19 Thread Randy Pratt
On Fri, 19 Aug 2005 09:52:29 +0300
Omer Faruk Sen <[EMAIL PROTECTED]> wrote:

> Hi, 
> 
> I will be installing a server that will be online for production
> environment  in 1 month. I want your suggestions if I should use 5.4
> or 6 ? 
> 
> I am thinking to install 6.0-Beta2 and upgrade to 6.0-RELEASE when it
> comes  out. But I wanted to take your precious opinions. 
> 

There is a new document, "Choosing the FreeBSD Version That Is Right For
You", which may be found at:

  http://www.freebsd.org/doc/en_US.ISO8859-1/articles/version-guide/

It may be of help in making your decision.

Best regards,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: screen grabs

2005-08-16 Thread Randy Pratt
On Tue, 16 Aug 2005 15:34:44 +0100
"Charles Smyth" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I wondered if anyone can advise me about how to get screen shots /
> grabs of the FreeBSD installation screens as shown in the online
> manual, etc. I can use The Gimp’s resources to do screen shots with
> everything installed, but this wouldn’t be available at the
> installation phase. 
> 

The screenshots in the Handbook were done with vidcontrol:

vidcontrol -p < /dev/ttyv0 > shot.scr

See vidcontrol(1) for further detail.  There are also tools in the ports
tree (graphics/scr2png) if you need to convert to PNG format.

scr2png < shot.scr > shot.png

Most of the screenshots were taken post-installation.  There are a few
screens which have different content post-installation than during
installation and those were edited with editors/hexedit to reflect the
exact display at installation.

A few of the screens were captured using the headless install technique
described in the Handbook in "Advanced Installation" since
those screens don't display when running Sysinstall after installation.

HTH,

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: All about netgraph

2005-08-12 Thread Randy Pratt
On Fri, 12 Aug 2005 18:29:22 +0200
"Peter Blok" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
>  
> 
> I was looking for the all-about-netgraph document on www.daemonnews.org
>  , but DNS ( even a root server ) doesn't
> resolve the name anymore?
> 
>  
> 
> Does somebody know what is going on? Does somebody have the document copied
> somewhere?
> 

Another resource to find old web documents is:

http://www.archive.org/web/web.php

The document you're looking for in particular is:


http://web.archive.org/web/20010207203325/www.daemonnews.org/23/netgraph.html

which retains the images reference by the article.

HTH,

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: A question about dwnloading Ports

2005-06-17 Thread Randy Pratt
On Fri, 17 Jun 2005 15:42:13 +0200
Arek Czereszewski <[EMAIL PROTECTED]> wrote:

> Użytkownik å­?è?? napisaÅ?:
> 
> > I am a new user to Freebsd. I do not have a high speed connection, so
> > I could not install softwares from ports directly. It takes me a lot
> > of time. I wonder how to download the whole ports, so that I could
> > download it in Net Cafe, and save it to my moible harddisk and then, I
> > could install softwares after I get home. It is of no use to download
> > the ports trees only. I need to download all the source codes the
> > first time, and I could use cvs system to update it.
> > 
> 
> If you want for example install mc
> # cd /usr/ports/misc/mc
> # make fetch-recursive
> ===> Fetching all distfiles for mc-4.6.0_15 and dependencies
> 
> 
> And you have mc with  dependencies.
> All downloaded files you have in:
> /usr/ports/distfiles/
> 

If the original poster is just looking for a list of sites that
have the distribution files he's interested in, then

# cd /usr/ports//
# make fetch-recursive-list

would give a list of all sites that have the distribution files.

Its not a very user readable list and a small script might be
helpful:

find_dist_files.sh:
=begin-script=
#!/bin/sh
#Make a list of distfiles needed for a port

tempfile="/tmp/distfiles_list.txt"

make fetch-recursive-list > ${tempfile}

while read line; do
  for i in ${line}; do
echo ${i} | grep "^http"
echo ${i} | grep "^ftp"
  done
  echo
done < ${tempfile}

rm ${tempfile}
=end-of-script===

Make the script excutable and in your path, cd to the port
directory you're interested in and run the script.  It'll
give a list of all distribution files needed for a port which
could be redirected to a file to take to some other location
for retrieval, for ex:

cd /usr/ports/www/zope-simpleblog
find_dist_files.sh > mylist.txt

I'm sure there's a multitude of ways to do this but it should give
you some ideas.

HTH,

Randy


-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portaudit is being stubborn

2005-05-20 Thread Randy Pratt
On Fri, 20 May 2005 13:43:29 +0100
Chris <[EMAIL PROTECTED]> wrote:

> This annoys me as well, I expect portaudit to alert me when an update
> is available to fix an exploit, but wget has no update so what is the
> point of the warning, there also seems to be no way to shut it up.
> 
> Chris
> 
> On 5/17/05, Tony Shadwick <[EMAIL PROTECTED]> wrote:
> > This is driving me nuts.  I just downloaded the latest portaudit database
> > and ran it on my system:
> > 
> > mx02# portaudit -ad
> > Database created: Tue May 17 13:40:02 CDT 2005
> > Affected package: wget-1.8.2_7
> > Type of problem: wget -- multiple vulnerabilities.
> > Reference:
> > 
> > 
> > 1 problem(s) in your installed packages found.
> > 
> > You are advised to update or deinstall the affected package(s)
> > immediately.
> > 
> > 
> > Okayso, that vulnerability isn't of much concern to me, but just to be
> > sure I'm current:
> > 
> > mx02# portversion ftp/wget
> > wget=
> > 
> > So life is good there, so I got back and add this to my
> > /usr/local/etc/portaudit.conf file:
> > 
> > # Make portaudit ignore wget vulnerability (no shell users here anyway)
> > portaudit_fixed="06f142ff-4df3-11d9-a9e7-0001020eed82"
> > 
> > 
> > I then re-ran portauditit gives me the same output. :(  I want to have
> > this cron'ed where I only get ouput when something that actually concerns
> > me comes up.  Is the portaudit_fixed variable no longer supported?
> > 
> > Tony

I think the ftp/wget-devel version has addressed the security
concerns.  I switched to ftp/wget-devel and portaudit doesn't show
any problems.  I've not noticed any differences in using that version.

I had a few other ports which depended on ftp/wget so I used
portupgrade to switch the dependencies to ftp/wget-devl:

portupgrade -o ftp/wget-devel ftp/wget

According to the portupgrade man page, all the dependencies on the
old package will be succeeded to the new package cleanly without
leaving inconsistencies.

There may be occasions when an update to a port which depended on
the old ftp/wget may cause pkgdb to complain about a stale dependency
on ftp/wget and you will need to repoint the dependency to the
ftp/wget-devel package.

If at some point the ftp/wget gets fixed, then it could be switched
back from ftp/wget-devel with portupgrade.

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: The FreeBSD Handbook, in Wiki form.

2005-05-04 Thread Randy Pratt
On Wed, 04 May 2005 09:12:09 -0400
"MikeM" <[EMAIL PROTECTED]> wrote:

> On 5/3/2005 at 5:29 PM Benjamin Keating wrote:
> 
> |A wiki would eliminate that bottle neck (PR).
> |Some parts are out of date. Others fail to mention FAQ , etc. that
> |could really help. For instance, the NAT/DHCP articles could easily
> |include a 'typical home user' HOWTO rather then tricking the user into
> |reading that one line where it says you have to recompile your kernel
> |with IPFIREWALL support.
> |
> |Things like that bring noise to this mailing list. Idon't know about
> |you but I'd rather just add my new found info to the site rather find
> |a PR addy, submit it and wait for it to be added. We have software
> |that does this now. Lets use it! :)
>  =
> 
> When I found a spot in the Handbook that was a bit sparce, I send in an
> email describing what I was looking for, what I found, and what i expected
> to find.  The Handbook was updated within a few days, and the update was
> much better than what I could have written.
> 
> 
> Maybe a wiki would supplement the Handbook, rather than replace it.
> 

There's some benefits to the present documentation approach that are
being overlooked.

It has a revision control system.  This enables you to obtain a
version of a handbook for any given date thru CVS.  This magic is
also what allows you to update your local documentation and use a
minimum of bandwidth.

It can produce output in a number of formats (HTML, PDF, PS, etc)
from a single set of sources.  Don't forget that the FreeBSD Handbook
is also published occasionally from these same sources.

The documentation is available in a variety of languages due to
the efforts of the translation teams.  They use the revision control
system to determine when updated translations are needed.

The documentation is available as part of the system and web access
isn't required.  It can also be freely distributed whereas I'm not
sure who owns the content of a wiki.

As others have mentioned, peer review is very important especially
with documentation.  The wording and syntax needs to be very clear
since many users do not speak english as a first language.

I'm probably overlooking some other aspects of the benefits but
the present system does produce documentation that many consider
to be the best of any comprable OS's.

Granted, the centralized approach to documentation doesn't produce
instant gratification that a wiki might but it seems to lend itself
well for a variety of uses in a quality manner.  In the end, its
the content that is important and not the method.  It probably
doesn't take any more time on the part of a user to fill out a
wiki-form than it takes to send-pr.

There might be some niche that a wiki might be useful but I'd
need to see a rough implementation showing how it addresses
something that is lacking in the present method.  There's always
room for improvement.

I just thought I'd throw a few things out for thought before we
continue building the Big Bikeshed ;-)

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: .iso

2005-04-06 Thread Randy Pratt
On Wed, 06 Apr 2005 09:23:03 -0400
Jonathan Arnold <[EMAIL PROTECTED]> wrote:

> bertybadboy wrote:
> > Which .iso files do i download and burn onto a cd?
> 
> I was all set with a big explanation of what the ISOs were, and
> to complain that there wasn't a nice, easy to find, concise
> description in the handbook, when I actually looked for it and
> found it with no problem.
> 
> The place to start, of course, when installing FreeBSD is Chapter
> Two in the handbook, entitled, appropriately enough, "Installing
> FreeBSD":
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html
> 
> As part of section 2.2, "Pre-installation Tasks", there is section
> 2.2.6 "Obtain the FreeBSD Installation Files". And it points you to
> section 2.13 "Preparing Your Own Installation Media":
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-diff-media.html
> 
> And that has an excellent and concise description of the ISO files.
> 
> The gist of that is you should download the -miniinst version (not
> the -mini version as described in the handbook) if you have a fast
> internet connection and want to install the packages online, or
> the -disc1 version if you want to have a CD with it prepackage.  The
> biggest advantage to using the miniinst version is that you are
> sure to get the latest version of the package, while the -disc1
> version is what was available when the ISO was created.

The original poster didn't say which version he wanted to install
but I would presume its something very recent.  I think that
information is good for anything prior to 5.4 but it seems to be
changing somewhat starting with the 5.4-RC1.  From the announcement
( http://docs.freebsd.org/cgi/mid.cgi?20050405144935.GA54439 ):

"The layout of the installation CDs is slightly different than previous
releases.  The disc1 image should be used to start the install.  It
contains a "live filesystem" and the set of packages that normally get
installed as part of a minimal install (perl, the baseline Xorg
windowing system, and on i386 the base Linux emulation package).  The
disc2 image contains a larger variety of packages (kde3, gnome2, etc)
that can be installed while doing the initial installation of the
machine, but if you just want to do a minimal install disc1 should be
all you need."

I gather that the miniinst.iso won't be available as a separate iso
since its essentially now -disc1.  I like the idea of a base install
and live filesystem on the same disc.  However, it appears that
someone wanting to do a fresh install with KDE/Gnome/etc will now
need to download both -disc1 and -disc2.  Its more to download but
the selection of packages on the CDs is probably larger.

If I am misreading the announcement I'm sure someone will correct
me.

Hope this helps more than confuses!

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: New Freebsd Install Guide Available

2005-04-04 Thread Randy Pratt
On Mon, 4 Apr 2005 01:03:24 -0400
<[EMAIL PROTECTED]> wrote:



> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Chris Hill
> Sent: Sunday, April 03, 2005 10:47 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; Randy Pratt; Giorgos Keramidas;
> [EMAIL PROTECTED]; freebsd-questions@freebsd.org
> Subject: Re: New Freebsd Install Guide Available
> 
> On Sun, 3 Apr 2005 [EMAIL PROTECTED] wrote:
> 
> > YES there is something major wrong with the official handbook.
> 
> [snip]
> 
> > The FreeBSD Install Guide is mirrored at the following sites.
> >
> > http://freebsd.easyasthat.co.uk/
> > http://www.unixguide.net/freebsd/fbsd_installguide/index.php
> > http://freebsd.packards-home.net/index.php
> > www.a1poweruser.com
> > http://freebsdinfo.org/
> > http://freebsd.a1poweruser.com:6088/
> > http://freebsd.95mb.com/
> 
> Since all of these URLs (those which respond, at least) go to
> essentially the same content, I have a few questions: 1) Who wrote
> this?
> 1a) Could it be Joseph Barbish? 2) Regardless, could the author be
> persuaded to contribute his/her wisdom to the official
> documentation,
> rather than verbally trash the latter?
> 
> Persipiring minds want to know.

Oops.. You're absolutely right Chris, it is the same:

  http://docs.freebsd.org/cgi/mid.cgi?20040308154441.GA73721

I didn't recognize the poster as the one who created that document and
tried to peddle it for money last year.  It was another of those
never-ending threads so rather than pollute the list lets just drop
this.  Its just not worth the time or bandwidth.

My apologies to the list.  I will be more careful in the future.

Best regards,

Randy


-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: question

2005-04-02 Thread Randy Pratt
On Sat, 2 Apr 2005 22:30:13 -0500
"fbsd_user" <[EMAIL PROTECTED]> wrote:

> Reinstall from scratch using cd install disk.
> Keep trying until you get it correct.
> That's how you learn FreeBSD.
> 
> Follow instructions from this url
> http://freebsd.easyasthat.co.uk/

Is there something wrong with the installation instructions at:

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

I keep seeing you recommend that site (yours?) as the instructions to
follow.  If there's something lacking in the official instructions,
wouldn't it be better to update those so they get a proper peer
review?

Best regards,

Randy

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Ryan
> O'Donnell
> Sent: Saturday, April 02, 2005 10:02 PM
> To: freebsd-questions@FreeBSD.org
> Subject: question
> 
> To whom it may concern,
> I tried installing freeBSD, but I think I might have ruined the
> installation, because now when I try booting up my computer it says
> something like -
> 
> Invalid Partition
> Invalid Partition
> No /boot/loader
> 
> FreeBSD/i386 boot
> Default 0:ad(0,a)/kernel
> boot:
> Invalid Partition
> No /kernel
> 
> FreeBSD/i386 boot
> Default 0:ad(0,a)/kernel
> boot:
> 
> 
> What should I do to fix this?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 


-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Portupgrade (vs. Portmanager) question

2005-03-28 Thread Randy Pratt
On Sun, 27 Mar 2005 23:49:11 -0800
Jay O'Brien <[EMAIL PROTECTED]> wrote:

> Michael C. Shultz wrote:
> 
>  > It would be nice if the ports make options were better documented, but 
> > you can read through /usr/ports/Mk/bsd.port.mk and find information
> > on the various options. 
> > 
> > here is an example:
> > 
> > # all-depends-list
> > # - Show all directories which are dependencies
> > # for this port.
> > 
> > then
> > 
> > cd /usr/ports/lang/ezm3/
> > make all-depends-list
> > 
> > result:
> > 
> > /usr/ports/converters/libiconv
> > /usr/ports/devel/gettext
> > /usr/ports/devel/gmake
> > /usr/ports/devel/libtool15
> > 
> > -Mike
> >
> 
> Mike, 
> 
> That's great info, thank you. It really helps put this into perspective.
> 
> I did portmanager -sl and it identifies 7 candidates for deletion. 
> It identifies cvsup-without-gui and also identifies ezm3 upon which 
> it depends. Am I missing something here or shouldn't ezm3 not been 
> identified as a "leaf port"? 

Good observation on your part and its a good question to ask.

I'm not real familar with portmanager but it appears to identify the
leaf ports in the same manner as sysutils/pkg_cutleaves and
sysutils/pkg_rmleaves do.  The utilities are only considering the
run-dependencies as needed.

Any port that is only required as a build-dependency is treated as
a leaf port.  They could be removed but it would have to be rebuilt
if it were needed again.

I usually keep these tools that are only needed for building since I
run portupgrade nightly.  Others that have limited hard disk space
might elect to remove them and their associated source tarballs.  Its
left to the individual to decide whether or not to keep them.

You're on the right track to understanding how the ports system works
and using its tools.  Just keep reading the man pages and observing
how things function.

Best regards,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How to get send-pr/porttools working when on a cable (dsl) provider link

2005-03-27 Thread Randy Pratt
On Mon, 28 Mar 2005 05:00:15 +0200
Danny Pansters <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> Just migrated all my stuff to a new machine and having troubles sending any 
> mail to the freebsd lists and inparticular with send-pr. I have a cable modem 
> connected to my gateway which connects to a gbit switch through which the 
> other pcs connect. The cable provider uses dhcp. I get my IP ok and my 
> hostname (sent through dhclient also, otherwise logging on doesn't work) is 
> [EMAIL PROTECTED] I have set up pf to do nat and filtering. 
> It's not a firewall problem.
> 
> I'm having problems getting sendmail (from my desktp -- a client behind the 
> gateway) to be eligible to send mail to the freebsd servers, particularly 
> send-pr.
> 
> I already set my isp's smtp as smart relay in freensd.mc and did make, but 
> now 
> my FQDN hostname is not considered cosher (helo)... its desktop.homenet, a 
> local name.
> 
> How do I solve this?

I'll leave the sendmail answers to those who really understand it.

As an alternative, sendmail configurations could be avoided by using
ports/sysutils/gtk-send-pr especially if this is your only need
for sendmail.  Gtk-send-pr will deliver mail to any SMTP server.

Just a thought..

Randy



-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Where does FreeBSD install the Qt directory?

2005-03-16 Thread Randy Pratt
On Wed, 16 Mar 2005 10:40:26 -0600
CHris Rich <[EMAIL PROTECTED]> wrote:

> Trying to compile mysqlcc from source (ports didn't work) and it says
> install a version of Qt
> 
> [EMAIL PROTECTED] [/usr/X11R6/include] > pkg_info | grep qt
> qt-3.3.3_2  Multiplatform C++ application framework
> [EMAIL PROTECTED] [/usr/X11R6/include] > 
> 
> So that should mean I have qt installed right?
> 
> When I run ./configure script it errors with this:
> 
> checking "if MySQL Version /usr/local/include/mysql is >= 4.0.0"... yes
> Qt is not installed. Please install QT 3.0.5 or later
> 
> After googling and searching I find there is a configure option
> --with-qt=/path/to/qt
> 
> but I can't find the path to qt, tried the /usr/X11R6/ include and bin
> paths still no luck. After yet more googling I can't seem to find the
> exact place qt is installed

Since Qt seems to be installed, you can find all the files that it
installed and where with:

pkg_info -L qt-\*|less

HTH,

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Items exist in ports, but not as packages.

2005-02-21 Thread Randy Pratt
On Mon, 21 Feb 2005 10:50:12 +
Paul Richards <[EMAIL PROTECTED]> wrote:

> Hi,
> I've been trying to install a few packages using 'pkg_add -r' but I
> have found that there are a few which only exist as ports, and not
> packages.  The main one which I am missing is 'vtk-tcl'.
> 
> Is it generally the case that the precompiled packages are not always
> available when the ports are?  According to freshports.org I should be
> able to use 'pkg_add -r' for vtk-tcl.
>  
> Unfortunately I am only allowed (by the girlfriend) to play with
> FreeBSD on an old 1 gig disk and so I don't have the space to install
> ports.  Are there any other sources of precompiled packages which I
> could use?  Is there a way to install just the portion of the ports
> tree which I need?

Portcheckout might be useful in some fashion.

/usr/ports/devel/portcheckout/pkg-descr reads:

  The portcheckout(1) reads the /usr/ports/INDEX file and checks-out
  a given port and its dependencies.  This makes it easy to use the
  ports system without having a full and up-to-date /usr/ports tree.

  A typical use would be to connect to the Internet, possibly download
  a new INDEX and ports upgrade kit, download a port skeleton with
  portcheckout(1), and then build the port.

I was thinking that some possibilities exist here for building a
custom ports tree.  I also have some older machines that take a
long time to build INDEX as well as limited disk space.

YMMV.  I'm sure that the possibilities for shooting one's self 
the foot also exists ;-)

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD motherboard survey site disappeared

2005-02-15 Thread Randy Pratt
There was a site collecting information about motherboards.  It was
at:
http://www.eilio.com/freebsd-motherboards/

It seems to be gone along with all the information that was collected.

For reference, this was the original list mail that started the
project:

http://docs.freebsd.org/cgi/mid.cgi?20031121094707.G89525

Anyone know where the site went or the whereabouts of the site's
owner ( Philip Hallstrom <[EMAIL PROTECTED]> )?

Thanks,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dmesg.boot - strange content...

2005-02-04 Thread Randy Pratt
On Wed, 02 Feb 2005 08:58:18 +0100
Morten Rønseth <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> 
> One of my servers running FreeBSD 5.2.1-RELEASE has the following in its
> dmesg.boot file:
> 
> _max R  *Handler Int
>6 coll_weights_max R  *Handler Int
>7 expr_nest_max R  *Handler Int
>8 line_max R  *Handler Int
>9 re_dup_max R  *Handler Int
>10 posix2_version R  *Handler Int
>11 posix2_c_bind R  *Handler Int
>12 posix2_c_dev R  *Handler Int
>13 posix2_char_term R  *Handler Int
>14 posix2_fort_dev R  *Handler Int
>15 posix2_fort_run R  *Handler Int
>16 posix2_localedef R  *Handler Int
>17 posix2_sw_dev R  *Handler Int
>18 posix2_upe R  *Handler Int
>19 stream_max R  *Handler Int
>20 tzname_max R  *Handler Int
> .
> .
> .
> .
> 
> 
> Now, this I have never seen before, I'm more used to output like this:
> 
> Copyright (c) 1992-2004 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>  The Regents of the University of California. All rights reserved.
> FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
>  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
> Timecounter "i8254" frequency 1193182 Hz quality 0
> .
> .
> .
> 
> 
> Does anybody know what is "wrong" on my 5.2.1 box?
> I cannot for the life of me figure what is going on...

I see some "corruption" of dmesg occasionally when I do a
warm-boot (shutdown -r now).  If I do a "shutdown -h now",
turn off power and wait about 15 seconds for any stored
energy in the capacitors to bleed down, then dmesg will
be as expected.

If this is the case, then I don't think that there's anything
wrong with your box.  If you reboot and the memory is not flushed,
then that buffer may still be intact and will get printed at
boot time.

I have one box that has a card-reader with an LED on the front.
When I "shutdown -h now" and press the power off switch on the
front, that LED will remain lit indicating that there is still
power being applied to the motherboard.  The ATX power supply
seems to leave some power on since the NUMLOCK key stays lit
even after the front panel power switch is pressed and the system
shut down.  To get a real power off condition, I have to shut the
power supply off with its integral switch on the rear of the
computer and wait for the LED to go out (~10 seconds).  Then,
I can reboot with a clean, normal dmesg.

Fortunately, in my case, reboots are not a frequent occurrence.

The next time you need to reboot, try a complete shutdown of
system and interrupting the power.

HTH,

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 3.2

2005-02-03 Thread Randy Pratt
On Thu, 03 Feb 2005 13:39:11 +
[EMAIL PROTECTED] wrote:

> Where am I going to find a 3.2 to install, looked on the net and
> linuxcentral for it with no luck.

You can search ftp sites by architecture/release at:

  http://mirrorlist.freebsd.org/FBSDsites.php

HTH,

Randy
-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: which bittorrent client

2005-01-26 Thread Randy Pratt
On Wed, 26 Jan 2005 03:48:21 -0500
Timothy Luoma <[EMAIL PROTECTED]> wrote:

> 
> Ah, wonderful... I was hoping someone would ask this question.
> 
> Since I'm running sans-X I was wondering what my options were.
> 
> Tried ctorrent, but the UI was really confusing, and it didn't seem to 
> upload (for me, I know it is supposed to).  Checked out the webpage and 
> it explained what the numbers meant (and even admitted it was 
> confusing).  It lacked (or seemed to lack) a timer saying how much time 
> was left.

I also noticed that it was hard to control the upload rate with
ctorrent and of course, confusing to use.

> I tried the python client (btdownloadcurses.py) and it does a really 
> decent job for a command-line utility.  The upload rate did seem really 
> high in comparison w/ the download rate. (I was uploading at 2x the 
> download speed)

If you enter "btdownloadcurses.py" on the command line with no
arguments, you'll get a list of options, one of which is:

  --max_upload_rate 
  maximum kB/s to upload at, 0 means no limit (defaults to 0)

This works quite well for me.

HTH,

Randy

> Are there other non-X BT clients I should try?
> 
> TjL
> 


-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD PVR Solution -- any?

2004-10-17 Thread Randy Pratt
On Sun, 17 Oct 2004 01:53:43 -0500
"Mark Beaver" <[EMAIL PROTECTED]> wrote:

> I'd like to build a FreeBSD based PVR station with at least Svideo output
> and ideally digital coax sound (maybe not dolby digital) 
> 
> Currently I have:
> 
> P3 350 
> 448 Megs of ram
> 160Gigs of storage
> 
> I'd like to know if anyone has had any luck with this type of system if so,
> what kind of hardware.
> 
> If anyone thinks I'd need more hardware, please by all means let me know
> what you've had work for you, (working on a budget so nothing extra
> ordinary) I more or less just want a system that will record reasonably
> well, and possibly play back simultaneously if possible (given budget)
> 
> Anyone have any suggestions ideas?
> 
> FWIW: I'm looking for video cards w/ svideo out, and an encoder card
> (Hauppauge, or the like).

The Conexant MPEG-2 Codec driver for Hauppauge PVR-250/350 TV
cards was added to the ports collection yesterday
(16 Oct multimedia/pvr250).  Updating your ports would pull
that into your tree.

There has been discussions of these cards on the
freebsd-multimedia mailing list which would also be the best
place to post any questions about the cards.

I don't own one of the cards yet so I can't comment on the
performance with the system you mentioned.

Best regards,

Randy
-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: p5-Class-DBI update broken

2004-08-12 Thread Randy Pratt
On Thu, 12 Aug 2004 06:13:48 -0700 (PDT)
Your Name <[EMAIL PROTECTED]> wrote:

> i just updated my Ports tree, and among other things
> there was an update to the p5-Class-DBI port. But i
> can't portupgrade this; it's broken in an odd way:
> 
> ---
> ===>   p5-Class-DBI-0.96_1 depends on file:
> /usr/local/lib/perl5/site_perl/5.8.5/File/Temp.pm -
> not found
> ===>Verifying install for
> /usr/local/lib/perl5/site_perl/5.8.5/File/Temp.pm in
> /usr/ports/devel/p5-File-Temp
> ===>  p5-File-Temp-0.14_1 This module is already
> included in perl 5.8.x and later..
> *** Error code 1
> 
> ---
> 
> However, File::Temp indeed there:
> FreeBSD-CURRENT $ perl -e 'use File::Temp';
> FreeBSD-CURRENT $
> 
> i have re-installed perl-5.8.5, and run pkgdb -F;
> neither fixes things. Is this my problem or the
> port's?

Its a ports thing.

In the databases/p5-Class-DBI/Makefile it has:

   ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp \

for a dependency.  Its not a "registered package" so
portupgrade wants to install it; however, it can't because it
exists as part of the perl-5.8.5 port.

This has been fixed just a short while ago:

http://www.freebsd.org/cgi/cvsweb.cgi/ports/databases/p5-Class-DBI/Makefile

Allow time for the change to propagate to your cvsup server and
then cvsup again.  It should build okay.

Best regards,

Randy



-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portugrade -aR (except)

2004-08-05 Thread Randy Pratt
On Thu, 5 Aug 2004 09:56:50 -0400
Mike Hauber <[EMAIL PROTECTED]> wrote:

> Greetings, all.
> 
> I am running 4.10-Stable, and I have the following question 
> about portupgrade.
> 
> So far, I have not had a successful build of OpenOffice (on 
> any version of FreeBSD...  ever...  so I use their binaries 
> as they become available), and the samba port is broken 
> (until I upgrade the system to 5.x).
> 
> What I do now is simply grep a list of installed ports with 
> updates available and send the outbut to a file. (ie,  # 
> portversion | grep "<" > ~/pupdate.sh )
> 
> Then I edit ~/pupdate.sh so that every line begins with 
> "portupgrade -R."  (And, of course, I delete the samba and 
> OpenOffice entries) In other words my file would look 
> something like this:
> 
> >>>
> #!/bin/sh
> portupgrade -R blip
> portupgrade -R blop
> portupgrade -R bluey
> <<<
> 
> make it executable, run it overnight, and fix the small 
> stuff in the morning.
> 
> Obviously, because I like to upgrade my systems every week, 
> this gets old.  Is there any way I can tell portupgrade to 
> simply portupgrade -aR (except for a specific list of 
> packages)?
> 
> If not, does anyone have a more simple solution?  
> 
> And again, if not, would this be considered a worthy 
> suggestion for the developers of /portupgrade?
> 
> Thanks

Hi,

I think what you're looking for is /usr/local/etc/pkgtools.conf .

Here is an excerpt from that file:

  # HOLD_PKGS: array
  #
  # This is a list of ports you don't want portupgrade(1) to upgrade,
  # portversion(1) to suggest upgrading, or pkgdb(1) to fix.

Its a very handy tool since you can also set make variables which
portupgrade will also honor.

Best regards,

Randy


-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD ISO-image

2004-07-23 Thread Randy Pratt
On Fri, 23 Jul 2004 15:03:38 +0200
Maksym Marchenko <[EMAIL PROTECTED]> wrote:

> On Fri, 23 Jul 2004 08:52:20 -0400, Bill Moran <[EMAIL PROTECTED]> 
> wrote:
> 
> > Maksym Marchenko <[EMAIL PROTECTED]> wrote:
> >> Hello!
> >>
> >> So I need to download FreeBSD iso image 4.10
> >>
> >> Can anybody say, what a difference between miniinst, disc1 and
> >> disc2 iso's
> >
> > miniinst is the minimal reqired to install FreeBSD.  It's
> > designed to be a small download.
> >
> > disc1 is the typical FreeBSD first CD.  It includes FreeBSD and
> > a number of commonly used packages.
> >
> > disc2 is add on stuff.  Lots of packages and perhaps other things
> > (not sure of exact details)
> 
>   May be anyone knows what add on's on it???
>   Or someone used that stuff???

Hi Maksym,

You can view the various disc contents from these files:

http://myfreebsd.homeunix.net/4.10-R-i386-disc1-contents.txt
http://myfreebsd.homeunix.net/4.10-R-i386-disc2-contents.txt
http://myfreebsd.homeunix.net/4.10-R-i386-miniinst-contents.txt

The "disc2" is a fixit/live filesystem and does not seem to contain
any packages.

If you're installing for the first time, the "disc1" will contain
enough for you to install FreeBSD as well as select one of the
more popular desktop environments.  Most users start out this way
and investigate other options as their level of experince increases.

The Handbook installation instructions may also be of interest:

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

I hope this is of some help to you and that your experience with
FreeBSD is as enjoyable as mine has been!

Best regards,

Randy
-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ftp server near me

2004-07-10 Thread Randy Pratt
On Sat, 10 Jul 2004 13:18:36 -0700
"Joshua Lewis" <[EMAIL PROTECTED]> wrote:

> All documentation tells you when running CVSUP or installing FBSD from FTP
> to use the FTP server closest to you.
> 
> So how do you determine the best server. I recall reading a post that said
> run a command that will determine the closest server or fastest server near
> you. I however lost the page I printed out and can't remember the web
> address.
> 
> Any ideas how to find the fastest server near me?

I think your looking for /usr/ports/sysutils/fastest_cvsup .

The "fastest" may change depending on mirror loads or net
conditions so I use this in my script that cvsups things:

# Find fastest cvsup server at the moment
host=`fastest_cvsup -Q -c us`

/usr/local/bin/cvsup -g -L 2 -h $host /your/path/to/supfile

See the manpage for fastest_cvsup for options available of course.
The above is for US cvsup mirrors.  Adjust accordingly.

Best regards,

Randy
-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: allowing users to mount cdrom again

2004-07-08 Thread Randy Pratt
On Thu, 8 Jul 2004 00:41:59 +0200
Grant Speelman <[EMAIL PROTECTED]> wrote:

> Hi
> 
> I read in the previous post about allowing users to mount cdrom and 
> wanted to try it for myself
> I did the follow :
> 
> added vfs.usermount=1 to /etc/sysctl.conf
> changed the permissions on /dev/acd0 to include the user
> restarted freebsd (It's amazing what a restart does for me sometimes)
> 
> but this happens:
> 
> Grant > mount /mnt/cdrom1
> cd9660: /dev/acd1: Operation not permitted

I suspect that you may be trying to mount (as a user) to a
mount point that the user (Grant) does not own.

> I am working in Kde usings Kde's Konsole and have two cdroms on 
> FreeBSD 5.2.1
> Please help

The FAQ has an entry about this:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT

Its easy to overlook that the ordinary users have to own the mount
point to be used.  Follow the steps outlined there and see if that
takes care of your problem.

HTH,

Randy
-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portsclean -DD

2004-07-07 Thread Randy Pratt
On Wed, 07 Jul 2004 12:25:39 -0500 (CDT)
"Conrad J. Sabatier" <[EMAIL PROTECTED]> wrote:

> The man page for portsclean is a little vague on the exact semantics of
> using "portsclean -DD".
> 
> I understand that -D specified once cleans out any distfiles for ports
> which are not currently installed, but specified twice, does it *only*
> clean out distfiles that are unreferenced by any port in the tree, or
> does it do this in addition to the behavior of the single -D switch?
> 
> The reason I ask is that I'd like to share a distfiles directory
> between two machines, and I'd like to be able to simply clean out any
> distfiles that are unreferenced by any port in the tree without
> disturbing the distfiles for any ports that may be installed on either
> box.

Portsclean -DD will clean distfiles for ports which are not
installed _and_ distfiles that are not used by anything in the
ports tree.

You can verify it for yourself with:

portsclean -nDD

since the with the -n, no files are actually deleted and you can
see what action it would have taken.

HTH,

Randy
-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cue images

2004-06-29 Thread Randy Pratt
On Tue, 29 Jun 2004 11:15:36 -0700
Dan Finn <[EMAIL PROTECTED]> wrote:

> Could someone provide me with the correct syntax for burning bin/cue
> files using cdrdao.  I read through the man page but it doesnt' seem
> to recognize my .cue file as a toc file.
> 
> I am trying:
> cdrdao write -v /home/dfinn/videos/CD1/CD1.cue 
> but getting:
> ERROR: Missing toc-file
> 
> Will this burn them in VCD format so that they will play in my home dvd player?
> 
> Thanks
> Dan

Hi Dan,

What I sucessfully use is:

  cdrdao write --device 2,1,0 --driver generic-mmc --speed 8 --eject foo.cue

but some of that may need adjusted depending on your hardware.  The
Handbook has some information on finding which scsi device it is.

Also, you may need to be in the same directory as the .cue file
since the cue file does specify the .bin file to use.  In all 
probability, it will not have the path you show in your example.
Open the .cue file with your favorite editor and you'll see what
I mean.

Best regards,

Randy

> On Sun, 27 Jun 2004 18:15:52 +0200, Miguel Mendez
> <[EMAIL PROTECTED]> wrote:
> > 
> > On Sun, 27 Jun 2004 10:30:58 -0400
> > Jeremy Faulkner <[EMAIL PROTECTED]> wrote:
> > 
> > Hi,
> > 
> > > > Is there any program that runs on fbsd that allows burning cue
> > > > files? I did not find anything about it on the burncd man page.
> > 
> > > .bin/.cue files are not standard. Use ports/sysutils/bchunk to convert
> > > them to a standard ISO image.
> > 
> > Actually, bin/cue is pretty much standard (at least in the win32 world),
> > and sysutils/cdrdao can burn those without any problem.
> > 
> > Cheers,
> > --
> > Miguel Mendez <[EMAIL PROTECTED]>
> > http://www.energyhq.es.eu.org
> > PGP Key: 0xDC8514F1
> > 
> > 
> > 
> > 
> > noname - 1K
> >


-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: what happened to ppp-primer

2004-06-23 Thread Randy Pratt
On Wed, 23 Jun 2004 14:01:35 -0400
"JJB" <[EMAIL PROTECTED]> wrote:

> http://www.freebsd.org/doc/en_US.ISO8859-1/books/ppp-primer/index.ht
> ml
> 
> The directory is there but it's empty.
> 
> Has the ppp-primer been retired, or has someone messed up?

http://www.freebsd.org/cgi/query-pr.cgi?pr=42392

Its been gone since 2002.  No one stepped up to update it so part
of the content was incorporated into the Handbook.

You might be able to use CVS to get them or google the web for
an old copy.  I'm sure there are plenty of stale ones around.

HTH,

Randy


-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I upgrade my FreeBSD Handbook?

2004-06-22 Thread Randy Pratt
On Tue, 22 Jun 2004 20:35:31 -0700 (PDT)
Mark Jayson Alvarez <[EMAIL PROTECTED]> wrote:

> Hi,
>   I've already upgraded my freebsd 4.9 to 4.10 using
> make buildworld and installworld. I also have
> rebuilded the kernel.
>   I'm totally sure that when I used cvsup to fetch the
> sources for FreeBSD 4.10, I have included an "src-all"
> line in the cvsup file, but when I visited
> freebsd.org, their handbook says: 
> 
> Welcome to FreeBSD! This handbook covers the
> installation and day to day use of FreeBSD
> 4.10-RELEASE and FreeBSD 5.2.1-RELEASE. 
> 
> When I look into my handbook inside the
> /usr/share/doc/handbook.. it still says: 
> 
> Welcome to FreeBSD! This handbook covers the
> installation and day to day use of FreeBSD 4.9-RELEASE
> and FreeBSD 5.1-RELEASE.
> 
> Questions:
>   
> Does the make buildworld process also upgrades my
> Handbook? 'Coz it wasn't what i saw after doing such.

Hi Jay,

The "make buildworld" process only deals with the system
sources.

There are three separate trees (src, ports and docs) that most
users are concerned with.  Each one uses its own toolchains to
do the updating.

> If not, then how will I do that?..I mean, can I fetch
> its sources and run a "make"?

Its pretty easy actually.  The first thing that needs to be done
is to install the tools needed to build the documents from the
sources.  The textproc/docproj port is a meta-port which will
install all the necessary tools:

# cd /usr/ports/textproc/docproj/
# make JADETEX=yes install clean

I show JADETEX=yes since you can only make HTML or ASCII text
output if you install the tools using JADETEX=no.  JADETEX is a
large port so if HTML/ASCII is sufficient for your needs then there's
no reasont to build with JADETEX.  You can always add it later if
you change your mind.  Doing the build will take a little while
since there are quite a few dependencies, so be patient.

After this, the steps involved in keeping your local documents
current is simple.  You need to cvsup document sources first.
Take the example doc-supfile:

/usr/share/examples/cvsup/doc-supfile

and modify it by changing the line:

*default host=CHANGE_THIS.FreeBSD.org

to a cvsup server close to you as you did for your source supfile
and cvsup the sources.  Once you have the new doc sources, then you
can build them:

# cd /usr/doc/en_US.ISO8859-1
# make install clean

This will build all the english "Books" and "Articles" and doesn't
take all that long.  The process is similar for other languages.
Building in the directory /usr/doc would build *all* languages
if that is what you wanted to do.  This would, of course, take a
bit longer.

That's the basic process involved.  If you're interested in more
detail of how all this magic works, take a look at:

http://www.freebsd.org/docproj/index.html

> And that would be all..
> 
> thanks!
> -jay

You're welcome... enjoy the new toys ;-)

Best regards,

Randy
-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Devil Mascot

2004-06-15 Thread Randy Pratt
On Tue, 15 Jun 2004 09:53:57 -0400
"Mi A. Llort" <[EMAIL PROTECTED]> wrote:

> On Sun, Jun 13, 2004 at 05:02:49PM -0700, Edward Hendrie wrote:
> > Why do you have a Devil for a trademark mascot?  From a marketing
> 
> Ed, it's obvious you've hit a nerve.
> 
> Many list subscribers who have never contributed before, feel
> compelled to reply, repeating the same explanations which have
> been posted only minutes before by others.
> 
> The FreeBSD devil may have been responsible for the fall of the great
> PTL Club during the 1980's. During his trial, Jim Bakker explained,
> "...the devil got into the computer."
> 
> That's enough for me.
> 
And of course clearly demonstrates that the logo is "The mark of
the Beastie"...  ;-)

-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Improper shutdown of system / Fragmentation Problems / Boot

2004-06-09 Thread Randy Pratt
On Wed, 9 Jun 2004 14:45:06 -0400 (EDT)
Jerry McAllister <[EMAIL PROTECTED]> wrote:

> > 
> > On Wed, 9 Jun 2004 07:05:43 +0800
> > Robert Storey <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > > > I am kinda new to FBSD, still kinda learning stuff. Anyway, when my
> > > > system boots i see all kinda fragmentation information. How do I
> > > > correct this? Any good reading material? 
> > > 
> > > FreeBSD will defragment itself without any action from the user.
> > > However, defragmentation requires some blank space, and (ideally) you
> > > should not let any partition get more than 80% full. You can check on
> > > that with "df -h":
> > 
> > I've been running partitions well over 90% for over six years on
> > FreeBSD and have not seen any problems with doing so.
> > 
> > Do you have a FreeBSD documentation reference for that 80% figure?
> 
> It is mentioned as a recommendation.  It is not an absolute.
> Do a little searching and you will probably find some references.
> We have some that run in to the 90-s most of the time too.  It
> depends on what you are actually doing.   If it is a fairly stable
> collection of data that doesn't get a lot written to it most of
> the time, it shouldn't matter.   If it is very volatile - lots of
> files come and go, then it could make a bigger difference.  Unless
> it gets to the 100% mark (except for root) with that 100% being with
> the set-aside already taken out, it shouldn't cause anything to crash.

While most of the data/files are stable, there's probably a few
Gigs that come and go with fair regularity.  I update the box
very frequently (ports, docs and sources) so that adds to the
churning I'm sure.

I'll start watching for any performance hits the next time it gets
over 95% full.  I'm just a bit surprised that I've not noticed
anything.

Thanks for the response.  Much appreciated.

Best regards,

Randy

> jerry
> 
> > 
> > Thanks,
> > 
> > Randy
> > 
> > > [EMAIL PROTECTED]:~> df -h
> > > FilesystemSize   Used  Avail Capacity  Mounted on
> > > /dev/ad0s2a   248M68M   160M30%/
> > > devfs 1.0K   1.0K 0B   100%/dev
> > > /dev/ad0s2g   2.4G   281M   1.9G13%/home
> > > /dev/ad0s2e   248M   1.2M   227M 1%/tmp
> > > /dev/ad0s2f   8.7G   2.4G   5.6G30%/usr
> > > /dev/ad0s2d   248M17M   211M 8%/var
> > > 
> > > The column labeled "Capacity" tells you the percentage of space being
> > > consumed - over 80% would be bad. Note that the "devfs" uses 100% (on
> > > FBSD 5.x, it doesn't exist on 4.x) - that's no problem, it's not a
> > > partition and it will always be 100%.
> > > 
> > > regards,
> > > Robert
> > > 
> > > 
> > 
> > 
> > -- 
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> > 
> 


-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Improper shutdown of system / Fragmentation Problems / Boot logs

2004-06-09 Thread Randy Pratt
On Wed, 9 Jun 2004 14:36:52 -0400
Bill Moran <[EMAIL PROTECTED]> wrote:

> Randy Pratt <[EMAIL PROTECTED]> wrote:
> 
> > On Wed, 9 Jun 2004 07:05:43 +0800
> > Robert Storey <[EMAIL PROTECTED]> wrote:
> > 
> > > 
> > > > I am kinda new to FBSD, still kinda learning stuff. Anyway, when my
> > > > system boots i see all kinda fragmentation information. How do I
> > > > correct this? Any good reading material? 
> > > 
> > > FreeBSD will defragment itself without any action from the user.
> > > However, defragmentation requires some blank space, and (ideally) you
> > > should not let any partition get more than 80% full. You can check on
> > > that with "df -h":
> > 
> > I've been running partitions well over 90% for over six years on
> > FreeBSD and have not seen any problems with doing so.
> > 
> > Do you have a FreeBSD documentation reference for that 80% figure?
> 
> man tunefs
> 
> See, in particular, the section on the -m option, which describes (in brief)
> the known performance problems and how FreeBSD reacts.

My minfree space is at the default of 8% and the man page says this
is space held back from normal users.  Is that 8% also held back
from the df output?  I'm thinking that it is since I've seen posts
where users have greater than 100% showing in their df output.

I was interpreting the 80% number being applied to the numbers
shown by df.  If its 98% as shown by df 
(8% minfree + 2% more = 10% of total disk capacity), then that isn't
too bad.  I think I'm under that most of the time.

Would the total disk size start to come into play at some point?
10% of an 8G disk is a whole lot smaller than 10% of a 200G disk.

Thanks for the pointer too!

Best regards,

Randy

> Robert's numbers aren't quite right.  The point at which performance starts to
> suck is 90% full.
> 
> You won't have any _problems_, it's just that performance will degrade,
> according to the man page, up to 3x slower.
> 
> -- 
> Bill Moran
> Potential Technologies
> http://www.potentialtech.com


-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Improper shutdown of system / Fragmentation Problems / Boot logs

2004-06-09 Thread Randy Pratt
On Wed, 9 Jun 2004 07:05:43 +0800
Robert Storey <[EMAIL PROTECTED]> wrote:

> 
> > I am kinda new to FBSD, still kinda learning stuff. Anyway, when my
> > system boots i see all kinda fragmentation information. How do I
> > correct this? Any good reading material? 
> 
> FreeBSD will defragment itself without any action from the user.
> However, defragmentation requires some blank space, and (ideally) you
> should not let any partition get more than 80% full. You can check on
> that with "df -h":

I've been running partitions well over 90% for over six years on
FreeBSD and have not seen any problems with doing so.

Do you have a FreeBSD documentation reference for that 80% figure?

Thanks,

Randy

> [EMAIL PROTECTED]:~> df -h
> FilesystemSize   Used  Avail Capacity  Mounted on
> /dev/ad0s2a   248M68M   160M30%/
> devfs 1.0K   1.0K 0B   100%/dev
> /dev/ad0s2g   2.4G   281M   1.9G13%/home
> /dev/ad0s2e   248M   1.2M   227M 1%/tmp
> /dev/ad0s2f   8.7G   2.4G   5.6G30%/usr
> /dev/ad0s2d   248M17M   211M 8%/var
> 
> The column labeled "Capacity" tells you the percentage of space being
> consumed - over 80% would be bad. Note that the "devfs" uses 100% (on
> FBSD 5.x, it doesn't exist on 4.x) - that's no problem, it's not a
> partition and it will always be 100%.
> 
> regards,
> Robert
> 
> 


-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


portupgrade -c (was Re: Boot GUI / Boot data and process / Fragmentation)

2004-06-08 Thread Randy Pratt
On Tue, 8 Jun 2004 00:59:58 -0700
Kent Stewart <[EMAIL PROTECTED]> wrote:

> On Tuesday 08 June 2004 12:37 am, Bruce Hunter wrote:
> > Thanks for your help Kent
> >
> > I read something about using portversion -c with the portupgrade
> > command to upgrade installed pkgs that needed to be updated.
> >
> > When I run portversion -c  :: I get a print out of things needed to
> > be upgraded and at the end, it shows a 'if' statment.
> >
> > How do you use this command with portupgrade so it just updates them
> > instead of just showing me. Just do it dang it... just do it! ;o)

The output of "portversion -c" needs to be redirected to a file:

portversion -c > scriptname.sh

To make it usable as a shell script, it needs to have

#!/bin/sh

added at the top to insure that it uses the sh command interperter.
Then, the script needs to be made executable:

chmod 744 scriptname.sh

Then it can be run as root:

./scriptname.sh

> I'm not the one to ask because I use the -c and do them one at a time. 
> The portupgrade option -rRa will do some of it. I just want it to do it 
> at my convience and choosing :). I also have an AMD 2400+ that sits off 
> to the side of my computer desk and I build everything on it. The 
> problem with the -c list is that it doesn't build dependancies first.

I think it will build the required dependencies first *if* they
need updated.  The synopsis of portupgrade is:

portupgrade [ ... bunch of options ... ] pkgname-glob

A list of ports can be passed to portugrade and it will check which
needs to be built first.  This can easily be checked if you have
doubts.  Use -n for "no-execute" and -f to "force".  This is a test
case I tried where liveMedia is a dependency of mplayer:

  # portupgrade -nf mplayer-gtk-esound-0.92.1_2 liveMedia-2004.06.07,1
  --->  Session started at: Tue, 08 Jun 2004 11:06:39 -0400
  --->  Reinstallation of net/liveMedia started at: Tue, 08 Jun 2004
11:06:40 -0400
  --->  Reinstalling 'liveMedia-2004.06.07,1' (net/liveMedia)
OK? [no]
  --->  Reinstallation of net/liveMedia ended at: Tue, 08 Jun 2004
11:06:40 -0400 (consumed 00:00:00)
  --->  Reinstallation of multimedia/mplayer started at: Tue, 08 Jun
2004 11:06:41 -0400
  --->  Reinstalling 'mplayer-gtk-esound-0.92.1_2'
(multimedia/mplayer)
OK? [no]
  --->  Reinstallation of multimedia/mplayer ended at: Tue, 08 Jun
2004 11:06:41 -0400 (consumed 00:00:00)
  --->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
+ net/liveMedia (liveMedia-2004.06.07,1)
+ multimedia/mplayer (mplayer-gtk-esound-0.92.1_2)
  --->  Packages processed: 2 done, 0 ignored, 0 skipped and 0 failed
  --->  Session ended at: Tue, 08 Jun 2004 11:06:41 -0400 (consumed 00:00:01)
  #

Notice that liveMedia was updated first even though it was last in
the list of ports passed to portupgrade.  The portversion -c 
produces a list of ports and stores them in its variable $pkgs.
Portupgrade will take the list and build them in the correct
dependency order.

I've used this approach for several years now and it works fine.

However, caution should be used when scripting the upgrading of
ports.  After cvsupping and running portsdb -Uu, the
/usr/ports/UPDATING should be read and any items that are
applicable to the installation should be followed before running
any scripts or other portupgrade commands.

If you still prefer doing ports manually, the output of
portupgrade -c can still be useful.  By modifying the script
slightly, it will produce a list of ports to be updated in the
order they should be updated.  Just change the line:

portupgrade "$@" $pkgs

to:

pkg_glob $pkgs | pkg_sort

It should be noted that some ports may not work until the entire
list is updated and as usual, your mileage may vary.

I'm sure someone will correct me if I'm thinking wrong about this.

Best regards,

Randy

[ ... other topics snipped ... ]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PPPoE/tun0 doesn't work after upgrade to 4.10 Stable

2004-06-07 Thread Randy Pratt
On Mon, 7 Jun 2004 11:22:45 +0200
[EMAIL PROTECTED] wrote:

> Hello All,
> 
> i run into somekind of trouble after upgrading to the latest stable
>version of FreeBSD.
> 
> After building and installing a new kernel and world from
> 4.9-Stable to 4.10-Stable the ppp-Deamon can't connect to my isp
> anymore.
> 
> I have to switch to the old kernel to get it up and running again.
> Because ppp is working with the old kernel and ppp-config very
> well there must be some changes in the kernelconfig-file which i
> did not see. 
> 
> dmesg on the 4.10 Kernel says that every network interface is
> there, up and running.
> 
> Does someone have had the same problem or a hint of what went
> wrong??
>  
> 
> Thank you very much
>  Michael

You didn't miss any changes to the kernel config file.  I had
the same issues come up with PPPoE.

>From the dates in the ppp log, you hit the period where there
was a problem.  It has been fixed.  Since you're able to connect
using the old kernel, I'd suggest cvsupping new sources and
rebuilding.

HTH,

Randy


> 
> ppp.log:
> 
> Jun  4 19:24:48 server ppp[743]: tun0: Command: /dev/tty: set log +debug
> Jun  4 19:24:50 server ppp[743]: tun0: Command: /dev/tty: dial dsl
> Jun  4 19:24:50 server ppp[743]: tun0: Debug: ReadSystem: Checking default 
> (/etc/ppp/ppp.conf).
> Jun  4 19:24:50 server ppp[743]: tun0: Debug: ReadSystem: Checking dsl 
> (/etc/ppp/ppp.conf).
> Jun  4 19:24:50 server ppp[743]: tun0: Debug: ReadSystem: Checking dsl 
> (/etc/ppp/ppp.conf).
> Jun  4 19:24:50 server ppp[743]: tun0: Command: dsl: set device PPPoE:rl1
> Jun  4 19:24:50 server ppp[743]: tun0: Command: dsl: set mru 1492
> Jun  4 19:24:50 server ppp[743]: tun0: Command: dsl: set timeout 0
> Jun  4 19:24:50 server ppp[743]: tun0: Command: dsl: set authname net37294814
> Jun  4 19:24:50 server ppp[743]: tun0: Command: dsl: set authkey 
> Jun  4 19:24:50 server ppp[743]: tun0: Command: dsl: set dial
> Jun  4 19:24:50 server ppp[743]: tun0: Command: dsl: set login
> Jun  4 19:24:50 server ppp[743]: tun0: Command: dsl: add default HISADDR
> Jun  4 19:24:50 server ppp[743]: tun0: Phase: bundle: Establish
> Jun  4 19:24:50 server ppp[743]: tun0: Phase: deflink: closed -> opening
> Jun  4 19:24:50 server ppp[743]: tun0: Debug: List of netgraph node ``rl1:'' (id 3) 
> hooks:
> Jun  4 19:24:50 server ppp[743]: tun0: Debug:   Found orphans -> ethernet
> Jun  4 19:24:50 server ppp[743]: tun0: Debug: Connecting netgraph socket .:tun0 -> 
> [6]::tun0
> Jun  4 19:24:50 server ppp[743]: tun0: Debug: Sending PPPOE_CONNECT to .:tun0
> Jun  4 19:24:50 server ppp[743]: tun0: Debug: Found the following interfaces:
> Jun  4 19:24:50 server ppp[743]: tun0: Debug:  Index 1, name "rl0"
> Jun  4 19:24:50 server ppp[743]: tun0: Debug:  Index 2, name "rl1"
> Jun  4 19:24:50 server ppp[743]: tun0: Debug:  Index 3, name "rl2"
> Jun  4 19:24:50 server ppp[743]: tun0: Debug:  Index 4, name "lp0"
> Jun  4 19:24:50 server ppp[743]: tun0: Debug:  Index 5, name "lp1"
> Jun  4 19:24:50 server ppp[743]: tun0: Debug:  Index 6, name "lp2"
> Jun  4 19:24:50 server ppp[743]: tun0: Debug:  Index 7, name "ppp0"
> Jun  4 19:24:50 server ppp[743]: tun0: Debug:  Index 8, name "sl0"
> Jun  4 19:24:50 server ppp[743]: tun0: Debug:  Index 9, name "faith0"
> Jun  4 19:24:50 server ppp[743]: tun0: Debug:  Index 10, name "lo0"
> Jun  4 19:24:50 server ppp[743]: tun0: Debug:  Index 11, name "tun0"
> Jun  4 19:24:50 server ppp[743]: tun0: Phase: deflink: Connected!
> Jun  4 19:24:50 server ppp[743]: tun0: Phase: deflink: opening -> dial
> Jun  4 19:24:50 server ppp[743]: tun0: Chat: deflink: Dial attempt 1 of 1
> Jun  4 19:24:50 server ppp[743]: tun0: Phase: deflink: dial -> carrier
> Jun  4 19:24:50 server ppp[743]: tun0: Debug: Waiting for carrier
> Jun  4 19:24:54 server last message repeated 4 times
> Jun  4 19:24:55 server ppp[743]: tun0: Phase: deflink: Disconnected!
> Jun  4 19:24:55 server ppp[743]: tun0: Phase: deflink: carrier -> hangup
> Jun  4 19:24:55 server ppp[743]: tun0: Debug: deflink: Close
> Jun  4 19:24:55 server ppp[743]: tun0: Phase: deflink: Connect time: 5 secs: 0 
> octets in, 0 octets out
> Jun  4 19:24:55 server ppp[743]: tun0: Phase: deflink: 0 packets in, 0 packets out
> Jun  4 19:24:55 server ppp[743]: tun0: Phase:  total 0 bytes/sec, peak 0 bytes/sec 
> on Fri Jun  4 19:24:50 2004
> Jun  4 19:24:55 server ppp[743]: tun0: Phase: deflink: hangup -> closed
> Jun  4 19:24:55 server ppp[743]: tun0: Debug: route_IfDelete (11)
> Jun  4 19:24:55 server ppp[743]: tun0: Debug: Found ff02:b::/32 
> fe80:b::2e0:7dff:fe81:df6a
> Jun  4 19:24:55 server ppp[743]: tun0: Debug: route_IfDelete: Skip it (pass 0)
> Jun  4 19:24:55 server ppp[743]: tun0: Debug: Found ff02:b::/32 
> fe80:b::2e0:7dff:fe81:df6a
> Jun  4 19:24:55 server ppp[743]: tun0: Debug: wrote 148: cmd = Delete, dst = 
> ff02:b::/32, gateway = 
> Jun  4 19:24:55 server ppp[743]: tun0: Phase: bundle: Dead
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> 
> 
> 
> 
> 
> -- 
> 


Re: Apache pkg-messagees

2004-06-06 Thread Randy Pratt
On Sun, 6 Jun 2004 23:24:47 +0200
"Hutterer Robert" <[EMAIL PROTECTED]> wrote:

> After upgrading to apache 1.3.29_4 you have to add a line to rc.conf
> pkg_message in the ports tree says:
> 
> ===>  BE CAREFULL HOW TO BOOT on 1.3.29_4 or after:
>   To run apache www server from startup, add apache_enable="YES"
>   in your /etc/rc.conf.
> 
> THIS IS A CLEAR MESSAGE
> 
> In a similar way changes were made for apache-2.0.49_2 
> BUT WHAT DOES THIS PKG-MESSAGE MEAN???
> 
> "Since 2.0.49_2, apache startup script is now enabled/disabled via 
> rc.subr.
> Available variables:
> - apache2_enable (bool):  Set to "NO" by default.
>   Set it to "YES" to enable apache2
> - apache2ssl_enable (bool):   Set to "NO" by default.
>   Set it to "YES" to start apache with SSL 
>   (if  exists in httpd.conf)
> - apache2limits_enable (bool):Set to "NO" by default.
>   Set it to yes to run `limits $limits_args`
>   just before apache starts.
> - apache2_flags (str):Set to "" by default.
>   Extra flags passed to start command
> - apache2limits_args (str):   Default to "-e -U %%WWWOWN%%"
>   Arguments of pre-start limits run."
> 
> Should also some lines be addes to rc.conf ?? Which one???
> 
> Clear messages would be very helpfull!!

The entries go in /etc/rc.conf and take the form of other entries:

apache2_enable="YES"

The "(bool)" is a "YES" or "NO" value.  Take a look at
man rc.conf for more examples of this.  Whether or not you need
additional apache2 settings in /etc/rc.conf will depend on what
you need.  Chances are, if you don't know what they mean, then
you won't need them.

There has been an update to the pkg-message:

  http://docs.freebsd.org/cgi/mid.cgi?200406062153.i56LrItr083680

Often, you may find discussions in the archives relating to an
issue you're having.  I use the google-freebsd:

  http://groups.google.com/groups?hl=en&group=mailing.freebsd

You can limit it to just the FreeBSD mailing lists by checking
the appropriate circle.  Try that and search for "apache2_enable"
and it'll turn up yesterday's discussion of this same topic.

Hope this helps some.

Randy

-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: upgraded perl ... now missing mods that was installed before upgrade

2004-06-06 Thread Randy Pratt
On Sun, 06 Jun 2004 12:48:27 -0700
"white vamp" <[EMAIL PROTECTED]> wrote:

> i did a portupgrade -acCrRv -x kde
> and every thing upgraded just fine and now when i goto run perl -MCPAN -e 
> shell
> it loads ok but in the shell if i do a install Bundle::CPAN or any outhere 
> one it cant seam to find net::ftp
> and also sence i did my portupgrade all of my  perl modules are missing now 
> .. that i had installed before the upgrade .. any ideas on how i can get the 
> mods back?? or do i have to figure out all the mods that i had installed 
> previousely and reinstall them??
> 
> and thx inadvance for any help on this
> 
> David D.
> 
> PS:
> 
> Summary of my perl5 (revision 5 version 8 subversion 4) configuration:
> 
> uname -a
> FreeBSD vampextream.com 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Thu Jun  3 
> 15:24:56 PDT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/VAMPEXTREAM  
> i386
> 
> 
> and my perl ver before was 5.8.2  ( before the upgrade )
> 
> PSS:
> an example of of some of my missing mods are
> Text::Iconv
> net::ftp
> Can't locate auto/Compress/Zlib/autosplit.ix

Take a look at /usr/ports/UPDATING .  In particular, the entry:

20040531:
  AFFECTS: users of lang/perl5.8

It may be of some help.  Its a good idea to get into the habit
of reading and following the instructions in UPDATING.  I do
the things in UPDATING before updating any other ports since it
may affect the upgrading of other ports.

If you have followed those instructions, then pardon my noise.

Best regards,

Randy
-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: voice talk between 2 FBSD boxs

2004-06-06 Thread Randy Pratt
On Sun, 6 Jun 2004 13:13:31 -0400
"JJB" <[EMAIL PROTECTED]> wrote:

> The talk command is not really voice talk but what is normally
> considered as console text chat these days.
>
> Is there an 2 way voice talk command or port application between 2
> unix type systems with an ms/windows version?

cd /usr/ports
make search key="phone"

Try other keys such as "voice", "conferencing" and the like.

If you don't have a ports tree or prefer a gui search:

http://www.freebsd.org/ports/

I've no idea what works with windows.  Google is your friend there.

Randy

-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sending messages

2004-06-05 Thread Randy Pratt
On Sat, 5 Jun 2004 15:50:21 +0200
Michal Pasternak <[EMAIL PROTECTED]> wrote:

> arden [Sat, Jun 05, 2004 at 02:45:31PM +0100]:
> > reading the windows messaging thread with interest was wondering how you
> > would message a *nix box on the same network ?
> 
> man talk
> 
> Pity it's disabled by default in many today's unices, it was a great
> time using it to talk with various people on the net (and, sometimes
> exploiting bugs in talkd ;).

Yep, I agree.  Turning on ntalkd (/etc/inetd.conf) is one of the first
things I do on a new box.  I still use talk daily to keep in touch
with friends.  Often, we will use talk over an ssh connection but
this requires having an account on the box.  It'd be nice if there
were an encrypted version of ntalkd.

The thing I like about the unix talk is that it doesn't require any
3rd party servers like IRC, ICQ or whatever.  Its strictly box to
box.  I've even went so far as to hack talkd/announce.c to play a
wav file when a talk request is received.

The port net/ytalk is similar and allows more than 2 parties to
talk.  It also needs the ntalkd turned on.

Randy
-- 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >