From owner-freebsd-isdn Wed Jul 28 7:26:29 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from Dolinca.IBC.IskraSistemi.Si (Dolinca.IBC.IskraSistemi.Si [194.249.213.241]) by hub.freebsd.org (Postfix) with ESMTP id ED2A414E1D for ; Wed, 28 Jul 1999 07:26:25 -0700 (PDT) (envelope-from brodnik@Dolinca.IBC.IskraSistemi.Si) Received: (from brodnik@localhost) by Dolinca.IBC.IskraSistemi.Si (8.8.8/8.8.7) id QAA15353; Wed, 28 Jul 1999 16:31:53 +0200 (CEST) (envelope-from brodnik) From: Andrej Brodnik (Andy) Message-Id: <199907281431.QAA15353@Dolinca.IBC.IskraSistemi.Si> Subject: Re: sPPP, RAS, MD5, CHAP, ISDN, FreeBSD and WinNT In-Reply-To: <199907281407.PAA02961@keep.lan.Awfulhak.org> from Brian Somers at "Jul 28, 1999 3: 7:58 pm" To: brian@FreeBSD.org.uk (Brian Somers) Date: Wed, 28 Jul 1999 16:31:53 +0200 (CEST) Cc: rich@ruh-bath.swest.nhs.uk, freebsd-isdn@FreeBSD.ORG Organization: IBC, Iskra Systems Reply-To: Andrej.Brodnik@IBC.IskraSistemi.SI (Andrej Brodnik (Andy)) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Subject: Re: sPPP, RAS, MD5, CHAP, ISDN, FreeBSD and WinNT > Date: Wed, 28 Jul 1999 15:07:58 +0100 > From: Brian Somers > > > > -----Original Message----- > > > From: Andrej Brodnik [mailto:brodnik@IBC.IskraSistemi.Si] > > > Sent: 28 July 1999 14:14 > > > > > Hm, excuse me, where is the root directory of the ppp sources in my > > > ``/usr/src'' tree?-/ Brian, did you do it? > > > > Get the current PPP sources from http://www.freebsd.org/~brian/ and extract > > them to /usr/src/ppp or similar, then apply the patch from within this > > directory. > > If you unpack into /usr/src/ppp, you must go into > /usr/src/ppp/ppp-990728/ppp to apply the patches (otherwise > you end up with i4b.[ch] in the wrong directory). Yep, I was in the wrong directory -- one level too high.-) > You may have to hand-patch the Makefile (If a Makefile.rej is > produced). > From: "Wood, Richard" > Subject: RE: sPPP, RAS, MD5, CHAP, ISDN, FreeBSD and WinNT > Date: Wed, 28 Jul 1999 15:14:18 +0100 > > You will need to patch it by hand. IIRC it is due to the line numbers being > a bit out, it's quite easy to see what needs to be modified and make the > appropriate changes. I see. Now I got only one patching failure: ==================================================================== Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -r -N -u --exclude=CVS --exclude=*.o --exclude=*.gz --exclude=*.orig --exc lude=*.cat* --exclude=ppp --exclude=*.cat* --exclude=.??* ppp/Makefile 1/Makefil e |--- ppp/Makefile Sun May 16 13:26:41 1999 |+++ 1/Makefile Tue Jul 6 23:30:46 1999 -------------------------- Patching file Makefile using Plan A... Hunk #1 failed at 40. Hunk #2 succeeded at 76 (offset 9 lines). 1 out of 2 hunks failed--saving rejects to Makefile.rej ==================================================================== Hm, the "Makefile.rej" contains: ==================================================================== *************** *** 40,45 **** .endif .endif .if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(RELEASE_CRUNCH) DISTRIBUTION=des CFLAGS+=-DHAVE_DES --- 40,51 ---- .endif .endif + .if defined(NOI4B) + CFLAGS+=-DNOI4B + .else + SRCS+= i4b.c + .endif + .if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(RELEASE_CRUNCH) DISTRIBUTION=des CFLAGS+=-DHAVE_DES ==================================================================== I think I need to patch in the Makefile: ==================================================================== .if defined(NOALIAS) CFLAGS+=-DNOALIAS .else .if !defined(RELEASE_CRUNCH) SRCS+= alias_cmd.c LDADD+= -L../libhack -lalias DPADD+= ${LIBALIAS} .endif .endif .if exists(/usr/src/secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(RELEASE_CRUNCH) DISTRIBUTION=des CFLAGS+=-DHAVE_DES SRCS+= chap_ms.c LDADD+= -ldes DPADD+= ${LIBDES} .endif ==================================================================== into: ==================================================================== .if defined(NOALIAS) CFLAGS+=-DNOALIAS .else .if !defined(RELEASE_CRUNCH) SRCS+= alias_cmd.c LDADD+= -L../libhack -lalias DPADD+= ${LIBALIAS} .endif .endif .if defined(NOI4B) CFLAGS+=-DNOI4B .else SRCS+= i4b.c .endif .if exists(/usr/src/secure) && !defined(NOCRYPT) && !defined(NOSECURE) && !defined(RELEASE_CRUNCH) DISTRIBUTION=des CFLAGS+=-DHAVE_DES SRCS+= chap_ms.c LDADD+= -ldes DPADD+= ${LIBDES} .endif ==================================================================== Right? LPA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message