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.
This commit is contained in:
Marcin Cieslak
2012-09-06 13:45:11 +02:00
committed by Jon Trulson
parent a38242a9d0
commit 421b5061a6
13 changed files with 1099 additions and 12 deletions

View File

@@ -268,6 +268,13 @@ function tokenize() {
printf(" ") > DeBugFile
print "Entering function tokenize:" > DeBugFile
}
# Workaround for a strange awk bug, seen on FreeBSD
# and results in .db files generated with
# Syntax ERROR line: 10 of file: CDE-INC.udb
# Missing initial {
#
DUMMY = $0
# Skip blank/comment lines
while ( NF == 0 || $0 ~ /^[ ]*#/ ) {
if ( (getline) <= 0 ) {