0.34
-
arnetheduck
- The Creator Himself
- Posts: 296
- Joined: 2003-01-02 22:15
0.34
Ok, here's hopefully the final version of dch++ that will be released. I do not intend to add any more features to it anyway, and will only fix serious bugs. The plan is to move dch++ to ADC after the initial 1.0 release, and not support nmdc any more. Together with the hub comes also the plugin API, so you may have a look at it and if you know how to code, make your own plugins. Because of heavy changes to how the linux version is built and installed, there will be no more binaries, and as soon as I find sed, I'll tell him to open up public access to the svn so you may get the source and compile it for yourselves (please note; dch++ is not opensource as the official definition goes, please see license.txt).
I do not care particularily for the nmdc version of dch++ to spread, but since the work has already been done, I'll release it anyway as some might like it anyway.
http://wza.digitalbrains.com/users/.arn ... -Win32.rar
http://wza.digitalbrains.com/users/.arn ... Config.rar
http://wza.digitalbrains.com/users/.arn ... 34-API.rar
I do not care particularily for the nmdc version of dch++ to spread, but since the work has already been done, I'll release it anyway as some might like it anyway.
http://wza.digitalbrains.com/users/.arn ... -Win32.rar
http://wza.digitalbrains.com/users/.arn ... Config.rar
http://wza.digitalbrains.com/users/.arn ... 34-API.rar
-
CioDu
- Posts: 21
- Joined: 2003-11-03 00:46
- Location: Milan, Italy
Code: Select all
5) If you have the Plugin API, you may distribute the plugins that you make. The source must be made available
together with any published binaries, and must be just as easily accessible as the binaries. If you choose
not to distribute your plugins, you may also keep your source code.I guess the choice of the license for the plugins is up to the plugin writer? redistribution of the core not allowed should mean that plugins cannot be licensed under GPL, right? perhaps LGPL?
How can you liberate people by killing them?
-
arnetheduck
- The Creator Himself
- Posts: 296
- Joined: 2003-01-02 22:15
-
GargoyleMT
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-08 02:46
- Location: .pa.us
GPLing plugins to non-GPL works is covered in this FAQ: http://www.fsf.org/licenses/gpl-faq.html#GPLPluginsInNF
So, the plugin author needs to add the exception that linking to DCH++ is fine. DCH++ doesn't need to do anything.
Can I use the GPL for a plug-in for a non-free program?
If the program uses fork and exec to invoke plug-ins, then the plug-ins are separate programs, so the license for the main program makes no requirements for them. So you can use the GPL for a plug-in, and there are no special requirements.
If the program dynamically links plug-ins, and they make function calls to each other and share data structures, we believe they form a single program, so plug-ins must be treated as extensions to the main program. This means that linking the GPL-covered plug-in with the main program would violate the GPL. However, you can resolve that legal problem by adding an exception to your program's license which gives permission to link it with the non-free main program.
For more details, see the question above that starts with, "I am writing free software that uses a non-free library."
So, the plugin author needs to add the exception that linking to DCH++ is fine. DCH++ doesn't need to do anything.
-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
anonymous svn is open now
http://dchpp.digitalbrains.com/
http://dchpp.digitalbrains.com/
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
-
yakko
- Posts: 258
- Joined: 2003-01-27 06:04
OK, it all compiled fine. Here's the notes and problems I've got for the linux version:
1) to compile I did the following:
I wrote a little shell script to get all the sources:
I then chmod'd the file and ran it, then did this:
I then made a /usr/local/bin/dchpp-1.0 to put it in and not bother my current hub, copied ~/src/bin/dchpp to it and ~/src/bin/lib/dchpp/ to /usr/local/bin/dchpp-1.0/plugins. That part of the INSTALL doc could be a little better documented.
2) the plugin .xml and readme files stayed the plugin source directories. This needs to be documented and it'd be great if they could be moved into a etc directory on the "make install" step.
3) all the plugins work great except for the LuaScript one. When it's enabled I get this error and the hub dies:
I can start the hub fine without loading that plugin.
1) to compile I did the following:
I wrote a little shell script to get all the sources:
Code: Select all
cd ~/src
svn checkout svn://dchpp.digitalbrains.com/p2p/dchpp/core/dchpp-1.0
cd dchpp-1.0/plugins
svn checkout svn://dchpp.digitalbrains.com/p2p/dchpp/plugins/OpCom
svn checkout svn://dchpp.digitalbrains.com/p2p/dchpp/plugins/SimpleLog
svn checkout svn://dchpp.digitalbrains.com/p2p/dchpp/plugins/BigBrother
svn checkout svn://dchpp.digitalbrains.com/p2p/dchpp/plugins/BlockLeechers
svn checkout svn://dchpp.digitalbrains.com/p2p/dchpp/plugins/CrappyOs
svn checkout svn://dchpp.digitalbrains.com/p2p/dchpp/plugins/DnsBl
svn checkout svn://dchpp.digitalbrains.com/p2p/dchpp/plugins/HubRules
svn checkout svn://dchpp.digitalbrains.com/p2p/dchpp/plugins/IpCheck
svn checkout svn://dchpp.digitalbrains.com/p2p/dchpp/plugins/IpSecurity
svn checkout svn://dchpp.digitalbrains.com/p2p/dchpp/plugins/LuaScript
svn checkout svn://dchpp.digitalbrains.com/p2p/dchpp/plugins/Motd
svn checkout svn://dchpp.digitalbrains.com/p2p/dchpp/plugins/NoBots
svn checkout svn://dchpp.digitalbrains.com/p2p/dchpp/plugins/Restrictions
svn checkout svn://dchpp.digitalbrains.com/p2p/dchpp/plugins/UserIp
I then chmod'd the file and ran it, then did this:
Code: Select all
./bootstrap
cd build
../configure --enable-plugins --prefix $HOME/src/
make && make installI then made a /usr/local/bin/dchpp-1.0 to put it in and not bother my current hub, copied ~/src/bin/dchpp to it and ~/src/bin/lib/dchpp/ to /usr/local/bin/dchpp-1.0/plugins. That part of the INSTALL doc could be a little better documented.
2) the plugin .xml and readme files stayed the plugin source directories. This needs to be documented and it'd be great if they could be moved into a etc directory on the "make install" step.
3) all the plugins work great except for the LuaScript one. When it's enabled I get this error and the hub dies:
Code: Select all
yakko@cybertron dchpp-1.0 $ ./dchpp -c /etc/dchpp/iaconhub-1.0/
./dchpp: symbol lookup error: /usr/local/bin/dchpp-1.0/plugins/LuaScript.so: undefined symbol: lua_openI can start the hub fine without loading that plugin.
-
arnetheduck
- The Creator Himself
- Posts: 296
- Joined: 2003-01-02 22:15
the whole point with make install is that it installs everything in the final position, you're not supposed to copy anything. if you remove your src, most probably things will stop working since it's compiled with static paths to the libdchpp.so that does all the work...
as to the lua, I'll have a look...
as to the lua, I'll have a look...
-
arnetheduck
- The Creator Himself
- Posts: 296
- Joined: 2003-01-02 22:15
-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
a working but incorrect fix is:
Code: Select all
Index: Makefile.am
===================================================================
--- Makefile.am (revision 11)
+++ Makefile.am (working copy)
@@ -3,7 +3,7 @@
plugin_LTLIBRARIES=LuaScript.la
LuaScript_la_LDFLAGS = -module -avoid-version
-
+LuaScript_la_LIBADD = ../lua/src/liblua.a
LuaScript_la_SOURCES=\
LuaClient.cpp \
LuaClient.h \http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
-
arnetheduck
- The Creator Himself
- Posts: 296
- Joined: 2003-01-02 22:15
-
Sedulus
- Forum Moderator
- Posts: 687
- Joined: 2003-01-04 14:32
I was half an hour earlier in dcdev ;)
http://dc.selwerd.nl/hublist.xml.bz2
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
http://www.b.ali.btinternet.co.uk/DCPlusPlus/index.html (TheParanoidOne's DC++ Guide)
http://www.dslreports.com/faq/dc (BSOD2600's Direct Connect FAQ)
Who is online
Users browsing this forum: Google [Bot] and 0 guests