[OpenAFS] openafs 1.2.10 on fedora core 1.0

David Botsch dwb7@ccmr.cornell.edu
Wed, 12 Nov 2003 13:00:59 -0500


--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; format=flowed; charset=ISO-8859-1
Content-Disposition: inline

Sure. See attached.

On 2003.11.12 10:14 Derek Atkins wrote:
> David Botsch <dwb7@ccmr.cornell.edu> writes:
> 
> > Just got done compiling it.
> >
> > rpm -ivh the srpm from redhat 9, and then use the replacement spec
> file I've
> > attached.
> 
> Can you send me a diff against the 1.2.10 spec?
> 
> -derek
> --
>        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>        Member, MIT Student Information Processing Board  (SIPB)
>        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>        warlord@MIT.EDU                        PGP key available
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
> 

-- 
********************************
David William Botsch
Consultant/Advisor II
CCMR Computing Facility
dwb7@ccmr.cornell.edu
********************************

--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="openafs-1.2.10.spec.patch"

--- /usr/src/redhat/SPECS/openafs-1.2.10.spec	Mon Aug  4 10:49:51 2003
+++ ./openafs-1.2.10.spec	Wed Nov 12 07:15:07 2003
@@ -1,12 +1,12 @@
 %define afsvers 1.2.10
-%define pkgrel 1
+%define pkgrel 1.ccmr.1
 
 # Define your particular Red Hat and kernel versions:
 #	For Linux 2.4:	24
 #
-%define osvers rh9.0
+%define osvers rhf01
 %define kernvers 24
 
 # This is where to look for kernel-build includes files.
 # Most likely you don't want to change this, but
 # depending on your situation you may want:
@@ -34,11 +34,11 @@
 # Note: This will only work for kernvers == 24 on i686
 %define bigmemkernelsupport 1
 
 # Set 'krb5support' to 1 if you want to build the openafs-krb5 package
 # to distribute aklog and asetkey
-%define krb5support 1
+%define krb5support 0
 
 # Set 'bootkernelsupport' to 1 if you want to build the
 # kernel module for RedHat BOOT Kernels on x86.
 %define bootkernelsupport 0
 
@@ -365,21 +365,21 @@
 kvers=`ls -d %{kbase}* | sed 's^%{kbase}^^g' | grep $kv`
 
 # Choose the last one for now.. It doesn't really matter, really.
 hdrdir=`ls -d %{kbase}*%{kend} | grep $kv | tail -1`
 
-config_opts="--enable-redhat-buildsys \
-%if %{enable_bitmap_later}
-	--enable-bitmap-later \
-%endif
-%if %{enable_bos_restricted_mode}
-	--enable-bos-restricted-mode \
-%endif
-%if %{enable_fast_restart}
-	--enable-fast-restart \
-%endif
-	--enable-transarc-paths"
+#config_opts="--enable-redhat-buildsys \
+#%if %{enable_bitmap_later}
+#	--enable-bitmap-later \
+#%endif
+#%if %{enable_bos_restricted_mode}
+#	--enable-bos-restricted-mode \
+#%endif
+#%if %{enable_fast_restart}
+#	--enable-fast-restart \
+#%endif
+config_opts="--enable-transarc-paths"
 
 # Configure AFS
 ./configure --with-afs-sysname=${sysname} \
 	--with-linux-kernel-headers=$hdrdir $config_opts || exit 1
 
@@ -447,10 +447,11 @@
 %if %{krb5support}
 # Now build aklog/asetkey
 (cd afs-krb5/src &&
 	./configure --prefix=/usr --with-krb5=/usr/kerberos \
 	    --with-afs=`pwd`/../../${sysname}/dest/ && \
+	perl -i -pe 's/-lkrb524//' Makefile && \
 	make all PROGS="asetkey aklog ka-forwarder" && \
 	touch afs2k5db && touch fakeka && \
 	make install PROGS="asetkey aklog ka-forwarder" \
 	    DESTDIR=`pwd`/../../${sysname}/dest/ INSTALL_BIN=/bin \
 	    INSTALL_SBIN=/etc) || exit 1

--Nq2Wo0NMKNjxTN9z--