Re: How to properly handle contradicting licenses in a single file (aclocal.m4)

Simon Josefsson <[email protected]> Thu, 04 Jun 2026 08:25:39 +0200
Newsgroups gmane.linux.debian.devel.legal
Message-ID <[email protected]>
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Soren Stoutner <[email protected]> writes:

> On Wednesday, June 3, 2026 4:32:03=E2=80=AFAM Mountain Standard Time Marc=
 Haber wrote:
>> Hi,
>>=20
>> aclocal.m4 is obviously built by autotools by concatting segments that
>> might have contradicting licenses. For example, the aclocal.m4 of the
>> aide package has AT LEAST the following copyright statements in
>> different points of the SAME file:
>
> This is how I handle it for courier:
>
> https://salsa.debian.org/debian/courier/-/blob/master/debian/copyright?
> ref_type=3Dheads#L77-95

That aclocal.m4 a great file to not have in the Debian source code and
(as a consequence) in debian/copyright at all.  Generated 12.000 lines
of M4 code, what could possibly go wrong?

https://salsa.debian.org/debian/courier/-/blob/master/aclocal.m4

Other than that, I think your debian/copyright snippet is a great
example of how to deal with this if you can't avoid the file: list all
copyright holders and mention all involved licenses using AND clause.

/Simon

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQNoBAEWCgMQFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmohGmQUHHNpbW9uQGpv
c2Vmc3Nvbi5vcmfCHCYAmDMEXJLOtBYJKwYBBAHaRw8BAQdACIcrZIvhrxDBkK9f
V+QlTmXxo2naObDuGtw58YaxlOu0JVNpbW9uIEpvc2Vmc3NvbiA8c2ltb25Aam9z
ZWZzc29uLm9yZz6IlgQTFggAPgIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgBYh
BLHSvRN1vst4TPT4xNc89jjFPAa+BQJp4fWRBQkOa+rdAAoJENc89jjFPAa+hWIA
/1lQvrJeGlQq50lP6tm99D1zDy7J1tQ3ha4x0Jx7rkFTAP9hpUKuTvm6m1fXyiZV
YZlu2+Id/Dq3CIAZvNF+XEr2BLgzBFySz4EW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