Commit Graph

76 Commits

Author SHA1 Message Date
Russ Allbery
2ec9b1db03 shlib-overhaul-20060802
Overhaul how we build shared libraries.  Pull the code for building and
installing shared libraries out into simple shell scripts that we can then
evolve as we need to and make more sophisticated.  Remove the details of
how to use a mapfile from the Solaris Autoconf-driven configuration and
move them to the Solaris case of the build script.  In the process, make
it possible to build more than one shared library in a single directory.

Remove the last vestiges of libafssetpag from the sys directory; kopenafs
now replaces all of that.

Only link in syscall.o in the sys and kopenafs directories on those
platforms that actually care so that we don't have to do work to generate
a valid .o file that can be included in an archive.
2006-08-02 22:54:51 +00:00
Derrick Brashear
fd099b3e76 endian-fixes-20060802
macos needs us to do weird stuff so -arch i386 -arch ppc works
2006-08-02 19:59:40 +00:00
Russ Allbery
83b6575648 kopenafs-20060802
Add a shared libkopenafs that provides k_hasafs, k_setpag, k_unlog, and
k_pioctl (in other words, enough for a PAM session module that calls an
external aklog).
2006-08-02 17:47:29 +00:00
Russ Allbery
2eaae5ef3a death-to-null-20060801
General consensus is that the termlib hacks that necessitate the libnull.a
hack don't matter on any current platform we build on, and even if it does,
it should be dealt with in TXLIBS in osconf.m4.  So remove all of that
infrastructure and see what fails.
2006-08-01 23:55:11 +00:00
Russ Allbery
b405868ca0 death-to-package-20060801
Remove package, mpp, and wsadmin, along with the remainder of configure
support for obsolete programs and the corresponding documentation.
2006-08-01 23:27:20 +00:00
Russ Allbery
46574ccb91 death-to-sia-20060801
Drop the SIA code (PAM for Digital Unix).
2006-08-01 22:49:36 +00:00
Russ Allbery
3f75e40253 death-to-login-20060801
Get rid of the AFS integrated login, which we no longer care about.
2006-08-01 22:39:56 +00:00
Russ Allbery
eb1dd3306b we-hate-dce-20060801
Destroy all traces of dauth, including the DCE authentication support in
afsweb.
2006-08-01 21:57:14 +00:00
Derrick Brashear
86a29ebd32 macos-move-afssettings-20060801
build this as part of the build
2006-08-01 21:43:34 +00:00
Russ Allbery
15dae9264f death-to-des-stub-20060801
Remove des_stub; we don't care any more.
2006-08-01 21:19:53 +00:00
Russ Allbery
8df5dcbc91 death-to-pinstall-20060801
Delete pinstall and convert the entire tree to use the install program
found by configure (falling back on install-sh in the local tree).  This
means that we have to pre-create directories with install -d.  Also redo
the install and dest rules to be lists of install rules rather than
dependencies driving separate make rules so that running make install will
always update the target directory with the current code, even if there are
files in the install area that are newer.

Stop installing libafssetpag; we're about to kill it in favor of a
different library.  Remove some djgpp rules.
2006-08-01 21:03:54 +00:00
Tom Keiser
51ec267011 dafs-20060317
FIXES 26648

demand attach/fast restart fileserver
2006-03-17 19:54:26 +00:00
Russ Allbery
5fde299434 man-page-installation-20051221
On installation, substitute the configured paths into the man pages,
replacing the Transarc paths.  Also fix a problem with the way that
pinstall was being used to install man pages.  (Silly me, I was assuming
it had the same behavior as install.)

This is just a quick first pass.  Longer term, it's probably better to
replace all paths in the man pages with unambiguous tokens and then
replace those tokens instead of assuming that the man pages use Transarc
paths and replacing those paths specifically.  The current method has a
few minor problems, such as not being able to distinguish between the
various paths that make up /usr/afs/bin.  Still, the results of this method
are good enough to start with.
2005-12-22 07:29:52 +00:00
Russ Allbery
351a1e3d51 pod-man-pages-20051015
FIXES 19268

add pod generation of man pages
2005-10-15 16:00:57 +00:00
Derrick Brashear
dbd69d19e4 objdir-20050622
FIXES 19341

try harder to make builds work in cases where you're building into an alternate directory with old autoconf (mkdir vs mkdir -p)
2005-06-22 18:35:20 +00:00
Ken Hornstein
bcdb5a184e more-aklog-fixes-20050618
Fixup aklog so it will compile (at least on MacOS X).  Include basic
autoconf glue.
2005-06-19 02:06:21 +00:00
Derrick Brashear
228f109a43 remove-insecure-and-ntp-20050403
rcmds, inetd, ftpd and ntp are gone. leaving the files in the cvs head for now.
2005-04-03 19:32:20 +00:00
Derrick Brashear
b1dd6e87cb threaded-volserver-progress-20031114
not ready for primetime. not even close.
2003-11-15 04:59:08 +00:00
R. Lindsay Todd
4dd74ef182 splint-support-20030701
FIXES 1493

add splint support targets to makefiles
add support files
2003-07-02 02:03:17 +00:00
Nathan Neulinger
782109a29b no-copy-libafs-builds-20021015
make things so file copies from src/libafs don't happen; change how libafs_tree is done
2002-10-16 04:58:13 +00:00
Derrick Brashear
ae19912bdd shared-libafsrpc-and-libafsauthent-20020828
shared library versions of libafsrpc and libafsauthent
2002-08-28 07:05:43 +00:00
Manuel Pereira
6738516b53 jafs-library-20020725
Java API work
2002-07-26 06:33:59 +00:00
Chaskiel M Grundman
bd707fb7e6 freebsd-almost-working-client-20020216
a) a freebsd client that compiles, and to a certain extent, works. Should
not be used except by people doing freebsd client development
b) configure glue for freebsd 4.3, 4.4, and 4.5
c) freebsd tfileserver support. Note that, by default, this isn't very
interesting, as the supported freebsd pthreads are just as cooperative as
LWP. if you install the linuxthreads port and swap the MT_* variables in
osconf.m4, you will get a more traditional tfileserver though. configure
glue for that will be forthcoming at some point.
d) a maybe-fix that sets sin_len in sockaddrs on platforms that have them.

(and also a fix for the AC_PROG_CC issue which affects autoconf 2.13 and 2.5x
 on same conf files issue)
2002-02-16 18:23:44 +00:00
Derrick Brashear
7d21d2e916 top-makefile-build-runtests-20020117
make top makefile/configure build run-tests
2002-01-17 10:43:28 +00:00
Derrick Brashear
966becc844 test-suite-updates-20020115
cleanup all target, get missing headers

====================
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.
====================

put perl modules in properly named subdir
2002-01-15 19:22:05 +00:00
Derrick Brashear
fcb32c07ed test-suite-pull-tools-directly-in-20020114
move dump tools directly into test suite as that is their intended use

canonical versions of these tools will be distributed otherwise
and may be updated but these provide the minimum functionality
2002-01-15 04:14:51 +00:00
Derrick Brashear
f1964d2cf8 functionality-test-suite-20020114
Based on Arla test suite and AFSTools with some other additions;
intended to set up a standalone cell, perform operations
2002-01-14 07:49:15 +00:00
Jeffrey Hutzelman
78b512f1da dumptools-20020113
tools for manipulating afs volume dumps
2002-01-13 23:47:17 +00:00
Nathan Neulinger
838e1eae1a build-system-specific-makefile-configuration-from-configure-20011031
junk all of Makefile.${SYS_NAME} in favor of a common makefile built by
configure, and use it
2001-11-01 04:59:26 +00:00
Nathan Neulinger
b9948dd965 initial-objdir-support-20011017
first cut at objdir support
2001-10-18 00:06:58 +00:00
Ken Raeburn
99ba2ae4b6 check-for-makefile-fragments-for-systype-at-configure-time-20011011
don't succeed configuring if we can't build for them

====================
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 look at the generated files
2001-10-11 18:39:36 +00:00
Jeffrey Hutzelman
309122e864 configure-and-configure-libafs-use-acinclude-as-common-ground-20011008
use a single file for most of both configure scripts

====================
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.
====================

except don't require autoconf 2.50
2001-10-09 15:48:25 +00:00
Derek Atkins
c9176d7f38 linux-generate-struct-vnode-dyanmically-from-kernel-headers-instead-of-by-perverting-configure-to-test-for-every-one-of-alan-coxs-additions-some-of-which-will-doubtless-never-make-it-into-mainline-kernels-20011001
hopefully this will be the end
(at least for a while) of problems where every linux version requires a new
openafs release. the struct vnode is now dynamically generated by parsing the
linux/fs.h file and pulling out the struct inode, then rewriting osi_vfs.h
2001-10-01 23:58:59 +00:00
Derrick Brashear
a878b9e689 allow-configure-time-override-of-DEST-20011001
so DEST=foo ./configure will work
2001-10-01 20:20:04 +00:00
Mark W. Eichin
12136567fc linux24-another-new-inode-field-sigh-20011001
with configure glue by shadow@dementia.org

one of these days we really need to implement a better solution
2001-10-01 18:31:49 +00:00
Jim Rees
b80f8ab2cb Initial OpenBSD support. Most of user space builds. No kernel module yet. 2001-09-14 00:19:17 +00:00
Chaskiel M Grundman
0c412784f1 darwin-update-plist-building-20010912
update how plist files are constructed so subsconfigure for libafs can work
2001-09-12 06:00:46 +00:00
Derrick Brashear
6b113587ca linux-configure-check-for-more-inode-struct-members-20010910
for redhat enterprise kernel
2001-09-10 21:52:30 +00:00
Chaskiel M Grundman
7303f3148e darwin-build-updates-20010910
separate plist on per-version basis

1.4 is not yet supported
2001-09-10 21:07:32 +00:00
Jeffrey Hutzelman
80e2c2f8ce make-install-support-for-transarc-and-prefix-style-universes-20010907
according to jeff:
- Renames the top-level 'install' target to 'build'.  This should be
    transparent, since no one should be using that.

  - Improves on Sam's dirpath patches, by splitting out server binaries
    into separate bin, sbin, and libexec directories in GCS mode (these
    are all /usr/afs/bin in Transarc mode).

  - Updates the top-level 'all' target so that it builds the software
    but does not generate a dest tree.  Top-level 'lib' and 'include'
    directories are generated to hold the intermediate libraries and headers
    used during the build.

  - Adds a new top-level 'install' target, which installs things in the
    appropriate directories under ${DESTDIR}, based on configure's install
    directories plus the extras added by Sam's patch.

  - Adds a new top-level 'dest' target, which creates an old-style dest
    directory under ${DEST}.  The ${DEST} variable defaults to the
    traditional value of ${SRCDIR_PARENT}/${SYS_NAME}/dest.  Note that
    this variable used to be called ${DESTDIR}; it was renamed to avoid
    conflicts with the de facto standard usage of ${DESTDIR}.

====================
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 missed makefile

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

update another missed file

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

eliminate bogus escaping

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

get rid of another bogus escape

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

remove unused include directory

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

get rid of no longer used libdir

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

remove unused incdir

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

fix up some problems for make compatibility and missing trailing /

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

put afs.exp in the right place

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

remove bogus afssrvdir reference

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

update dest version of output

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

update ref to libexecdir

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

kill refs to afssrvdir

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


convert missed LIBDIR to TOP_LIBDIR

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

remove explicit INSTALL and use makefile.@sys value instead

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

except it's helpful to actually include makefile.@sys

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

convert LIBDIR to TOP_LIBDIR
2001-09-10 20:15:57 +00:00
Sam Hartman
11b021e1b1 dirpath-support-configure-path-options-and-decanonicalization-20010906
Sam's notes:
"Here is a patch that supports directory paths, documentation for the
  above and decanonicalization of of supplied paths.  Here are tests I
  have run:

  * Build with  both transarc and non-transarc paths and examined
    dirpath.o
  * Build with roughly FHS-style paths and tested on Debian
  * confirmed that bos salvage  works even when salvager not in
    /usr/afs/bin
  (it gets the log correctly too)
  * confirms that bos getlog can get logs from /usr/afs/logs even when
    /ur/afs/logs
  is /var/lib/openafs/logs
  * confirmed that bos getlog can get /etc/motd
"
2001-09-07 04:18:59 +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
Derrick Brashear
3b75d2d05d linux-support-kernel-patches-used-by-suse-20010829
check for added fields in struct inode
2001-08-29 20:04:00 +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
Nathan Neulinger
aadec38e06 hpux10-may-be-hppa-2-20010823
deal with more uname output
2001-08-23 18:07:24 +00:00
Nathan Neulinger
120e1ef570 configure-simplify-hp-detection-for-sysname-20010816
cut from 2 rules to one
2001-08-16 08:54:48 +00:00
Derrick Brashear
cb3985fcd9 linux-ext3-adds-items-to-struct-inode-and-so-do-we-20010807
Thanks to shirsch@adelphia.net for mentioning something was added.

====================
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.
====================

this leaked in, separate delta

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

fix maxcro defn
2001-08-08 03:37:54 +00:00
Derrick Brashear
81c5741633 linux-fs-h-struct-inode-test-for-i-cdev-20010807
doesn't look like it should matter but we might as well try to stay consistent

====================
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 extra tests
2001-08-08 01:34:58 +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
Derrick Brashear
52fb580769 configure-sysname-updates-20010806
add omitted s390 linux port
add alternate hpux11 port info from nneul@umr.edu
2001-08-07 00:24:14 +00:00