git: d95bff830c4e - main - x11/cde*: Improve pkg-message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Oct 2024 23:44:11 UTC
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=d95bff830c4e12c76d4d31554846a5a2b78ae720 commit d95bff830c4e12c76d4d31554846a5a2b78ae720 Author: Alexander Ziaee <concussious@runbox.com> AuthorDate: 2024-10-20 13:52:51 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2024-10-21 23:43:54 +0000 x11/cde*: Improve pkg-message + history from upstream + improve sysrc examples + apply editorial polish + startx without linking PR: 282229 Discussed with: cy --- x11/cde-25/Makefile | 2 +- x11/cde-25/files/pkg-message.in | 42 ++++++++++++++++++++------------------ x11/cde-devel/Makefile | 2 +- x11/cde-devel/files/pkg-message.in | 42 ++++++++++++++++++++------------------ 4 files changed, 46 insertions(+), 42 deletions(-) diff --git a/x11/cde-25/Makefile b/x11/cde-25/Makefile index d7ecc4fe833d..5596e6a3a8c1 100644 --- a/x11/cde-25/Makefile +++ b/x11/cde-25/Makefile @@ -1,6 +1,6 @@ PORTNAME= cde DISTVERSION= 2.5.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11 MASTER_SITES= SF/cdesktopenv/src/ .if !defined(MASTERDIR) diff --git a/x11/cde-25/files/pkg-message.in b/x11/cde-25/files/pkg-message.in index b1448042876d..59203a7e263c 100644 --- a/x11/cde-25/files/pkg-message.in +++ b/x11/cde-25/files/pkg-message.in @@ -1,38 +1,40 @@ [ { type: install message: <<EOM -This is ancient software that is ported for curiosity purposes. It is -unlikely to be useful in everyday use, and should not be used in untrusted -environments as there are highly likely to be unresolved security issues. +CDE - The Common Desktop Environment is an X Windows desktop environment +that was commonly used on commercial UNIX variants such as Sun Solaris, +HP-UX, and IBM AIX. Developed between 1993 and 1999, it has now been +released under an Open source license by The Open Group. -It is also necessary to enable the Subprocess Control Service (and dtcms for -the calendar to work). +Common Desktop Environment requires the Subprocess Control Service, +dtcms, and the inetd super server to fully function. -# sysrc rpcbind_enable=yes -# sysrc dtcms_enable=yes -# sysrc inetd_enable=yes -# service rpcbind start && service dtcms start - -and - -Add the following line to /etc/inetd.conf: +First, add the following line to /etc/inetd.conf: dtspc stream tcp nowait root %%PREFIX%%/dt/bin/dtspcd %%PREFIX%%/dt/bin/dtspcd -and to /etc/services: +Second, add the following line to /etc/services: dtspc 6112/tcp # CDE Subprocess Control Service -To start the Common Desktop Environment, -% ln -s %%PREFIX%%/dt/bin/Xsession ~/.Xsession -% env LANG=C startx +# sysrc rpcbind_enable=YES +# sysrc dtcms_enable=YES +# sysrc inetd_enable=YES +# service rpcbind start && service dtcms start && service inetd start -If you want to use dtlogin as well, you'll need to create -%%LOCALBASE%%/etc/X11/Xwrapper.config and add this line: +Finally, make sure to add %%PREFIX%%/dt/bin to your path. -Also, make sure to add %%PREFIX%%/dt/bin to your path. +To start the Common Desktop Environment: +% env LANG=C startx %%PREFIX%%/dt/bin/Xsession + +Alternatively, if you want to use the Login Manager as well, create +%%LOCALBASE%%/etc/X11/Xwrapper.config and add this line: allowed_users=anybody + +To start the Common Desktop Enviroment Login Manager: + +% %%LOCALBASE%%/dt/bin/dtlogin -daemon EOM } ] diff --git a/x11/cde-devel/Makefile b/x11/cde-devel/Makefile index 4d1ae0f74fe3..0c803f1468ee 100644 --- a/x11/cde-devel/Makefile +++ b/x11/cde-devel/Makefile @@ -1,6 +1,6 @@ PORTNAME= cde PORTVERSION= ${COMMIT_DATE} -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11 .if !defined(MASTERDIR) PKGNAMESUFFIX= -devel diff --git a/x11/cde-devel/files/pkg-message.in b/x11/cde-devel/files/pkg-message.in index b1448042876d..59203a7e263c 100644 --- a/x11/cde-devel/files/pkg-message.in +++ b/x11/cde-devel/files/pkg-message.in @@ -1,38 +1,40 @@ [ { type: install message: <<EOM -This is ancient software that is ported for curiosity purposes. It is -unlikely to be useful in everyday use, and should not be used in untrusted -environments as there are highly likely to be unresolved security issues. +CDE - The Common Desktop Environment is an X Windows desktop environment +that was commonly used on commercial UNIX variants such as Sun Solaris, +HP-UX, and IBM AIX. Developed between 1993 and 1999, it has now been +released under an Open source license by The Open Group. -It is also necessary to enable the Subprocess Control Service (and dtcms for -the calendar to work). +Common Desktop Environment requires the Subprocess Control Service, +dtcms, and the inetd super server to fully function. -# sysrc rpcbind_enable=yes -# sysrc dtcms_enable=yes -# sysrc inetd_enable=yes -# service rpcbind start && service dtcms start - -and - -Add the following line to /etc/inetd.conf: +First, add the following line to /etc/inetd.conf: dtspc stream tcp nowait root %%PREFIX%%/dt/bin/dtspcd %%PREFIX%%/dt/bin/dtspcd -and to /etc/services: +Second, add the following line to /etc/services: dtspc 6112/tcp # CDE Subprocess Control Service -To start the Common Desktop Environment, -% ln -s %%PREFIX%%/dt/bin/Xsession ~/.Xsession -% env LANG=C startx +# sysrc rpcbind_enable=YES +# sysrc dtcms_enable=YES +# sysrc inetd_enable=YES +# service rpcbind start && service dtcms start && service inetd start -If you want to use dtlogin as well, you'll need to create -%%LOCALBASE%%/etc/X11/Xwrapper.config and add this line: +Finally, make sure to add %%PREFIX%%/dt/bin to your path. -Also, make sure to add %%PREFIX%%/dt/bin to your path. +To start the Common Desktop Environment: +% env LANG=C startx %%PREFIX%%/dt/bin/Xsession + +Alternatively, if you want to use the Login Manager as well, create +%%LOCALBASE%%/etc/X11/Xwrapper.config and add this line: allowed_users=anybody + +To start the Common Desktop Enviroment Login Manager: + +% %%LOCALBASE%%/dt/bin/dtlogin -daemon EOM } ]