Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: MPPE


  • Subject: Re: lug-bg: MPPE
  • From: George Danchev <danchev@xxxxxxxxx>
  • Date: Sat, 13 Dec 2003 11:16:54 +0200

On Friday 12 December 2003 10:51, sonyxwing@xxxxxxx wrote:
> vlez v http://www.poptop.org i vij kakvo ima po vaprosa, ne e zadaljitelno
> da pishe che e za 2.4.23 :)

mda, ne biva li tolko pravolinejno da se gleda na nestata i kogato se pro4ete 
nesto e dobre da se prekarva prez aritmeti4no-logi4eskoto ustrojstvo;-). 
Komentarvash slu4aj 1), no vse oste ne razbirash kakvo imam predvid. Kakto 
kazah mppeinstall.sh i opisanoto koeto mi predlagash da 4eta e 
podvezhdashto... Napravo ti go demonstriram against 2.4.23:

./mppeinstall.sh /usr/src/linux-2.4.23
Detected kernel version 2.4.23
I will now patch the kernel in directory /usr/src/linux-2.4.23
Press ret to continue, CTRL-C to exit:
patching file include/linux/ppp-comp.h
patching file drivers/net/Config.in
Hunk #1 succeeded at 317 (offset 38 lines).
patching file drivers/net/Makefile
Hunk #2 succeeded at 162 (offset 22 lines).
Hunk #3 succeeded at 277 (offset 31 lines).
patching file drivers/net/ppp_generic.c
Hunk #1 succeeded at 102 (offset 3 lines).
Hunk #2 succeeded at 130 (offset 3 lines).
Hunk #3 succeeded at 555 with fuzz 1 (offset 22 lines).
Hunk #4 succeeded at 1035 (offset 25 lines).
Hunk #5 succeeded at 1048 (offset 25 lines).
Hunk #6 succeeded at 1557 (offset 25 lines).
Hunk #7 succeeded at 2000 with fuzz 1 (offset 33 lines).
Hunk #8 succeeded at 2285 with fuzz 1 (offset 24 lines).
`/usr/local/src/Debian/PPTP/ppp-upstream/ppp-cvs/ppp/linux/mppe/sha1.c' -> 
`drivers/net/sha1.c'
`/usr/local/src/Debian/PPTP/ppp-upstream/ppp-cvs/ppp/linux/mppe/sha1.h' -> 
`drivers/net/sha1.h'
`/usr/local/src/Debian/PPTP/ppp-upstream/ppp-cvs/ppp/linux/mppe/arcfour.c' -> 
`drivers/net/arcfour.c'
`/usr/local/src/Debian/PPTP/ppp-upstream/ppp-cvs/ppp/linux/mppe/arcfour.h' -> 
`drivers/net/arcfour.h'
`/usr/local/src/Debian/PPTP/ppp-upstream/ppp-cvs/ppp/linux/mppe/
ppp_mppe_compress.c' -> `drivers/net/ppp_mppe_compress.c'


Dori i da nqma rejects, a samo offsets ne e zadylzhitelno tozi taka napraven 
kato 'obst za nqkolko kernel versions' patch da raboti korektno s vsi4ki 
kernel versions. Dori i da se prilozhi absolutno 4isto kym proizvolno kernel 
src tree bez rejects i offsets, pak ne e zadylzhitelno 4e ste raboti 
korektno. Perke ? Otgovora e elementaren i se systoi v tova, 4e ppp driver-a 
v kernel-a ne e samostoqtelna bojna edinica, a zavisi i ot drugi files, kojto 
mogat da bydat promeneni v sledvastata versiq na kernel src tree-to i tezi 
promeni da 4upqt rabotata na tozi 'common' patch, pri koeto trqbva da se 
ot4etat (promenite) i toj ('obstiq za nqkolko kernel versions' patch) da se 
prenapravi za vsqka edna pootdelno. Oste pove4e da ne govorim, 4e v slu4aq s 
nali4ieto na hunks (offset lines) e indikaciq, 4e 'zemqta mozhe i da ni 
izbqga izpod krakata' i ste e po-skoro slu4ajnost ako nestata prorabotqt;-). 
Usestash li kyde mozhe da imame disconnect s taka predlaganiq 'obst za vsi4ki 
kernel versions' mppe patch? Za tova nestata trqbva da se precezirat, i da se 
izgotvqt per kernel version patches, koito ste bydat (leko) razli4avasti se 
za vsqko kernel src tree.

Naistina v mppeinstall.sh e predvidena nqkakva diferenciaciq, za vsi4ki 
kernels 2.2.19 i nagore i 2.4.18 i nagore, no tova hi4 ne e dostaty4no i 
mislq, 4e e vidno otvsqkyde. Ot druga strana po-trudno e da se izgotvqt 
patches against vsqko kernel src tree, i po-lesno e edin patch za nqkolko src 
trees, pyk ako proraboti e dobre doshlo ;-)

--cut--

> > ima dva na4ina (dokato mppe-patch ne vleze v kernela):
> > 1) ot CVS-sa na ppp na samba.org v linux/mppe/ ima mppeinstall.sh,
> > tipi4no a-la shoot your foot na4in za patch-vane na kenrel... Razgledaj
> > scripta za tova koi files copira v kernel src i koi patch-va - golqma
> > prostotiq... Predi nqkolko meseca li4no pisah na Frank Cusack prosto da
> > predostavq per kernel version patches, kaza "dobre" i si pita ushite ;-)
> > Ako ne razbirash kakvo se pravi, ne go izpolzvaj.

btw, http i ftp na samba.org rabotqt. CVS-sa systo i ppp/ mozhe da byde 
izteglen ot tam:

cvs -d :pserver:cvs@xxxxxxxxxxxxxxxxx:/cvsroot login
cvs -d :pserver:cvs@xxxxxxxxxxxxxxxxx:/cvsroot co ppp

-- 
pub  4096R/0E4BD0AB 2003-03-18 <keyserver.bu.edu>
1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB 

============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.