Reuben Thomas <r...@sc3d.org> writes: > On 13 September 2012 14:56, Simon Josefsson <si...@josefsson.org> wrote: >> >> This isn't supported now, but it might be useful. How about a >> gnulib-tool --license=foo instead of the current --lgpl? I'm using some >> files from gnulib in projects licensed under the BSD license (primarily >> m4 macros), but I'm copying the files manually today. > > Thanks. > > I can't find a sample public domain license to copy in the gnulib > tree, so I used this boilerplate code from the GCS and replaced the > GPL notice at the top of dummy.c with it: > > Copying and distribution of this file, with or without > modification, are permitted in any medium without royalty > provided the copyright notice and this notice are preserved. > > Is that OK?
Actually I think gnulib's "public domain" and the boilerplate above are different. The boilerplate above requires a copyright notice, so it isn't public domain. The other modules with "public domain" licenses actually say something like "This function is in the public domain" in the file, so you may use that. For the record, below is a list of the "non-standard" licenses in gnulib right now. There is only 5 'public domain' modules; alloca, atexit, dummy, memmove, regexprops-generic. The last one seems to be a mistake, it should be fdl. The atexit and memmove modules are marked as obsolete, so they are likely of little interest. The alloca module seems non-trivial but marked as public domain in the code. agpl-3.0:unmodifiable license text alloca:public domain atexit:public domain autobuild:unlimited dummy:public domain extern-inline:unlimited fdl:unmodifiable license text fdl-1.3:unmodifiable license text func:unlimited gperf:unlimited gpl-2.0:unmodifiable license text gpl-3.0:unmodifiable license text havelib:unlimited host-cpu-c-abi:unlimited inline:unlimited lgpl-2.1:unmodifiable license text lgpl-3.0:unmodifiable license text lib-ignore:unlimited lib-msvc-compat:unlimited lib-symbol-versions:unlimited lib-symbol-visibility:unlimited manywarnings:unlimited memmove:public domain multiarch:unlimited nocrash:unlimited regexprops-generic:public domain socklen:unlimited ssize_t:unlimited valgrind-tests:unlimited warnings:unlimited /Simon