[sword-svn] r2236 - in trunk/utilities/diatheke: . cgi soap tcl
chrislit at crosswire.org
chrislit at crosswire.org
Sat Feb 7 01:35:50 MST 2009
Author: chrislit
Date: 2009-02-07 01:35:50 -0700 (Sat, 07 Feb 2009)
New Revision: 2236
Modified:
trunk/utilities/diatheke/cgi/dia-def.pl
trunk/utilities/diatheke/cgi/diatheke.pl
trunk/utilities/diatheke/corediatheke.cpp
trunk/utilities/diatheke/corediatheke.h
trunk/utilities/diatheke/diatheke.cpp
trunk/utilities/diatheke/diathekemgr.cpp
trunk/utilities/diatheke/diathekemgr.h
trunk/utilities/diatheke/gbfcgi.cpp
trunk/utilities/diatheke/gbfcgi.h
trunk/utilities/diatheke/osiscgi.cpp
trunk/utilities/diatheke/osiscgi.h
trunk/utilities/diatheke/soap/sapouni.cgi
trunk/utilities/diatheke/soap/soapatheke.pl
trunk/utilities/diatheke/tcl/biblebot-diatheke.tcl
trunk/utilities/diatheke/thmlcgi.cpp
trunk/utilities/diatheke/thmlcgi.h
Log:
license updates
Modified: trunk/utilities/diatheke/cgi/dia-def.pl
===================================================================
--- trunk/utilities/diatheke/cgi/dia-def.pl 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/cgi/dia-def.pl 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,5 +1,22 @@
#!/usr/bin/perl
+# *
+# * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+# * CrossWire Bible Society
+# * P. O. Box 2528
+# * Tempe, AZ 85280-2528
+# *
+# * This program is free software; you can redistribute it and/or modify it
+# * under the terms of the GNU General Public License as published by the
+# * Free Software Foundation version 2.
+# *
+# * 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.
+# *
+
+
#change this variable to hostname of your server
@values = split(/\&/,$ENV{'QUERY_STRING'});
$DOMAIN = $ENV{'REMOTE_ADDR'};
Modified: trunk/utilities/diatheke/cgi/diatheke.pl
===================================================================
--- trunk/utilities/diatheke/cgi/diatheke.pl 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/cgi/diatheke.pl 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,5 +1,33 @@
#!/usr/bin/perl
+#########################################################################
+### WARNING: This is for demonstration purposes only. Do not deploy
+### this CGI on a live website. There are security issues.
+### You will likely be hacked if you try to deploy this on a
+### live site.
+###
+### For a web Bible interface, please consider using
+### SwordWeb, which can be also be installed on your
+### server: http://www.crosswire.org/swordweb/
+########################################################################
+
+# *
+# * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+# * CrossWire Bible Society
+# * P. O. Box 2528
+# * Tempe, AZ 85280-2528
+# *
+# * This program is free software; you can redistribute it and/or modify it
+# * under the terms of the GNU General Public License as published by the
+# * Free Software Foundation version 2.
+# *
+# * 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.
+# *
+
+
# Typical Linux/Unix settings
$err = "2> /dev/null";
$sword_path = "/home/sword"; # SWORD_PATH environment variable you want to use
Modified: trunk/utilities/diatheke/corediatheke.cpp
===================================================================
--- trunk/utilities/diatheke/corediatheke.cpp 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/corediatheke.cpp 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,9 +1,24 @@
// Diatheke 4.2 by Chris Little <chrislit at crosswire.org>
-// Copyright 1999-2002 by CrossWire Bible Society
+// Copyright 1999-2009 by CrossWire Bible Society
// http://www.crosswire.org/sword/diatheke
-// Licensed under GNU General Public License (GPL)
-// see accompanying LICENSE file for license details
+/*
+ * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+ * CrossWire Bible Society
+ * P. O. Box 2528
+ * Tempe, AZ 85280-2528
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2.
+ *
+ * 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.
+ *
+ */
+
#include "corediatheke.h"
#include <regex.h>
#include <list>
Modified: trunk/utilities/diatheke/corediatheke.h
===================================================================
--- trunk/utilities/diatheke/corediatheke.h 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/corediatheke.h 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,8 +1,24 @@
// Diatheke 4.2 by Chris Little <chrislit at crosswire.org>
-// Copyright 1999-2002 by CrossWire Bible Society http://www.crosswire.org
-// Licensed under GNU General Public License (GPL)
-// see accompanying LICENSE file for license details
+// Copyright 1999-2009 by CrossWire Bible Society
+// http://www.crosswire.org/sword/diatheke
+/*
+ * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+ * CrossWire Bible Society
+ * P. O. Box 2528
+ * Tempe, AZ 85280-2528
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2.
+ *
+ * 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.
+ *
+ */
+
#include <stdio.h>
#include <iostream>
Modified: trunk/utilities/diatheke/diatheke.cpp
===================================================================
--- trunk/utilities/diatheke/diatheke.cpp 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/diatheke.cpp 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,9 +1,23 @@
// Diatheke 4.2.1 by Chris Little <chrislit at crosswire.org>
// Copyright 1999-2005 by CrossWire Bible Society
// http://www.crosswire.org/sword/diatheke
-// Licensed under GNU General Public License (GPL)
-// see accompanying LICENSE file for license details
+/*
+ * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+ * CrossWire Bible Society
+ * P. O. Box 2528
+ * Tempe, AZ 85280-2528
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2.
+ *
+ * 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.
+ *
+ */
#include "corediatheke.h"
#include "diathekemgr.h"
Modified: trunk/utilities/diatheke/diathekemgr.cpp
===================================================================
--- trunk/utilities/diatheke/diathekemgr.cpp 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/diathekemgr.cpp 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,3 +1,20 @@
+/*
+ * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+ * CrossWire Bible Society
+ * P. O. Box 2528
+ * Tempe, AZ 85280-2528
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2.
+ *
+ * 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.
+ *
+ */
+
//---------------------------------------------------------------------------
#include <swmodule.h>
Modified: trunk/utilities/diatheke/diathekemgr.h
===================================================================
--- trunk/utilities/diatheke/diathekemgr.h 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/diathekemgr.h 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,3 +1,20 @@
+/*
+ * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+ * CrossWire Bible Society
+ * P. O. Box 2528
+ * Tempe, AZ 85280-2528
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2.
+ *
+ * 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.
+ *
+ */
+
#ifndef DIATHEKEMGR_H
#define DIATHEKEMGR_H
Modified: trunk/utilities/diatheke/gbfcgi.cpp
===================================================================
--- trunk/utilities/diatheke/gbfcgi.cpp 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/gbfcgi.cpp 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,19 +1,26 @@
/***************************************************************************
- gbfcgi.cpp - GBF to Diatheke/CGI format
- -------------------
- begin : 2001-11-12
- copyright : 2001 by CrossWire Bible Society
- ***************************************************************************/
+ * gbfcgi.cpp - GBF to Diatheke/CGI format
+ * -------------------
+ * begin : 2001-11-12
+ * copyright : 2001 by CrossWire Bible Society
+ *
+ *
+ * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+ * CrossWire Bible Society
+ * P. O. Box 2528
+ * Tempe, AZ 85280-2528
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2.
+ *
+ * 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.
+ *
+ */
-/***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- ***************************************************************************/
-
#include <stdlib.h>
#include <string.h>
#include "gbfcgi.h"
Modified: trunk/utilities/diatheke/gbfcgi.h
===================================================================
--- trunk/utilities/diatheke/gbfcgi.h 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/gbfcgi.h 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,19 +1,26 @@
-/*-*************************************************************************
- gbfcgi.h - description
- -------------------
- begin : 2001-11-12
- copyright : 2001 by CrossWire Bible Society
- ***************************************************************************/
+/**************************************************************************
+ * gbfcgi.h - description
+ * -------------------
+ * begin : 2001-11-12
+ * copyright : 2001 by CrossWire Bible Society
+ *
+ *
+ * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+ * CrossWire Bible Society
+ * P. O. Box 2528
+ * Tempe, AZ 85280-2528
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2.
+ *
+ * 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.
+ *
+ */
-/***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- ***************************************************************************/
-
#ifndef GBFCGI_H
#define GBFCGI_H
Modified: trunk/utilities/diatheke/osiscgi.cpp
===================================================================
--- trunk/utilities/diatheke/osiscgi.cpp 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/osiscgi.cpp 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,19 +1,26 @@
/***************************************************************************
- osiscgi.cpp - OSIS to Diatheke/CGI format
- -------------------
- begin : 2003-10-21
- copyright : 2003 by CrossWire Bible Society
- ***************************************************************************/
+ * osiscgi.cpp - OSIS to Diatheke/CGI format
+ * -------------------
+ * begin : 2003-10-21
+ * copyright : 2003 by CrossWire Bible Society
+ *
+ *
+ * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+ * CrossWire Bible Society
+ * P. O. Box 2528
+ * Tempe, AZ 85280-2528
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2.
+ *
+ * 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.
+ *
+ */
-/***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- ***************************************************************************/
-
#include <stdlib.h>
#include "osiscgi.h"
#include <utilxml.h>
Modified: trunk/utilities/diatheke/osiscgi.h
===================================================================
--- trunk/utilities/diatheke/osiscgi.h 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/osiscgi.h 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,19 +1,26 @@
/***************************************************************************
- osiscgi.h - OSIS to Diatheke/CGI format
- -------------------
- begin : 2003-10-21
- copyright : 2003 by CrossWire Bible Society
- ***************************************************************************/
+ * osiscgi.h - OSIS to Diatheke/CGI format
+ * -------------------
+ * begin : 2003-10-21
+ * copyright : 2003 by CrossWire Bible Society
+ *
+ *
+ * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+ * CrossWire Bible Society
+ * P. O. Box 2528
+ * Tempe, AZ 85280-2528
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2.
+ *
+ * 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.
+ *
+ */
-/***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- ***************************************************************************/
-
#ifndef OSISCGI_H
#define OSISCGI_H
Modified: trunk/utilities/diatheke/soap/sapouni.cgi
===================================================================
--- trunk/utilities/diatheke/soap/sapouni.cgi 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/soap/sapouni.cgi 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,5 +1,21 @@
#!/usr/bin/perl
+# *
+# * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+# * CrossWire Bible Society
+# * P. O. Box 2528
+# * Tempe, AZ 85280-2528
+# *
+# * This program is free software; you can redistribute it and/or modify it
+# * under the terms of the GNU General Public License as published by the
+# * Free Software Foundation version 2.
+# *
+# * 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.
+# *
+
#version 1.0
package sapouni;
Modified: trunk/utilities/diatheke/soap/soapatheke.pl
===================================================================
--- trunk/utilities/diatheke/soap/soapatheke.pl 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/soap/soapatheke.pl 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,5 +1,22 @@
#!/usr/bin/perl
+# *
+# * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+# * CrossWire Bible Society
+# * P. O. Box 2528
+# * Tempe, AZ 85280-2528
+# *
+# * This program is free software; you can redistribute it and/or modify it
+# * under the terms of the GNU General Public License as published by the
+# * Free Software Foundation version 2.
+# *
+# * 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.
+# *
+
+
## This is a test app and has no other purpose.
use SOAP::Lite;
Modified: trunk/utilities/diatheke/tcl/biblebot-diatheke.tcl
===================================================================
--- trunk/utilities/diatheke/tcl/biblebot-diatheke.tcl 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/tcl/biblebot-diatheke.tcl 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,10 +1,23 @@
# Diatheke/Tcl 3.0 by Chris Little <chrislit at gotjesus.org>
# Based on code schema of <cking at acy.digex.net>
-# Copyright 1999 by Chris Little
-# Licensed under GNU General Public License (GPL)
-# see accompanying LICENSE file for license details
+# *
+# * Copyright 1999-2009 CrossWire Bible Society (http://www.crosswire.org)
+# * CrossWire Bible Society
+# * P. O. Box 2528
+# * Tempe, AZ 85280-2528
+# *
+# * This program is free software; you can redistribute it and/or modify it
+# * under the terms of the GNU General Public License as published by the
+# * Free Software Foundation version 2.
+# *
+# * 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.
+# *
+
# This script is intended for use with libraries and modules from
# the SWORD Project, available at http://www.crosswire.org/
#
Modified: trunk/utilities/diatheke/thmlcgi.cpp
===================================================================
--- trunk/utilities/diatheke/thmlcgi.cpp 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/thmlcgi.cpp 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,19 +1,26 @@
/***************************************************************************
- thmlcgi.cpp - ThML to Diatheke/CGI format
- -------------------
- begin : 2001-11-12
- copyright : 2001 by CrossWire Bible Society
- ***************************************************************************/
+ * thmlcgi.cpp - ThML to Diatheke/CGI format
+ * -------------------
+ * begin : 2001-11-12
+ * copyright : 2001 by CrossWire Bible Society
+ *
+ *
+ * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+ * CrossWire Bible Society
+ * P. O. Box 2528
+ * Tempe, AZ 85280-2528
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2.
+ *
+ * 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.
+ *
+ */
-/***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- ***************************************************************************/
-
#include <stdlib.h>
#include <string.h>
#include "thmlcgi.h"
Modified: trunk/utilities/diatheke/thmlcgi.h
===================================================================
--- trunk/utilities/diatheke/thmlcgi.h 2009-02-07 08:25:30 UTC (rev 2235)
+++ trunk/utilities/diatheke/thmlcgi.h 2009-02-07 08:35:50 UTC (rev 2236)
@@ -1,19 +1,26 @@
/***************************************************************************
- thmlcgi.h - OSIS to Diatheke/CGI format
- -------------------
- begin : 2001-11-12
- copyright : 2001 by CrossWire Bible Society
- ***************************************************************************/
+ * thmlcgi.h - OSIS to Diatheke/CGI format
+ * -------------------
+ * begin : 2001-11-12
+ * copyright : 2001 by CrossWire Bible Society
+ *
+ *
+ * Copyright 2009 CrossWire Bible Society (http://www.crosswire.org)
+ * CrossWire Bible Society
+ * P. O. Box 2528
+ * Tempe, AZ 85280-2528
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2.
+ *
+ * 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.
+ *
+ */
-/***************************************************************************
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of the GNU General Public License as published by *
- * the Free Software Foundation; either version 2 of the License, or *
- * (at your option) any later version. *
- * *
- ***************************************************************************/
-
#ifndef THMLCGI_H
#define THMLCGI_H
More information about the sword-cvs
mailing list