On Thursday 27 February 2003 10:24, Buchan Milne wrote:
>
> The way this is usually done (IIRC) is by:
>
> %package -n %kernver
>
> Then, the souce rpm will not have the kernel version in it, only the
> binaries.
>
> Guiseppe has an example here:
>
> http://people.mandrakesoft.com/~ghibo/ltmodem-8.22a5-3mdk.src.rpm
>

Ah thanks, I thought about that package, but did not fount it.

> You will notice there is some script in there (by Chmouel, originally
> used in the NVidia RPMs I think) which gets the kernel version from the
> installed headers (my method was to rpm -q --qf {%VERSION}
> kernel-source, but it does not handle kernel flavours).
>

I have currently %define kernver %(eval "uname -r) and this works, but have 
had other problems, I guess what you said would fix it. The ltmodem-package 
should be very much the same, so I can look at them.

> The other issue is that AFAIK, kernel modules are not desired outside
> the kernel, even in contrib, otherwise I would put my thinkpad drivers in:
> http://ranger.dnsalias.com/mandrake/cooker/thinkpad-4.1-1mdk.src.rpm
>

The package I try are proprietary drivers (like nvidia => LGPL-Wrapper and 
proprietary object code to link it. (AVM ISDN card drivers) The resulting 
binary-code would be anyway on club( if there is an interest) or a site I 
have to create. (AVM allowed to me to build them and give them away for 
download  them, as long as I (or mandrake) making support for it (aka the 
people don't complain them if my rpm is not working).So nothing for contrib.

Another modul I think of is "lzs_comp" a compression module for isdn, and as I 
read because of the compression this module could have problems to with 
licensing(because of the compression algo) to go in main or contrib. 

But this may take time anyway as it is my first try ;)


> (but they do not compile at the moment :-()
>

I could only try to compile them against my current kernel (9.0 standard => 
2.4.19-16mdk)

What currently bothers me too are the isdn4k-utils, they have some problems 
and I don't think there would be an update (3.1pre1 => 3.2pre3) unless I 
don't complain massiv ;) I have made some suggestions about them, but I'm not 
able to package such a big thing, at least not before release.
-- 
Regards
Steffen
____________________
counter.li.org : #296567.
machine: 181800
vdr-box : 87
____________________
Please dont CC me, since if I have replied I'll watch the tread. Both mails 
will be filtered to the ML-folder. Thanks

Reply via email to