์คํ์์ค ์ํํธ์จ์ด ๋ผ์ด์ ์ค ์๋ฒฝ ๊ฐ์ด๋: MIT, Apache 2.0, BSD, GPL, LGPL, AGPL, MPL ๋น๊ต ๋ถ์, 3์ด ์ ํ ์์ฌ๊ฒฐ์ ํธ๋ฆฌ, ์ ์๊ถ ๋ฐ ํนํ๊ถ ์กฐํญ, SPDX ํ์ค ์๋ณ์, ์ธ์ด๋ณ ์์ค์ฝ๋ ํค๋ ํ๊ธฐ๋ฒ, ์๋ํํฐ ๋ผ์ด์ ์ค ์์กด์ฑ ๊ฐ์ฌ(Audit) ๋ฐ ๊ธฐ์
์ฉ ๊ฑฐ๋ฒ๋์ค ์ฒดํฌ๋ฆฌ์คํธ
## 1. ํ์ ์ฌ์ ์๊ฑด & ์คํ์์ค ๋ฒ์ ๊ธฐ์ด (Prerequisites)
์คํ์์ค(Open Source) ์ฝ๋๋ **"๋ฌด๋ฃ๋ก ๋๊ตฌ๋ ๋ง์๋๋ก ์ธ ์ ์๋ ๊ณต๊ณต์ฌ"๊ฐ ์๋๋๋ค.** ์ ์๊ถ์(Copyright Holder)๊ฐ ํน์ ํ ์ด์ฉ ํ๋ฝ ์กฐ๊ฑด(License Terms)์ ๋ช
์ํ๊ณ , ์ด์ฉ์๊ฐ ๊ทธ ์กฐ๊ฑด์ ์ค์ํ๋ค๋ ์ ์ ํ์ ๋ฐฐํฌ๋๋ ๋ฒ์ ๊ณ์ฝ์
๋๋ค.
### โ๏ธ 1. ๋ผ์ด์ ์ค ๋ฏธํ๊ธฐ ์ ์ฅ์์ ๋ฒ์ ์๋ฏธ (All Rights Reserved)
- GitHub ๋ฑ ๊ณต๊ฐ ์ ์ฅ์์ ์์ค์ฝ๋๊ฐ ์ฌ๋ผ์ ์์ด๋ `LICENSE` ํ์ผ์ด ์์ผ๋ฉด **๊ธฐ๋ณธ์ ์ผ๋ก ์ ์๊ถ๋ฒ์ '๋ชจ๋ ๊ถ๋ฆฌ ๋ณด์ (All Rights Reserved)' ์ํ**์
๋๋ค.
- ์ฆ, ํ์ธ์ ํด๋น ์ฝ๋๋ฅผ ๋์ผ๋ก ๋ณผ ์๋ง ์์ ๋ฟ, ๋ณต์ ยท์์ ยท๋ฐฐํฌยท์์
์ ์ฌ์ฉ์ด **์์น์ ์ผ๋ก ๋ถ๋ฒ**์
๋๋ค. ์์ ์ ํ๋ก์ ํธ๋ฅผ ๋จ๋ค์ด ์์ ๋กญ๊ฒ ์ฐ๊ฒ ํ๋ ค๋ฉด ๋ฐ๋์ ๊ณต์ ๋ผ์ด์ ์ค๋ฅผ ๋ช
์ํด์ผ ํฉ๋๋ค.
### ๐ฆ 2. ํ๋ก์ ํธ ๋ผ์ด์ ์ค ์ ์ฉ์ 3๋ ํ์ ์์
ํ๋ก์ ํธ์ ์คํ์์ค ๋ผ์ด์ ์ค๋ฅผ ์ฌ๋ฐ๋ฅด๊ฒ ๋ถ์ฌํ๊ธฐ ์ํด ๋ค์ 3๋จ๊ณ๋ฅผ ๊ตฌ์ฑํฉ๋๋ค:
1. **์ ์ฅ์ ๋ฃจํธ์ `LICENSE` (๋๋ `LICENSE.txt`) ํ์ผ ๋ฐฐ์น**: ๋ผ์ด์ ์ค ๊ณต์ ์ ๋ฌธ๊ณผ ์ ์๊ถ ํ๊ธฐ(`Copyright (c) YYYY Name`) ํฌํจ.
2. **ํจํค์ง ๋งค๋์ ๋ฉํ๋ฐ์ดํฐ ๋ช
์**: `package.json`, `pom.xml`, `pyproject.toml` ๋ฑ์ ๊ณต์ SPDX ์๋ณ์ ๊ธฐ์ฌ.
3. **์์ค์ฝ๋ ํ์ผ ์๋จ SPDX ํค๋ ์ฃผ์ ํ๊ธฐ**: ํ์ผ ๋ณต์ ๋ฐ ๋จ๋
์ฌ์ฉ ์์๋ ๋ผ์ด์ ์ค ์ถ์ ์ด ๊ฐ๋ฅํ๋๋ก ๊ฐ๊ฒฐํ ํ์ค ํค๋ ์ฝ์
.
### ๐ ๏ธ 3. ๋ผ์ด์ ์ค ๊ฐ์ฌ ๋ฐ ๋ถ์ CLI ๋๊ตฌ ์ค์น
ํ๋ก์ ํธ์ ์์ฒด ๋ผ์ด์ ์ค ์ํ ๋ฐ ์๋ํํฐ(npm, pip ๋ฑ) ์์กด์ฑ ๋ผ์ด์ ์ค๋ฅผ ์ง๋จํ๋ ์ ์ฉํ ๋๊ตฌ๋ค์
๋๋ค:
```bash
# 1. GitHub ๊ณต์ ๋ผ์ด์ ์ค ๊ฐ์ง CLI (์ ์ฅ์์ LICENSE ํ๋ณ)
gem install licensee
licensee detect .
# 2. Node.js ์์กด์ฑ ๋ผ์ด์ ์ค ๊ฒ์ฌ ๋๊ตฌ
npm install -g license-checker
license-checker --summary
# 3. Python ๊ฐ์ํ๊ฒฝ ์์กด์ฑ ๋ผ์ด์ ์ค ์ถ์ถ ๋๊ตฌ
pip install pip-licenses
pip-licenses --summary
# 4. Rust Cargo ๋ผ์ด์ ์ค ๋ฐ ๋ณด์ ๊ฐ์ฌ ๋๊ตฌ
cargo install cargo-deny
cargo deny check licenses
```
---
## 2. ์ง๊ด์ ์ธ ๋ฉํ ๋ชจ๋ธ & ์์ฌ๊ฒฐ์ ํธ๋ฆฌ (Mental Model)
### ๐ณ 1. ๋์๊ฒ ๋ง๋ ๋ผ์ด์ ์ค ์ ํ 3์ด ์์ฌ๊ฒฐ์ ํธ๋ฆฌ
```
[๋ด ํ๋ก์ ํธ๋ฅผ ์คํ์์ค๋ก ๋ฐฐํฌํ ๋]
โ
๋๊ตฐ๊ฐ ๋ด ์ฝ๋๋ฅผ ์์ ํด์ ๋ฐฐํฌํ ๋,
๊ทธ ์ฌ๋์ ๋ณ๊ฒฝ๋ ์์ค์ฝ๋๋ ๊ณต๊ฐํ๊ฒ ๋ง๋ค๊ณ ์ถ์๊ฐ?
โ
โโโโโโโโโโโโดโโโโโโโโโโโ
[ ์๋์ค ] [ ์ ]
(์ต๋ํ ์์ ๋กญ๊ฒ ๋ฐฐํฌ) (์นดํผ๋ ํํธ/์์ค์ฝ๋ ๊ณต๊ฐ ๊ฐ์ )
โ โ
ํนํ๊ถ ๋ฐ ์ํ๊ถ ๋ถ์์ ์ด๋ค ๋ฒ์๊น์ง ์์ ํ ์ฝ๋๋ฅผ
๋ช
์์ ์ผ๋ก ๋ฐฉ์งํ๊ณ ์ถ์๊ฐ? ๊ณต๊ฐํ๋๋ก ๊ฐ์ ํ ๊ฒ์ธ๊ฐ?
โ โ
โโโโโโดโโโโโ โโโโโโดโโโโโโโโโโโโโโโโ
[์๋์ค] [์] [๋คํธ์ํฌ/์น์๋น์ค] [์ ์ฒด ๋ฐ์ด๋๋ฆฌ/๋งํฌ] [์์ ํ ํ์ผ๋ง]
โ โ (SaaS ๋ฐฑ์๋ ํฌํจ) (ํ์ ์ ์๋ฌผ ์ ์ฒด) (๋
๋ฆฝ ํ์ผ ์ ์ง)
โผ โผ โ โ โ
MIT Apache 2.0 โผ โผ โผ
(๊ฐ์ฅ ๋จ์ (ํนํ ๋ณดํธ, AGPL v3 GPL v3 MPL 2.0
๋์ค์ ) ๊ธฐ์
์นํ์ ) (ํด๋ผ์ฐ๋ ์ฐํ ๋ฐฉ์ง) (๊ฐํ ์นดํผ๋ ํํธ) (์ฝํ ์นดํผ๋ ํํธ)
```
---
### ๐ 2. ์คํ์์ค ๋ผ์ด์ ์ค ์์ ๋ ์คํํธ๋ผ (Permissive vs Copyleft)
```
[ํ์ฉํ (Permissive)] โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโถ [์นดํผ๋ ํํธ (Copyleft)]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Unlicense / CC0 โ MIT / BSD-2 โ Apache 2.0 โ MPL 2.0 โ LGPL v3 โ GPL v3 โ AGPL v3
โโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโผโโโโโโโโโโโโผโโโโโโโโโโโโผโโโโโโโโโโโโผโโโโโโโโโโ
์ ์๊ถ ์์ ํฌ๊ธฐ โ ๋จ์ ๊ณ ์ง๋ง โ ํนํ๊ถ ๋ณดํธ โ ํ์ผ ๋จ์ โ ๋์ ๋งํฌ โ ํ์ ์ฝ๋ โ ์น ์๋น์ค
(Public Domain) โ ์๊ตฌ โ ์ํ๊ถ ๋ฐฐ์ โ ๊ณต๊ฐ ์๋ฌด โ ํ์ฉ โ ์ ์ฒด ๊ณต๊ฐ โ ์คํ๋ ๊ณต๊ฐ
```
---
### ๐ 3. ์ฃผ์ ์คํ์์ค ๋ผ์ด์ ์ค ํต์ฌ ๋น๊ตํ
| ๋ผ์ด์ ์ค (SPDX) | ๊ตฌ๋ถ | ์์ค์ฝ๋ ๊ณต๊ฐ ์๋ฌด | ์์
์ ์ด์ฉ | ํนํ๊ถ ๋ช
์ ํ์ฉ | 2์ฐจ ์ ์๋ฌผ ๋ผ์ด์ ์ค ๋ณ๊ฒฝ | ๋ํ ํ๋ก์ ํธ |
| :--- | :--- | :---: | :---: | :---: | :---: | :--- |
| **MIT** | ํ์ฉํ (Permissive) | โ ๋ถํ์ | โ
๊ฐ๋ฅ | โ ๏ธ ๋ฌต์์ | โ
์์ ๋ณ๊ฒฝ ๊ฐ๋ฅ | React, Vue, Node.js |
| **Apache-2.0** | ํ์ฉํ (Permissive) | โ ๋ถํ์ | โ
๊ฐ๋ฅ | โ
๋ช
์์ ํนํ ๋ถ์ฌ | โ
์์ ๋ณ๊ฒฝ ๊ฐ๋ฅ | Kubernetes, Android, Spring |
| **BSD-3-Clause** | ํ์ฉํ (Permissive) | โ ๋ถํ์ | โ
๊ฐ๋ฅ | โ ๏ธ ๋ฌต์์ | โ
์์ ๋ณ๊ฒฝ ๊ฐ๋ฅ | Go, Redis(์ด๊ธฐ), Nginx |
| **MPL-2.0** | ์ฝํ ์นดํผ๋ ํํธ | โ ๏ธ ์์ ๋ ํ์ผ๋ง | โ
๊ฐ๋ฅ | โ
๋ช
์์ ํนํ ๋ถ์ฌ | โ ๋์ผ ๋ผ์ด์ ์ค(ํ์ผ) | Firefox, Terraform(๊ตฌ) |
| **LGPL-3.0** | ์ฝํ ์นดํผ๋ ํํธ | โ ๏ธ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ง | โ
๊ฐ๋ฅ | โ
๋ช
์์ ํนํ ๋ถ์ฌ | โ ๋์ผ ๋ผ์ด์ ์ค | FFmpeg, 7-Zip DLL |
| **GPL-3.0** | ๊ฐํ ์นดํผ๋ ํํธ | โ
์ ์ฒด ์์ค ๊ณต๊ฐ | โ
๊ฐ๋ฅ | โ
๋ช
์์ ํนํ ๋ถ์ฌ | โ ๋ฌด์กฐ๊ฑด GPL-3.0 | Linux ์ปค๋(v2), Git, Bash |
| **AGPL-3.0** | ๋คํธ์ํฌ ์นดํผ๋ ํํธ | โ
์ ์ฒด ์์ค ๊ณต๊ฐ | โ
๊ฐ๋ฅ | โ
๋ช
์์ ํนํ ๋ถ์ฌ | โ ๋ฌด์กฐ๊ฑด AGPL-3.0 | Grafana(์ ), Mastodon |
---
## 3. ๋ํ ๋ผ์ด์ ์ค๋ณ ํน์ง & ๋ฐ๋ก ์ฐ๋ LICENSE ํ
ํ๋ฆฟ
### ๐ข 1. MIT License (๊ฐ์ฅ ๋๋ฆฌ ์ฐ์ด๋ ํ์ค ํ์ฉํ)
- **ํต์ฌ ์์ฝ**: "๋ฌด์์ ํ๋ ์์ ์ด์ง๋ง, ์์ ์์ ์ ์๊ถ ํ์ ๋ฐ ๋ฉด์ฑ
์กฐํญ๋ง ๋ณด์กดํ์ธ์."
- **์๋ฌด ์ฌํญ**: ๋ผ์ด์ ์ค ์ ๋ฌธ๊ณผ ์ ์๊ถ ๊ณ ์ง(`Copyright (c) YYYY ์ ์์`)๋ฅผ ๋ณต์ ๋ฌผ์ ํฌํจํด์ผ ํจ.
- **์์
์ ์ฌ์ฉ**: ๋น๊ณต๊ฐ ์์ฉ ์๋ฃจ์
์ ํฌํจํ๊ฑฐ๋ ํ๋งค ๊ฐ๋ฅ.
#### ๐ ๋ฐ๋ก ๋ณต์ฌํด์ ์ฐ๋ `LICENSE` (MIT)
```text
MIT License
Copyright (c) 2026 ํ๊ธธ๋ (Hong Gil-dong)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
---
### ๐ต 2. Apache License 2.0 (๊ธฐ์
๋ฐ ์ํฐํ๋ผ์ด์ฆ ๊ถ์ฅ ํ์ฉํ)
- **ํต์ฌ ์์ฝ**: MIT์ ์์ ๋ก์์ **ํนํ๊ถ ๋ณดํธ(Patent Grant)** ๋ฐ **์ํ๊ถ ๋ณดํธ(Trademark Restriction)**๊ฐ ์ฒด๊ณ์ ์ผ๋ก ๊ฒฐํฉ๋ ๊ธฐ์
ํ์ค ๋ผ์ด์ ์ค.
- **ํนํ ๋ณด๋ณต ์กฐํญ**: ์ฌ์ฉ์๊ฐ ๊ธฐ์ฌ์์๊ฒ ํนํ ์นจํด ์์ก์ ์ ๊ธฐํ๋ฉด, ํด๋น ์ฌ์ฉ์์๊ฒ ๋ถ์ฌ๋ ์ํํธ์จ์ด ํนํ ๋ผ์ด์ ์ค๊ฐ ์ฆ์ ์ข
๋ฃ๋ฉ๋๋ค.
- **์๋ฌด ์ฌํญ**:
- ์ ์๊ถ ๊ณ ์ง ๋ณด์กด
- ์๋ณธ ์ฝ๋๋ฅผ ์์ ํ ๊ฒฝ์ฐ "์์ ๋์๋ค๋ ์ฌ์ค(Notice of Modification)"์ ์์ค ํ์ผ์ ๋ช
์
- ํ๋ก์ ํธ์ `NOTICE` ํ์ผ์ด ํฌํจ๋์ด ์๋ค๋ฉด ์ฌ๋ฐฐํฌ ์ ํด๋น ๋ด์ฉ ๋ณด์กด
#### ๐ ๋ฐ๋ก ๋ณต์ฌํด์ ์ฐ๋ `NOTICE` ํ์ผ ์์ (Apache 2.0)
```text
My Awesome Project
Copyright 2026 ํ๊ธธ๋ (Hong Gil-dong)
This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
```
---
### ๐ก 3. BSD 3-Clause License (๋ณด์ฆ ๋ฐ ํ๋ณด ์ ํํ)
- **ํต์ฌ ์์ฝ**: MIT์ ๊ฑฐ์ ์ ์ฌํ๋, **3๋ฒ์งธ ์กฐํญ(No Endorsement)**์ ํตํด ์์ ์์๋ ๊ธฐ์ฌ์์ ์ด๋ฆ์ ๋์ ์์ด ์ ํ ํ๋ณด๋ ๋ณด์ฆ ๋ชฉ์ ์ผ๋ก ์ฌ์ฉํ ์ ์๋๋ก ๋ฒ์ ์ผ๋ก ์ฐจ๋จํฉ๋๋ค.
#### ๐ ๋ฐ๋ก ๋ณต์ฌํด์ ์ฐ๋ `LICENSE` (BSD 3-Clause)
```text
BSD 3-Clause License
Copyright (c) 2026, ํ๊ธธ๋ (Hong Gil-dong)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
```
---
### ๐ด 4. GNU GPL v3 (๊ฐํ ์นดํผ๋ ํํธ / General Public License)
- **ํต์ฌ ์์ฝ**: "์์ ์ํํธ์จ์ด์ ์์ ๋ฅผ ์๊ตฌํ ๋ณด์ฅํ๋ค." ์ฝ๋๋ฅผ ๊ฐ์ ธ๋ค ์ฐ๊ฑฐ๋ ๊ฒฐํฉํ์ฌ ๋ฐ์ด๋๋ฆฌ๋ก ๋ฐฐํฌํ๋ ์๊ฐ, **์ ์ฒด ํ๋ก์ ํธ์ ์์ค์ฝ๋๋ฅผ ๋์ผํ GPL v3 ๋ผ์ด์ ์ค๋ก ๊ณต๊ฐํด์ผ ํฉ๋๋ค (์ ์ผ์ฑ).**
- **ํฐ๋ณด์ด์ ์ด์
(Tivoization) ๋ฐฉ์ง**: ํ๋์จ์ด ๊ธฐ๊ธฐ์ ํ์ฌ๋ ๊ฒฝ์ฐ, ์ฌ์ฉ์๊ฐ ์์ ๋ ์ํํธ์จ์ด๋ฅผ ๊ธฐ๊ธฐ์ ์ค์นํ์ฌ ์คํํ ์ ์๋ ์ค์น ์ ๋ณด(ํค, ์๋ช
)๊น์ง ์ ๊ณตํด์ผ ํฉ๋๋ค.
- **์ฃผ์์ **: ์ฌ๋ด ๋
์ ์์ค์ฝ๋๊ฐ ๋ด๊ธด ๊ธฐ์
์ฉ ํด๋ก์ฆ๋ ์๋ฃจ์
์ GPL ์ฝ๋๋ฅผ ์ง์ ์ ์ ๋งํฌ(Static Link)ํ์ฌ ๋ฐฐํฌํ๋ฉด ์ฌ๋ด ์ ์ฒด ์์ค์ฝ๋๋ฅผ ๊ณต๊ฐํด์ผ ํ๋ ์น๋ช
์ ๋ฆฌ์คํฌ๊ฐ ๋ฐ์ํฉ๋๋ค.
---
### ๐ฃ 5. GNU LGPL v3 (์ฝํ ์นดํผ๋ ํํธ / Lesser GPL)
- **ํต์ฌ ์์ฝ**: ์ฃผ๋ก ๊ณต์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ(C/C++ .so, .dll ๋ฑ)์ ์ฌ์ฉ๋ฉ๋๋ค.
- **๋์ ๋งํฌ ํ์ฉ**: ์์ฉ ํ๋ก๊ทธ๋จ์ด LGPL ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ **๋์ ๋งํฌ(Dynamic Linking)** ํํ๋ก๋ง ํธ์ถํ์ฌ ์ฌ์ฉํ ๊ฒฝ์ฐ, ๋ฉ์ธ ์์ฉ ํ๋ก๊ทธ๋จ์ ์์ค์ฝ๋๋ ๋น๊ณต๊ฐ๋ก ์ ์งํ ์ ์์ต๋๋ค.
- ๋จ, LGPL ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์์ฒด์ ๋ฒ๊ทธ๋ฅผ ์์ ํ๊ฑฐ๋ ์์ ํ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ๋ฒ๋ค๋งํ์ฌ ๋ฐฐํฌํ๋ค๋ฉด ํด๋น ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ ์์ ์์ค์ฝ๋๋ ๋ฐ๋์ ๊ณต๊ฐํด์ผ ํฉ๋๋ค.
---
### ๐ 6. GNU AGPL v3 (๋คํธ์ํฌ/SaaS ์นดํผ๋ ํํธ / Affero GPL)
- **ํต์ฌ ์์ฝ**: GPL์ ์ต๋ ๋งน์ ์ด์๋ **"ํด๋ผ์ฐ๋ ์๋น์ค(SaaS) ๋ฃจํํ"์ ์ฐจ๋จ**ํ ๋ผ์ด์ ์ค์
๋๋ค.
- GPL์ ๋ฐ์ด๋๋ฆฌ๋ฅผ "๋ฐฐํฌ(Distribute)"ํ ๋๋ง ์์ค ๊ณต๊ฐ ์๋ฌด๊ฐ ๋ฐ์ํ์ฌ, ์ฝ๋๋ฅผ ์๋ฒ์ ์ฌ๋ ค๋๊ณ ์น API๋ก๋ง ์๋น์ค(SaaS)ํ๋ฉด ์์ค ๊ณต๊ฐ๋ฅผ ํผํ ์ ์์์ต๋๋ค.
- AGPL์ **๋คํธ์ํฌ๋ฅผ ํตํด ํด๋น ์ํํธ์จ์ด์ ์ํธ์์ฉํ๋ ์๊ฒฉ ์ฌ์ฉ์์๊ฒ๋ ์์ค์ฝ๋ ์ ์ฒด๋ฅผ ๋ค์ด๋ก๋ํ ์ ์๋ ์๋จ(๋งํฌ ๋ฑ)์ ์ ๊ณตํ ๊ฒ์ ๋ฒ์ ์ผ๋ก ๊ฐ์ **ํฉ๋๋ค.
- ๋ฐฑ์๋ ๋ฐ์ดํฐ๋ฒ ์ด์ค, ๋ชจ๋ํฐ๋ง ์์ง(Grafana), ๋ถ์ฐ ์์คํ
์์ ์
์์ ์ธ ํด๋ผ์ฐ๋ ๊ธฐ์
(AWS ๋ฑ)์ ๋ฌด๋ฃ ํธ์คํ
์ฌํ๋งค๋ฅผ ๋ฐฉ์งํ๊ธฐ ์ํด ์ ๊ทน ๋์
๋๊ณ ์์ต๋๋ค.
---
### ๐ก๏ธ 7. Mozilla Public License 2.0 (MPL 2.0 - ์ค๋ฌด ์นํํ ํ์ผ ๋จ์ ์นดํผ๋ ํํธ)
- **ํต์ฌ ์์ฝ**: GPL๊ณผ MIT ์ฌ์ด์ ์๋ฒฝํ ์ค๋ฌด์ ๊ท ํ์ ์
๋๋ค.
- **ํ์ผ ๋จ์(File-level) ์นดํผ๋ ํํธ**: MPL ๋ผ์ด์ ์ค๊ฐ ๊ฑธ๋ฆฐ ์๋ณธ ์์ค ํ์ผ(`foo.go`)์ ์์ ํ ๊ฒฝ์ฐ ํด๋น ํ์ผ๋ง ์์ค์ฝ๋๋ฅผ ๊ณต๊ฐํ๋ฉด ๋๋ฉฐ, ํด๋น ํ์ผ์ ์ํฌํธํ์ฌ ๋ง๋ ๋ณ๋์ ์๋ก์ด ํ์ผ(`my_business_logic.go`)์ ๋น๊ณต๊ฐ ์์ฉ ๋ผ์ด์ ์ค๋ก ์ ์งํ ์ ์์ต๋๋ค.
---
## 4. SPDX ํ์ค ์๋ณ์ & ์์ค์ฝ๋ ํ์ผ ์๋จ ํ๊ธฐ๋ฒ (Header Standard)
### ๐ท๏ธ 1. SPDX(Software Package Data Exchange)๋?
๋ฆฌ๋
์ค ์ฌ๋จ(Linux Foundation)์์ ์ ์ ํ ์ํํธ์จ์ด ๋ผ์ด์ ์ค ํ์ค ์๋ณ์ ๊ท๊ฒฉ์
๋๋ค. ๊ธด ๋ผ์ด์ ์ค ์ ๋ฌธ ๋์ ๋จ ํ ์ค์ `SPDX-License-Identifier` ์ฃผ์์ผ๋ก ๊ธฐ๊ณ ๊ฐ๋
์ฑ(Machine-readable)์ ํ๋ณดํฉ๋๋ค.
| ๋ผ์ด์ ์ค ์ ์ ๋ช
์นญ | ํ์ค SPDX Identifier |
| :--- | :--- |
| MIT License | `MIT` |
| Apache License 2.0 | `Apache-2.0` |
| BSD 2-Clause "Simplified" | `BSD-2-Clause` |
| BSD 3-Clause "New" or "Revised" | `BSD-3-Clause` |
| GNU General Public License v3.0 only | `GPL-3.0-only` |
| GNU General Public License v3.0 or later | `GPL-3.0-or-later` |
| GNU Lesser General Public License v3.0 | `LGPL-3.0-only` |
| GNU Affero General Public License v3.0 | `AGPL-3.0-only` |
| Mozilla Public License 2.0 | `MPL-2.0` |
| The Unlicense | `Unlicense` |
| Creative Commons Zero v1.0 Universal | `CC0-1.0` |
---
### ๐ป 2. ์ธ์ด๋ณ ํ์ผ ์๋จ ํค๋ ์ฃผ์ ์์ฑ ํ์ค
#### JavaScript / TypeScript (`.js`, `.ts`, `.tsx`, `.vue`)
```typescript
/**
* Copyright (c) 2026 Hong Gil-dong <gildong@example.com>
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* SPDX-License-Identifier: MIT
*/
export function calculateTotal(items: number[]): number {
return items.reduce((acc, cur) => acc + cur, 0);
}
```
#### Python (`.py`)
```python
# Copyright (c) 2026 Hong Gil-dong <gildong@example.com>
# SPDX-License-Identifier: Apache-2.0
import os
import sys
def main() -> None:
print("Application initialized under Apache 2.0")
```
#### Java / Kotlin (`.java`, `.kt`)
```java
/*
* Copyright (c) 2026 Hong Gil-dong
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
*/
package com.example.service;
public class OrderService {
// Business logic
}
```
#### Go (`.go`)
```go
// Copyright 2026 The Awesome Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// SPDX-License-Identifier: BSD-3-Clause
package main
import "fmt"
```
#### Shell Script / Dockerfile
```bash
#!/usr/bin/env bash
# Copyright (c) 2026 Hong Gil-dong
# SPDX-License-Identifier: MIT
set -euo pipefail
echo "Deployment automation script"
```
---
### ๐ 3. ๋ณตํฉ ๋ผ์ด์ ์ค(Dual-license) SPDX ํํ์
์ฌ๋ฌ ๋ผ์ด์ ์ค ์ค ์ ํํ๊ฑฐ๋ ๊ฒฐํฉํ ๋ ๋
ผ๋ฆฌ ์ฐ์ฐ์(`OR`, `AND`, `WITH`)๋ฅผ ์ฌ์ฉํฉ๋๋ค:
```text
// 1. MIT ๋๋ Apache 2.0 ์ค ์ฌ์ฉ์๊ฐ ์ํ๋ ๋ผ์ด์ ์ค ํ๋๋ฅผ ์ ํ ๊ฐ๋ฅ (๋์ผ ๋ผ์ด์ ์ค)
SPDX-License-Identifier: MIT OR Apache-2.0
// 2. ๋ ๋ผ์ด์ ์ค ์กฐ๊ฑด์ ๋ชจ๋ ๋ง์กฑํด์ผ ํจ
SPDX-License-Identifier: LGPL-2.1-only AND BSD-2-Clause
// 3. ๋ผ์ด์ ์ค ์์ธ ์กฐํญ ์ถ๊ฐ (GPL ์ฝ๋์ด์ง๋ง ๋ฐํ์ ํด๋์คํจ์ค ๋งํฌ ์์ธ ํ์ฉ)
SPDX-License-Identifier: GPL-2.0-only WITH Classpath-exception-2.0
```
---
## 5. ํจํค์ง ๋งค๋์ ๋ณ ๋ผ์ด์ ์ค ๋ฉํ๋ฐ์ดํฐ ์ค์ (Package Configs)
### ๐ฆ 1. Node.js (`package.json`)
```json
{
"name": "lucky-awesome-lib",
"version": "1.0.0",
"description": "High performance utilities",
"license": "MIT",
"author": "Hong Gil-dong <gildong@example.com>",
"repository": {
"type": "git",
"url": "https://github.com/example/lucky-awesome-lib.git"
}
}
```
> **๋ณตํฉ ๋ผ์ด์ ์ค ์ง์ ์**: `"license": "(MIT OR Apache-2.0)"`
> **์ฌ๋ด ๋
์ ๋น๊ณต๊ฐ ํจํค์ง ์**: `"license": "UNLICENSED", "private": true`
---
### ๐ 2. Python (`pyproject.toml` - PEP 621 ํ์ค)
```toml
[project]
name = "lucky-awesome-tool"
version = "0.1.0"
authors = [
{ name = "Hong Gil-dong", email = "gildong@example.com" }
]
license = { text = "Apache-2.0" }
# ๋๋ SPDX ์๋ณ์ ์ง์ ์ง์ :
# license = "Apache-2.0"
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.12",
]
```
---
### โ 3. Java Maven (`pom.xml`)
```xml
<project xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>lucky-core</artifactId>
<version>1.0.0</version>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
</project>
```
---
### ๐ฆ 4. Rust (`Cargo.toml`)
```toml
[package]
name = "lucky-fast-engine"
version = "0.1.0"
edition = "2021"
authors = ["Hong Gil-dong <gildong@example.com>"]
license = "MIT OR Apache-2.0"
license-file = "LICENSE-MIT"
description = "Blazing fast computing engine"
```
---
## 6. ์์กด์ฑ ๋ผ์ด์ ์ค ์๋ ๊ฐ์ฌ & CI/CD ๊ฒ์ฆ (Automated Compliance)
### ๐ 1. Node.js `license-checker` ์ค๋ฌด ํ์ฉ
๊ธฐ์
์ฌ๋ด ์ ์ฑ
์ ํ์ฉ๋ ํ์ดํธ๋ฆฌ์คํธ ๋ผ์ด์ ์ค(MIT, Apache, BSD, ISC)๋ง ํต๊ณผ์ํค๊ณ , GPL/AGPL์ด ์์ฌ ๋ค์ด์ค๋ฉด ๋น๋๋ฅผ ์ฆ์ ์คํจ ์ฒ๋ฆฌํฉ๋๋ค:
```bash
# ํ์ฉ ๋ผ์ด์ ์ค ์ธ ์์กด์ฑ ๋ฐ๊ฒฌ ์ ์๋ฌ ์ฝ๋(Exit Code 1) ๋ฐํ
npx license-checker \
--production \
--onlyAllow "MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC;0BSD;CC0-1.0" \
--summary
```
---
### ๐ 2. Python `pip-licenses` ์์กด์ฑ ๋ฆฌํฌํธ ์์ฑ
```bash
# ํ๋ก๋์
์ค์น ํจํค์ง์ ๋ผ์ด์ ์ค ํํฉ ๋งํฌ๋ค์ด ํ
์ด๋ธ ์ถ๋ ฅ
pip-licenses --format=markdown --with-urls --output-file=DEPENDENCY_LICENSES.md
```
---
### ๐ 3. GitHub Actions ๋ผ์ด์ ์ค ์ปดํ๋ผ์ด์ธ์ค ์๋ ๊ฒ์ฌ ํ์ดํ๋ผ์ธ
Pull Request๊ฐ ์์ฑ๋ ๋๋ง๋ค ์๋ก ์ถ๊ฐ๋ npm ์์กด์ฑ์ ์ฌ๋ด ๊ธ์ง ๋ผ์ด์ ์ค๊ฐ ํฌํจ๋์ด ์๋์ง ๊ฒ์ฌํ๋ ์์ ํ CI ์ํฌํ๋ก์ฐ์
๋๋ค:
```yaml
# .github/workflows/license-compliance.yml
name: License Compliance Audit
on:
pull_request:
branches: [main, develop]
push:
branches: [main]
jobs:
audit-licenses:
runs-on: ubuntu-latest
steps:
- name: ์ ์ฅ์ ์ฒดํฌ์์
uses: actions/checkout@v4
- name: Node.js 20 ์ค์น
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: ์์กด์ฑ ์ค์น (Production Only)
run: npm ci --omit=dev
- name: ๋ผ์ด์ ์ค ํ์ดํธ๋ฆฌ์คํธ ์ ์ฑ
๊ฒ์ฆ
run: |
echo "=== ์๋ํํฐ ์คํ์์ค ๋ผ์ด์ ์ค ์ ํฉ์ฑ ๊ฒ์ฌ ์์ ==="
npx license-checker \
--production \
--onlyAllow "MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC;0BSD;CC0-1.0" \
--summary
```
---
## 7. ์ค๋ฌด ์ฃผ์์ฌํญ & ๊ธฐ์
์คํ์์ค ๊ฑฐ๋ฒ๋์ค ์ฒดํฌ๋ฆฌ์คํธ (Best Practices)
### โ ๏ธ 1. ๊ฐ๋ฐ์๊ฐ ๊ฐ์ฅ ํํ ์ ์ง๋ฅด๋ ์น๋ช
์ ์ค์ TOP 5
1. **์์ฉ ์๋ฃจ์
์ GPL ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ ์ ์ํฌํธ (Static Linking)**:
- "์ธํฐ๋ท์์ ํธ๋ฆฌํ ์ฝ๋ ์กฐ๊ฐ์ ๊ฐ์ ธ์ ๋น๋ํ๋๋ฐ ์๊ณ ๋ณด๋ GPL-3.0 ๋ผ์ด๋ธ๋ฌ๋ฆฌ์๋ค." โ ๋ฐฐํฌ ํ ๋ฒ์ ์์ก ๋ฐ ์ฌ๋ด ์ ์ฒด ํต์ฌ ์๋ฃจ์
์ฝ๋ ๊ณต๊ฐ ์๊ตฌ์ ์ง๋ฉดํ ์ ์์ต๋๋ค.
2. **ํด๋ผ์ฐ๋ SaaS ๋ฐฑ์๋์ AGPL ์๋ฃจ์
ํ์ฌ**:
- ๋ด๋ถ ๋ฐ์ดํฐ ํ์ดํ๋ผ์ธ์ด๋ ์๋น์ค ๋ ์ด์ด์ AGPL ์ฝ๋๋ฅผ ์ง์ ํตํฉํ ๊ฒฝ์ฐ, API ์ฌ์ฉ์์๊ฒ๋ ์๋ฒ ์์ค์ฝ๋๋ฅผ ๊ณต๊ฐํด์ผ ํ๋ ์ํ์ด ์์ต๋๋ค.
3. **ํฌํฌ(Fork) ๋ฐ ๋ณต์ ์ ์์ ์์ Copyright ์์ ์ญ์ **:
- ์คํ์์ค ์ฝ๋๋ฅผ ๊ฐ์ ธ์ ์์ ์ ํ๋ก์ ํธ์ ๋ฃ์ผ๋ฉด์ ํ์ผ ์๋จ์ ์์ ์์ ์ ์๊ถ ํ์๋ฅผ ์ง์ฐ๋ ๊ฒ์ **๋ชจ๋ ์คํ์์ค ๋ผ์ด์ ์ค ๊ณตํต์ ์ค๋ํ ๊ณ์ฝ ์๋ฐ(์ ์๊ถ๋ฒ ์๋ฐ)**์
๋๋ค.
4. **'Source-Available' ๋น์คํ์์ค์ ์คํ์์ค ํผ๋**:
- ์ต๊ทผ Redis, MongoDB(SSPL), Elastic(ELv2) ๋ฑ์ด ํด๋ผ์ฐ๋ ๋ฒค๋(AWS)์ ๋ฌด๋จ ์ฌํ๋งค๋ฅผ ๋ง๊ธฐ ์ํด OSI ๊ณต์ ์คํ์์ค๊ฐ ์๋ ๋
์ ์ "์์ค ๊ณต๊ฐํ(Source-Available / BSL)"์ผ๋ก ์ ํํ์ต๋๋ค. ์ด๋ค ์ ํ์ ํธ์คํ
ํํ๋ก ์๋ํํฐ์ ์๋น์คํ๋ ๊ฒ์ ๋ผ์ด์ ์ค ์๋ฐ์ด ๋ฉ๋๋ค.
5. **๋ผ์ด์ ์ค๊ฐ ์๋ GitHub ์ฝ๋ ๋ฌด๋จ ๋ณต์ **:
- ์คํ์์ค์ฒ๋ผ ๋ณด์ฌ๋ `LICENSE`๊ฐ ์์ผ๋ฉด ์ ์๊ถ๋ฒ์ ๋ณดํธ๋ฅผ ๋ฐ์ผ๋ฏ๋ก ์ ๋ ํ๋ก๋์
์ ์ง์ ๋ณต์ฌํด ๋ฃ์ผ๋ฉด ์ ๋ฉ๋๋ค. ์ด์๋ PR์ ํตํด ์ ์์์๊ฒ ๋ผ์ด์ ์ค ๋ช
์๋ฅผ ๋จผ์ ์์ฒญํด์ผ ํฉ๋๋ค.
---
### โ
2. ๊ธฐ์
์ฉ ์คํ์์ค ๋์
ํ๋จ ๊ธฐ์คํ (Governance Checklist)
```
[์์ ์ฑ ๋ฑ๊ธ] [๋ผ์ด์ ์ค ์ข
๋ฅ] [๊ธฐ์
์์ฉ ์๋ฃจ์
๋์
๊ฐ์ด๋]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ข ์์ (Green) MIT, Apache-2.0, BSD, ISC ์ ์ฝ ์์ด ์์ฉ ์ ํ์ ํ์ฌ ๋ฐ ์ฌ๋ฐฐํฌ ๊ฐ๋ฅ
(์ ์๊ถ ๊ณ ์ง๋ฌธ ๋ฐ LICENSE ํ์ผ๋ง ์ ์ง)
๐ก ์ฃผ์ (Yellow) MPL-2.0, LGPL-3.0 (๋์ ๋งํฌ) ๋์ ๋งํฌ ์ํ ์ ์ง ํ์.
๋ผ์ด๋ธ๋ฌ๋ฆฌ ํ์ผ ์์ฒด๋ฅผ ์์ ํ ๊ฒฝ์ฐ์๋ง
ํด๋น ์์ ์ฝ๋ ๊ณต๊ฐ ์ค๋น.
๐ด ์ํ (Red) GPL v2/v3, AGPL v3, SSPL ์ฌ๋ด ๋
์ ํด๋ก์ฆ๋ ์์ค ํ๋ก์ ํธ์ ๊ฒฐํฉ ๋ฐฐํฌ ๊ธ์ง.
๋
๋ฆฝ ํ๋ก์ธ์ค(CLI ์คํ, ๋ณ๋ ๋ง์ดํฌ๋ก์๋น์ค)๋ก
๊ฒฉ๋ฆฌํ์ฌ ํต์ ํ๋ ์ํคํ
์ฒ ํ์.
```
์๊ฒฌ ๋ฐ ์ง๋ฌธ
0์์ง ๋ฑ๋ก๋ ์๊ฒฌ์ด ์์ต๋๋ค. ์ฒซ ๋ฒ์งธ ๋๊ธ์ ๋จ๊ฒจ๋ณด์ธ์!
๋๊ธ ์์
๋๊ธ ์ญ์