Commit Graph

60 Commits

Author SHA1 Message Date
Nina Didenko 8db8a22906 installCDE: don't hardcode path to whoami
Hi.

Patch removes hardcoded paths to echo and whoami in installation scripts.

Thanks.
2019-11-20 19:08:22 -07:00
Nina Didenko 52caa8b8e6 udbToAny.ksh: don't hardcode path to awk 2019-11-05 18:49:02 -07:00
Matthew R. Trower 0ffb04938c Repair and simplify installCDE.src:CleanDaemons() 2018-11-04 10:33:13 -07:00
Peter Howkins de69b56458 installCDE: fix outputting of missing files on install, caused by C&P error in shellshock fixes 2018-11-01 22:19:46 +00:00
Jon Trulson 58af8b5c5e configShlibs.src: Fixup some bugs introduced by previous commits 2018-08-26 16:45:22 -06:00
chase e8e0364121 post_install: fix shellcheck warnings 2018-08-25 15:47:18 -06:00
chase 5fb08c15d9 linksLast and uncomment: Fix shellcheck warnings 2018-08-18 16:37:36 -06:00
chase ff17b57585 installCDE.src: Fix shellcheck warnings 2018-08-18 16:37:18 -06:00
Jon Trulson f598ed2358 building_release_archive: omit '-src' in archive filename 2018-06-14 13:08:20 -06:00
chase a14e0991ce installCDE.src: remove duplicate code 2018-06-10 16:33:47 -06:00
Jon Trulson fd9e74ae42 installCDE: Only install locales that were built
We pass the DtLocalesToBuild to installCDE.src, which can then check
to see what locales were built.  We then only install packages for
those locales.
2018-06-01 21:20:18 -06:00
Jon Trulson c7a8cfe18c installCDE: unset FIGNORE to workaround potential ksh bug 2018-06-01 11:32:39 -06:00
Jon Trulson d2cb2b3659 configTT: remove inetd support 2018-05-31 22:23:19 -06:00
Jon Trulson 9a6bd5d35c configMin: remove inetd support, 'pam' support
I'm not sure what the pam stuff wanted to do, but it was disabled
anyway and we do not need it.  Someday, we will want to integrate with
PAM properly, but this wasn't it.
2018-05-31 22:23:19 -06:00
Jon Trulson 2413f0d33f configRun: remove inetd support
I don't believe anyone uses inetd anymore.  If you do, you are on your
own.
2018-05-31 22:23:19 -06:00
Jon Trulson ff4a9e6a60 configRun: leave dtmail alone, UDB handles it's perms correctly 2018-05-31 22:23:19 -06:00
chase 809c3d8bb6 Spelling fixes 2018-05-31 22:23:19 -06:00
Jon Trulson d6d055c981 installCDE.src: Add a -destdir <dir> option
Using this option, all files are installed under <dir> rather than
root '/'.
2018-05-31 22:23:19 -06:00
Ulrich Wilkens 885b65a09a Fixes for OpenBSD 2018-05-31 21:48:07 -06:00
chase 15fb8cea03 dinstallCDE.src: add linux and *BSD support 2018-05-25 12:59:36 -06:00
chase 164e695cd0 remove OSF1 support 2018-05-24 14:25:26 -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 158fc36af4 Remove examples/motif 2018-05-13 13:12:47 -06:00
chase 00fc1c54c1 Rewrite csh scripts in sh, use sh instead of csh in scripts 2018-04-25 19:35:49 -06:00
Jon Trulson 88cbe518a4 installCDE/linux: don't try to edit/modify /etc/inetd.conf if it does not exist
Modern systems use xinetd anyway, so this code just creates useless
junk and error messages on installation.
2018-04-10 13:44:29 -06:00
Jon Trulson 6fff16a049 Remove admin/man, *nameswitch; none of this is pertinent anymore 2018-04-10 12:52:36 -06:00
Jon Trulson ad01bb2067 Remove admin/bin; none of this is pertinent anymore 2018-04-10 12:52:32 -06:00
Jon Trulson 0ec76e2912 Remove admin/BuildTools; none of this is pertinent anymore 2018-04-10 12:52:25 -06:00
Jon Trulson 4ca27ae51a Remove admin/BuildTools/fnrclone/; obsolete junk 2018-04-10 12:32:28 -06:00
Ulrich Wilkens 01d6c363fa OpenIndiana and Solaris port 2014-10-28 13:40:11 -06:00
Ulrich Wilkens c3f74eec17 FreeBSD 10 clang port 2014-07-27 12:32:35 -06:00
Jon Trulson ded1213316 building_release_archive: add some steps and clean up 2014-03-01 17:01:12 -07:00
Jon Trulson d519628539 admin: add a BuildNotes dir for documenting release proceedures, etc 2014-03-01 15:47:34 -07:00
Ulrich Wilkens 2712d5f787 NetBSD port 2014-02-22 19:12:19 -07:00
Ulrich Wilkens 0f7bbcc209 No symlinks to libraries on OpenBSD (default install) 2013-09-05 11:21:53 -06:00
Ulrich Wilkens 4ec9658299 dtinfo other files 2013-08-29 19:47:51 -06:00
Ulrich Wilkens 9b4fe61ea4 dtinfo other requirements 2012-10-15 17:59:26 -06:00
Marcin Cieslak 663c251125 Install /usr/local/libdata/ldconfig/cde for FreeBSD
I mean really this time. Please.
2012-09-25 11:33:09 -06:00
Marcin Cieslak 0747780cdd FreeBSD: Add /usr/dt/lib to runtime linker - update
On Mon, 24 Sep 2012, Jon Trulson wrote:

> On Tue, 25 Sep 2012, Marcin Cieslak wrote:
>
> Applied.

I'm sorry - it turns out this one does not fully
work as expected.

This one is better (it's relative to the old master)
- so it might cause a conflict:
2012-09-24 19:21:12 -06:00
Jon Trulson a658d226d1 Revert "FreeBSD: Add /usr/dt/lib to runtime linker"
This reverts commit 91f228411e.

Updated patch.
2012-09-24 19:20:56 -06:00
Marcin Cieslak 91f228411e FreeBSD: Add /usr/dt/lib to runtime linker
Create $LOCALBASE/libdata/ldconfig/cde
which points the runtime linker to /usr/dt/lib

There is no need to invoke ldconfig manually
after this.
2012-09-24 18:34:30 -06:00
Marcin Cieslak c3cb5b8aa6 FreeBSD: Don't set MANPATH, use OS configuration
- make installer to set up man(1) paths using /usr/local/etc/man.d/*
- don't override empty/unset MANPATH with compiled in default
2012-09-10 12:08:34 -06:00
Marcin Cieslak 421b5061a6 Allow building on FreeBSD
- build shared libraries with major number only (libtt.so.2)
- don't build dtlogin and dtinfo

FreeBSD support for the installer:
- work around awk issue
- create post_install FreeBSD scripts
- install only cmsd on /etc/inetd.conf
  skip dtspc and ttdbserver for now

Note to users: please check
if you are affected by awk bug
in udbParseLib.awk if you can.
2012-09-06 11:17:43 -06:00
Jon Trulson 2d3517ec6e installCDE: remove \c from installing... Log lines 2012-08-31 19:57:29 -06:00
David Cantrell 6300831c65 Fix udbParseLib.awk so it doesn't generate warnings with gawk.
Tested this change with both gawk and nawk and it worked fine.  If
the extra escape character is present and gawk is used, you'll get
warnings from gawk telling you it's ignoring the escape sequence
and just treating it as the character to begin with.
2012-08-23 20:39:46 -06:00
Marcin Cieslak 17a33f0430 Use KORNSHELL variable instead of /bin/ksh
This patch removes instances of hardcoded
invocation of /bin/ksh and allows to
replace it with, for, example,
/usr/local/bin/ksh93

Also "ksh93" is accepted whenever "ksh" is.

Tested using the following /bin/ksh:

----8<----
WHAT=`ps -o command= -p $PPID`
msg="Something tried to call /bin/ksh: $PPID: $WHAT"
print -u2 "$msg"
logger user.warn "$msg"
exit 99
----8<----
(Warning: first two lines are FreeBSD specific)

Scripts from Makefiles should now be executed either
with

$(KORNSHELL) korn-shell-script

or

$(SHELL) bourne-shell-script

therefore #!/bin/ksh has not been changed everywhere.

/usr/dt/bin/ scripts have been converted (e.g. Xsession)

Whenever possible Imake and CPP facilities have been used.

For C and C++ programs KORNSHELL needs to be defined to
"/path/to/your/ksh" (with quotes) so that it can make
a valid C constant.

Therefore, when adding KORNSHELL to Imakefile for C files,
you have to add

CXXEXTRA_DEFINES = -DKORNSHELL=\"$(KORNSHELL)\"

or similar (for example, see programs/dtprintinfo)

But for simple shell script substitution we usually change

 LOCAL_CPP_DEFINES = -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
                     -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
                     -DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP)

to:

 LOCAL_CPP_DEFINES = -DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
                     -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
                     -DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP) \
                     -DKORNSHELL=$(KORNSHELL) \
                     -DXPROJECTROOT=X11ProjectRoot

since we don't want quotes for shell scripts.
2012-08-23 20:00:43 -06:00
Marcin Cieslak d6b6353f95 Use $(SHELL) and $(KORNSHELL) for shell scripts
Introduce KORNSHELL make variable to point
to the implementation of the Korn Shell.

Use $(SHELL) or $(KORNSHELL) explicitly for
make programs that do not automatically call
shell scripts from the current directory.
2012-08-14 12:34:41 -06:00
ibid_ag@lavabit.com 441a25b361 configRun.src: remove -s from inetd cmd, only run inetd if it exists. 2012-08-13 21:14:09 -06:00
Marcin Cieslak 31aaa48344 FreeBSD port: dtsearch, dtterm, dtwidget, dthelp
FreeBSD portability of dtsearch, dtterm, dtwidget, dthelp

Work in progress for dtlogin and dtmail
2012-08-13 19:53:10 -06:00