Drop the modemmenu install links; the legal text names dmodem-login

make install and install-freepbx no longer put modemmenu and
modemmenu.so links: an old installation changes its app_dmodem profiles
and pppd options to dmodem-login (docs/rename.md says so).
COMMERCIAL-LICENSE.md and CONTRIBUTING.md name dmodem-login and
D-Modem/login.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTD8BSptdpaUWGcs65
This commit is contained in:
Claude committed 2026-11-23 09:13:59 +00:00
1 parent 4d06ec71a7
commit 33f34e3462
4 files changed
+14 -21

No files matched your search

+6 -6
View File
@@ -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 (<https://github.com/Neo-Desktop>) is the point of contact
for commercial licenses.
**To ask for one**, contact Neo-Desktop, or open an issue at
<https://github.com/D-Modem/menu/issues> titled "Commercial
<https://github.com/D-Modem/login/issues> 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.
+1 -1
View File
@@ -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
+2 -8
View File
@@ -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
+5 -6
View File
@@ -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