RE: courier confusion

2004-01-22 Thread Lee Mx
From: Mauricio <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: courier confusion
Date: Thu, 22 Jan 2004 15:02:07 -0500
	I installed the courier mail server using portupgrade in this freebsd 5.1 
box.  pkg_info reports it as

courier-ldap-mysql-pgsql-0.44.0 Courier SMTP IMAP POP3 HTTP mail server 
suite
For starters, I would suggest upgrading the port to 44.2 which is the 
latest.
so, I then decided to confiigure it so I can actually use it.  From the 
documentation, most of the files I need to access are in /usr/lib/courier.  
But, when I look for the "courier" directory, I find it in many places but 
the one that is mentioned above:
Courier is designed so you can install it basically anywhere and what you 
have found are the FreeBSD default location.

daffy# find / -name courier -print
/usr/local/etc/courier
This is where you  will configure courier.  I suggest you read
/usr/local/libexec/courier
and /usr/local/libexec/authlib is also courier :)

/usr/local/sbin/courier
See Install - post installation checks.

/usr/local/share/doc/courier
This are the docs for courier.  You certainly want to read INSTALL and FAQ 
at a minimum and that should answer most of your questions.  They exist in 
both this and the html directory.
/usr/local/share/courier
Mostly configuration executibles for configuring Courier.
/usr/ports/mail/courier
/var/mail/courier
/var/spool/courier
daffy#
Now, that makes me feel a bit concerned.  I have no problem with it sitting 
on /usr/local, but since the docs mention a lot the lib directory, and I 
cannot find it, I get concerned.  Further down in the documentation, there 
is a mention of the file /usr/lib/courier/bin/sendmail.  Looking for 
sendmail, I found it everywhere but inside a courier directory:
See: /etc/mail/mailer.conf should give courier paths also you might want to 
do a
ls -l `which sendmail` should help understand.

daffy# find / -name sendmail -print
/usr/libexec/sendmail
/usr/libexec/sendmail/sendmail
/usr/local/bin/sendmail
/usr/sbin/sendmail
/usr/share/sendmail
/usr/src/contrib/file/Magdir/sendmail
/usr/src/contrib/sendmail
/usr/src/contrib/sendmail/include/sendmail
/usr/src/etc/rc.d/sendmail
/usr/src/etc/sendmail
/usr/src/share/sendmail
/usr/src/usr.sbin/sendmail
/usr/ports/mail/sendmail
/usr/obj/usr/src/usr.sbin/sendmail
/usr/obj/usr/src/usr.sbin/sendmail/sendmail
/usr/obj/usr/src/etc/sendmail
/var/tmp/temproot/usr/libexec/sendmail
/var/tmp/temproot/usr/obj/usr/src/etc/sendmail
/var/tmp/temproot/usr/share/sendmail
/etc/rc.d/sendmail
/etc.old/rc.d/sendmail
daffy#
Am I missing something here?  Because, it does feel like courier's sendmail 
may have been installed wherever it felt doing so.  Or nowhere at all. =(
Courier's sendmail in in /usr/local/bin/sendmail.  I suggest you read the 
courier docs and you might want to do man mailer.conf

I'm running courier from the 44.2 port every since it was updated with no 
problems what so ever.

Good luck,

_
There are now three new levels of MSN Hotmail Extra Storage!  Learn more. 
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1

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


Re: stumped... .

2004-01-18 Thread Lee Mx

"How can I delete all lines from /^PATTERN to EOF??"
I think that I read it wrong.  Either way he has a solution ;-)

Unless I'm reading it wrong, he wants to *keep* everything from the
beginning of the file to /^PATTERN/ and NOT keep everything else all the
way to EOF.  The diff. between what I suggested and the what other
suggested is that using 'q' would be inclusive, while the others are
exclusive of the line matched by /^PATTERN/.  However, it wasn't clear
which he wanted.
Nathan
--
gpg --keyserver pgp.mit.edu --recv-keys D8527E49
<< attach3 >>
_
Rethink your business approach for the new year with the helpful tips here. 
http://special.msn.com/bcentral/prep04.armx

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


Re: stumped... .

2004-01-18 Thread Lee Mx
From: Nathan Kinkade <[EMAIL PROTECTED]>
Reply-To: Nathan Kinkade <[EMAIL PROTECTED]>
To: Gary Kline <[EMAIL PROTECTED]>
CC: FreeBSD Mailing List <[EMAIL PROTECTED]>
Subject: Re: stumped... .
Date: Sun, 18 Jan 2004 09:54:23 -0600
On Sat, Jan 17, 2004 at 09:06:45PM -0800, Gary Kline wrote:
> On Sun, Jan 18, 2004 at 02:48:42PM +1100, Gautam Gopalakrishnan wrote:
> > On Sat, Jan 17, 2004 at 07:09:12PM -0800, Gary Kline wrote:
> > >
> > >  I've written scores of scripts to hack text files, but this
> > >  one has me dead in the water.
> > >
> > >  How can I delete all lines from /^PATTERN to EOF??
> > >
> >
> > sed -e '/pattern/,$d'
> >
>
>Yep.  Thisis what i used, in fact.  thanks.
>
>gary
Here is another option using sed that takes 2 less keystrokes :)

$ sed -e '/pattern/q'
This would give line 1 to the pattern, wouldn't it,  Rather than pattern to 
EOF.

Nathan
--
gpg --keyserver pgp.mit.edu --recv-keys D8527E49
<< attach3 >>
_
There are now three new levels of MSN Hotmail Extra Storage!  Learn more. 
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1

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


Re: stumped... .

2004-01-18 Thread Lee Mx

> > On Sat, 17 Jan 2004, Gary Kline wrote:
> >
> > >
> > > I've written scores of scripts to hack text files, but this
> > > one has me dead in the water.
> > >
> > > How can I delete all lines from /^PATTERN to EOF??
> > >
> > > ed - < > >
> > > /^PATTERN
> > > (.,$)d
> > > w
> > > q
> > > foo
> > >
> > > or anything else I've tried doesn't do it.  I could do it in
> > > C/C++,but c'mon... !  Any solutions in sed, perl, or ed/ex?
> >
> > Well, you didn't mention awk, but...
> >
> >
> > awk '$0 ~ /^PATTERN/ {x=1}; {if (x!=1) print $0}' < foo > bar
> >
>
> Wouldn't it be neater to do
>
>   nawk '/^PATTERN/ { exit } ; { print }'
Couldn't sed '/^PATTERN/,$d' < foo > bar be a bit faster?

_
Check out the new MSN 9 Dial-up — fast & reliable Internet access with prime 
features! http://join.msn.com/?pgmarket=en-us&page=dialup/home&ST=1

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


Re: How do YOU stay up to date?

2004-01-15 Thread Lee Mx
From: "Roger 'Rocky' Vetterberg" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: freebsd-questions <[EMAIL PROTECTED]>
Subject: Re: How do YOU stay up to date?
Date: Thu, 15 Jan 2004 11:34:45 +0100
Duane Winner wrote:

Hello all again,

I'm finally getting my arms around FreeBSD and the updating processes
and tools. But I'm still trying to come up with good
habits/methods/instructions for updating routines for both myself and my
colleagues who also want to switch to FreeBSD.
I now understand how to use cvsup to keep my src and ports tree current.
I know how to use pkg_add -r to install new sotware, or go into
/usr/ports/whatever to make install. I know how to do portupgrade to
upgrade my installed ports, how to pkg_version -v to see what's out of
date with my tree, and how to cronjob cvsup to keep my trees current. (I
still need to play more with make world and whatnot)
But what do you all out there in BSD land do to stay current as a
practice? I'm looking at this on two fronts: FreeBSD on our laptops
(There will be at least 3 of us with T23's, and I also plan on migrating
most, if not all of my servers from Linux to FreeBSD).
If you have the resources, you should consider using a dedicated machine 
for compiling.
With ~10 laptops, a bunch of workstations and about 20-25 servers running 
FreeBSD we use 2 dedicated machines that does nothing but download sources 
and compiles them. One is tracking 4.x-STABLE and the other 5.x-RELEASE. 
Anyone can nfs mount choosen directories from these machines and install 
the pre-compiled software.
It works extremely well, once the users have learned the correct process.
I'm doing something very similar with a dedicated server and for ports I do 
a daily upgrade with portupgrade -Rruap to upgrade and build a package that 
the users can then install because I have some very slow machines that would 
take days to build some of the larger ports and by just having the server's 
/usr/ports nfs mounted on their machines they can upgrade quickly by just 
using the -P option to portupgrade.  I'm not sure if that is the best way to 
do it but it has worked well for me for sometime.

Good luck,

_
There are now three new levels of MSN Hotmail Extra Storage!  Learn more. 
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1

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


Re: ZOT Print Server....

2003-12-31 Thread Lee Mx
From: Eric F Crist <[EMAIL PROTECTED]>
To: "Lee Mx" <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED],[EMAIL PROTECTED]
Subject: Re: ZOT Print Server
Date: Tue, 30 Dec 2003 23:12:22 -0600

On Tuesday 30 December 2003 08:52 pm, Lee Mx wrote:
>
> The only difference between your entry and mine is the rp that I 
commented
> out for some reason that I don't remember right now.  I assume that you 
get
> no errors.
>
> What do
>
> #  lpc status lp1
> #  lpc restart lp1
>
> give you?  I get:
>
> # lpc status lp
> lp:
> queuing is enabled
> printing is enabled
> no entries in spool area
> printer idle
>
> # lpc restart lp
> lp:
> no daemon to abort
> printing enabled
> daemon restarted
>
> I'm just guessing now.  I have no idea unless one of the above commands
> gives you an error.  The only thing that bothers me is the rp entry that 
I
> commented out and on another box I ended up with rp=raw.

I get exactly the same responses to those commands.  Also, I didn't 
mention,
but I did note the difference between the two and tried commenting out the 
rp
line, no effect on the printing ability that I can tell.
Eric,

If I were smart I would give up now and quit showing my ignorance by not 
being able to help you, but I'm not. ;-)  I've used network printers for 
years and have never had a problem.  I assume that the responses above are 
for lp1 and that you can ping 192.168.1.printer_ip and the mac is the 
correct one (want to be sure the packets are going where we think they are 
going.) netstat -nr will give you that one.  Unfortunately, these have 
always worked out of the box for me so I have no experience troubleshooting 
them.  The worst case for me has been that you need a windows box to set 
dhcp with propriatary software:)

sorry,

P.S. Did you try to print the test page from apsfilter?   Can the windows 
boxes access it through the ip?  (looking for the needle in the haystack.)

_
Make your home warm and cozy this winter with tips from MSN House & Home.  
http://special.msn.com/home/warmhome.armx

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


Re: ZOT Print Server....

2003-12-30 Thread Lee Mx
From: Eric F Crist <[EMAIL PROTECTED]>
To: "Lee Mx" <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED],[EMAIL PROTECTED]
Subject: Re: ZOT Print Server
Date: Tue, 30 Dec 2003 19:42:51 -0600

On Tuesday 30 December 2003 07:22 pm, Lee Mx wrote:
> I forgot to ask in the previous email but if it doesn't help would you 
post
> your printcap entry.
>
> thanks

Sorry, that was really my bad.  Here it is.  Note that the top entry is for
the parallel connection, which does work if it's connected.  The bottom 
entry
is the non-working network connection.

TIA

--
Eric F Crist
AdTech Integrated Systems, Inc
(612) 998-3588
-PRINTCAP ENTRIES-

# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
lp|pcl3/unspec;r=300x300;q=medium;c=mono;p=letter;m=auto:\
:lp=/dev/lpt0:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp:\
:lf=/var/spool/lpd/lp/log:\
:af=/var/spool/lpd/lp/acct:\
:mx#0:\
:sh:
# APS1_END - don't delete this
# APS2_BEGIN:printer2
# - don't delete start label for apsfilter printer2
# - no other printer defines between BEGIN and END LABEL
lp1|pcl3/unspec;r=300x300;q=medium;c=mono;p=letter;m=auto:\
:lp=:\
:rm=192.168.1.2:\
:rp=laser:\
:if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
:sd=/var/spool/lpd/lp1:\
:lf=/var/spool/lpd/lp1/log:\
:af=/var/spool/lpd/lp1/acct:\
:mx#0:\
:sh:
# APS2_END - don't delete this
The only difference between your entry and mine is the rp that I commented 
out for some reason that I don't remember right now.  I assume that you get 
no errors.

What do

#  lpc status lp1
#  lpc restart lp1
give you?  I get:

# lpc status lp
lp:
   queuing is enabled
   printing is enabled
   no entries in spool area
   printer idle
# lpc restart lp
lp:
   no daemon to abort
   printing enabled
   daemon restarted
I'm just guessing now.  I have no idea unless one of the above commands 
gives you an error.  The only thing that bothers me is the rp entry that I 
commented out and on another box I ended up with rp=raw.

Good luck,

_
Expand your wine savvy — and get some great new recipes — at MSN Wine. 
http://wine.msn.com

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


Re: ZOT Print Server....

2003-12-30 Thread Lee Mx

From: Eric F Crist <[EMAIL PROTECTED]>
To: "Lee Mx" <[EMAIL PROTECTED]>, [EMAIL PROTECTED], 
[EMAIL PROTECTED]
Subject: Re: ZOT Print Server
Date: Tue, 30 Dec 2003 18:30:14 -0600

On Tuesday 30 December 2003 06:23 pm, Lee Mx wrote:
> I looked quickly at the link and this seems to be a standard network 
print
> server.  I assume that you have either assigned an ip or are using dhcp.
> From there it is a standard setup.  I also use apsfilter and it works 
great
> for both my unix boxes and windows boxes without samba.  It isn't needed
> but I'm sure that it would work well also.  Where are you having
> difficulities?

I am able to print fine to the printer if it's connected directly to the
computer.  However, if I go through the apsfilter setup and try to use the 
IP
address (192.168.1.2) and 'raw' as the printer name, the printer doesn't 
even
seem to register that it recieved any data.  If I don't enter any name for
the printer name, and just use the IP address as the computer name, I still
get nothing.
I forgot to ask in the previous email but if it doesn't help would you post 
your printcap entry.

thanks

_
Worried about inbox overload? Get MSN Extra Storage now!  
http://join.msn.com/?PAGE=features/es

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


Re: ZOT Print Server....

2003-12-30 Thread Lee Mx

From: Eric F Crist <[EMAIL PROTECTED]>
To: "Lee Mx" <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED],[EMAIL PROTECTED]
Subject: Re: ZOT Print Server
Date: Tue, 30 Dec 2003 18:30:14 -0600

On Tuesday 30 December 2003 06:23 pm, Lee Mx wrote:
> I looked quickly at the link and this seems to be a standard network 
print
> server.  I assume that you have either assigned an ip or are using dhcp.
> From there it is a standard setup.  I also use apsfilter and it works 
great
> for both my unix boxes and windows boxes without samba.  It isn't needed
> but I'm sure that it would work well also.  Where are you having
> difficulities?

I am able to print fine to the printer if it's connected directly to the
computer.  However, if I go through the apsfilter setup and try to use the 
IP
address (192.168.1.2) and 'raw' as the printer name, the printer doesn't 
even
seem to register that it recieved any data.  If I don't enter any name for
the printer name, and just use the IP address as the computer name, I still
get nothing.
Eric

Here is one of my printcap entries for a laserjet.  It works great.  Maybe 
if you compare them you will find the problem.

lp|laser|ljet4;r=300x300;q=medium;c=full;p=letter;m=auto:\
   :lp=:\
   :rm=192.168.5.251:\
#:rp=192.168.5.251:\
   :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\
   :sd=/var/spool/lpd/laser:\
   :lf=/var/spool/lpd/laser/log:\
   :af=/var/spool/lpd/laser/acct:\
   :mx#0:\
   :sh:
# APS1_END - don't delete this
A regular line printer that I use to print checks from another unix box  is:

cheques|Impresora para cheques:\
 :sh:\
 :if=/usr/local/libexec/if.sh: \
 :rm=192.168.5.250:sd=/var/spool/output/cheques:lf=/var/log/lpd-errs:
I also have a line printer for accounting that has a wide carrage and it is.

lp|local line printer:\
 :sh:\
 :rm=192.168.5.252:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
# :rm=192.168.5.251:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
All my windows machines can print to all as can the unix boxes.  I'm using 
three different brands of print servers, BTW.

I hope this helps,

_
Worried about inbox overload? Get MSN Extra Storage now!  
http://join.msn.com/?PAGE=features/es

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


Re: ZOT Print Server....

2003-12-30 Thread Lee Mx


"Compartir el conocimiento es una accion de seres inteligentes, que han 
comprobado que el conocimiento
es un bien que crece a medida que se lo comparte"




From: Jesse Guardiani <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: ZOT Print Server
Date: Tue, 30 Dec 2003 17:25:15 -0500
Kevin D. Kinsey, DaleCo, S.P. wrote:

> Jesse Guardiani wrote:
>
>>Eric F Crist wrote:
>>
>>
>>
>>>Hey all,
>>>
>>>I've been trying to get some remote pringing working to no avail.  I
>>>purchased a ZOT print server (http://www.01tech.com/m_p100s.htm) that I
>>>have working
>>>with Windows perfectly.  I also installed apsfilter (Great job on that,
>>>btw) and have the remote printer working on this end via parallel just
>>>fine. FWIW, it's a Brother HL-1440 laser printer.
[...]

> But aspsfilter will support smbclient as well, if
> you ask it to when running the ./SETUP shell
> script.
Do you have remote SMB printing working to other windows machines
via aspsfilter? You said you had it working for parallel, but you didn't
mention SMB.
I looked quickly at the link and this seems to be a standard network print 
server.  I assume that you have either assigned an ip or are using dhcp.  
From there it is a standard setup.  I also use apsfilter and it works great 
for both my unix boxes and windows boxes without samba.  It isn't needed but 
I'm sure that it would work well also.  Where are you having difficulities?

_
Have fun customizing MSN Messenger — learn how here!  
http://www.msnmessenger-download.com/tracking/reach_customize

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


RE: scp between windows and freebsd

2003-12-10 Thread Lee Mx



From: "KURT BUFF" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: scp between windows and freebsd
Date: Wed, 10 Dec 2003 13:50:01 -0700 (MST)
All,

I'm following the directions here:

http://www.unixwiz.net/techtips/postfix-exchange-users.html

to improve the gateway to our Exchange box, and am stuck on a particular
step.
I just can't seem to make the Putty SCP work from my workstation.

I used Putty's window copy function to paste into vi to create the .pub
file, then used the command line:
I've had better luck with

http://winscp.sourceforge.net/eng/download.php

In fact it's nice enough that I'd like to for my users to have something 
similar for their FreeBSD desktops, buy YMMV;-)

good luck,

"ssh-keygen -i -f /tmp/exchupdate.pub >> /root/.ssh/authorized_keys2"

on the FreeBSD box per the instructions to convert to an openssh key,
then use the following command line to do the copy:
"pscp -2 -i exchupdate.ppk exchusers.txt [EMAIL PROTECTED]:/etc"

but I keep getting the following two messages on the Windows box:

"Authenticating with public key "postfix update users key"
"Fatal: Lost connection"
and the following on the FreeBSD box:

"server2 sshd[36802]: fatal: monitor_read: unsupported request:"

This, even though I've made certain to enter a edit the public key to
add a comment (using vi) into the public key on the FreeBSD box.
I've done some googling, and read some man pages, but can't seem to find
out what the heck I'm doing wrong. I've put the authorized_keys2 file
into /etc/ssh, /root/.ssh and even /root hoping that it was simply a
matter of location, but still no go.
Help?

Thanks,

Kurt



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
Wonder if the latest virus has gotten to your computer? Find out. Run the 
FREE McAfee online computer scan! 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: Make world problems from 4.9 to 5.1

2003-11-29 Thread Lee Mx



From: "Aaron Myles Landwehr" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: "Charles Swiger" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: Make world problems from 4.9 to 5.1
Date: Sat, 29 Nov 2003 05:04:40 - (GMT)
What exactly does "make world" do?...i know sometimes i accidently type it
instead of buildworld
It will do both the make buildworld and the make installworld without the 
break in between that is
often/sometimes needed as in the  recient Current upgrade.

hope this helps.


> On Nov 26, 2003, at 8:25 PM, Lowell Gilbert wrote:
>> "make world"?  Really?  You don't mean "make buildworld"?
>> I guess the "world" target really does need to be removed.
>
> Yes.  Or fixed to do something more reasonable...?
>
> --- Makefile~   Sat Nov 29 00:02:13 2003
> +++ MakefileSat Nov 29 00:18:07 2003
> @@ -143,6 +143,13 @@
>  @cd ${.CURDIR}; ${MAKE} pre-world
>   .endif
>  @cd ${.CURDIR}; ${MAKE} buildworld
> +   @cd ${.CURDIR}; ${MAKE} buildkernel
> +   @echo
> "--"
> +   @echo ">>> About to run mergemaster & 'make install*' targets"
> +   @echo
> "--"
> +   @echo "
> +   @/usr/src/usr.sbin/mergemaster/mergemaster.sh -p
> +   @cd ${.CURDIR}; ${MAKE} -B installkernel
>  @cd ${.CURDIR}; ${MAKE} -B installworld
>   .if target(post-world)
>  @echo
>
>
> --
> -Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
From the hottest toys to tips on keeping fit this winter, you’ll find a 
range of helpful holiday info here.  
http://special.msn.com/network/happyholidays.armx

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


Re: portupgrade overkill?

2003-11-29 Thread Lee Mx



From: Herculano de Lima Einloft Neto <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: portupgrade overkill?
Date: Sat, 29 Nov 2003 05:16:43 -0200
  Hello people,

  Check this out, if you will:

]# portinstall -RPv urwfonts
Have you checked

# man portinstall

with a /-R you will find
-R
--upward-recursive Act on all those packages required by the given
   packages as well. (When specified with -F, fetch
   recursively, including the brand new, 
uninstalled
   ports that an upgraded port requires)

and just for fun because it could be confusing later /-r

-r
--recursiveAct on all those packages depending on the given
   packages as well.
I tend to like -u -P -p -a -i on different occasions also.

provecho - enjoy,



(...)
--->  Reporting the results (+:done / -:ignored / *:skipped / !:failed)
+ urwfonts-1.0
- pkgconfig-0.15.0
+ perl-5.6.1_13
+ imake-4.3.0
+ freetype2-2.1.4_1
- expat-1.95.6_1
+ fontconfig-2.2.0
+ XFree86-libraries-4.3.0_5 #why were these 5 pkgs _fetched_?
(...)
pkg_add: warning: package 'urwfonts-1.0' requires 'perl-5.6.1_13', but 
'perl-5.6.1_14' is installed
pkg_add: warning: package 'urwfonts-1.0' requires 'imake-4.3.0', but 
'imake-4.3.0_1' is installed
pkg_add: warning: package 'urwfonts-1.0' requires 'freetype2-2.1.4_1', but 
'freetype2-2.1.5_1' is installed
pkg_add: warning: package 'urwfonts-1.0' requires 'fontconfig-2.2.0', but 
'fontconfig-2.2.90_3' is installed
pkg_add: warning: package 'urwfonts-1.0' requires 
'XFree86-libraries-4.3.0_5', but 'XFree86-libraries-4.3.0_6' is installed
--->  Installation of urwfonts-1.0 ended at: Sat, 29 Nov 2003 04:24:25 
-0200 (consumed 00:00:02)
--->  Fresh installation of x11-fonts/urwfonts ended at: Sat, 29 Nov 2003 
04:24:25 -0200 (consumed 00:15:45)
[Updating the pkgdb  in /var/db/pkg ... - 205 packages 
found (-0 +1) . done]
--->  Reporting the results (+:done / -:ignored / *:skipped / !:failed)
- devel/libtool13 (libtool-1.3.5_1)
- lang/perl5 (perl-5.6.1_14)
- textproc/expat2 (expat-1.95.6_1)
- devel/imake-4 (imake-4.3.0_1)
- converters/libiconv (libiconv-1.9.1_3)
- devel/gettext (gettext-0.12.1)
- devel/gmake (gmake-3.80_1)
- print/freetype2 (freetype2-2.1.5_1)
- devel/pkgconfig (pkgconfig-0.15.0)
- x11-fonts/fontconfig (fontconfig-2.2.90_3)
- x11/XFree86-4-libraries (XFree86-libraries-4.3.0_6)
+ x11-fonts/urwfonts

portupgrade sometimes gives me the impression of taking a lot of time 
turning simple updates to recursive crusades, but I have always trusted 
it's sanity. This could be a local problem, but thought I'd let you know.

Best,
--
Herculano de Lima Einloft Neto
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
Set yourself up for fun at home!  Get tips on home entertainment equipment, 
video game reviews, and more here.   
http://special.msn.com/home/homeent.armx

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


Re: results of compiling with -lmysqlclient

2003-11-27 Thread Lee Mx



From: Matthew Seaman <[EMAIL PROTECTED]>
To: Lee Mx <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: results of compiling with -lmysqlclient
Date: Thu, 27 Nov 2003 18:27:23 +
On Thu, Nov 27, 2003 at 09:39:28AM -0800, Lee Mx wrote:

> THanks a lot, Matthew.  I assumed as much.  I think I am going to start
> backing up some of my more frequent libs
> to a compat directory.  That seems to be the least bad solution.
Note that portupgrade(1) and pkg_deinstall(1) do this automatically
whenever you update a package containing share objects or libraries --
check out /usr/local/lib/compat/pkg and the output of 'ldconfig -r'
for details.  There's also the sysutils/libchk port which will help
you find binaries that link against those old library versions.
Thanks, Matthew.  In this case the box and installation are new and the 
programs are old.
I'm going to check out libchk.   In fact, I'm installing it as I write.  It 
sounds like something
very useful that is missing in my took kit.

Thanks again,

les

_
Has one of the new viruses infected your computer?  Find out with a FREE 
online computer virus scan from McAfee. Take the FreeScan now!  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: results of compiling with -lmysqlclient

2003-11-27 Thread Lee Mx



From: Matthew Seaman <[EMAIL PROTECTED]>
To: Lee Mx <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: results of compiling with -lmysqlclient
Date: Thu, 27 Nov 2003 12:32:47 +
On Thu, Nov 27, 2003 at 03:39:05AM -0800, Lee Mx wrote:
> I just realized that when I compile with -lmysqlclient I am adding the
> current version to my program or in my specific case  
libmysqlclient.so.10.
> When I upgrade, as I just did, to libmysqlclient.so.12, I have to
> recompile. Is there not a way to use libmysqlclient.so that is a link to
>  the current active version or is there some reason why that would not 
be a
> good solution.  I seldom see problems with backwards compatability and I
> have been know to create a link from the current library to the missing
> name without problems when I haven't had the source handy.

No. The version number on shared libraries is changed when the ABI
(application binary interface) presented by the shlib changes.  Your
application can only load a shared library of the same ABI version as
the one it was compiled against.  Including the ABI version number in
the shlib file name makes this explicit and helps weed out these sort
of problems. The ABI can change independently of the API (application
programming interface) -- so that exactly the same source code can be
compiled and linked against either shlib version.
Or, at least, that's the theory: not all shlib producers get it right,
confusing the shlib version with the software version -- ever wonder
why libjpeg.so (part of the graphics/jpeg port) is at libjpeg.so.9 ?
Some producers will only update the number when there's a change that
breaks backwards compatibility but not when it breaks forwards
compatibility.  (The FreeBSD system libc.so works in this way: there
were some important functions added to libc somewhere between 4.0 and
4.2 which means that some programs compiled under 4.3 or greater won't
work on 4.0-4.2, but compile the same programs under 4.2 and they'll
still continue working under later system versions.)
This problem is why you should always take any advice to solve shlib
incompatability problems by making sym-links to differently named
versions of the shlib with a huge grain of salt.  It might work, but
chances are various stuff will fail in inexplicable ways.  The only
real cures are either to keep multiple ABI versions of shlibs around,
or to recompile everything that uses that shlib.
THanks a lot, Matthew.  I assumed as much.  I think I am going to start 
backing up some of my more frequent libs
to a compat directory.  That seems to be the least bad solution.

Thanks again for such a complete explanation and examples.

ed

_
From the hottest toys to tips on keeping fit this winter, you’ll find a 
range of helpful holiday info here.  
http://special.msn.com/network/happyholidays.armx

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


results of compiling with -lmysqlclient

2003-11-27 Thread Lee Mx
I just realized that when I compile with -lmysqlclient I am adding the 
current version to my program or in my specific case  libmysqlclient.so.10.  
When I upgrade, as I just did, to libmysqlclient.so.12, I have to recompile. 
 Is there not a way to use libmysqlclient.so that is a link to the current 
active version or is there some reason why that would not be a good 
solution.  I seldom see problems with backwards compatability and I have 
been know to create a link from the current library to the missing name 
without problems when I haven't had the source handy.

Thanks for clearing this up for me.

lee

_
Set yourself up for fun at home!  Get tips on home entertainment equipment, 
video game reviews, and more here.   
http://special.msn.com/home/homeent.armx

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


Re: Which webmail

2003-11-19 Thread Lee Mx


I'd have to say Squirrel Mail

http://www.squirrelmail.org/
I'm partial to http://www.horde.org  AWESOME

lee

_
Share holiday photos without swamping your Inbox.  Get MSN Extra Storage 
now!  http://join.msn.com/?PAGE=features/es

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


Re: Starting KDE from ttys and xdm.

2003-11-18 Thread Lee Mx



From: Eric F Crist <[EMAIL PROTECTED]>


You can also use the KDE login manager, see man kdm.
Thanks, Eric.  I don't seem to have a manual entry for kdm but I'm going to 
do some greping
and find out more about the KDE login manager.

Thanks for the start,,

ed
--
Eric F Crist
President
AdTech Integrated Systems, Inc
_
Concerned that messages may bounce because your Hotmail account is over 
limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es

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


Re: Changing a company from 100% Windows to 100% FreeBSD.

2003-11-17 Thread Lee Mx



From: "C. Ulrich" <[EMAIL PROTECTED]>
To: Lee Mx <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: Changing a company from 100% Windows to 100% FreeBSD.
Date: Mon, 17 Nov 2003 15:48:24 -0500
On Mon, 2003-11-17 at 09:27, Lee Mx wrote:
> I am switching about 40 desktop's running different versions of
> windows over to freebsd.  One of the primary requirements is
> OpenOffice-1.1 and I've always run it locally on my laptop.
> I'm considering running it over the LAN which would mean that
> I suppose that I would NFS mount the binary and do the network
> install.  Could someone who has done this tell me if they
> recommend running it on the network or if it would be better to
> just install it on each of the 40 machines.  This company and
> every user, uses Office daily, especially excel.
I've never done this, but OpenOffice is such a large application that
this might not be such a swell idea. On my Athlon 750 with U2W SCSI,
OpenOffice 1.1 takes 20 seconds to load from the hard disk. I couldn't
guess how long it would take trying to pull it over the network, but I'm
sure it would be a lot longer. Also take into consideration the fact
that, unless your office is very well funded, you're probably don't have
the newest equipment. If this is the case, you could consider running
all the desktops as local thin clients. When a user logs in, they're
really just logging in remotely to an application server where all the
real work work is done.
I would love to do that, but I have no idea where to start
although Adrian was kind enough to send be a couple of links,
I'm not sure I get it yet.  If you have any other tips/links etc.
they would sure be appreciated.
Advantages:
- you only have to regularly maintain the application servers
- "outdated" hardware works just fine for the thin clients as everything
is run on the server
- users access their data and do their work from any machine (also
reduces "my machine" syndrome common in some workplaces)
Sounds great to me in my ignorance.:-)

Disadvantages:
- Allowing users to save things to floppy or CD could be slightly
problematic (ditto for playing video and sound)
- if all 40 desktops are in the same office/area, you'll probably have
to set up more than one application servers and work out a solution for
load-balancing and keeping them in sync
- if your users use large apps like OpenOffice, you might need pretty
hefty servers, especially in the memory department. However, it will
still be less memory than what would be required to run OpenOffice
locally on all 40 machines
The client/server approach may not end up being the best solution for
your specific situation, but at least it's something to think about.
I've always heard good things from those who've implemented similar
solutions in their organizations.
Thanks, Charles.  It is certainly something to think about and
test.
lee

_
Concerned that messages may bounce because your Hotmail account is over 
limit? Get Hotmail Extra Storage! http://join.msn.com/?PAGE=features/es

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


Re: OpenOffice 1.1.0 Install Problem

2003-11-17 Thread Lee Mx



From: Barry Skidmore <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: FreeBSD-Questions <[EMAIL PROTECTED]>
Subject: OpenOffice 1.1.0 Install Problem
Date: Mon, 17 Nov 2003 14:10:58 -0500
I am installing OpenOffice 1.1.0 on a system on which I just did a fresh
install of FreeBSD-4.9-RELEASE-i386.
I am at the point where JDK is being installed, which requires that
LINPROCFS be mounted, because it needs Linux emulation, which I
installed from the ports and have enabled in rc.conf.
Did you actually mount it?

# mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1g on /backup (ufs, local, soft-updates)
/dev/ad0s1e on /release (ufs, local, soft-updates)
/dev/ad0s1d on /usr (ufs, local, soft-updates)
/dev/ad0s1h on /usr/local (ufs, local, soft-updates)
/dev/ad0s1f on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)
linprocfs on /usr/compat/linux/proc (linprocfs, local)
^
You should see the above line.  IIRC, you will get the
error that you mention below if you haven't.
Good luck,

ed

The first step is to load the linprocfs kernel module, but that gives me
the following error:
kldload: can't load /modules/linprocfs.ko: Exec format error
A look in dmesg shows the following:
link_elf: symbol nextpid undefined
I did a Google search for this error, but did not turn up anything.  The
complete seqence of error messages is shown below.
I am very new to FreeBSD, so please word your responses accordingly.

Thanks,
Barry

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
From Beethoven to the Rolling Stones, your favorite music is always playing 
on MSN Radio Plus. No ads, no talk. Trial month FREE!  
http://join.msn.com/?page=offers/premiumradio

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


Re: Changing a company from 100% Windows to 100% FreeBSD.

2003-11-17 Thread Lee Mx



From: Alex de Kruijff <[EMAIL PROTECTED]>
To: Lee Mx <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: Changing a company from 100% Windows to 100% FreeBSD.
Date: Mon, 17 Nov 2003 19:32:23 +0100
On Mon, Nov 17, 2003 at 06:27:25AM -0800, Lee Mx wrote:
> I am switching about 40 desktop's running different versions of
> windows over to freebsd.  One of the primary requirements is
> OpenOffice-1.1 and I've always run it locally on my laptop.
> I'm considering running it over the LAN which would mean that
> I suppose that I would NFS mount the binary and do the network
> install.  Could someone who has done this tell me if they
> recommend running it on the network or if it would be better to
> just install it on each of the 40 machines.  This company and
> every user, uses Office daily, especially excel.
Running it over the network should be posible. It does come at a
high performance cost. The local hard disk has a much higher respond
rate. Personaly, i would go for the independed workstation.
Yes, Alex, I think you are probably right.  Although the LAN is
always a temptation :-).
>
> Also if anyone has any other suggestions that would simplify
> anything in the chain from the initial installation to periodic
> upgrading, it would be highly appreciated.
I'm not sure if you looking for this, but you may wanna read this:
http://www.infrastructures.org/ - Its all about how to effienctly manage
Looks interesting.  It's not exactly what I had in mind but worth
a read for sure.
you enterprise cluster. Its quite a bit of work to setup at first and
saves you lots of work later.
Sounds like most everything that we do ;-)
> I'm planning on having a central server that will be cvsuping
> updated sources and ports daily, making world and portupgrade
> -Rruap periodically.  I plan to NFS mount /usr/ports and not
> have local copies to not have to update them. I'm thinking that
> I could then, fairly easily upgrade the other machines by just
> installing the packages when needed.  It could also serve as a
> local repository for updating the operating system or I suppose
> that I could also NFS mount /usr/src and /usr/obj and do an
> installworld to upgrade, too.  Again any opinions, observations
> or suggestion are highly appreciated.  I've never changed
> 100% to FreeBSD before :-)
This would mean that you have to manage every workstation manualy. If
there all alike you could just configure one and let the other
synchonise themselfs. You may wanna have a look at the port rsync.
I've thought about that but I thinking of automating the portupgrade
process rather than having to find all the --exclude's for rsync but
that could surely change.
Thanks for your suggestions and the link.

ed
--
Alex
Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
_
MSN Shopping upgraded for the holidays!  Snappier product search... 
http://shopping.msn.com

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


Re: Starting KDE from ttys and xdm.

2003-11-17 Thread Lee Mx
Miguel,

Thanks a lot.  I knew there was a simple way.

muy agradecido,


From: Miguel Mendez <[EMAIL PROTECTED]>
To: "Lee Mx" <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: Starting KDE from ttys and xdm.
Date: Mon, 17 Nov 2003 17:28:49 +0100
begin  electrogrammati illius Lee Mx

Hi,

> When I enable xdm in /etc/ttys, it starts twm by default.
> With startx and xinitrc it starts whatever is there.  How can the
> default window manager be changed when starting with xdm?
Create a .xsession file in your home dir. Something like this should do it:
-cut---
#!/bin/sh
exec startkde
cut
Cheers,
--
Miguel Mendez <[EMAIL PROTECTED]>
http://www.energyhq.es.eu.org
_
MSN Shopping upgraded for the holidays!  Snappier product search... 
http://shopping.msn.com

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


Starting KDE from ttys and xdm.

2003-11-17 Thread Lee Mx
When I enable xdm in /etc/ttys, it starts twm by default.
With startx and xinitrc it starts whatever is there.  How can the
default window manager be changed when starting with xdm?
Thanks,

_
Great deals on high-speed Internet access as low as $26.95.  
https://broadband.msn.com (Prices may vary by service area.)

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


Changing a company from 100% Windows to 100% FreeBSD.

2003-11-17 Thread Lee Mx
I am switching about 40 desktop's running different versions of
windows over to freebsd.  One of the primary requirements is
OpenOffice-1.1 and I've always run it locally on my laptop.
I'm considering running it over the LAN which would mean that
I suppose that I would NFS mount the binary and do the network
install.  Could someone who has done this tell me if they
recommend running it on the network or if it would be better to
just install it on each of the 40 machines.  This company and
every user, uses Office daily, especially excel.
Also if anyone has any other suggestions that would simplify
anything in the chain from the initial installation to periodic
upgrading, it would be highly appreciated.
I'm planning on having a central server that will be cvsuping
updated sources and ports daily, making world and portupgrade
-Rruap periodically.  I plan to NFS mount /usr/ports and not
have local copies to not have to update them. I'm thinking that
I could then, fairly easily upgrade the other machines by just
installing the packages when needed.  It could also serve as a
local repository for updating the operating system or I suppose
that I could also NFS mount /usr/src and /usr/obj and do an
installworld to upgrade, too.  Again any opinions, observations
or suggestion are highly appreciated.  I've never changed
100% to FreeBSD before :-)
The only other bumps in the road are programs that can read
corel draw files and if it could write them it would be even
better but I haven't been able to find any.  The last is a
viewer for AutoCAD.  I've found a couple but have no experience
with any of them.  Does anyone have a suggestion.
Thanks, for you help,

Lee

_
Crave some Miles Davis or Grateful Dead?  Your old favorites are always 
playing on MSN Radio Plus. Trial month free! 
http://join.msn.com/?page=offers/premiumradio

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