OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-587-gf2900df
Gerrit Code Review
gerrit@openafs.org
Fri, 11 Sep 2026 12:24:31 -0400
The following commit has been merged in the master branch:
commit f2900df806602fb728b4cf84498d7749d69d11ba
Author: Andrew Deason <adeason@sinenomine.net>
Date: Fri Sep 4 14:13:29 2026 -0500
Remove files named 'mapfile'
At various points in the past, some libraries in OpenAFS have used a
file called 'mapfile' to serve as the mapfile on Solaris (passed with
-M), or the version linker script on Linux (passed with
-Wl,--version-script=).
In OpenAFS 1.0, many such files existed in the tree, but the only ones
referenced by the build system were in src/pam and src/libuafs.
Commit b7bd80cb28 (rpc-authent-shlib-support-mostly-20020826) caused
these files to be used via the SHLIB_LINKER var on Solaris.
Commit 2ec9b1db03 (shlib-overhaul-20060802) converted libraries to using
a file called "$lib".map instead of "mapfile", but various files named
"mapfile" were still left in the tree.
And of course, since then, almost all libraries are built with libtool,
and use a .sym file passed to libtool instead. The last reference to a
"$lib".map file was removed in commit 6d2395ed22 (Build kopenafs with
libtool).
The last reference of any kind to files name 'mapfile' (besides in
READMEs) was removed in commit 9799484891 (Deorbit the netscape plugin).
Since then, 'mapfile' is not referenced anywhere in the tree, except for
in human-readable text in src/libafsauthent/README.
There's no way these files are used, and their existence is confusing,
so remove them. Note that other files controlling symbol visibility can
be referred to as "mapfile"s (e.g., our .sym or .def files). This commit
only touches files literally named "mapfile".
Also remove the reference in src/libafsauthent/README, so nothing in the
tree references "mapfile" at all.
Change-Id: Ic60ffe46e93eeee3d5b619fb21886c36d57bcd9e
Reviewed-on: https://gerrit.openafs.org/16959
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
src/libadmin/adminutil/mapfile | 48 -----------------------
src/libadmin/bos/mapfile | 78 ------------------------------------
src/libadmin/cfg/mapfile | 69 --------------------------------
src/libadmin/client/mapfile | 40 -------------------
src/libadmin/kas/mapfile | 30 --------------
src/libadmin/pts/mapfile | 39 ------------------
src/libadmin/vos/mapfile | 58 ---------------------------
src/libafsauthent/README | 2 +-
src/libafsauthent/mapfile | 89 ------------------------------------------
9 files changed, 1 insertion(+), 452 deletions(-)
--
OpenAFS Master Repository