diff --git a/COMMERCIAL-LICENSE.md b/COMMERCIAL-LICENSE.md index 9a5faaf..4847063 100644 --- a/COMMERCIAL-LICENSE.md +++ b/COMMERCIAL-LICENSE.md @@ -1,6 +1,6 @@ # Commercial license -modemmenu is Copyright (C) 2026 D-Modem Authors and is offered +dmodem-login is Copyright (C) 2026 D-Modem Authors and is offered under two licenses; you choose one. ## The GNU Affero General Public License, version 3 (the default) @@ -8,9 +8,9 @@ under two licenses; you choose one. [LICENSE](LICENSE), AGPL-3.0-only. Free of charge, for any purpose, commercial ones included, on the AGPL's terms. In short: -- If you distribute modemmenu, modified or not, you give the recipients +- If you distribute dmodem-login, modified or not, you give the recipients its complete source code under the AGPL. -- If you modify modemmenu and let people use it remotely (callers +- If you modify dmodem-login and let people use it remotely (callers dialing in, or anyone using it over a network), you offer those users the complete source code of your modified version under the AGPL (section 13). @@ -19,9 +19,9 @@ commercial ones included, on the AGPL's terms. In short: For those who cannot or will not meet the AGPL's terms, for example to: -- ship modemmenu, or a modified version, inside a product whose source +- ship dmodem-login, or a modified version, inside a product whose source you do not publish; -- run a modified modemmenu as a service without offering its source to +- run a modified dmodem-login as a service without offering its source to the people who use it; - combine it with code under licenses that do not mix with the AGPL. @@ -32,7 +32,7 @@ Neo-Desktop () is the point of contact for commercial licenses. **To ask for one**, contact Neo-Desktop, or open an issue at - titled "Commercial + titled "Commercial license", saying who you are and roughly what you want to do. Keep anything confidential out of the issue: a private channel follows from there. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d61b06a..ce3f09c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ English. Follow [docs/STYLE.md](docs/STYLE.md). ## The contributor agreement -modemmenu is offered under the AGPL-3.0 and, by the D-Modem Authors, under +dmodem-login is offered under the AGPL-3.0 and, by the D-Modem Authors, under commercial licenses ([COMMERCIAL-LICENSE.md](COMMERCIAL-LICENSE.md)). For contributions to be part of both, each one comes with this agreement. By submitting a contribution (a pull request, a patch or diff --git a/Makefile b/Makefile index e195316..b158236 100644 --- a/Makefile +++ b/Makefile @@ -41,8 +41,6 @@ test: install: all install -D -m 755 dmodem-login $(DESTDIR)$(BINDIR)/dmodem-login - # modemmenu: the old name, for app_dmodem profiles that still use it - ln -sf dmodem-login $(DESTDIR)$(BINDIR)/modemmenu [ -e $(DESTDIR)$(CONF_DIR)/dmodem-login.conf ] || \ install -D -m 640 samples/dmodem-login.conf.sample $(DESTDIR)$(CONF_DIR)/dmodem-login.conf [ -e $(DESTDIR)$(CONF_DIR)/dmodem-login.users ] || \ @@ -50,16 +48,13 @@ install: all [ $(PAM) != 1 ] || [ -e $(DESTDIR)/etc/pam.d/dmodem-login ] || \ install -D -m 644 samples/dmodem-login.pam.sample $(DESTDIR)/etc/pam.d/dmodem-login [ $(PPPD) != 1 ] || \ - { install -D -m 644 pppd/dmodem-login.so $(DESTDIR)$(PPPD_PLUGIN_DIR)/dmodem-login.so && \ - ln -sf dmodem-login.so $(DESTDIR)$(PPPD_PLUGIN_DIR)/modemmenu.so; } + install -D -m 644 pppd/dmodem-login.so $(DESTDIR)$(PPPD_PLUGIN_DIR)/dmodem-login.so # FreePBX (freepbx/README.md): the files in /etc/dmodem-login, out of # fwconsole chown's way; files already there are kept FREEPBX_CONF_DIR ?= /etc/dmodem-login install-freepbx: all install -D -m 755 dmodem-login $(DESTDIR)$(BINDIR)/dmodem-login - # modemmenu: the old name, for app_dmodem profiles that still use it - ln -sf dmodem-login $(DESTDIR)$(BINDIR)/modemmenu [ -e $(DESTDIR)$(FREEPBX_CONF_DIR)/dmodem-login.conf ] || \ install -D -m 644 freepbx/dmodem-login.conf $(DESTDIR)$(FREEPBX_CONF_DIR)/dmodem-login.conf [ -e $(DESTDIR)$(FREEPBX_CONF_DIR)/dmodem-login.users ] || \ @@ -67,8 +62,7 @@ install-freepbx: all [ -e $(DESTDIR)/etc/systemd/system/dmodem-login.service ] || \ install -D -m 644 freepbx/dmodem-login.service $(DESTDIR)/etc/systemd/system/dmodem-login.service [ $(PPPD) != 1 ] || \ - { install -D -m 644 pppd/dmodem-login.so $(DESTDIR)$(PPPD_PLUGIN_DIR)/dmodem-login.so && \ - ln -sf dmodem-login.so $(DESTDIR)$(PPPD_PLUGIN_DIR)/modemmenu.so; } + install -D -m 644 pppd/dmodem-login.so $(DESTDIR)$(PPPD_PLUGIN_DIR)/dmodem-login.so clean: rm -f dmodem-login pppd/dmodem-login.so diff --git a/docs/rename.md b/docs/rename.md index 0fed027..e3f16cd 100644 --- a/docs/rename.md +++ b/docs/rename.md @@ -27,12 +27,7 @@ is D-Modem/menu. Its new name is You can install the new version on an old installation. These items continue to operate: -- `make install` and `make install-freepbx` also install `modemmenu`, a - link to `dmodem-login`. An `app_dmodem` profile that starts - `/usr/local/bin/modemmenu` continues to operate. -- The pppd plugin is also installed as `modemmenu.so`, a link to - `dmodem-login.so`. The plugin also accepts the `modemmenu-socket` - option. +- The pppd plugin also accepts the `modemmenu-socket` option. - If `-config` is not given and `/etc/asterisk/dmodem-login.conf` is not there, dmodem-login reads `/etc/asterisk/modemmenu.conf`. - If `[file] path` is not given and `/etc/asterisk/dmodem-login.users` is @@ -45,6 +40,10 @@ continue to operate: ## What you must change +- The program is now `/usr/local/bin/dmodem-login`. Change each + `app_dmodem` profile that starts `/usr/local/bin/modemmenu`, and each + pppd option file that loads `modemmenu.so`. Then delete the old + program and the old plugin. - The default socket of `-serve` is now `/run/dmodem-login/dmodem-login.sock`. If your configuration does not give `[server] listen`, set it to the old path, or change the