Re: Re: A couple of questions related to the sendmail patch, etc.

2003-03-06 Thread Giorgos Keramidas
On 2003-03-06 12:08, [EMAIL PROTECTED] wrote:
> > The correct way of applying it for 8.11.x is:
> >
> > # cd /usr/src/contrib/sendmail/src
> > # patch -p1 < /PATH/TO/sendmail.8.11.6.security.cr.patch
> >
>
> This worked like a charm... HOWEVER, I now have to recompile
> sendmail and install the new binary, which I haven't the first clue
> how to do (well, I have a clue, but I'd hate to guess and end up
> without a MTA for a day!)
>
> Could someone point me in the direction of the right FM to read? I'm
> using version 8.11.6 on FreeBSD4.6-Release. Many thanks in advance!

The safest way is to use 'buildworld / buildkernel' as usual.

- Giorgos

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: Re: A couple of questions related to the sendmail patch, etc.

2003-03-06 Thread lists
> The correct way of applying it for 8.11.x is:
> 
>   # cd /usr/src/contrib/sendmail/src
>   # patch -p1 < /PATH/TO/sendmail.8.11.6.security.cr.patch
> 

This worked like a charm... HOWEVER, I now have to  recompile sendmail and install the 
new binary, which I haven't the first clue how to do (well, I have a clue, but I'd 
hate to guess and end up without a MTA for a day!)

Could someone point me in the direction of the right FM to read? I'm using version 
8.11.6 on FreeBSD4.6-Release. Many thanks in advance!

: )

phillip.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: A couple of questions related to the sendmail patch, etc.

2003-03-05 Thread taxman
On Wednesday 05 March 2003 05:27 am, Giorgos Keramidas wrote:
> On 2003-03-04 22:38, taxman <[EMAIL PROTECTED]> wrote:
> > On Tuesday 04 March 2003 01:08 pm, Giorgos Keramidas wrote:
> > > On 2003-03-04 10:02, Phillip Smith <[EMAIL PROTECTED]> wrote:
> > > : A couple of quick questions...
> > > :
> > > : I've downloaded the 8.11.6 patch from sendmail.org, and used the
> > > : instructions they provided
> > > : [patch -p0 < /PATH/TO/sendmail.8.11.6.security.cr.patch], which then
> > > : prompts me for 'which file to patch.' I'm not clear on which file I
> > > : _need_ to patch? Or where it would be.
> > >
> > > You should run the patch command with /usr/src/contrib/sendmail as
> > > your current working directory.
> >
> > I don't run sendmail at all, but I would like to learn how to apply
> > the patch.  doing:
> > patch -p0 < /home/tim/sendmail.8.12.security.cr.patch
> > in the above directory still gives the "File to patch:" prompt
> > What else needs to be done to apply the patch?
>
> Hmmm, sorry for the confusion.  I didn't read the patch carefully.
> The correct way of applying it for 8.11.x is:
>
>   # cd /usr/src/contrib/sendmail/src
>   # patch -p1 < /PATH/TO/sendmail.8.11.6.security.cr.patch

Thanks Giorgos, that worked for the patch for 8.12.6 too.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: A couple of questions related to the sendmail patch, etc.

2003-03-05 Thread Peter Elsner
Errr... If you are not currently running Sendmail (IE It's not installed)..

Then there's nothing to patch

Peter

At 10:38 PM 3/4/2003 -0500, you wrote:
On Tuesday 04 March 2003 01:08 pm, Giorgos Keramidas wrote:
> On 2003-03-04 10:02, Phillip Smith <[EMAIL PROTECTED]> wrote:
> : A couple of quick questions...
> :
> : I've downloaded the 8.11.6 patch from sendmail.org, and used the
> : instructions they provided
> : [patch -p0 < /PATH/TO/sendmail.8.11.6.security.cr.patch], which then
> : prompts me for 'which file to patch.' I'm not clear on which file I
> : _need_ to patch? Or where it would be.
>
> You should run the patch command with /usr/src/contrib/sendmail as
> your current working directory.
I don't run sendmail at all, but I would like to learn how to apply the 
patch.
doing:  patch -p0 < /home/tim/sendmail.8.12.security.cr.patch  in the above
directory still gives the "File to patch:" prompt
What else needs to be done to apply the patch?

Thanks,
Tim
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message
--
Peter Elsner <[EMAIL PROTECTED]>
Vice President Of Customer Service (And System Administrator)
1835 S. Carrier Parkway
Grand Prairie, Texas 75051
(972) 263-2080 - Voice
(972) 263-2082 - Fax
(972) 489-4838 - Cell Phone
(425) 988-8061 - eFax
I worry about my child and the Internet all the time, even though she's
too young to have logged on yet. Here's what I worry about. I worry
that 10 or 15 years from now, she will come to me and say "Daddy, where
were you when they took freedom of the press away from the Internet?"
-- Mike Godwin
Unix IS user friendly... It's just selective about who its friends are.
System Administration - It's a dirty job, but somebody said I had to do it.
If you receive something that says 'Send this to everyone you know,
pretend you don't know me.
Standard $500/message proofreading fee applies for UCE.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: A couple of questions related to the sendmail patch, etc.

2003-03-05 Thread Giorgos Keramidas
On 2003-03-05 12:00, Andreas Wider?e Andersen <[EMAIL PROTECTED]> wrote:
> At 12:27 05.03.2003 +0200, you wrote:
> >On 2003-03-04 22:38, taxman <[EMAIL PROTECTED]> wrote:
> >
> >Hmmm, sorry for the confusion.  I didn't read the patch carefully.
> >The correct way of applying it for 8.11.x is:
> >
> ># cd /usr/src/contrib/sendmail/src
> ># patch -p1 < /PATH/TO/sendmail.8.11.6.security.cr.patch
>
> I'm running the patch now, but it looks strange to me..
> Is this patch suppose to take a long time (minutes) without any
> output on the screen?

No, it's supposed to be real fast and generate copious output on your
monitor detailing what files are touched by the changes of the patch.
You probably missed the '<' redirection shown above.  The patch(1)
utility reads the diff of changes from standard input.  If you don't
redirect its stdin with `patch < file' it waits for input from the
terminal.

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: A couple of questions related to the sendmail patch, etc.

2003-03-05 Thread Andreas Widerøe Andersen
At 12:27 05.03.2003 +0200, you wrote:
On 2003-03-04 22:38, taxman <[EMAIL PROTECTED]> wrote:
> On Tuesday 04 March 2003 01:08 pm, Giorgos Keramidas wrote:
> > On 2003-03-04 10:02, Phillip Smith <[EMAIL PROTECTED]> wrote:
> > : A couple of quick questions...
> > :
> > : I've downloaded the 8.11.6 patch from sendmail.org, and used the
> > : instructions they provided
> > : [patch -p0 < /PATH/TO/sendmail.8.11.6.security.cr.patch], which then
> > : prompts me for 'which file to patch.' I'm not clear on which file I
> > : _need_ to patch? Or where it would be.
> >
> > You should run the patch command with /usr/src/contrib/sendmail as
> > your current working directory.
>
> I don't run sendmail at all, but I would like to learn how to apply
> the patch.  doing:
> patch -p0 < /home/tim/sendmail.8.12.security.cr.patch
> in the above directory still gives the "File to patch:" prompt
> What else needs to be done to apply the patch?
Hmmm, sorry for the confusion.  I didn't read the patch carefully.
The correct way of applying it for 8.11.x is:
# cd /usr/src/contrib/sendmail/src
# patch -p1 < /PATH/TO/sendmail.8.11.6.security.cr.patch
I'm running the patch now, but it looks strange to me..
Is this patch suppose to take a long time (minutes) without any output on 
the screen?

/Andreas

---
Andreas Widerøe Andersen <[EMAIL PROTECTED]>
Pragma AS
http://www.pragma.no  

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: A couple of questions related to the sendmail patch, etc.

2003-03-05 Thread Giorgos Keramidas
On 2003-03-04 22:38, taxman <[EMAIL PROTECTED]> wrote:
> On Tuesday 04 March 2003 01:08 pm, Giorgos Keramidas wrote:
> > On 2003-03-04 10:02, Phillip Smith <[EMAIL PROTECTED]> wrote:
> > : A couple of quick questions...
> > :
> > : I've downloaded the 8.11.6 patch from sendmail.org, and used the
> > : instructions they provided
> > : [patch -p0 < /PATH/TO/sendmail.8.11.6.security.cr.patch], which then
> > : prompts me for 'which file to patch.' I'm not clear on which file I
> > : _need_ to patch? Or where it would be.
> >
> > You should run the patch command with /usr/src/contrib/sendmail as
> > your current working directory.
>
> I don't run sendmail at all, but I would like to learn how to apply
> the patch.  doing:
> patch -p0 < /home/tim/sendmail.8.12.security.cr.patch
> in the above directory still gives the "File to patch:" prompt
> What else needs to be done to apply the patch?

Hmmm, sorry for the confusion.  I didn't read the patch carefully.
The correct way of applying it for 8.11.x is:

# cd /usr/src/contrib/sendmail/src
# patch -p1 < /PATH/TO/sendmail.8.11.6.security.cr.patch


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: A couple of questions related to the sendmail patch, etc.

2003-03-04 Thread taxman
On Tuesday 04 March 2003 01:08 pm, Giorgos Keramidas wrote:
> On 2003-03-04 10:02, Phillip Smith <[EMAIL PROTECTED]> wrote:
> : A couple of quick questions...
> :
> : I've downloaded the 8.11.6 patch from sendmail.org, and used the
> : instructions they provided
> : [patch -p0 < /PATH/TO/sendmail.8.11.6.security.cr.patch], which then
> : prompts me for 'which file to patch.' I'm not clear on which file I
> : _need_ to patch? Or where it would be.
>
> You should run the patch command with /usr/src/contrib/sendmail as
> your current working directory.

I don't run sendmail at all, but I would like to learn how to apply the patch.  
doing:  patch -p0 < /home/tim/sendmail.8.12.security.cr.patch  in the above 
directory still gives the "File to patch:" prompt
What else needs to be done to apply the patch?

Thanks,
Tim


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: A couple of questions related to the sendmail patch, etc.

2003-03-04 Thread Giorgos Keramidas
On 2003-03-04 10:02, Phillip Smith <[EMAIL PROTECTED]> wrote:
:
: A couple of quick questions...
:
: I've downloaded the 8.11.6 patch from sendmail.org, and used the
: instructions they provided
: [patch -p0 < /PATH/TO/sendmail.8.11.6.security.cr.patch], which then
: prompts me for 'which file to patch.' I'm not clear on which file I
: _need_ to patch? Or where it would be.

You should run the patch command with /usr/src/contrib/sendmaill as
your current working directory.

: Second question, I'd like to re-compile my Kernel and some other
: things that required the sources to be installed. On one machine
: (where I didn't install then initially), I'm having a real challenge
: trying to get them (chicken and egg); using sysinstall, I'm trying
: to install additional distributions > sources > all. Unfortunately,
: the CD-ROM does not seem to be working on this box, so I'm trying
: via ftp... but I keep receiving this message:

Can you mount the CD-ROM at all?  If you manage to mount the CD-ROM
under /mnt/cdrom then you can copy the sources from /mnt/cdrom without
using sysinstall.

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


Re: A couple of questions related to the sendmail patch, etc.

2003-03-04 Thread John Mills
Phillip -

On Tue, 4 Mar 2003, Phillip Smith (mailing list) wrote:

> I've downloaded the 8.11.6 patch from sendmail.org, and used the
> instructions they provided 
> [patch -p0 < /PATH/TO/sendmail.8.11.6.security.cr.patch], which then
> prompts me for 'which file to patch.' I'm not clear on which file I
> _need_ to patch? Or where it would be.

I associate this message with an earlier line identifying the file being
sought.  Usually this means I am not in a directory at the same relative
path [to the source root] from which the patch was made. Back up one
directory above your source root and try a few values of '-pN': -p1 .. -p3
 stopping as you have if the sources are not found -- very likely you will
hit the right offset and one or all of the patches will be applied
successfully. You have to look at any sections which fail to determine
why, and whether they are important. (You will get a report of this and 
they will have been saved with a 'rej' suffix.)

-- 
 John Mills
 [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message


A couple of questions related to the sendmail patch, etc.

2003-03-04 Thread Phillip Smith (mailing list)

Hello,

A couple of quick questions...

I've downloaded the 8.11.6 patch from sendmail.org, and used the
instructions they provided 
[patch -p0 < /PATH/TO/sendmail.8.11.6.security.cr.patch], which then
prompts me for 'which file to patch.' I'm not clear on which file I
_need_ to patch? Or where it would be.

I've read the thread on this already, and perhaps I'll try upgrading
Sendmail in its entirety. But, for my amusement, how would I patch my
current (working perfectly) version of Sendmail?

Second question, I'd like to re-compile my Kernel and some other things
that required the sources to be installed. On one machine (where I
didn't install then initially), I'm having a real challenge trying to
get them (chicken and egg); using sysinstall, I'm trying to install
additional distributions > sources > all. Unfortunately, the CD-ROM does
not seem to be working on this box, so I'm trying via ftp... but I keep
receiving this message:

Warning:  Can't find the `4.5-RELEASE' distribution on this
server.  You may need to visit a different server for
the release you are trying to fetch or go to the Options
menu and to set the release name to explicitly match what's
available on ftp.freebsd.org (or set to "any").
Would you like to select another FTP server?

Any thoughts on how to get the sources downloaded?

--
Phillip


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message