# License

## Mcaster1DNAS - Digital Network Audio Server

**Copyright (C) 2025-2026 Saint John (David St John) / MediaCast1**

Based on **Icecast-KH** by Karl Heyes
Based on **Icecast2** by Xiph.Org Foundation

---

## GNU General Public License v2

This program is free software; you can redistribute it and/or modify it under the terms of the **GNU General Public License** as published by the Free Software Foundation; either **version 2 of the License**, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but **WITHOUT ANY WARRANTY**; without even the implied warranty of **MERCHANTABILITY** or **FITNESS FOR A PARTICULAR PURPOSE**. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the:

```
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307, USA
```

---

## Upstream Copyright Notices

### Original Icecast2
**Copyright (C) 2001-2023 Xiph.Org Foundation**
- Website: https://xiph.org
- Project: https://icecast.org
- License: GNU GPL v2

### Icecast-KH
**Copyright (C) 2010-2022 Karl Heyes**
- Repository: https://github.com/karlheyes/icecast-kh
- License: GNU GPL v2

---

## License Compatibility

Mcaster1DNAS maintains **full compatibility** with all upstream licenses:

✅ **GNU GPL v2** - All components under GPL v2
✅ **Fork-friendly** - Respects open source heritage
✅ **Free software** - Forever free and open source
✅ **Copyleft** - Derivative works must remain GPL v2

---

## Attribution Requirements

When using, modifying, or distributing Mcaster1DNAS:

1. **Preserve copyright notices** - Keep all existing copyright headers
2. **Maintain license** - Keep GPL v2 license intact
3. **Credit upstream** - Acknowledge Icecast2 and Icecast-KH
4. **Share modifications** - Distribute source code of modifications
5. **Use same license** - Derivative works must be GPL v2

---

## Third-Party Components

Mcaster1DNAS uses the following open source libraries:

| Component | License | Website |
|-----------|---------|---------|
| libxml2 | MIT License | http://xmlsoft.org |
| libxslt | MIT License | http://xmlsoft.org/XSLT |
| OpenSSL | Apache-style | https://www.openssl.org |
| libcurl | MIT-style | https://curl.se |
| Ogg Vorbis | BSD-style | https://xiph.org/vorbis |
| FontAwesome | SIL OFL 1.1 / MIT | https://fontawesome.com |

All third-party licenses are compatible with GPL v2.

---

## Full License Text

For the complete GNU General Public License v2, see the [COPYING](COPYING) file in this repository or visit:

**https://www.gnu.org/licenses/old-licenses/gpl-2.0.html**

---

## Additional Information

- **Project Lineage:** See [FORK.md](FORK.md)
- **Contributors:** See [AUTHORS.md](AUTHORS.md)
- **Contributing:** See [CONTRIBUTING.md](CONTRIBUTING.md)

---

## Contact

**Mcaster1DNAS Maintainer:**
- Name: David St John (Saint John)
- Email: davestj@gmail.com
- Website: https://mcaster1.com

---

**Last Updated:** February 14, 2026
**Version:** 2.5.0
**SPDX-License-Identifier:** GPL-2.0-only
