5858 Commits

Author SHA1 Message Date
Russ Allbery
c27a37a746 DEVEL15-doc-xml-build-cvsignore-20090601
LICENSE BSD

Ignore new generated files from the documentation build.


(cherry picked from commit e34fe0f9a85c0fa965fe30ead4c5ba14d077268f)
2009-06-01 23:46:47 +00:00
Russ Allbery
9b14439b46 DEVEL15-doc-xml-version-depends-20090601
LICENSE BSD

Make PDF manual generation also depend on version.xml, matching HTML
generation.


(cherry picked from commit 2520cc9aabef8877cdd99abb858dc011dfa5629f)
2009-06-01 23:40:51 +00:00
Derrick Brashear
b475c194fd DEVEL15-xml-versioning-take-two-20090601
LICENSE IPL10

deal with this in a way which does not trip creation of CML state config files


(cherry picked from commit 0a617e33234f6104fdfb0d45593cf313c961f653)
2009-06-01 18:51:56 +00:00
Simon Wilkinson
e2b4719d85 DEVEL15-vsprocs-log-format-bug-20090531
LICENSE IPL10

fix the logged data to avoid a format string issue


(cherry picked from commit 8e0b8243ea8b38e6ceab8f1dc6a0e032d6622568)
2009-06-01 00:13:59 +00:00
Jeffrey Altman
d90d600a62 DEVEL15-doc-doxygen-20090531
LICENSE BSD

Doxygen converted versions of the IBM provided architecture and
protocol documentation.

Funded under an SBIR grant.


(cherry picked from commit 5526ba218f7f3653cabe5423b25b82f0241b0abc)
2009-05-31 17:56:53 +00:00
Derrick Brashear
f62a05f8ee DEVEL15-openafs-1-5-60-20090530
LICENSE IPL10

make 1.5.60
openafs-devel-1_5_60
2009-05-31 02:27:10 +00:00
Douglas Engert
f1d7636b12 DEVEL15-afsd-allow-maxmtu-override-20090530
LICENSE IPL10
FIXES 124880

rxi_Findcbi, rxi_FIndIfnet, rxi_FindIfMTU "failure" end up returning
the RX_REMOTE_PACKET_SIZE as the mtu to use unless we allow our override
to apply, so we do that. then, add an afsd switch to allow setting it.

afsd man page update required and will follow.

====================
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.
====================
LICENSE IPL10
FIXES 124880

man page update to document previous work


(cherry picked from commit 74df876dafb9cf80ab5a8099b4202f2205bd9791)
2009-05-31 02:22:39 +00:00
Jeffrey Altman
a539930c1d DEVEL15-windows-version-20090530
LICENSE MIT

1.5.60 == 1.5.5600.0
2009-05-31 01:58:39 +00:00
Jeffrey Altman
216376aa11 DEVEL15-viced-host-uuid-and-addr-hashing-corrections-20090530
LICENSE IPL10
FIXES 124634

only valid addr/port pairs are registered in the hash table.
add then remove when changing addresses.
make host restoral properly hash hosts.
remove should remove the address we asked for and not simply the
primary address.


(cherry picked from commit ca613599a2537756462a420ae1a632747a433226)
2009-05-30 18:27:17 +00:00
Derrick Brashear
fb88450783 DEVEL15-xml-doc-building-glue-20090527
LICENSE IPL10
FIXES 124804

add configure switches for building docs. generate version files needed.


(cherry picked from commit e452c704c59700496227dccb3161efd34ca709ba)
2009-05-27 20:44:48 +00:00
Jeffrey Altman
1136d66036 DEVEL15-windows-install-20090527
LICENSE MIT

Install ptclient.exe and pt_util.exe as part of the server installation


(cherry picked from commit d28e5fd04def989dcfb98ccd2b99ef44f5667167)
2009-05-27 14:55:58 +00:00
Jeffrey Altman
009ea894d5 DEVEL15-windows-ptserver-ubik-20090527
LICENSE MIT

move io.h inside AFS_NT40_ENV


(cherry picked from commit c1876dbf32b5c253b5325bf18a0bf2549b6c9682)
2009-05-27 14:45:20 +00:00
Matt Benjamin
8dd724cb3b DEVEL15-obsd-45-param-file-20090527
LICENSE IPL10
FIXES 124719

add missing param file for obsd 4.5


(cherry picked from commit ea404cf1e3a174c8809cd7f3bcc5750e0983cce6)
2009-05-27 14:26:51 +00:00
Jeffrey Altman
052a76911d DEVEL15-windows-pt_util-20090527
LICENSE MIT

add missing build rules for pt_util.exe


(cherry picked from commit 39b4c0381a68824cb52c0d3a2ee1d81851598373)
2009-05-27 08:04:15 +00:00
Jeffrey Altman
aee6d9214c DEVEL15-windows-pt_util-20090526
LICENSE MIT

build pt_util.exe on Windows


(cherry picked from commit 8ea8519f3094692c2d7a55fb1702255d0b115a8f)
2009-05-27 07:59:46 +00:00
Derrick Brashear
4a2dc4a1e5 DEVEL15-volser-retry-transaction-creation-20090526
LICENSE IPL10
FIXES 124635

version of the retry transaction creation patch for head/1.5


(cherry picked from commit 34fc86bcc749f3bd059831b7e5dae03dc09a9393)
2009-05-27 03:46:53 +00:00
Derrick Brashear
86999f6540 DEVEL15-unix-mkvers-xml-20090526
LICENSE IPL10

make mkvers do a xml version file for unix also


(cherry picked from commit 29223f5a52beac5b40853863733c70028fc7c52c)
2009-05-27 03:13:02 +00:00
Russ Allbery
7ecdb4a503 DEVEL15-man-page-vos-dump-flags-20090526
LICENSE BSD

Add documentation of the -clone and -omitdirs flags to vos dump.


(cherry picked from commit 4c7a7f343c6cb0c5e6def6d28649cea65ff2907e)
2009-05-27 02:24:49 +00:00
Simon Wilkinson
4ffdd7d045 DEVEL15-linux-byte-range-locks-sensibility-20090526
LICENSE IPL10
FIXES 124766

make our locks work correctly with the linux connectathon lock testing


(cherry picked from commit 49b7bbdd3b45df694fadbef48f9ed99d9bfe07b9)
2009-05-27 01:47:51 +00:00
fabrizio.manfredi@gmail.com
1934ba67b7 DEVEL15-java-errno-header-20090526
LICENSE IPL10
FIXES 124810

use the errno header instead of assuming extern int


(cherry picked from commit 3b2a1ac2b1d4212363527a6edc6dd2aa76a3f960)
2009-05-27 01:13:47 +00:00
Russ Allbery
f021b9ccd9 DEVEL15-linux-mmap-antirecursion-avoid-spurious-eio-20090526
LICENSE IPL10

fix error code checking


(cherry picked from commit 1fb1b8d0a2f82c6e72e59afb0a400ea0d5b21fe1)
2009-05-27 00:44:39 +00:00
Jeffrey Altman
e18dd8ff1e DEVEL15-doc-xml-windows-release-notes-20090526
LICENSE MIT

Add notes describing registry support for CellServDB info and
conversion of docs to HtmlHelp format.


(cherry picked from commit e754a0bebdeaa5bd8acfdb5d802392715e38fd5b)
2009-05-26 16:29:52 +00:00
Jeffrey Altman
41034e46f2 DEVEL15-windows-notes-20090525
LICENSE MIT

changes for 1.5.60
2009-05-26 04:50:03 +00:00
Jeffrey Altman
f640b5aaaf DEVEL15-windows-xml-release-notes-version-20090525
LICENSE MIT

autogenerate version info.

fix chapter title.


(cherry picked from commit 582688f1be17611d2926a4a7281d55bc7ccaa611)
2009-05-26 03:20:24 +00:00
Jeffrey Altman
e92e81fce5 DEVEL15-windows-top-makefile-20090525
LICENSE MIT

add rules for building documentation sources

add option for including cygwin libs in wix installer


(cherry picked from commit 2f7046eff6599d9a66a7f31bb6f33b7f88646db5)
2009-05-26 01:54:25 +00:00
Jeffrey Altman
8f19f866a7 DEVEL15-windows-doc-man-dependency-20090525
LICENSE IPL10

html\index.html not index.html


(cherry picked from commit 4a523957feabf7f5d9f36b7a05c79fd6eccf426e)
2009-05-26 00:54:06 +00:00
Jeffrey Altman
1a7f10e384 DEVEL15-windows-cellservdb-lookup-20090525
LICENSE MIT

Add a new Registry distribution method for CellServDB info.

The CellServDB registry schema is as follows:

 HKLM\SOFTWARE\OpenAFS\Client\CellServDB\[cellname]\
   "LinkedCell"    REG_SZ "[cellname]"
   "Description"   REG_SZ "[comment]"
   "ForceDNS"      DWORD  {0,1}

 HKLM\SOFTWARE\OpenAFS\Client\CellServDB\[cellname]\[servername]\
   "HostName"      REG_SZ "[hostname]"
   "IPv4Address"   REG_SZ "[address]"
   "IPv6Address"   REG_SZ "[address]"   <future>
   "Comment"       REG_SZ "[comment]"
   "Rank"          DWORD  "0..65535"
   "Clone"         DWORD  "{0,1}"       <future - server only>
   "vlserver"      DWORD  "7003"        <future>
   "ptserver"      DWORD  ...           <future>

 ForceDNS is implied non-zero if there are no [servername]
 keys under the [cellname] key.  Otherwise, ForceDNS is zero.
 If [servername] keys are specified and none of them evaluate
 to a valid server configuration, the return code is success.
 This prevents failover to the CellServDB file or DNS.

Registry distributed info takes precedence over the CellServDB file.

Registry support has been added to both the Windows specific cm_config
interface and the auth/cellconfig interface utilized by aklog, the
services, and the vast majority of support commands.

Enhance the DNS lookup for Cell vlserver info to support ranking info
which is used with _vlserver._udp SRV record lookups when AFSDB records
are not present.  Priorities become ranks.


(cherry picked from commit 22a932c40a3ecabae8110db21572a4cae2ba1fae)
2009-05-25 23:06:37 +00:00
Jeffrey Altman
2df8f67ffe DEVEL15-windows-libafsconf-20090525
LICENSE MIT

libafsconf.dll has been present since OpenAFS 1.0.  However,
for some unknown reason the components that it consists of
(cm_dns.obj, cm_config.obj, cm_nls.obj) have been staticly
linked into exes and dlls all over the code base.  This commit
removes all of the static references and replaces them with
libafsconf.lib.

libafsconf.dll is also moved from Client\Program to Common
because it is now linked to by server and utility components.


(cherry picked from commit c8ccb887882bc4affef02a8193e9b1ed01f885f5)
2009-05-25 22:31:21 +00:00
Jeffrey Altman
5d9852ec41 DEVEL15-windows-doc-man-makefile-20090525
LICENSE IPL10

Add a proper dependency list so that the man-pages are not
rebuilt when no changes have occurred.


(cherry picked from commit d8410b56c895830d609846aec56d61dfd2efb897)
2009-05-25 21:00:26 +00:00
Jeffrey Altman
34c18b28a6 DEVEL15-windows-make-version-20090525
LICENSE IPL10

remove space before "KEEP".  older versions of nmake.exe do not like it.


(cherry picked from commit 20460e1391d87bdedbf1b84e233ffd5b926b5df8)
2009-05-25 20:57:53 +00:00
Jeffrey Altman
2d17f243e1 DEVEL15-windows-btree-flush-race-20090522
LICENSE MIT
FIXES 124787

A flush operation on a directory will result in the btree being destroyed.
This can race with on-going operations.  Make sure that the dirlock is held
if the btree is destroyed.  Otherwise, just invalidate the btree version
number.

====================
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.
====================
LICENSE MIT
FIXES 124787

correct sandbox leakage


(cherry picked from commit a31fd7f70f0049a180e5b02202941d3b1266c1f8)
2009-05-22 17:01:21 +00:00
Derrick Brashear
4742ef5e40 DEVEL15-background-fsync-consistency-issues-20090522
LICENSE IPL10
FIXES 124359

avoid either reopening closed vnodes and leaving cached descriptors around,
or discarding a reference we're not holding; instead, sync changes when the
fd is closed, and note such has been done; otherwise, no changes from older
code.


(cherry picked from commit 12e85227c5dbfdb1258718ee3360bffacc4f96ac)
2009-05-22 17:00:35 +00:00
Asanka Herath
25a4a0f4ca DEVEL15-windows-install-wix-vs2008-20090521
LICENSE MIT

add merge modules for VS2008 RunTime Libraries


(cherry picked from commit 556597af26150041e3b44ec2769ec6c962ab06db)
2009-05-21 19:08:34 +00:00
Jeffrey Altman
2ba93c6cd3 DEVEL15-windows-install-wix-doc-xml-20090521
LICENSE MIT

replace static html documentation with auto-generated
html help files from doc/xml/... when building en_US
locale.


(cherry picked from commit 32ddb143388bb5d6bbcc1f3afc5860f0566de81c)
2009-05-21 19:06:21 +00:00
Jeffrey Altman
cd48bdf5e2 DEVEL15-doc-xml-version-generation-20090521
LICENSE MIT

Replace version info in the DocBook files with a new ENTITY "version"
associated with a local "version.xml" file which contain a <revision>
tag for the current release.

The version.xml file should be autogenerated by the Makefile system.


(cherry picked from commit e4b36071ef35b73fb68db6c054e811ba7e6b65e0)
2009-05-21 18:52:13 +00:00
Jeffrey Altman
43c97cb176 DEVEL15-config-mkvers-xml-20090521
LICENSE IPL10

Add a -x option to mkvers.c to permit generation of XML entities containing
a revision tag and <revremark> tags for each delta

Add autogeneration of version.xml to Windows Makefiles


(cherry picked from commit da5794d9caa47e96679c197610bd8ea2a682c338)
2009-05-21 18:26:03 +00:00
Jeffrey Altman
948bf13d90 DEVEL15-windows-install-nsis-20090521
LICENSE MIT

Remove old documentation and start menu links before installing
new versions.

No longer install versions from src/WINNT/doc/install/... tree

Install versions from doc/xml/...  Use CHM files when available.

Construct new Start Menu/Program/OpenAFS/Documentation/ menu with
links to individual documents instead of using an index.html
top level link.


(cherry picked from commit 278f8a18305b376e1c764bb38dc0e69ba5b246e5)
2009-05-21 14:34:17 +00:00
Asanka Herath
4d88040478 DEVEL15-windows-make-cygwin-libs-20090520
LICENSE MIT

added libosi.a and libafsconf.a


(cherry picked from commit 716c81782eae719b43b3b90464b821b398a0f9a6)
2009-05-21 04:26:12 +00:00
Asanka Herath
c18ed1da69 DEVEL15-windows-make-cygwin-libs-20090519
LICENSE MIT

Unless NOCYGWIN is defined create cygwin .a import libraries
for each OpenAFS DLL that is constructed.


(cherry picked from commit 4e9bd3bd0ec5977609fd75d681fcc6dbd24a8c6f)
2009-05-20 06:03:51 +00:00
Jeffrey Altman
8393039278 DEVEL15-doc-xml-windows-20090519
LICENSE IPL10

remove references to xml files no longer in the repository


(cherry picked from commit 85a10ffc9385240818ff9a968f308ac31ee03348)
2009-05-20 05:54:14 +00:00
Derrick Brashear
37e06dce26 DEVEL15-krb-conf-manpage-path-fix-20090519
LICENSE IPL10

fix path to krb.conf, per IRC discussion


(cherry picked from commit 6cc155e8da8f505443f43a312a522a64c52515e8)
2009-05-19 19:40:20 +00:00
Russ Allbery
54bcfdfb4f DEVEL15-doc-xml-build-20090518
LICENSE MIT

Standardize the UNIX Makefiles for all of the DocBook guides.  Remove the
rest of the generated files and switch to xsltproc and dblatex for the
document generation in all cases.  Fix a few DocBook errors by removing
the contents of the <index> tag and removing the unknown <pubsnumber> tag
in the <revision> field.


(cherry picked from commit 7b56f2ebfc8c2e1695e007798833ad2053e08113)
2009-05-19 04:59:45 +00:00
Russ Allbery
0b25644ae3 DEVEL15-doc-quick-start-unix-build-20090518
LICENSE MIT

Use dblatex to build PDF documentation instead of docbook2html and xsltproc
to build HTML instead of docbook2html.  Remove all the index generation
logic, since dblatex and xsltproc handle that automatically.  Remove the
contents of the <index> tag in the source, since neither program requires
there be anything in there.

Remove the style sheets and configuration that were used for docbook2*.


(cherry picked from commit 74585aa5003cfb42103ac8d6059137eebd2005e0)
2009-05-19 04:29:39 +00:00
Jeffrey Altman
44d902e982 DEVEL15-windows-wix-new-man-pages-20090518
LICENSE MIT
FIXES 124800

pod1/compile_et.pod
pod1/copyauth.pod
pod1/fs_cscpolicy.pod
pod1/fs_getfid.pod
pod1/fs_memdump.pod
pod1/fs_monitor.pod
pod1/fs_rxstatproc.pod
pod1/fs_setcbaddr.pod
pod1/fs_trace.pod
pod8/rmtsysd.pod
pod8/vsys.pod


(cherry picked from commit 8f2a8edb2aec01226d18feae71643e856bbd6470)
2009-05-19 03:36:33 +00:00
Russ Allbery
ac0140ae8d DEVEL15-man-page-syntax-errors-20090518
LICENSE BSD

Fix some man page syntax errors that snuck into the recent round of
updates.


(cherry picked from commit 9ad6c37ccfec016df9e845972ae626a1da19dfbf)
2009-05-19 00:57:08 +00:00
Steven Jenkins
3f20ec4c69 DEVEL15-man-page-krb-varients-20090518
FIXES 124799
LICENSE IPL10

Install symlinks for the *.krb versions of klog, pagsh, and tokens to the
non-krb versions and add information about the *.krb versions to the
non-krb man pages.


(cherry picked from commit 798ffe54af1f5798bf07947439fc62946bc2f07e)
2009-05-19 00:38:15 +00:00
Steven Jenkins
7be1233224 DEVEL15-man-page-cellservdb-updates-20090518
FIXES 124794
LICENSE IPL10

Note in CellServDB man page that it's also used to populate root.afs for
a -dynroot client.  Also document the dynamic lookup of database servers
with -afsdb and provide some more information about when CellServDB has to
contain the cell and when it doesn't.

Mark the backup server as optional, and indicate that the authentication
server is deprecated and CellServDB isn't required for authentication if
Kerberos v5 and aklog are used.


(cherry picked from commit 6df60468130977744fea0499fba2351ef74175d8)
2009-05-19 00:35:55 +00:00
Steven Jenkins
72f6f09b3e DEVEL15-man-page-vsys-20090518
LICENSE BSD
FIXES 124793

Add man page for vsys.


(cherry picked from commit 1df9282985949b38313f05640d9afd05948f45c4)
2009-05-19 00:35:32 +00:00
Steven Jenkins
c138a8e243 DEVEL15-man-page-rmtsysd-20090518
LICENSE IPL10
FIXES 124792

New man page for rmtsysd.


(cherry picked from commit 921774594faead45f9432af218c5f9f394a03204)
2009-05-19 00:34:56 +00:00
Steven Jenkins
a7be67bd4c DEVEL15-man-page-restorevol-20090518
LICENSE IPL10
FIXES 124791

Add man page for restorevol.


(cherry picked from commit 97b0d230145c4c5f58ef785b11bf2d201ded2d26)
2009-05-19 00:34:06 +00:00