Skip to content

Commit

Permalink
Adjust copyrights.
Browse files Browse the repository at this point in the history
  • Loading branch information
grisha committed Sep 5, 2024
1 parent 51f359d commit 4315a40
Show file tree
Hide file tree
Showing 50 changed files with 89 additions and 117 deletions.
2 changes: 1 addition & 1 deletion Doc/copyright.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright

Mod_python and this documentation is:

Copyright © 2000, 2001, 2013 Gregory Trubetskoy
Copyright © 2000, 2001, 2013, 2024 Gregory Trubetskoy

Copyright © 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation

Expand Down
4 changes: 2 additions & 2 deletions Makefile.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -80,7 +80,7 @@ distclean: clean
cd scripts && $(MAKE) distclean
cd test && $(MAKE) distclean
rm -rf Makefile config.h config.status config.cache config.log \
test/testconf.py
test/testconf.py

test: @ALL@
cd test && $(MAKE) test
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
2 changes: 1 addition & 1 deletion lib/python/mod_python/Cookie.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# vim: set sw=4 expandtab :
#
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
2 changes: 1 addition & 1 deletion lib/python/mod_python/Session.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# vim: set sw=4 expandtab :
#
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
4 changes: 1 addition & 3 deletions lib/python/mod_python/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down Expand Up @@ -30,5 +30,3 @@
# httpdconf, so we fail silently
from . import apache
except: pass


2 changes: 1 addition & 1 deletion lib/python/mod_python/apache.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# vim: set sw=4 expandtab :
#
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
2 changes: 1 addition & 1 deletion lib/python/mod_python/cache.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
2 changes: 1 addition & 1 deletion lib/python/mod_python/cgihandler.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
2 changes: 1 addition & 1 deletion lib/python/mod_python/httpdconf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
3 changes: 1 addition & 2 deletions lib/python/mod_python/psp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# vim: set sw=4 expandtab :
#
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down Expand Up @@ -475,4 +475,3 @@ def get(self, filename, mtime):
return None

mem_fcache = FileCache()

2 changes: 1 addition & 1 deletion lib/python/mod_python/publisher.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
4 changes: 2 additions & 2 deletions lib/python/mod_python/python22.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
Expand All @@ -22,6 +22,6 @@
import sys
if sys.version < '2.3':
import builtins as hack

# Enumerate does not exists in Python 2.2
hack.enumerate = lambda s : list(zip(list(range(len(s))),s))
2 changes: 1 addition & 1 deletion lib/python/mod_python/testhandler.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
2 changes: 1 addition & 1 deletion lib/python/mod_python/util.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# vim: set sw=4 expandtab :
#
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
4 changes: 1 addition & 3 deletions lib/python/mod_python/wsgi.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down Expand Up @@ -76,5 +76,3 @@ def handler(req):
getattr(response, 'close', lambda: None)()

return apache.OK


2 changes: 1 addition & 1 deletion scripts/Makefile.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
4 changes: 1 addition & 3 deletions scripts/mod_python.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!@PYTHON_BIN@

# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down Expand Up @@ -163,5 +163,3 @@ if __name__ == "__main__":
### Local Variables:
### mode:python
### End:


2 changes: 1 addition & 1 deletion src/Makefile.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
# Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
8 changes: 4 additions & 4 deletions src/_apachemodule.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down Expand Up @@ -853,12 +853,12 @@ PyObject *_apache_module_init()
#else
m = PyModule_Create(&_apache_moduledef);
PyObject *name = PyUnicode_FromString("_apache");

_PyImport_FixupExtensionObject(m, name, name
#if PY_MINOR_VERSION >= 7
,PyImport_GetModuleDict()
,PyImport_GetModuleDict()
#endif
);
);
#endif
d = PyModule_GetDict(m);
Mp_ServerReturn = PyErr_NewException("_apache.SERVER_RETURN", NULL, NULL);
Expand Down
2 changes: 1 addition & 1 deletion src/_pspmodule.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
2 changes: 1 addition & 1 deletion src/connobject.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
3 changes: 1 addition & 2 deletions src/filterobject.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down Expand Up @@ -569,4 +569,3 @@ PyTypeObject MpFilter_Type = {
0, /* tp_as_mapping*/
0, /* tp_hash*/
};

2 changes: 1 addition & 1 deletion src/finfoobject.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
3 changes: 1 addition & 2 deletions src/hlist.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down Expand Up @@ -148,4 +148,3 @@ void hlist_extend(apr_pool_t *p, hl_entry *hle1,
hle2 = hle2->next;
}
}

4 changes: 1 addition & 3 deletions src/hlistobject.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down Expand Up @@ -179,5 +179,3 @@ PyTypeObject MpHList_Type = {
0, /* tp_as_mapping*/
0, /* tp_hash*/
};


2 changes: 1 addition & 1 deletion src/include/_apachemodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define Mp_APACHEMODULE_H

/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
3 changes: 1 addition & 2 deletions src/include/_pspmodule.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down Expand Up @@ -31,4 +31,3 @@
#endif

#endif /* __PSP_MODULE_H */

2 changes: 1 addition & 1 deletion src/include/connobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ extern "C" {
#endif

/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
2 changes: 1 addition & 1 deletion src/include/filterobject.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
2 changes: 1 addition & 1 deletion src/include/finfoobject.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
14 changes: 7 additions & 7 deletions src/include/hlist.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You
* may obtain a copy of the License at
Expand All @@ -17,10 +17,10 @@
* Originally developed by Gregory Trubetskoy.
*
*
* hlist.h
* hlist.h
*
*
* See accompanying documentation and source code comments
* See accompanying documentation and source code comments
* for details.
*
*/
Expand All @@ -43,9 +43,9 @@ extern "C" {
no error should be reported */
struct hl_entry *next;
} hl_entry;
hl_entry *hlist_new(apr_pool_t *p, const char *h, const char *d,
char d_is_fnmatch, char d_is_location,

hl_entry *hlist_new(apr_pool_t *p, const char *h, const char *d,
char d_is_fnmatch, char d_is_location,
ap_regex_t *regex, const char silent);
hl_entry *hlist_append(apr_pool_t *p, hl_entry *hle, const char * h,
const char *d, char d_is_fnmatch, char d_is_location,
Expand Down
2 changes: 1 addition & 1 deletion src/include/hlistobject.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
4 changes: 1 addition & 3 deletions src/include/mod_python.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define Mp_MOD_PYTHON_H

/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand All @@ -22,8 +22,6 @@
*
* mod_python.h
*
* $Id: mod_python.h 231054 2005-08-09 15:37:04Z jgallacher $
*
* See accompanying documentation and source code comments
* for details.
*
Expand Down
2 changes: 1 addition & 1 deletion src/include/mod_python.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define Mp_MOD_PYTHON_H

/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
2 changes: 1 addition & 1 deletion src/include/psp_parser.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
Expand Down
5 changes: 2 additions & 3 deletions src/include/psp_string.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Copyright (C) 2000, 2001, 2013 Gregory Trubetskoy
* Copyright (C) 2000, 2001, 2013, 2024 Gregory Trubetskoy
* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Apache Software Foundation
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. You
* may obtain a copy of the License at
Expand Down Expand Up @@ -41,4 +41,3 @@ void psp_string_clear(psp_string *);
void psp_string_free(psp_string *);

#endif /* __PSP_STRING_H */

Loading

0 comments on commit 4315a40

Please sign in to comment.