Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binaries under personal license should output warning #1878

Closed
adisbladis opened this issue Sep 16, 2017 · 14 comments
Closed

Binaries under personal license should output warning #1878

adisbladis opened this issue Sep 16, 2017 · 14 comments
Assignees
Labels
feature ⚙️ New feature or request question ❔ Help is being requested

Comments

@adisbladis
Copy link

Currently it's not clear that Caddy is under EULA when running from something like https://hub.docker.com/r/abiosoft/caddy/ .

Caddy should output a warning on stdout/stderr stating the license requirements of the build.

@elcore elcore added the question ❔ Help is being requested label Sep 16, 2017
@elcore
Copy link
Collaborator

elcore commented Sep 16, 2017

Hello @adisbladis,

Caddy itself is licensed under Apache-2.0 without the EULA.

Caddy should output a warning on stdout/stderr stating the license requirements of the build.

This is not required if @abiosoft is building Caddy from the source code, e.g. using a multi-stage build (https://docs.docker.com/engine/userguide/eng-image/multistage-build/)

@abiosoft
Copy link

I will leave this open until I modify the docker image to build from source which should be within the next 48 hours hopefully.

Thanks.

@adisbladis
Copy link
Author

@elcore I think the issue will still stand even @abiosoft modifies the image.

It's not currently clear whether the binary you are currently running is under EULA or not.

@elcore
Copy link
Collaborator

elcore commented Sep 16, 2017

@adisbladis I'll have to refer you to @abiosoft, as he is responsible for the Docker image.

ping @mholt

@adisbladis
Copy link
Author

@elcore I created a separate issue for that already abiosoft/caddy-docker#68

I just chose that image as an example of something non-compliant that is very easy to accidentally run and redistribute.

@tobya tobya added the feature ⚙️ New feature or request label Sep 16, 2017
@peon-pasado-zeitnot
Copy link

https://github.com/mholt/caddy/releases/tag/v0.10.9 - there are EULA.txt and LICENCSE .txt file. LICENSE.txt contains Apache 2.0 license. I'm confused :(

@mholt
Copy link
Member

mholt commented Sep 16, 2017

The Apache license applies to the source code (and by extension, the unofficial, community-contributed init scripts that come with the binary) and the EULA applies to the executable file.

@abiosoft
Copy link

abiosoft/caddy-docker#68 is now closed.

@hernandev
Copy link

so it's ok to use caddy for commecial, when you build the binaries yourself?

@mholt
Copy link
Member

mholt commented Sep 19, 2017

@hernandev Yes.

@mholt mholt closed this as completed Sep 19, 2017
@hernandev
Copy link

@mholt I distribute Caddy on docker images, so people will use a pre-built binary inside those docker images.

If they do so, commercially, would they be required to license it as well? They will not build it, I'm doing it, they will download binaries

@adisbladis
Copy link
Author

@hernandev If you build from source you are only bound by the Apache2 license so commercial use is fine. You are free to redistribute the binaries you built..

@mholt You are being very reckless and irresponsible in regards to licensing. It's not OK to distribute software under these unclear terms.
As someone who cares about licensing compliance (and I know my clients lawyers do too) I don't get how you (or anyone else) is OK with potentially not knowing whether you are bound by an EULA or not.

@My1
Copy link

My1 commented May 1, 2018

@mholt on this issue, is it even legit to upload release builds on github with such a restriction?

I mean what's on your site doesnt matter, but the fact that you upload the binaries with such an EULA on github can lead to quite some chaos, especially since no one can reasonably expect a limitation for personal use only to be hidden in an eula inside a binary uploaded to github in an open source repo.

Consider this: for your website you made it that the old DL links wont work anymore after a while but if one had his server set up to auto-dl the latest release from github, unpack the binary and drop the rest no one will have seen the eula change or anything, making it quite unexpected.

on top of all this we have the changelog for 0.10.9 which states:
"This release introduces our new EULA for binaries distributed through our website"
(bold by me)
this last part makes it clear that the eula applies to builds from the website but also (and that's the important part) implies that it doesnt exist for builds DLed from github.

@tobya
Copy link
Collaborator

tobya commented May 1, 2018

Perhaps it might be worth outputting the version string with the startup output.
eg. the output of
caddy -version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ⚙️ New feature or request question ❔ Help is being requested
Projects
None yet
Development

No branches or pull requests

8 participants