Liang Chang
fa2f6a39cc
Add PAM support to dtlogin.
2021-05-22 12:11:09 -06:00
Lev Kujawski
3685f61cfa
Purge unused Freetype dependency from CDE
...
config/cf/{DragonFly,OpenBSD,darwin}.cf: Remove Freetype imake settings
config/cf/darwinLib.tmpl: Do not link against Freetype
debian/control: Remove Freetype and Xft dependencies
*/Imakefile: Purge Freetype includes
lib/DtWidget/ComboBoxP.h
lib/DtWidget/SpinBoxP.h
programs/dtfile/ChangeDirP.c
programs/dtlogin/vgcallback.c
Undefine USE_XFT so Motif 2.3 doesn't pull in Freetype
CDE included Freetype and Xft solely to satisfy builds of Motif with
Xft support enabled. However, as CDE only supports bitmap fonts, this
dependency was entirely superfluous and unnecessarily broke backwards
compatibility with older systems.
2021-02-07 18:46:25 -07:00
Lev Kujawski
7010b2c11b
Centralize catgets() calls through MsgCat
...
CDE has relied upon catgets() implementations following a relaxed
interpretation of the XPG internationalization standard that ignored
-1, the standard error value returned by catopen, as the catalog
argument. However, this same behavior causes segmentation faults with
the musl C library.
This patch:
- Centralizes (with the exception of ToolTalk) all calls to catopen(),
catgets(), and catclose() through MsgCat within the DtSvc library.
- Prevents calls to catgets() and catclose() that rely upon
undefined behavior.
- Eliminates a number of bespoke catgets() wrappers, including multiple
redundant caching implementations designed to work around a design
peculiarity in HP/UX.
- Eases building CDE without XPG internationalization support by providing
the appropriate macros.
2021-01-31 16:17:13 -07:00
Lev Kujawski
0e282a0ad7
On Linux, use the SVR4 (now POSIX) signal and locking interfaces instead of the non-standard BSD equivalents.
2021-01-10 18:08:00 -07:00
Peter Howkins
67f62e5a8a
all: remove deprecated sys_errlist[] and replace with ANSI C strerror()
2020-11-02 05:30:08 +00:00
wmoxam
ab741a1241
'notdef' means it's not used, so we remove it
2019-10-15 20:32:13 -06:00
wmoxam
ca9cdf6cfc
Remove 'oldcode'
2019-10-14 15:54:43 -06:00
wmoxam
d380b0fac6
Remove legacysun code blocks
2019-10-14 15:54:33 -06:00
wmoxam
e1e2004696
Remove unused HP_EXTENSIONS code blocks
2019-10-14 15:54:25 -06:00
chase
dd68514e4f
Remove hpversion.h from repository
...
This patch removes hpversion.h from the repository, this also untangles a
lot of ifdef mess. This closes bug CDExc19524.
2018-10-06 17:00:38 -06:00
chase
90a2b2848a
remove ultrix support
2018-09-30 17:27:04 -06:00
Jon Trulson
88dd3b2c71
dtlogin: remove register keyword
2018-06-27 22:20:34 -06:00
Peter Howkins
2d60124e03
dtlogin: Change to ANSI function definitions
2018-06-28 04:16:41 +01:00
chase
6bf175ef2d
Remove apollo support
2018-06-24 16:22:37 -06:00
chase
a447f12493
fix files not registering as scripts
2018-05-31 22:23:19 -06:00
chase
809c3d8bb6
Spelling fixes
2018-05-31 22:23:19 -06:00
Ulrich Wilkens
297b6bd845
Fix warnings on FreeBSD
2018-05-31 22:04:08 -06:00
Ulrich Wilkens
885b65a09a
Fixes for OpenBSD
2018-05-31 21:48:07 -06:00
Ulrich Wilkens
16fbb15ecc
Fix BSD and Sun problems after coverity fixes
2018-05-31 17:46:03 -06:00
chase
4f5e7fe5e3
Use POSIX macros for linux
2018-05-24 18:22:55 -06:00
chase
164e695cd0
remove OSF1 support
2018-05-24 14:25:26 -06:00
chase
0fa51f280f
Use /var/spool instead of /usr/spool and /var/mail instead of /usr/mail
2018-05-20 12:30:32 -06:00
chase
07900bd93b
Remove Unixware and openserver support
2018-05-20 12:13:07 -06:00
chase
8a4f389634
Remove UXPDS support
2018-05-15 20:27:22 -06:00
chase
1a50e1e5a9
Remove bsdi support
2018-05-13 13:00:49 -06:00
Peter Howkins
e14e74231c
dtlogin: Resolve some coverity issues, including those thought previously fixed
2018-04-28 23:47:05 +01:00
chase
33d2749ea3
Last of the spelling fixed
2018-04-28 12:36:44 -06:00
chase
1fe5a550b2
Fix typo in license headers
2018-04-28 12:30:20 -06:00
chase
0aa8780fa1
Small spelling fixes
2018-04-25 19:40:19 -06:00
Peter Howkins
ee4c38da0a
dtlogin: Two additional coverity fixes
2018-04-24 03:57:35 +01:00
Peter Howkins
caef8edac0
various: You cannot use the destination of snprintf as one of the srcs, undefined
2018-04-14 01:23:48 +01:00
Peter Howkins
13d3e1db50
dtlogin: coverity fixes
2018-04-13 00:54:04 +01:00
alx
2ea10ef612
dtlogin: center the mouse pointer on the login screen on multi-head setups
2016-12-31 15:14:54 -07:00
Swift Griggs
1fdcd4c93d
Patches from pkgsrc-WIP
2016-08-05 11:21:06 -06:00
Ulrich Wilkens
45ab8a3532
dtlogin: FreeBSD build fix
2016-06-12 17:13:20 -06:00
Pascal de Bruijn
4aedbf2796
dtlogin: openbsd build fix
...
Amend ced27aa1f6 to prevent openbsd
make from failing because of the tab.
2016-06-09 10:05:35 -06:00
Peter Howkins
2ea057d511
Disable all code related to libXp
...
deprecated and mostly no longer included on current OSes
2016-04-20 20:17:22 +01:00
alx
7cddb0d165
dtlogin: Enable XDM authentication on FreeBSD
2016-04-18 19:16:47 -06:00
Pascal de Bruijn
ced27aa1f6
dtlogin: don't use crypt(3) on openbsd
...
des support has been removed from crypt(3) on openbsd since version 5.8
2015-11-28 12:24:20 -07:00
Jon Trulson
1e2e373082
dtlogin: use XDM authentication instead of MIT/DES on linux
2015-11-26 14:08:23 -07:00
Douglas Carmichael
aaab59761f
Patches to enable compilation on OpenBSD 5.7/FreeBSD 10.1.
2015-06-17 11:31:31 -06:00
Ulrich Wilkens
2b8b5f25b5
Support for new Solaris/OpenIndiana versions
2015-05-09 16:19:08 -06:00
Johannes von Rotz
f6e025b3af
Let "make World" run through on OpenBSD
2015-01-21 13:47:20 +00:00
Peter Howkins
ab743c37e6
dtlogin: resolve more static analysis warnings
2014-12-27 23:13:59 +00:00
Peter Howkins
c768260785
dtlogin: resolve 8 compiler warnings.
2014-12-27 20:56:29 +00:00
Jon Trulson
61e925f3c5
dtlogin/xdmcp: fixup many warnings and a possible declaration bug
2014-12-27 13:01:26 -07:00
Jon Trulson
b881408be0
dtlogin: Coverity (memory corruption, moderate)
2014-12-26 16:55:46 -07:00
Jon Trulson
235a75c03c
dtlogin: Coverity (memory corruption, moderate)
2014-12-26 16:23:54 -07:00
Peter Howkins
bc842043d2
dtlogin: Resolve 27 compiler warnings
2014-12-23 22:01:51 +00:00
Peter Howkins
e54c164fe1
dtlogin: start to resolve static analysis warnings
...
Also convert some K&R function declarations to ansi
2014-12-23 17:49:11 +00:00