366 Commits

Author SHA1 Message Date
James Peterson
fcd12ad905 windows-build-environment-cleanup-20010906
clean up previous problems in the win2k build env
2001-09-07 03:54:54 +00:00
Derrick Brashear
5799a68ba6 config-makefile-further-cleanup-20010830
ordering of dependancies caused ${DESTDIR}/include/afs to not exist in
time, masked if you built into an existing destdir. so let's make
the makefile simpler and more logically paraallel.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

get missing backquote
2001-08-30 07:07:16 +00:00
Nathan Neulinger
635df30c0f more-makefiles-cleanup-20010829
get rid of cases where we'd end up with two / because of DESTDIR pasting

macroize calls to rm

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

get rid of another case of bogus trailing quoting
2001-08-30 00:22:17 +00:00
Nathan Neulinger
b0c5f0cac6 makefile-updates-20010828
clean up all the makefiles to remove bogus targets, eliminate trailing /
requirement from DESTDIR, avoid needing to pass things like DESTDIR around
between makefiles

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

remove bogus quoting
2001-08-29 02:19:55 +00:00
Derrick Brashear
1cea08ddb0 solaris-kernel-lacks-mem-functions-20010828
this is a band-aid, since it maps all memsets to bzero; a replacement
memset is actually needed for the non zero case
2001-08-28 15:05:34 +00:00
Chas Williams
3a268c2416 windows-installer-updates-20010823
change references to be to openafs and not afs
2001-08-23 18:17:40 +00:00
James Peterson
ae0d5a0407 windows-updates-20010819
1. Version control (Win9x & Windows NT/2000)
 NTMakefile.i386_win95 and NTMakefile.i386_nt40 added AFSPRODUCT_VERSION
 variable, setting this will propagate through the software by setting
 the product version for the installation and client dialog boxes.  In
 particular it will provide correct notification if Win2K installation is
 being upgraded, reinstall or downgraded.

 Version information shows up in the following ways:
   Welcome dialog during installation
   Properities page for Install.exe (Windows Installation routine)
   Windows Add/Remove Dialogs application list
   AFS Control Center and Client dialog boxes

 See README-WIN9X.TXT or README-NT.TXT for further information on how to set thi
s
 variable.


2. CellServDB  (Win9x & Windows NT/2000)
 The installer can choose between various sources for CellServDB:
 a) Previous installed file, afsdcell.ini(WinNT/2000) or CellServDB(Win9x).
 b) File that comes with the installation package (recent copy from grand.centra
l.org)
 c) Download a the file from the Web (default http://grand.central.org/dl/cellse
rvdb/CellServDB).
 d) Browse for a file

3. Drive Mapping (Win9x & Windows NT/2000)
 The installer can choose up to two drive mappings during the installation
 process.  Default is map Z: to AFS root and U: to user home directory

4. Silent Running (Win9x & Windows NT/2000)
 Setup.exe is capable of running silently (-s option); that is, it will use a pr
e-made
 response script to drive its responses.  You can also do a normal installation
with
 the record option (-r) to build a sample response file.

 The installation routine has been improved to accept a modified response file s
o the
 administrator can setup up additional drive mappings including substituting the
 user's
 loggin name into the path.  By using a text editor an administrator can setup a
 variable
 path name that includes %LOGINNAME% in a path statement.  This variable will be

 substituted for the current user's login name.  (Only at installation time.)

 For example: if an administrator wanted to install AFS client on a machine that
 had the
 following mappings:
 Z:=/
 U:=/afs/afscell.org/u/username
 Q:=/afs/afscell.org/general

 Then follow these steps:
 a) run setup with -r option and specify install to record responses into file s
etup.iss
  setup.exe -r -f1setup.iss
 b) Follow normal installation responses
 c) Edit the setup.iss response file by modifying the "DRIVEPATH section".

 This response file could start off looking like this:


 [DLG_DRIVEPATH-1]
 Result=1
 Drive_0=Z:
 Path_0=/
 Share_0=all
 Drive_1=U:
 Path_1=/afs/afscell.org/u/administrator
 Share_1=home
 Count=2

 This section map would be changed to look like this:

 [DLG_DRIVEPATH-1]
 Result=1
 Drive_0=Z:
 Path_0=/
 Share_0=all
 Drive_1=U:
 Path_1=/afs/afscell.org/u/%LOGINNAME%
 Share_1=home
 Drive_2=Q:
 Path_2=/afs/afscell.org/general
 Share_2=genrl
 Count=3

 d) Use the silent mode to install AFS (must log to windows as your user name e.
g. Frank)
  setup.exe -s -f1setup.iss

HINT: Share name should be limited to 12 characters.
    The response file terminate if the installation is in any way different; for
 example,
    the response is recorded on a clean machine and it is run on a system where
AFS
    is already installed.
    The execution is truly silent, except for a log file.
    The last response is BootOption and if set to 1 it will reboot your machine!


 Refer to additional documentation on silent/record in you Install Shield User's
 Guide.


5. Fixed the Un-Installation bug that damaged the NetBT parameter registration. (Win2k/NT only)

6. Change Default selection for Win2000 to Client and Documentation only.  (Win2
K/NT only)
 The default installation is with Server and Control Center NOT selected.

7. Win9x Client Operation (Win9x only)

 Win9x client has been changed to allow "connection" with out forcing
 authentication.  Previous implementation of the Win9x client had three steps to
 the
 connection process: 1) start client 2) obtain tokens 3) Map drives

 The updated Win9x client can leave the username blank and select to Connect.  T
herefore, only
 the client will be started (without obtaining tokens).  The user can still map
drives
 (those that don't require authentication).  This is particularity useful if you
 want to
 use a different routine to obtain authentication tokens or additional drive map
pings.

 A command line option has also been added (-noid).  This option Prevent selecti
on of
 (Gray out) username/password. This will cause the client to start up without au
thentication.
 By using both -noid and -connect allows the user to run the AFS client in login
 script
 that could provide Kerbos 5 authentication and addition drive mapping.

8. Installation (Win9x only)
 Fix installation into paths that have space, e.g. \Program Files\Afscli

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================


complete list in first message
2001-08-19 15:44:41 +00:00
Derrick Brashear
c5c521af0e convert-from-bsd-to-posix-string-and-memory-functions-20010807
bcopy, bcmp, bzero, index, rindex, you're all cut.
memcpy, memcmp, memset, strchr, strrchr, show us how it's done

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

fix reference to memset the right thing

====================

make change to arguments globally and not just for e.g. linux/darwin/fbsd

====================

fix a minor flub in how this was done

====================

correct another bad memcpy coversion

====================

fix up more inadvertant turds

====================

fix two errors found by chas williams
2001-08-08 03:05:55 +00:00
Chas Williams
a1b425f767 introduce-linux-ia64-port-20010806
"no special instructions this time other than you need a rather recent
glibc (turbolinux beta5 or redhat 7.1) since the afs userland utilities
use ucontext() instead of setjmp()/longjmp().  this is probably the weakest
part of the port since lwp is somewhat difficult to test rigorously.

you can insmod the afs module now (and rmmod if you like)  why so difficult?
function pointers are really pointers to a function descriptor that contains
the function pointer and global pointer.  the syscall table (being written
in assembler) only contains function pointers.  it doesnt setup the gp.
modules and kernels do not share the same gp.  so if you want the syscall
to go to a module, you need to setup the gp and then call your module's
routine.  be sure to restore the gp after returning from your routine :)
i also converted to the 'new style' module_init() -- only used on kernel
versions 2.4.0 and up.  this does the right thing if you happen to be
linked directly with the kernel.

klog has been fixed (afs's crypt() function is sensitive to sizeof(long) --
des/crypt.c should probably use 'afs_int32', not 'long' or 'int')

in case it matters, my platform is a b3-stepping running beta5 of turbolinux."

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

don't leak into not ia64 port
2001-08-07 01:11:25 +00:00
Nathan Neulinger
c0250743d1 junk-src-config-makefile-version-as-its-generated-20010806
currently being generated on every build; might as well junk it
2001-08-07 00:43:50 +00:00
Nathan Neulinger
56493b597e hpux11-force-system-ranlib-20010806
so binutils ranlib isn't found first
2001-08-07 00:21:22 +00:00
Nickolai Zeldovich
cfa2e59dc1 solaris8-namei-cleanup-20010802
note gi is useless for namei case

The AFS_64BIT_ENV define is needed for afsutil.h which makes use
of some 64-bit types (and if AFS_64BIT_ENV isn't set, defaults to
the non-existant u_int64_t).
2001-08-02 17:20:02 +00:00
Nathan Neulinger
0207991adc convert-all-makefiles-to-makefile-ins-20010802
all relevant variables become subst'd and not passed in the environment
2001-08-02 16:45:35 +00:00
Derrick Brashear
354fb17392 linux22-param-file-needs-modversions-reordering-20010716
to make it possible to build modversion'd kernel on linux 2.2
2001-07-16 23:06:26 +00:00
Derrick Brashear
b1068468fd generate-version-strings-from-configure-20010712
have perfectly good version string. use it.
2001-07-12 18:43:28 +00:00
Jimmy Engelbrecht
405cd3e8e0 add-new-arla-pioctl-20010710
reserve next pioctl for arla statistics gathering interface
2001-07-10 18:31:07 +00:00
Derrick Brashear
ffb5299add remove-generated-files-from-cvs-20010705
will need to deal with snapshot and release generators to include these yet
but junk them for now
2001-07-05 17:48:34 +00:00
Nathan Neulinger
e7ec0d4213 afsconfig-and-rcsid-all-around-20010705
convert rest of source to afsconfig; include rcsid macros

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

remove bogus if/define/endif triple

====================

revert non-rcsid and afsconfig portion of patch
2001-07-05 16:20:00 +00:00
Chaskiel M Grundman
8c08034a39 sparc64-linux24-support-20010629
support for sparc64 linux2.4 tested with 2.4.5
2001-06-29 05:43:53 +00:00
Tom Maher
a7014d4208 update-freebsd-support-20010628
fileserver now set up for namei interface. still no client
2001-06-29 04:20:01 +00:00
Derrick Brashear
7c6170b1bb update-ac-substd-variables-so-aix-make-is-happy-with-obsolete-and-insecure-disabled-20010628
AIX gets upset qwhen these variables are unset
2001-06-28 08:03:25 +00:00
Derrick Brashear
aaca2cacd9 introduce-autoconf-for-openafs-20010628
replace existing build system with autoconf faceplate

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

so we can fix the file modes

====================
commit withj correct file modes

====================

stuff which got left behind

====================

more stuff which was missed

====================

get this right so build completes

====================

also make these correct (no obj reference)

====================

so autoconf dependancy chain need not change

====================

set correct variable for obsolete buildng

====================

so we can more easily use autoconf'd CC var
2001-06-28 06:44:19 +00:00
Sam Hartman
114eb0c827 apply-modversions-so-nothing-has-first-been-included-20010623
include afs/afs_sysnames.h after modversions so no unversioned symbols sneak in
2001-06-23 18:54:50 +00:00
Jeff Riegel
aab5fc6ecd winnt-win2000-win98-afs-client-updates-20010623
updates for nt/2000 and 95/98 afs clients

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

binary file  updates
2001-06-23 18:29:56 +00:00
Nathan Neulinger
79606d4e5f protect-SMP-with-conditionals-against-multiple-definitions-20010612
don't redefine __SMP__ if it's defined.
2001-06-12 20:42:32 +00:00
Mattias Amnefelt
0e52339b66 automake-work-in-progress-20010605
work-in-progress automake work. will not work as-is as it relies on
headers being moved about and that isn't included yet.
2001-06-05 21:17:46 +00:00
Nathan Neulinger
083170a430 config-includes-warning-cleanup-20010605
clean up comment warnings
2001-06-05 16:06:56 +00:00
Nathan Neulinger
b8f911768b sgiefs-support-is-gone-but-great-rock-lives-on-20010602
remove inclusion of missing sgiefs directory since we didn't get the binary
library needed for it to work anyhow
2001-06-03 17:32:18 +00:00
Derrick Brashear
b9c11bc281 linux24-param-cleanup-20010516
make usr version of file not define 64 bit env
make kernel version include modversions before afs_sysnames.h (which includes
stds.h)
2001-05-16 05:16:27 +00:00
Carsten Jacobi
d3c69d1c77 linux24-s390-initial-support-20010503
base support for s390 linux 2.4
2001-05-03 15:19:00 +00:00
Nickolai Zeldovich
f816a53b26 afsdb-callout-and-userspace-implementation-20010430
"This patch implements AFSDB support for both user-space programs
and for the kernel.. I've tested these on sun4x_57 (64-bit) and
on i386_linux22."

not currently enabled in any configuration
2001-04-30 23:08:39 +00:00
Jeff Riegel
7f4414ae39 win95-initial-port-20010430
Windows 95/98 port from IBM Almaden

documentation and build support

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

Windows 95/98 port from IBM Almaden

changes to cache manager

====================

Windows 95/98 port from IBM Almaden

makefile changes

====================

Windows 95/98 port from IBM Almaden

osi changes to support 95/98

====================

Windows 95/98 port from IBM Almaden

installer for 95/98 client

====================

Windows 95/98 port from IBM Almaden

win95/98 panel app

====================

Windows 95/98 port from IBM Almaden

win95/98 panel app help

====================

Windows 95/98 port from IBM Almaden

makefile changes plus dns implementation

====================

Windows 95/98 port from IBM Almaden

makefile changes plus changes for compat with dos line conventions

====================

Windows 95/98 port from IBM Almaden

config for 95/98

====================

Windows 95/98 port from IBM Almaden

makefile changes plus support for 95/98 env

====================

Windows 95/98 port from IBM Almaden

ms compiler changes

====================

Windows 95/98 port from IBM Almaden

makefile changes

====================

Windows 95/98 port from IBM Almaden

lwp changes
to support 95/98 port

====================

Windows 95/98 port from IBM Almaden

rx changes to support 95/98 port
2001-04-30 08:03:55 +00:00
Sam Hartman
dae4e16dbe linux-ppc-linux22-base-config-20010429
base ppc linux 2.2 config
2001-04-30 00:42:33 +00:00
Derrick Brashear
8ee4e0cec9 winnt-redefine-snprintf-instead-of-building-one-20010429
WINNT has _snprintf, just use that
2001-04-30 00:40:12 +00:00
Derrick Brashear
3d4fa5b444 undo-i386-linux-64bit-env-20010420
It turns out defining AFS_64BIT_ENV ends up causing accesses to hang
if a server goes down; Should not be the case but other work will be needed
to figure out why or even if we need to be AFS_64BIT_ENV; in the meantime,
revert this part of patches done for xdr_int64; it's not ncessary now anyhow
2001-04-21 00:58:24 +00:00
Nathan Neulinger
1e9fc5888f warning-cleanup-20010414
cleanup based on complaints for gcc -Wall
2001-04-14 18:49:51 +00:00
Tom Maher
0c1eb3a380 initial-freebsd-port-work-20010414
start of work on freebsd port
2001-04-14 18:27:12 +00:00
Nathan Neulinger
7fd13204a3 partial-hpux-10-support-20010404
similar to HPUX 11, just make what can be compiled now compile
2001-04-04 18:08:51 +00:00
Derrick Brashear
ff118da207 i386-linux24-includes-long-long-types-20010403
define AFS_64BIT_ENV for linux24 i386
basically denotes existance of long long
2001-04-03 07:55:34 +00:00
Derrick Brashear
14e482ad26 death-to-permit-xprt-h-20010327
permit_xprt.h, we hardly knew ye
2001-03-27 23:02:13 +00:00
Chaskiel M Grundman
a41175cfbb initial-darwin-support-20010327
setup for darwin port

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
changes for darwin port

====================

added files for the darwin port

====================
changes for darwin port
2001-03-27 08:43:13 +00:00
Michael Stroucken
bccc6a809d first-pass-at-alpha-linux-support-20010312
Changes for Alpha to previous 64 bit changes for sparc (sparc64 isn't
necessarily analogous to alpha or any other 64 bit linux platform)

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
use mkstemp

====================
Include necessary file for alpha config

====================
Deal with 64 bit time_t

====================
Don't do increments in a way that can be miscompiled

====================
configure for alpha linux

====================
deal with time and initialize a variable

====================
don't use ViceIoctl32 for alpha linux

====================
deal with compiling kdump for alpha linux

====================
mods in callback.c analogous to dux port; mods in viced to deal with
thread creation function return convention

====================
config for linux alpha

====================
ids for alpha linux consistent with new-style sysname grouping

====================
makefile and config files for new-style sysnames

====================
MakefileProto changes for alpha linux with new-style sysnames. A change
in config/mc.c will be needed for this to configure correctly, and it will
be added soon

====================
note alpha port and the state it's in to hopefully avoid questions
2001-03-27 00:53:26 +00:00
Hartmut Reuter
f310da48b4 support-namei-fileserver-on-solaris8-20010305
So the namei fileserver can be used on Solaris 8
2001-03-05 16:39:05 +00:00
Adam Thornton
c12594fb08 afs-linux-s390-updates-20010305
Updates for Linux s/390 AFS port
2001-03-05 16:34:32 +00:00
Michael Welsh Duggan
3f43961f53 linux-libafs-with-modversions-20010228
Use symbol versioning when compiling against a kernel with symbol versioning
enabled.
2001-02-28 19:22:44 +00:00
Derrick Brashear
218377fec2 clean-up-64bit-mod-spacing-20010212
Missed earlier; needed to be compiler-friendly on some platforms
2001-02-12 17:17:09 +00:00
Hartmut Reuter
e9cf43f198 update-rs-aix42-afs-syscall-20010212
AFS_SYSCALL again 31 per Hartmut
2001-02-12 17:15:37 +00:00
Derrick Brashear
8315656f31 fix-64bit-stds-h-patch-20010210
dux and irix compilers don't like # in other than first column
2001-02-10 21:49:43 +00:00
Hartmut Reuter
0b70e19056 mrafs-client-extensions-including-afs-int64-20010210
"       Extensions used by MR-AFS in the client. I have added only two
        pioctl-calls which are used by the "fs"-command for a large number
        of MR-AFS specific subcommands. With this modification also the
        data type afs_int64 is introduced because MR-AFS supports large files.
        afs_int64 is either "long long" or a structure consisting of two
        32-bit numbers. We are already running on rs_aix42 a fully large-file
        capable AFS-client, but these changes are still in a beta test and
        not yet added here."
2001-02-10 21:26:14 +00:00
Johan Danielsson
d089415117 tru64-50-initial-support-20010210
makes client work under 5.0A, untested with 5.0 or 5.1
2001-02-10 20:57:28 +00:00