[OpenAFS] openafs 1.3.81 missing pam?

Tony D'Amato tdamato@odu.edu
Fri, 08 Apr 2005 15:12:08 -0400


I was trying to build OpenAFS 1.3.81 under Solaris 8 and Red Hat 9, and
discovered that the pam_afs modules were not built. After some digging
and reading of openafs-devel, I saw the note from Harald Barth dated
Thu, 07 Apr 2005 09:40:20 +0200 (MEST) entitled "1.3.81: pam gets not
built". Sure enough, when the r-cmds were removed from OpenAFS (yeah!),
it removes a rlogin's dependency on the 'login' dependency in
Makefile.in, thus removing 'pam' from the build. Here's my own patch
based on Harald's, which allowed me to build pam again. Hope this helps
someone else...

--- openafs-1.3.81/Makefile.in.orig     2005-04-08 14:45:02.935924400 -0400
+++ openafs-1.3.81/Makefile.in
@@ -552,13 +552,13 @@ jafs: libjafs

 jafsadm: libjafsadm

-finale: project cmd comerr afsd butc tbutc @ENABLE_KERNEL_MODULE@ libuafs audit kauth log package \
+finale: project cmd comerr login afsd butc tbutc @ENABLE_KERNEL_MODULE@ libuafs audit kauth log package \
        ptserver scout bu_utils ubik uss bozo vfsck volser tvolser \
        venus update xstat afsmonitor dauth rxdebug libafsrpc \
        libafsauthent shlibafsrpc shlibafsauthent libadmin
        ${COMPILE_PART1} finale ${COMPILE_PART2}

-finale_nolibafs: project cmd comerr afsd butc tbutc libuafs audit kauth log package \
+finale_nolibafs: project cmd comerr login afsd butc tbutc libuafs audit kauth log package \
        ptserver scout bu_utils ubik uss bozo vfsck volser tvolser \
        venus update xstat afsmonitor dauth rxdebug libafsrpc \
        libafsauthent shlibafsrpc shlibafsauthent libadmin

---
Tony D'Amato
Senior UNIX Systems Administrator
Old Dominion University