/[smeserver]/rpms/ppp-kmod/sme7/ppp-kmod.spec
ViewVC logotype

Diff of /rpms/ppp-kmod/sme7/ppp-kmod.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.24 by slords, Wed Oct 28 18:42:41 2009 UTC Revision 1.25 by slords, Tue Dec 1 15:41:56 2009 UTC
# Line 1  Line 1 
1  # $Id: ppp-kmod.spec,v 1.23 2009/05/26 17:12:09 slords Exp $  # $Id: ppp-kmod.spec,v 1.24 2009/10/28 18:42:41 slords Exp $
2    
3  # Define the kmod package name here.  # Define the kmod package name here.
4  %define  kmod_name ppp  %define  kmod_name ppp
5    
6  # hint: this can he overridden with "--define kversion foo" on the rpmbuild command line, e.g.  # hint: this can he overridden with "--define kversion foo" on the rpmbuild command line, e.g.
7  # --define "kversion 2.6.16-1.2096_FC5"  # --define "kversion 2.6.16-1.2096_FC5"
8  %{!?kversion: %define kversion 2.6.9-89.0.15.EL}  %{!?kversion: %define kversion 2.6.9-89.0.16.EL}
9    
10  Name:    %{kmod_name}-kmod  Name:    %{kmod_name}-kmod
11  Version: 1.0.2  Version: 1.0.2
12  Release: 5%{?dist}  Release: 6%{?dist}
13  Group:   System Environment/Kernel  Group:   System Environment/Kernel
14  License: GPL  License: GPL
15  Summary: %{kmod_name} kernel modules  Summary: %{kmod_name} kernel modules
# Line 21  ExclusiveArch: i586 i686 x86_64 Line 21  ExclusiveArch: i586 i686 x86_64
21  Source0:  kernel_ppp_mppe-%{version}-src.tgz  Source0:  kernel_ppp_mppe-%{version}-src.tgz
22  Source10: kmodtool-%{kmod_name}  Source10: kmodtool-%{kmod_name}
23    
24    # Patches.
25    Patch1: ppp-725ad2a8f1358bff885414f5e91d253c99921ddc.patch
26    Patch2: ppp-44315cc76567e2d911d56091665637e305af182d.patch
27    Patch3: ppp-kmod-1.0.2-padfix.patch
28    
29  # Define the variants for each architecture.  # Define the variants for each architecture.
30  %define upvar ""  %define upvar ""
31  %define smpvar  smp  %define smpvar  smp
# Line 47  Source10: kmodtool-%{kmod_name} Line 52  Source10: kmodtool-%{kmod_name}
52  %setup -q -c  %setup -q -c
53  pushd kernel_ppp_mppe-%{version}  pushd kernel_ppp_mppe-%{version}
54  ./pre_build.sh lib/modules/"%{kversion}${kvariant:+$kvariant}"/build . . %{kversion}${kvariant:+$kvariant}  ./pre_build.sh lib/modules/"%{kversion}${kvariant:+$kvariant}"/build . . %{kversion}${kvariant:+$kvariant}
55    %patch1 -p3
56    %patch2 -p3
57    %patch3
58  patch -p1 < patches/linux-2.6.2-pad.patch  patch -p1 < patches/linux-2.6.2-pad.patch
59  patch -p1 < patches/02-ppp_generic.c.patch  patch -p1 < patches/02-ppp_generic.c.patch
60  patch -p1 < patches/03-ppp_mppe_compress.c.patch  patch -p1 < patches/03-ppp_mppe_compress.c.patch
# Line 93  find ${INSTALL_MOD_PATH} -type f -name \ Line 101  find ${INSTALL_MOD_PATH} -type f -name \
101  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
102    
103  %changelog  %changelog
104    * Tue Dec 1 2009 Shad L. Lords <slords@mail.com> 1.0.2-6.sme
105    - Update kmod to fix buffer too small errors [SME: 5628]
106    
107  * Tue Oct 26 2009 Shad L. Lords <slords@mail.com> 1.0.2-5.sme  * Tue Oct 26 2009 Shad L. Lords <slords@mail.com> 1.0.2-5.sme
108  - Make preuninstall script not fail on upgrade  - Make preuninstall script not fail on upgrade
109    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed