--- deliantra/server/ext/affero.ext 2007/07/01 05:00:18 1.1 +++ deliantra/server/ext/affero.ext 2007/11/08 19:43:24 1.3 @@ -3,28 +3,38 @@ # This file is licensed under the GNU Affero General Public License, see # the accompanying file COPYING.Affero for details. # +# This file is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, version 3 of the License only. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# The authors can be reached via e-mail to + # The intent of this file is to provide the user of the server with # a URL where he/she can download the source code of this program # together with any maps and archetype data used to run the server. -# the default uses the location of the pristine sources and works +# The default uses the location of the pristine release and works # unless you modify the server, in which case you are required to # either update the URL here or, preferably, change the source_url_tar # and source_url_cvs settings in $CONFDIR/config. -our $URL_TAR = "http://dist.schmorp.de/crossfire/"; +our $URL_TAR = $cf::CFG{source_url_tar} || "http://dist.schmorp.de/crossfire/"; our $URL_TAR_SERVER = "$URL_TAR/cfserver-" . cf::VERSION . ".tar.bz2"; our $URL_TAR_ARCH = "$URL_TAR/cfarch-" . cf::VERSION . ".tar.bz2"; our $URL_TAR_MAPS = "$URL_TAR/cfmaps-" . cf::VERSION . ".tar.bz2"; -our $URL_CVS_INFO = "http://software.schmorp.de/pkg/cf.schmorp.de.html"; -our $URL_CVS_HTTP = "http://cvs.schmorp.de/cf.schmorp.de/"; +our $URL_CVS = $cf::CFG{source_url_cvs} || "http://software.schmorp.de/pkg/cf.schmorp.de.html"; cf::register_command sourcecode => sub { my ($ob, $arg) = @_; $ob->reply (undef, <