/[smecontribs]/rpms/xtables-addons-kmod/contribs10/xtables-addons-kmod.spec
ViewVC logotype

Diff of /rpms/xtables-addons-kmod/contribs10/xtables-addons-kmod.spec

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

Revision 1.2 by michel, Tue Jul 21 16:26:02 2020 UTC Revision 1.6 by michel, Sat Aug 29 19:28:24 2020 UTC
# Line 4  Line 4 
4  # queuing that build enable the macro again for subsequent builds; that way  # queuing that build enable the macro again for subsequent builds; that way
5  # a new akmod package will only get build when a new one is actually needed  # a new akmod package will only get build when a new one is actually needed
6    
7  %global buildforkernels current  %global buildforkernels newest
8    
9  #FIXME xtables-kmod doesn't use the appropriate cflags  #FIXME xtables-kmod doesn't use the appropriate cflags
10  %global debug_package %{nil}  %global debug_package %{nil}
# Line 12  Line 12 
12  %define name xtables-addons-kmod  %define name xtables-addons-kmod
13  %define name_src xtables-addons  %define name_src xtables-addons
14  %define version 2.14  %define version 2.14
15  %define release 02  %define release 05
16  Summary: %{name} is a set of additional extensions for the Xtables packet filter (modules kmod ONLY).  Summary: %{name} is a set of additional extensions for the Xtables packet filter (modules kmod ONLY).
17  Name: %{name}  Name: %{name}
18  Version: %{version}  Version: %{version}
# Line 44  Requires(postun): /sbin/weak-modules Line 44  Requires(postun): /sbin/weak-modules
44  It is just a "kernel update" release.  It is just a "kernel update" release.
45    
46  %changelog  %changelog
47    * Sat Aug 29 2020 Michel Begue <mab974@gmail.com> 2.14-05.sme
48    - kmodtool build for sme10
49    
50  * Tue Jul 21 2020 Michel Begue <mab974@gmail.com> 2.14-02.sme  * Tue Jul 21 2020 Michel Begue <mab974@gmail.com> 2.14-02.sme
51  - change in install workaround. copy /usr/lib to /lib  - change in install workaround. copy /usr/lib to /lib
52    
# Line 72  done Line 75  done
75    
76  %build  %build
77  for kernel_version  in %{?kernel_versions} ; do  for kernel_version  in %{?kernel_versions} ; do
         if ! grep -q 'XT_TARGET_TEE=m' %{_usrsrc}/kernels/${kernel_version%%___*}/.config; then  
                 echo ' >>>>> sed TEE'  
                 sed -i 's/build_TEE=/build_TEE=m/' _kmod_build_${kernel_version%%___*}/mconfig  
         fi  
         if ! grep -q 'XT_TARGET_CHECKSUM=m' %{_usrsrc}/kernels/${kernel_version%%___*}/.config; then  
                 echo ' >>>>> sed CHECKSUM'  
                 sed -i 's/build_CHECKSUM=/build_CHECKSUM=m/' _kmod_build_${kernel_version%%___*}/mconfig  
         fi  
78          export XA_ABSTOPSRCDIR=${PWD}/_kmod_build_${kernel_version%%___*}          export XA_ABSTOPSRCDIR=${PWD}/_kmod_build_${kernel_version%%___*}
79          make %{?_smp_mflags} V=1 -C "${kernel_version##*___}" M=${PWD}/_kmod_build_${kernel_version%%___*}/extensions modules          make %{?_smp_mflags} V=1 -C "${kernel_version##*___}" M=${PWD}/_kmod_build_${kernel_version%%___*}/extensions modules
80  done  done


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