<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/14120" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2007-12-11T22:18:04-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/14120</id>

		<entry>
		<author><name><![CDATA[Retro]]></name></author>
		<updated>2007-12-11T22:18:04-04:00</updated>

		<published>2007-12-11T22:18:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79261#p79261</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79261#p79261"/>
		<title type="html"><![CDATA[Invalid path for adding ssl patch to eggdrop1.6.18]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79261#p79261"><![CDATA[
Thanks mikeyakame,<br><br>Every bit helps, especially to those of us that fumble our way through.  And I admit to a whole lot of fumbling with this one.<br><br>Retro<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8288">Retro</a> — Tue Dec 11, 2007 10:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mikeyakame]]></name></author>
		<updated>2007-12-11T04:34:56-04:00</updated>

		<published>2007-12-11T04:34:56-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=79219#p79219</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=79219#p79219"/>
		<title type="html"><![CDATA[Invalid path for adding ssl patch to eggdrop1.6.18]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=79219#p79219"><![CDATA[
ive actually got a different approach which also works, patch, run configure, then edit Makefile.<br><br>find the line<br><br>XSSL_INCLUDE = /usr/local/ssl/include<br><br>change it to<br><br>XSSL_INCLUDE = -I/usr/local/ssl/include<br><br>damn patch doesn't patch the configure or makefile correctly.<br><br>then furthermore if you have the openssl/md5.h error, simply.<br><br>find / -name md5.h<br><br>it'll probably reside in /usr/local/ssl/include/openssl/md5.h or /usr/include/openssl/md5.h<br><br>anywho in your eggdrop source dir just do<br><br>cp -R /path/to/openssl openssl<br><br>problem solved, and requires no code modifications <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>hope this helps someone.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9535">mikeyakame</a> — Tue Dec 11, 2007 4:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Retro]]></name></author>
		<updated>2007-10-18T01:09:22-04:00</updated>

		<published>2007-10-18T01:09:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76836#p76836</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76836#p76836"/>
		<title type="html"><![CDATA[Invalid path for adding ssl patch to eggdrop1.6.18]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76836#p76836"><![CDATA[
<img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"> Found it.<br>It was the openssl install, which apparently needs to be installed twice, once for the static libraries, and once to get the shared ones. Followed by copying the include files to a number of locations.  Worked for both the eggdrop and the ircd compiles.<br><br>Thank you Alchera, your question nudged a memory on adding path exports to the user's bash.profile.<br><br>Retro<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8288">Retro</a> — Thu Oct 18, 2007 1:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-10-17T03:11:59-04:00</updated>

		<published>2007-10-17T03:11:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76812#p76812</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76812#p76812"/>
		<title type="html"><![CDATA[Invalid path for adding ssl patch to eggdrop1.6.18]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76812#p76812"><![CDATA[
<blockquote class="uncited"><div>No, I downloaded it and the patch from Eggdrop files here.  My openssl is from openssl.org.  We weren't able to compile our Ircd with the openssl in the Debian repository.<br><br>Retro</div></blockquote>Okies! You just blew a theory of mine. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed Oct 17, 2007 3:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Retro]]></name></author>
		<updated>2007-10-17T01:11:17-04:00</updated>

		<published>2007-10-17T01:11:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76802#p76802</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76802#p76802"/>
		<title type="html"><![CDATA[Invalid path for adding ssl patch to eggdrop1.6.18]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76802#p76802"><![CDATA[
No, I downloaded it and the patch from Eggdrop files here.  My openssl is from openssl.org.  We weren't able to compile our Ircd with the openssl in the Debian repository.<br><br>Retro<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8288">Retro</a> — Wed Oct 17, 2007 1:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-10-16T22:04:03-04:00</updated>

		<published>2007-10-16T22:04:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76800#p76800</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76800#p76800"/>
		<title type="html"><![CDATA[Invalid path for adding ssl patch to eggdrop1.6.18]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76800#p76800"><![CDATA[
As a bit of curiosity on my part, by any chance did you install eggdrop from the Debian repository?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Tue Oct 16, 2007 10:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Retro]]></name></author>
		<updated>2007-10-16T21:30:03-04:00</updated>

		<published>2007-10-16T21:30:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76799#p76799</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76799#p76799"/>
		<title type="html"><![CDATA[Invalid path for adding ssl patch to eggdrop1.6.18]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76799#p76799"><![CDATA[
I appreciate your effort to assist in getting this patch to work.  If I go and manually edit the related files in the eggdrop and ssl directory, adding the full path, I can get it to compile.  But that means having root access and the time to edit 70+ files.  Which is fine on my test system, but  the above isn't either practical or portable.<br><br>It isn't having any issues finding files in the eggdrop directories or system directories unrelated to the files in the ssl directory.  Just everything in /usr/local/ssl such as /lib &amp; /include/openssl<br><br>I apologize for my lack of knowledge in this.  I understand pathing.  But a programmer I am not.  Adding exports so a program knows the paths to look in is beyond me as I've no clue which files to add to, where in the files they would be added, and what if anything would need to be excluded. I'm totally lost in that regard.<br><br>Retro<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8288">Retro</a> — Tue Oct 16, 2007 9:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Retro]]></name></author>
		<updated>2007-10-14T22:44:43-04:00</updated>

		<published>2007-10-14T22:44:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76749#p76749</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76749#p76749"/>
		<title type="html"><![CDATA[Invalid path for adding ssl patch to eggdrop1.6.18]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76749#p76749"><![CDATA[
Problem appears to be in the openssl app itself - when a call is made to a module there, it in turn calls other modules and at that point loses itself.<br>Editing the modules in /usr/local/ssl/include/openssl and the ones in eggdrop which make the call to include the full path allows the compile to finish.  Trying to sort out the linking now for /usr/local/ssl/lib.<br><br>Retro<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8288">Retro</a> — Sun Oct 14, 2007 10:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-10-14T13:47:36-04:00</updated>

		<published>2007-10-14T13:47:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76733#p76733</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76733#p76733"/>
		<title type="html"><![CDATA[Invalid path for adding ssl patch to eggdrop1.6.18]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76733#p76733"><![CDATA[
I forgot the leading / in my example above, should be:<br><br>#include "/usr/local/ssl/include/openssl/md5.h"<br><br>If you set the enviroment variables correctly to point to your include files you won't need to edit the .c files.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Oct 14, 2007 1:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Retro]]></name></author>
		<updated>2007-10-14T12:21:44-04:00</updated>

		<published>2007-10-14T12:21:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76730#p76730</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76730#p76730"/>
		<title type="html"><![CDATA[Invalid path for adding ssl patch to eggdrop1.6.18]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76730#p76730"><![CDATA[
Tried adding md5c.c to /usr/local/ssl/include/openssl - with only the include for md5.h<br><br>Does it have to use md5.h from ssl?<br><br>I did go back and once again verify that it would compile without the ssl patch and that was successful.<br><br>Retro<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8288">Retro</a> — Sun Oct 14, 2007 12:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Retro]]></name></author>
		<updated>2007-10-14T12:03:59-04:00</updated>

		<published>2007-10-14T12:03:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76729#p76729</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76729#p76729"/>
		<title type="html"><![CDATA[Invalid path for adding ssl patch to eggdrop1.6.18]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76729#p76729"><![CDATA[
It is at /usr/local/ssl/include/openssl/md5.h<br><br>Other files apparently being looked for are :<br>/usr/local/ssl/include/openssl/ssl.h<br>/usr/local/ssl/include/openssl/err.h<br>/usr/local/ssl/include/openssl/rand.h<br><br>The following reference these in one form or another:<br>configure -for ac_header in "openssl/ssl.h"<br><br>This looks right in config.status<br><br>s,@SSL_LIBS@,-lssl -lcrypto -L/usr/local/ssl/lib -L/usr/local/ssl/lib,;t t<br>s,@SSL_INCLUDE@,/usr/local/ssl/include,;t t<br><br>This looks right in config.lob<br><br>SSL_INCLUDE='/usr/local/ssl/include'<br>SSL_LIBS='-lssl -lcrypto -L/usr/local/ssl/lib -L/usr/local/ssl/lib'<br><br>/src/tclmisc.c - include "openssl/md5.h"<br><br>/src/net.h - include "openssl/ssl.h"; include "openssl/err.h"; include "openssl/rand.h"<br><br>/src/net.c - include "openssl/ssl.h"; include "openssl/err.h"; include "openssl/rand.h"<br><br>/src/modules.c - include "openssl/md5.h"<br><br>Makefile looks correct:<br>XSSL_LIBS = -lssl -lcrypto -L/usr/local/ssl/lib -L/usr/local/ssl/lib<br>XSSL_INCLUDE = /usr/local/ssl/include<br><br>/src/dcc.c - include "openssl/md5.h"<br><br>/src/md5/md5c.c - include "openssl/md5.h" &lt;-- no md5c.c in that directory but is in /src/md5<br><br>Interesting enough, the Ircd compiles with no issues.<br><br>I tried altering the path in dcc.c to both include/openssl/md5.h &amp; usr/local/ssl/include/openssl/md5.h - both resulted in directory or file not found error.<br><br>The exports have me stumped as to where to add and the proper syntax.<br><br>Retro<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8288">Retro</a> — Sun Oct 14, 2007 12:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[DragnLord]]></name></author>
		<updated>2007-10-13T11:00:06-04:00</updated>

		<published>2007-10-13T11:00:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76699#p76699</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76699#p76699"/>
		<title type="html"><![CDATA[Invalid path for adding ssl patch to eggdrop1.6.18]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76699#p76699"><![CDATA[
Keep in mind that md5 can be found at /usr/local/include/openssl/md5.h on some systems.<br>You are better off using the following to find it:<div class="codebox"><p>Code: </p><pre><code>find /usr/local -name md5.h</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4461">DragnLord</a> — Sat Oct 13, 2007 11:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2007-10-13T05:12:50-04:00</updated>

		<published>2007-10-13T05:12:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76689#p76689</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76689#p76689"/>
		<title type="html"><![CDATA[Invalid path for adding ssl patch to eggdrop1.6.18]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76689#p76689"><![CDATA[
You have a couple of choices.. You can edit the dcc.c file to point to the full path/filename like:<br><br>#include "usr/local/ssl/openssl/md5.h"<br><br>prolly the simpler method..<br><br>Or, set the configure environment variables relevant to compiling with ssl, something like:<br><br>export C_FLAGS="$C_FLAGS -I/usr/local/ssl/openssl"<br>export CC_FLAGS="$CC_FLAGS -I/usr/local/ssl/openssl"<br>export LD_FLAGS="$LD_FLAGS -L/usr/local/ssl/openssl/lib"<br><br>then run configure again.   Check configure --help for the optional environment variables that you can specify.  I assumed above that your ssl files are in /usr/local/ssl/openssl, change it to point to the right place on your system.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sat Oct 13, 2007 5:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Retro]]></name></author>
		<updated>2007-10-13T04:22:26-04:00</updated>

		<published>2007-10-13T04:22:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=76684#p76684</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=76684#p76684"/>
		<title type="html"><![CDATA[Invalid path for adding ssl patch to eggdrop1.6.18]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=76684#p76684"><![CDATA[
Operating System: Linux 2.6.18-5-686 with Debian 40r-i386<br><br>I am working with a new eggdrop1.6.18 directory and a new copy of the ssl patch <br><br>patch -p0 &lt; eggdrop-1.6.18-ssl.patch  &lt;-- no errors<br><br>./configure --with-ssl=/usr/local/ssl  &lt;-- no errors<br>checking whether to include SSL support... yes<br><br>orion@orion2:~/eggdrop1.6.18$ make config<br>Checking for removed modules.................... done.<br>Detecting modules.................... done.<br>Calculating dependencies.................. done.<br>Building ./src/mod/Makefile... done.<br>make[1]: Entering directory `/home/orion/eggdrop1.6.18/src/mod'<br><br>Configuring module 'dns'.<br>configure: loading cache ../../../config.cache<br>checking for gcc... (cached) gcc<br>checking for C compiler default output file name... a.out<br>checking whether the C compiler works... yes<br>checking whether we are cross compiling... no<br>checking for suffix of executables...<br>checking for suffix of object files... (cached) o<br>checking whether we are using the GNU C compiler... (cached) yes<br>checking whether gcc accepts -g... (cached) yes<br>checking for gcc option to accept ANSI C... (cached) none needed<br>checking for res_init... (cached) no<br>checking for res_init in -lresolv... (cached) no<br>checking for res_init in -lbind... (cached) no<br>checking for __res_init... (cached) yes<br>checking for res_mkquery... (cached) no<br>checking for res_mkquery in -lresolv... (cached) yes<br>checking build system type... (cached) i686-pc-linux-gnu<br>checking host system type... (cached) i686-pc-linux-gnu<br>configure: creating ./config.status<br>config.status: creating Makefile<br><br>make[1]: Leaving directory `/home/orion/eggdrop1.6.18/src/mod'<br>Building ./src/mod/Makefile... done.<br><br>You can now compile the bot, using "make".<br><br>----------------<br><br>make<br><br>orion@orion2:~/eggdrop1.6.18$ make<br>make[1]: Entering directory `/home/orion/eggdrop1.6.18/src'<br>This may take a while. Go get some runts.<br><br>gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c bg.c<br>gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c botcmd.c<br>gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c botmsg.c<br>gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c botnet.c<br>gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c chanprog.c<br>gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c cmds.c<br>gcc -pipe -g -O2 -Wall -I.. -I.. -DHAVE_CONFIG_H   -c dcc.c<br>dcc.c:38:25: error: openssl/md5.h: No such file or directory<br>dcc.c: In function âdcc_bot_digestâ:<br>dcc.c:302: error: âMD5_CTXâ undeclared (first use in this function)<br>dcc.c:302: error: (Each undeclared identifier is reported only once<br>dcc.c:302: error: for each function it appears in.)<br>dcc.c:302: error: expected â;â before âmd5contextâ<br>dcc.c:307: warning: implicit declaration of function âMD5_Initâ<br>dcc.c:307: error: âmd5contextâ undeclared (first use in this function)<br>dcc.c:308: warning: implicit declaration of function âMD5_Updateâ<br>dcc.c:310: warning: implicit declaration of function âMD5_Finalâ<br>dcc.c: In function âdcc_bot_check_digestâ:<br>dcc.c:508: error: âMD5_CTXâ undeclared (first use in this function)<br>dcc.c:508: error: expected â;â before âmd5contextâ<br>dcc.c:517: error: âmd5contextâ undeclared (first use in this function)<br>make[1]: *** [dcc.o] Error 1<br>make[1]: Leaving directory `/home/orion/eggdrop1.6.18/src'<br>make: *** [modegg] Error 2<br>orion@orion2:~/eggdrop1.6.18$<br>------------------------<br><br>Ok now when I check dcc.c it has this include:<br><br>/* Includes for botnet md5 challenge/response code &lt;cybah&gt; */<br>#ifndef EGG_SSL_EXT<br>#include "md5/md5.h"<br>#else<br>#include "openssl/md5.h"<br>#endif<br><br>It isn't going to find it there as the path is /include/openssl/md5.h from /usr/local/ssl<br><br>---------------<br>When I look at the patch itself - it appears to have the append for the include &amp; lib directories.   But that doesn't appear to be happening.<br><br>test -f $withval/include/openssl/ssl.h &amp;&amp; SSL_INCLUDE="$withval/include"<br>test -f $withval/lib/libssl.a &amp;&amp; SSL_LIB="$withval/lib"<br>test -f $withval/lib/libcrypto.a &amp;&amp; CRYPTO_LIB="$withval/lib"<br><br>How do I fix this?<br><br>Retro<br>Wishing she'd taken programming lessons<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8288">Retro</a> — Sat Oct 13, 2007 4:22 am</p><hr />
]]></content>
	</entry>
	</feed>
