[prev in list] [next in list] [prev in thread] [next in thread]
List: vchkpw
Subject: Re: Re: [vchkpw] Chkuser 2.0.9 installation fails after qmail-smtpd-auth patch
From: Kis Peter <kispeter1974 () freemail ! hu>
Date: 2008-11-04 12:11:54
Message-ID: freemail.20081004131154.84163 () fm25 ! freemail ! hu
[Download RAW message or body]
Probably you deleted some lines, in Makefile, which are important for other patches.
You have only to add what chkuser asks for, keeping what previous patches inserted. \
In this case, you deleted the lines which contain "b64decode" routine.
Ciao,
Tonino
>
>
>
>
> "Tonix (Antonio Nati)" <tonix@interazioni.it> írta:
>
> First apply other patches, then apply chkuser manually.
> See http://www.interazioni.it/opensource/chkuser/documentation/installation/manual.html \
> for more info.
> Ciao,
>
> Tonino
>
> Kis Peter ha scritto: Hello!
>
> I would like to ask for some help!
>
> I have succesfully installed chkuser 2.0.9 on a clean Netqmail-1.05 without any \
> problem. After "make" and "setup", it works fine!
>
>
> But if I first install "qmail-smtpd-auth-0.59" patch on a clean Netqmail-1.05, \
> then I try to install Chkuser 2.0.9, I got lot of error messages.
> Chkuser 2.0 patch installation fails.
> See output below.
>
> # patch <./chkuser-2.0.9-release.patch
> patching file CHKUSER.automatic_patching
> patching file CHKUSER.changelog
> patching file CHKUSER.copyright
> patching file CHKUSER.log_format
> patching file CHKUSER.manual_patching
> patching file CHKUSER.readme
> patching file CHKUSER.running
> patching file Makefile
> Hunk #2 succeeded at 308 (offset 4 lines).
> Hunk #3 FAILED at 1548.
> 1 out of 3 hunks FAILED -- saving rejects to file Makefile.rej
> patching file TARGETS
> Hunk #1 succeeded at 386 (offset 1 line).
> patching file chkuser.c
> patching file chkuser.h
> patching file chkuser_settings.h
> patching file conf-cc
> patching file qmail-smtpd.c
> Hunk #2 succeeded at 39 with fuzz 2 (offset 5 lines).
> Hunk #3 FAILED at 259.
> Hunk #4 succeeded at 366 (offset 98 lines).
> Hunk #5 succeeded at 377 (offset 98 lines).
> 1 out of 5 hunks FAILED -- saving rejects to file qmail-smtpd.c.rej
>
>
>
>
> I think, that both of these two patches try to patch the "qmail-smtpd.c" file, and
> they confuse each other.
>
> What can be the solution for this problem?
>
>
> Kis Peter
> e-mail: kispeter1974@freemail.hu
>
>
>
>
> ________________________________________________________
> Vujity Tvrtko: Angyali történetek... és ami azóta történt. A népszerű riporter \
> legszebb, legemberibb történeteinek folytatása.
________________________________________________________
AEG-ELECTROLUX háztartási gépeket ÉJJEL â013 NAPPAL rendelhetsz kényelmesen \
ONLINE a MÁRKABOLTBÓL! Beépíthető gépek â013 mosogatógépek â013 mosógépek â013 \
szárítógépek - hűtők akár 5 ÉV kiterjesztett GARANCIÁVAL ITT! Több száz VIDEÓ \
termékbemutató â013 ORSZÁGOS házhozszállítás az AEGshop.hu-tól!
--
------------------------------------------------------------
Inter@zioni Interazioni di Antonio Nati
http://www.interazioni.it tonix@interazioni.it
------------------------------------------------------------
________________________________________________________
AEG-ELECTROLUX háztartási gépeket ÉJJEL â013 NAPPAL rendelhetsz kényelmesen \
ONLINE a MÁRKABOLTBÓL! Beépíthető gépek â013 mosogatógépek â013 mosógépek â013 \
szárítógépek - hűtők akár 5 ÉV kiterjesztett GARANCIÁVAL ITT! Több száz VIDEÓ \
termékbemutató â013 ORSZÁGOS házhozszállítás az AEGshop.hu-tól!
--
------------------------------------------------------------
Inter@zioni Interazioni di Antonio Nati
http://www.interazioni.it tonix@interazioni.it
------------------------------------------------------------
______________________________________________________________________
AEG-ELECTROLUX háztartási gépeket ÉJJEL – NAPPAL rendelhetsz kényelmesen ONLINE \
a MÁRKABOLTBÓL!
Beépíthető gépek – mosogatógépek – mosógépek – szárítógépek - hűtők \
akár 5 ÉV kiterjesztett GARANCIÁVAL ITT!
Több száz VIDEÓ termékbemutató – ORSZÁGOS házhozszállítás az AEGshop.hu-tól!
http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm
!DSPAM:49103c8a32311651212931!
[Attachment #3 (TEXT/html)]
I found the solution!<br /><br />In the pathed "Makefile" (patched by \
qmail-smtpd-auth-059.patch)<br />there were some extra characters, that I deleted \
when applying chkuser patch<br />manually.<br /><br />Original chkuser patch seems \
like:<br /> <br /> fs.a auto_qmail.o socket.lib $(SMTPD_CHKUSER_OBJ)<br /> ...<br /> \
alloc.a substdio.a error.a str.a fs.a auto_qmail.o \<br /> \
$(VPOPMAIL_LIBS) \<br /> \
`cat socket.lib`<br /> <br /><br />Solution:<br />I \
had to insert the "base64.o" into two lines!<br /><br />fs.a auto_qmail.o base64.o \
socket.lib $(SMTPD_CHKUSER_OBJ)<br \
/> \
\
~~~~~~~~<br /><br />alloc.a substdio.a error.a str.a fs.a auto_qmail.o base64.o \<br \
/> $(VPOPMAIL_LIBS) \<br \
/> `cat socket.lib`<br /><br /><br \
/>"Make" and "setup" ended without error!<br />Patched Qmail works!<br /><br \
/>Thanks for you help!!<br /><br />Kis Peter<br /> e-mail: <a \
href="javascript:void();">kispeter1974@freemail.hu</a><br /><br /><br /><br />"Tonix \
(Antonio Nati)" <tonix@interazioni.it> írta: <br /><br /><blockquote \
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; \
padding-left: 1ex;"> <xmeta http-equiv="Content-Type" \
content="text/html;charset=ISO-8859-2"> make it all again WITHOUT chkuser, and check \
in Makefile where the b64encode routine is compiled (probably b64encode in included \
in other modules).<br /> Take care to mantain this routine (or the including module) \
in the Makefile with chkuser.<br /> <br /> Tonino<br /> <br /> Kis Peter ha scritto: \
<blockquote type="cite" cite="mid:freemail.20081004115437.88602@fm25.freemail.hu">I \
double-checked again everything.<br /> I did the steps again as written in the \
Chkuser 2.0 manual editing page.<br /> (Any way, there is no need to delete or modify \
any lines which contain "b64decode" routine.)<br /> <br /> Doing make, I got the \
same error. ( undefined reference to `b64encode')<br /> Strange!!!<br /> <br /> \
Then I modified the Makefile, the TARGETS file, the "conf-cc" file,<br /> but left \
the original "qmail-smtpd.c" intact. <br /> <br /> Doing make, I got the same error \
:(<br /> See below. At least I could find out, that the error couldn't come from<br \
/> "qmail-smtpd.c", because this file was left intact.<br /> <br /> <br /> <br \
/> ./compile chkuser.c<br /> ./load qmail-smtpd chkuser.o dns.o rcpthosts.o \
commands.o timeoutread.o \<br /> \
timeoutwrite.o ip.o ipme.o ipalloc.o control.o constmap.o \<br /> \
received.o date822fmt.o now.o qmail.o \
cdb.a fd.a wait.a \<br /> datetime.a \
getln.a open.a sig.a case.a env.a stralloc.a \<br /> \
alloc.a substdio.a error.a str.a fs.a \
auto_qmail.o \<br /> `head -1 \
/home/vpopmail/etc/lib_deps` `cat dns.lib` \<br /> \
`cat socket.lib`<br /> qmail-smtpd.o: In \
function `auth_cram':<br /> qmail-smtpd.c:(.text+0x101a): undefined reference to \
`b64encode'<br /> qmail-smtpd.c:(.text+0x108e): undefined reference to `b64decode'<br \
/> qmail-smtpd.o: In function `auth_plain':<br /> qmail-smtpd.c:(.text+0x11f6): \
undefined reference to `b64decode'<br /> qmail-smtpd.c:(.text+0x1311): undefined \
reference to `b64decode'<br /> qmail-smtpd.o: In function `auth_login':<br /> \
qmail-smtpd.c:(.text+0x135d): undefined reference to `b64decode'<br /> \
qmail-smtpd.c:(.text+0x1396): undefined reference to `b64decode'<br /> \
qmail-smtpd.o:qmail-smtpd.c:(.text+0x13f8): more undefined references to `b64decode' \
follow<br /> collect2: ld returned 1 exit status<br /> make: *** [qmail-smtpd] Error \
1<br /> <br /> <br /> Kis Peter<br /> e-mail: <a href="java \
script:void();">kispeter1974@freemail.hu</a><br /> <br /> <br /> <br /> <br \
/> <br /> "Tonix (Antonio Nati)" <a \
href="javascript:top.outer.outerOpenWrite('write', \
'tonix@interazioni.it','','','','read');" \
class="moz-txt-link-rfc2396E"><tonix@interazioni.it></a> írta: <br /> <br /> \
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt \
0.8ex; padding-left: 1ex;"> <xmeta content="text/html;" \
http-equiv="Content-Type"> Kis Peter ha scritto: </xmeta> <blockquote \
cite="mid:freemail.20081004092019.71392@fm25.freemail.hu" type="cite">Thanks.<br /> I \
tried this way.<br /> Fist I applied qmail-smtpd-auth-059 patch,<br /> then I applied \
chkuser-2.0.9 manually,as seen at<br /> <a moz-do-not-send="true" \
target="_blank" href="http://www.interazioni.it/opensource/chkuser/documentation/installation/manual.html" \
class="moz-txt-link-freetext">http://www.interazioni.it/opensource/chkuser/documentation/installation/manual.html</a><br \
/> <br /> See result below.<br /> <br /> <br /> ./compile \
chkuser.c<br /> ./load qmail-smtpd chkuser.o dns.o rcpthosts.o commands.o \
timeoutread.o \<br /> timeoutwrite.o ip.o \
ipme.o ipalloc.o control.o constmap.o \<br /> \
received.o date822fmt.o now.o qmail.o \
cdb.a fd.a wait.a \<br /> datetime.a \
getln.a open.a sig.a case.a env.a stralloc.a \<br /> \
alloc.a substdio.a error.a str.a fs.a \
auto_qmail.o \<br /> `head -1 \
/home/vpopmail/etc/lib_deps` `cat dns.lib` \<br /> \
`cat socket.lib`<br /> qmail-smtpd.o: In \
function `auth_cram':<br /> qmail-smtpd.c:(.text+0x101a): undefined reference to \
`b64encode'<br /> qmail-smtpd.c:(.text+0x108e): undefined reference to `b64decode'<br \
/> qmail-smtpd.o: In function `auth_plain':<br /> qmail-smtpd.c:(.text+0x11f6): \
undefined reference to `b64decode'<br /> qmail-smtpd.c:(.text+0x1311): undefined \
reference to `b64decode'<br /> qmail-smtpd.o: In function `auth_login':<br /> \
qmail-smtpd.c:(.text+0x135d): undefined reference to `b64decode'<br /> \
qmail-smtpd.c:(.text+0x1396): undefined reference to `b64decode'<br /> \
qmail-smtpd.o:qmail-smtpd.c:(.text+0x13f8): more undefined references to `b64decode' \
follow<br /> collect2: ld returned 1 exit status<br /> make: *** [qmail-smtpd] Error \
1<br /> <br /> Kis Peter<br /> e-mail: <a \
href="javascript:void();">kispeter1974@freemail.hu</a><br /> </blockquote> \
<br /> Probably you deleted some lines, in Makefile, which are important for other \
patches.<br /> You have only to add what chkuser asks for, keeping what previous \
patches inserted. In this case, you deleted the lines which contain "b64decode" \
routine.<br /> <br /> Ciao,<br /> <br /> Tonino<br /> <br /> \
<blockquote cite="mid:freemail.20081004092019.71392@fm25.freemail.hu" type="cite"> \
<br /> <br /> <br /> <br /> "Tonix (Antonio Nati)" <a \
href="javascript:void();" moz-do-not-send="true"><tonix@interazioni.it></a> \
írta: <br /> <br /> <blockquote style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <xmeta \
http-equiv="Content-Type" content="text/html;"> First apply other patches, then apply \
chkuser manually.<br /> See <a moz-do-not-send="true" target="_blank" \
href="http://www.interazioni.it/opensource/chkuser/documentation/installation/manual.html" \
class="moz-txt-link-freetext">http://www.interazioni.it/opensource/chkuser/documentation/installation/manual.html</a> \
for more info.<br /> <br /> Ciao,<br /> <br /> Tonino<br /> \
<br /> Kis Peter ha scritto: </xmeta> <blockquote type="cite" \
cite="mid:freemail.20081003202303.14560@fm19.freemail.hu">Hello!<br /> <br \
/> I would like to ask for some help!<br /> <br /> I have succesfully \
installed chkuser 2.0.9 on a clean Netqmail-1.05 without any probl em.<br /> After \
"make" and "setup", it works fine! <br /> <br /> <br /> But if I \
first install "qmail-smtpd-auth-0.59" patch on a clean \
Netqmail-1.05, then<br /> I try to install Chkuser 2.0.9, I got lot of error \
messages.<br /> Chkuser 2.0 patch installation fails.<br /> See output below.<br /> \
<br /> # patch <./chkuser-2.0.9-release.patch<br /> patching file \
CHKUSER.automatic_patching<br /> patching file CHKUSER.changelog<br /> patching file \
CHKUSER.copyright<br /> patching file CHKUSER.log_format<br /> patching file \
CHKUSER.manual_patching<br /> patching file CHKUSER.readme<br /> patching file \
CHKUSER.running<br /> patching file Makefile<br /> Hunk #2 succeeded at 308 (offset 4 \
lines).<br /> Hunk #3 FAILED at 1548.<br /> 1 out of 3 hunks FAILED -- saving rejects \
to file Makefile.rej<br /> patching file TARGETS<br /> Hunk #1 succeeded at 386 \
(offset 1 line).<br /> patching file chkuser.c<br /> patching file chkuser.h<br /> \
patching file chkuser_settings.h<br /> patching file conf-cc<br /> patching file \
qmail-smtpd.c<br /> Hunk #2 succeeded at 39 with fuzz 2 (offset 5 lines).<br /> Hunk \
#3 FAILED at 259.<br /> Hunk #4 succeeded at 366 (offset 98 lines).<br /> Hunk #5 \
succeeded at 377 (offset 98 lines).<br /> 1 out of 5 hunks FAILED -- saving rejects \
to file qmail-smtpd.c.rej<br /> <br /> <br /> <br /> \
<br /> I think, that both of these two patches try to patch the "qmail-smtpd.c" file, \
and<br /> they confuse each other.<br /> <br /> What can be the solution \
for this problem?<br /> <br /> <br /> Kis Peter<br /> e-mail: <a \
href="javascript:void();">kispeter1974@freemail.hu</a><br /> <br /> \
<br /> <br /> <br /> \
________________________________________________________<br /> <a \
target="_blank" href="http://ad.adverticum.net/b/cl,1,6022,295811,361564/click.prm" \
moz-do-not-send="true">Vujity Tvrtko: Angyali történetek... és ami azóta történt. A \
népszerű riporter legszebb, legemberibb történeteinek folytatása.</a> </blockquote> \
<br /> <br /> <pre cols="72" class="moz-signature">-- <br \
/>------------------------------------------------------------<br /> \
Inter@zioni Interazioni di Antonio Nati <br /> <a moz-do-not-send="true" \
target="_blank" href="http://www.interazioni.it" \
class="moz-txt-link-freetext">http://www.interazioni.it</a> <a \
href="javascript:void();">tonix@interazioni.it</a> <br \
/>------------------------------------------------------------<br /> </pre> \
</blockquote> <br /> <br /> <br /> \
________________________________________________________<br /> <a \
moz-do-not-send="true" target="_blank" \
href="http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm">AEG-ELECTROLUX \
</a> háztartási gépeket <a moz-do-not-send="true" target="_blank" \
href="http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm">ÉJJEL â013 NAPPAL \
</a> rendelhetsz kényelmesen <a moz-do-not-send="true" target="_blank" \
href="http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm">ONLINE a \
MÁRKABOLTBÓL! </a> <br /> Beépíthető gépek â013 mosogatógépek â013 mosógépek â013 \
szárítógépek - hűtők akár <a moz-do-not-send="true" target="_blank" \
href="http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm">5 ÉV \
kiterjesztett GARANCIÁVAL ITT! </a> <br /> Több száz VIDEÓ termékbemutató â013 <a \
moz-do-not-send="true" target="_blank" \
href="http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm">ORSZÁGOS \
házhozszállítás az AEGshop.hu-tól! </a> </blockquote> <br /> <br /> \
<pre cols="72" class="moz-signature">-- <br \
/>------------------------------------------------------------<br /> \
Inter@zioni Interazioni di Antonio Nati <br /> <a \
class="moz-txt-link-freetext" target="_blank" href="http://www.interazioni.it" \
moz-do-not-send="true">http://www.interazioni.it</a> <a \
href="javascript:void();" moz-do-not-send="true">tonix@interazioni.it< /a> \
<br />------------------------------------------------------------<br /> </pre> \
</blockquote> <br /> <br /> <br /> \
________________________________________________________<br /> <a target="_blank" \
href="http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm" \
moz-do-not-send="true">AEG-ELECTROLUX </a> háztartási gépeket <a target="_blank" \
href="http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm" \
moz-do-not-send="true">ÉJJEL â013 NAPPAL </a> rendelhetsz kényelmesen <a \
target="_blank" href="http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm" \
moz-do-not-send="true">ONLINE a MÁRKABOLTBÓL! </a> <br /> Beépíthető gépek â013 \
mosogatógépek â013 mosógépek â013 szárítógépek - hűtők akár <a target="_blank" \
href="http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm" \
moz-do-not-send="true">5 ÉV kiterjesztett GARANCIÁVAL ITT! </a> <br /> Több száz \
VIDEÓ termékbemutató â013 <a target="_blank" \
href="http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm" \
moz-do-not-send="true">ORSZÁGOS házhozszállítás az AEGshop.hu-tól! </a> \
</blockquote> <br /> <br /> <pre cols="72" class="moz-signature">-- <br \
/>------------------------------------------------------------<br /> \
Inter@zioni Interazioni di Antonio Nati <br /> <a target="_blank" \
href="http://www.interazioni.it" \
class="moz-txt-link-freetext">http://www.interazioni.it</a> <a \
href="javascript:top.outer.outerOpenWrite('write', \
'tonix@interazioni.it','','','','read');" \
class="moz-txt-link-abbreviated">tonix@interazioni.it</a> <br \
/>------------------------------------------------------------<br /></pre> \
</xmeta></blockquote><br /> \
<br><br>________________________________________________________<br> <a \
href="http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm">AEG-ELECTROLUX \
</a> háztartási gépeket <a \
href="http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm">ÉJJEL – \
NAPPAL </a> rendelhetsz kényelmesen <a \
href="http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm">ONLINE a \
MÁRKABOLTBÓL! </a> </br> Beépíthető gépek – mosogatógépek – mosógépek \
– szárítógépek - hűtők akár <a \
href="http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm">5 ÉV \
kiterjesztett GARANCIÁVAL ITT! </a> </br> Több száz VIDEÓ termékbemutató – \
<a href="http://ad.adverticum.net/b/cl,1,6022,295941,361762/click.prm">ORSZÁGOS \
házhozszállítás az AEGshop.hu-tól! </a>
!DSPAM:49103c8a32311651212931!
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic