Commit d62dff22 authored by unknown's avatar unknown

- applied the required changes to create the FOSS License exception

   file "EXCEPTIONS" and include it in the source and binary 
   distributions


Build-tools/mysql-copyright:
   - remove COPYING and EXCEPTIONS from the commercial packages
Docs/Makefile.am:
   - create the EXCEPTIONS file that includes the FOSS License exception
scripts/make_binary_distribution.sh:
   - include EXCEPTIONS in the binary distribution, too.
support-files/mysql.spec.sh:
   - add EXCEPTIONS to the server RPM
parent f618dd6a
...@@ -101,6 +101,7 @@ sub main ...@@ -101,6 +101,7 @@ sub main
# on the toplevel of the directory instead. file 'PUBLIC' shouldn't # on the toplevel of the directory instead. file 'PUBLIC' shouldn't
# exist in the new mysql distributions, but let's be sure.. # exist in the new mysql distributions, but let's be sure..
unlink("$destdir/PUBLIC", "$destdir/README"); unlink("$destdir/PUBLIC", "$destdir/README");
unlink("$destdir/COPYING", "$destdir/EXCEPTIONS");
copy("$WD/Docs/MySQLEULA.txt", "$destdir"); copy("$WD/Docs/MySQLEULA.txt", "$destdir");
# remove readline subdir and update configure accordingly # remove readline subdir and update configure accordingly
......
...@@ -26,7 +26,7 @@ EXTRA_DIST = $(noinst_SCRIPTS) $(BUILT_SOURCES) mysqld_error.txt \ ...@@ -26,7 +26,7 @@ EXTRA_DIST = $(noinst_SCRIPTS) $(BUILT_SOURCES) mysqld_error.txt \
all: $(targets) txt_files all: $(targets) txt_files
txt_files: ../INSTALL-SOURCE ../COPYING \ txt_files: ../INSTALL-SOURCE ../COPYING ../EXCEPTIONS \
INSTALL-BINARY ../support-files/MacOSX/ReadMe.txt INSTALL-BINARY ../support-files/MacOSX/ReadMe.txt
CLEAN_FILES: $(BUILD_SOURCES) CLEAN_FILES: $(BUILD_SOURCES)
...@@ -202,7 +202,10 @@ INSTALL-BINARY: mysql.info $(GT) ...@@ -202,7 +202,10 @@ INSTALL-BINARY: mysql.info $(GT)
perl -w $(GT) mysql.info "Installing binary" "Installing source" > $@ perl -w $(GT) mysql.info "Installing binary" "Installing source" > $@
../COPYING: mysql.info $(GT) ../COPYING: mysql.info $(GT)
perl -w $(GT) mysql.info "GPL license" "Function Index" > $@ perl -w $(GT) mysql.info "GPL license" "MySQL FOSS License Exception" > $@
../EXCEPTIONS: mysql.info $(GT)
perl -w $(GT) mysql.info "MySQL FOSS License Exception" "Function Index" > $@
../support-files/MacOSX/ReadMe.txt: mysql.info $(GT) ../support-files/MacOSX/ReadMe.txt: mysql.info $(GT)
perl -w $(GT) mysql.info "Mac OS X installation" "NetWare installation" > $@ perl -w $(GT) mysql.info "Mac OS X installation" "NetWare installation" > $@
......
...@@ -86,7 +86,7 @@ do ...@@ -86,7 +86,7 @@ do
done done
for i in COPYING COPYING.LIB README Docs/INSTALL-BINARY \ for i in COPYING COPYING.LIB README Docs/INSTALL-BINARY \
MySQLEULA.txt LICENSE.doc README.NW EXCEPTIONS MySQLEULA.txt LICENSE.doc README.NW
do do
if [ -f $i ] if [ -f $i ]
then then
......
...@@ -446,7 +446,7 @@ fi ...@@ -446,7 +446,7 @@ fi
%files server %files server
%defattr(-,root,root,0755) %defattr(-,root,root,0755)
%doc COPYING README %doc COPYING EXCEPTIONS README
%doc Docs/manual.{html,ps,texi,txt} %doc Docs/manual.{html,ps,texi,txt}
%doc Docs/manual_toc.html %doc Docs/manual_toc.html
%doc support-files/my-*.cnf %doc support-files/my-*.cnf
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment