Commit Graph

117 Commits

Author SHA1 Message Date
Russ Allbery
6dc50767f8 Fix aklog warnings when building with Heimdal
Fix various warnings in the aklog and klog code when building with
Heimdal.  Use krb5_get_init_creds_opt_alloc if it's available rather
than allocating the struct off the stack, since the _opt_init
function is deprecated.

Change-Id: Ieff986121de9078e9402b0a51a8855655330caba
Reviewed-on: http://gerrit.openafs.org/2082
Tested-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-06-15 18:09:32 -07:00
Russ Allbery
9784847fed Rework the Kerberos Autoconf probes
Previously, building with Kerberos support required either passing a
flag to configure giving the location of a krb5-config script, or
manually setting variables specifying the Kerberos libraries and
header path.  Replace that code with code that checks for Kerberos
libraries automatically and builds the Kerberos code if any were
found, with support for doing direct library probing if there is no
krb5-config script.

Add several platform-specific overrides directly into the configure
support, so we should be able to build out of the box on Mac OS X 10.3,
HP-UX, and AIX Kerberos with the new probes.

The Kerberos Autoconf macros are now the versions that come with
rra-c-util and are tested with multiple other packages, so both
OpenAFS and those packages will be able to benefit from further
portability improvements.

Update README for the new building instructions, documenting how to
configure the Kerberos probes if they can't automatically figure out
the location and flags for Kerberos on your system.

Change-Id: Ia35bb0dbc6b94c6b4dfe8165388447dbfcb31a29
Reviewed-on: http://gerrit.openafs.org/2026
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-06-15 16:30:04 -07:00
Russ Allbery
2e2494d6db Add a sample test program to the new test suite
Add a modified version of src/util/test_ktime to the new test suite
as an example of how to write a test program with the new harness.

Change-Id: Ifbceff1905f9f0dd686c2a2d2edc2f8796e7918f
Reviewed-on: http://gerrit.openafs.org/2063
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-05-29 21:48:40 -07:00
Russ Allbery
194c3f10d4 Import C TAP Harness 1.2 as a testing harness
Creates a new top-level tests directory that will be used for all
future automated test code eventually.  Import runtests and the
basic TAP library from C TAP Harness 1.2.  Add top-level check and
test targets that build the full source tree and then the new tests
directory, and then runs runtests on the test list.

Change-Id: I896f8ae488cd1dfa8529a10b4b479e45e7c67afe
Reviewed-on: http://gerrit.openafs.org/2062
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2010-05-29 21:48:19 -07:00
Derrick Brashear
8b0164cd9e openafs 1.5.74.1
so it can be tagged and non-unversioned builds of the mac client changes can
be seeded for testing

Change-Id: Ibaa231d356bf667b13e271c9868c6ce0182bd2a6
Reviewed-on: http://gerrit.openafs.org/1814
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-04-23 09:00:42 -07:00
Andrew Deason
63b6bb1ee7 Use AC_PREREQ
We use AC_USE_SYSTEM_EXTENSIONS, which was introduced in autoconf
2.60. To allow for less confusion and perhaps a more clear error
message, specify that we require using at least that version.

Change-Id: I42a3f4e889ad443d8d8cd3ba0c085c67606b8be3
Reviewed-on: http://gerrit.openafs.org/1784
Reviewed-by: Russ Allbery <rra@stanford.edu>
Tested-by: Russ Allbery <rra@stanford.edu>
2010-04-19 22:24:14 -07:00
Derrick Brashear
690b5c814e openafs 1.5.74
make 1.5.74 versions

Change-Id: I320cdbab2961dcf2a17bb71e8d4283aaf38941ce
Reviewed-on: http://gerrit.openafs.org/1768
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
2010-04-17 08:47:25 -07:00
Russ Allbery
55a24ddd42 Autogenerate a Debian changelog for correct package versioning
The Debian packaging infrastructure takes the package version from the
most recent entry in the changelog file.  Change the changelog file to
a template and add an entry to the top that will be set to the current
version of OpenAFS, with a Debian revision that will sort before any
official package.

Change-Id: Ic7fb1d30be10210b7d032cdc49a963410997db82
Reviewed-on: http://gerrit.openafs.org/1749
Tested-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-04-14 19:05:16 -07:00
Russ Allbery
50f248d160 Update Debian packaging files
The Debian packaging files in the tree were ancient.  Update to the
packaging files from the just-uploaded 1.5.73.3-1 version, which should
build and correctly install the current development source.

The current packaging files no longer use a hard-coded version in
debian/rules, so remove the configure machinery for creating it.  The
correct way of handling the version number is to generate a new
changelog entry.  That work will come in a subsequent patch.

Change-Id: I187fe7cc3f4ca38de6165d58274841d300b6cdf1
Reviewed-on: http://gerrit.openafs.org/1713
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-04-09 04:25:05 -07:00
Derrick Brashear
b9f014bdbf make openafs 1.5.73.3
another point release

Change-Id: I3430d62a4088e0b6f930b0b6cd2507f96226adea
Reviewed-on: http://gerrit.openafs.org/1700
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-04-06 11:47:00 -07:00
Derrick Brashear
f9799b8561 make 1.5.73.2
fix aklog for 32 bit macos, make freebsd vaguely more useful

Change-Id: I53bb88f11eedb365e4430aed468cb9c84442d44b
Reviewed-on: http://gerrit.openafs.org/1688
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-04-01 22:34:05 -07:00
Derrick Brashear
6a261db9a6 openafs 1.5.73.1
with rpm and macos versions which hopefully work for packaging
(well, the macos does)

Change-Id: I42016db95ddaff6f76e1f0954eb06cfd743f18cf
Reviewed-on: http://gerrit.openafs.org/1670
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-03-30 19:14:05 -07:00
Derrick Brashear
e4dfa3a482 openafs 1.5.73 version strings
make windows and unix 1.5.73

Change-Id: Ice7fb6bab06ab6b5a1e6d5309f13d242289d2b0a
Reviewed-on: http://gerrit.openafs.org/1620
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
2010-03-23 21:17:28 -07:00
Andrew Deason
129b6954a6 Use AC_USE_SYSTEM_EXTENSIONS
Instead of defining various symbols like _XOPEN_SOURCE, _BSD_SOURCE, and
the like, just use autoconf's AC_USE_SYSTEM_EXTENSIONS to define all of
the appropriate symbols for us. Deal with some fallout by removing some
of the existing defines.

Change-Id: I1c1968c89cc2dfda1293fd2566dac8e266325a72
Reviewed-on: http://gerrit.openafs.org/1582
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-03-22 15:15:56 -07:00
Derrick Brashear
e49f42f283 add growl agent for macos
a userspace monitoring helper for mac users

Change-Id: If81c0b9d2c7606e81f271465491f0a0eb5db62b3
Reviewed-on: http://gerrit.openafs.org/1513
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-03-04 19:52:36 -08:00
Derrick Brashear
70052370b7 make unix 1.5.72
update version for next release

Change-Id: Idb0eeac9e5883f99ba787a41ab38081fcdabd855
Reviewed-on: http://gerrit.openafs.org/1291
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-02-10 21:28:25 -08:00
Derrick Brashear
43bcd4db71 make 1.5.71 for unix
version updates for unix

Change-Id: Ia7901e3969b3afb72b870e7bfaf1be931c2fb0c5
Reviewed-on: http://gerrit.openafs.org/1185
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-01-31 21:47:21 -08:00
Derrick Brashear
a16e6f3964 unix 1.5.70
make 1.5.70 for unix

Change-Id: I84ed384e9cd38e49a2c002a4ffe19a6ff5ba633d
Reviewed-on: http://gerrit.openafs.org/1153
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-01-24 07:15:15 -08:00
Derrick Brashear
97d0d22e34 make 1.5.69 for unix
set version number for unix

Change-Id: I2273e97ec43fd172e6f486ab6226cc6376885163
Reviewed-on: http://gerrit.openafs.org/1123
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-01-18 17:33:54 -08:00
Derrick Brashear
cc47e76591 create debugging kext package for MacOS
this creates and installs a debugging kext package for macos. it also
always installs the decode-panic script (which can be used even without
the debug kext)

Change-Id: Iff03de66cd3df2690f03333e6629d21660364cd1
Reviewed-on: http://gerrit.openafs.org/1120
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2010-01-17 08:15:59 -08:00
Derrick Brashear
adf9baebc8 unix 1.5.68
update version numbers for unix

Change-Id: Ic8a42a9ca1cfc74ab2d8f8d2ac0442efa716a84b
Reviewed-on: http://gerrit.openafs.org/888
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2009-12-04 16:49:56 -08:00
Derrick Brashear
ccb64bd3aa unix 1.5.67
make 1.5.67 for unix

Change-Id: I1e25ec581b9b2a37230bd2a889f88f454a73ba8f
Reviewed-on: http://gerrit.openafs.org/885
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2009-12-03 20:47:35 -08:00
Derrick Brashear
944580c195 make 1.5.66 for unix
push version changes for 1.5.66

Change-Id: I5302e9aa83b4aba0081130934f0d6df0786ce43c
Reviewed-on: http://gerrit.openafs.org/722
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2009-10-23 14:45:10 -07:00
Derrick Brashear
1937eadfda openafs 1.5.65
make openafs 1.5.65 for unix

Reviewed-on: http://gerrit.openafs.org/561
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2009-09-30 14:35:21 -07:00
Derrick Brashear
1542d943df make 1.5.64 for unix
update version strings to 1.5.64

Reviewed-on: http://gerrit.openafs.org/478
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2009-09-21 09:36:26 -07:00
Derrick Brashear
d15ca10da0 unix 1.5.63
make 1.5.63 for unix

Reviewed-on: http://gerrit.openafs.org/448
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2009-09-11 11:06:34 -07:00
Derrick Brashear
6b555e5dc1 make openafs 1.5.62
update version strings for 1.5.62

Reviewed-on: http://gerrit.openafs.org/351
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2009-08-27 08:21:34 -07:00
Derrick Brashear
175774acab version update for 1.5.61
make configure version strings be 1.5.61

Reviewed-on: http://gerrit.openafs.org/258
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2009-07-31 15:32:05 -07:00
Derrick Brashear
e452c704c5 xml-doc-building-glue-20090527
LICENSE IPL10
FIXES 124804

add configure switches for building docs. generate version files needed.
2009-05-27 20:44:24 +00:00
Derrick Brashear
f26074cbde configure-cpp-fallback-to-cc-E-20090317
LICENSE IPL10

if we don't find any cpp whatsoever, fall back to $CC -E, or cc -E
2009-03-17 15:44:15 +00:00
Russ Allbery
1ec104280d cpp-fixes-20080630
LICENSE BSD

When probing in configure for cpp, use the user's PATH first and then
the /lib and /usr/ccs/lib directories.  Set PATH_CPP instead of CPP,
since the latter is just overwritten by Autoconf.  Use PATH_CPP by
preference in rxgen and when pre-processing assembly, since otherwise
newer gcc will treat the input file as linker input and not do anything
with it.  Don't assume that cpp writes to the second argument; gcc
apparently doesn't always do this.  Instead, redirect standard output.
2008-07-01 00:00:40 +00:00
Simon Wilkinson
1495088e41 redhat-spec-updates-20080408
LICENSE IPL10
FIXES 93616

update to correctly fill in specfile from source tree
2008-04-08 19:35:51 +00:00
Steven Jenkins
9fbbc3f50c pthreaded-ubik-20080402
LICENSE IPL10

add pthreaded ubik and various binaries
2008-04-02 20:47:27 +00:00
Derrick Brashear
cd9ce022ee debian-packaging-update-20080220
LICENSE IPL10

Russ' metadata, repacked into our tree
2008-02-20 21:31:02 +00:00
Mike Meffie
1181ea0346 tests-update-20080121
LICENSE IPL10

update test scripting
2008-01-21 21:04:35 +00:00
Mike Meffie
e26be7b8e3 find-cpp-from-slash-20071210
LICENSE IPL10

find cpp using a full path, not the user's path, at least for now
2007-12-10 22:24:55 +00:00
Derrick Brashear
10ff33e609 macos-packaging-updates-20071109
make the readme correct. make dmgs which have a useful name
2007-11-09 19:47:18 +00:00
Simon Wilkinson
e25e21e909 cpp-avoid-cc-E-20071022
finding the right cpp is good. having it not be cc -E is better
2007-10-22 14:21:26 +00:00
Arno Schuring
6122c757e1 cpp-autoconf-located-20071019
let autoconf find cpp
2007-10-20 01:20:51 +00:00
Derrick Brashear
e1b1f4655f macos-version-generation-20071011
make release time simpler
2007-10-11 17:51:56 +00:00
Simon Wilkinson
c4ad02b69a rpm-files-update-20071011
updates for the specfile and rpm generation
2007-10-11 17:38:56 +00:00
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