[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Depending on kernel >= 2.6



Hi,

I am preparing a package (that might not see the light for still some
months) for the Cherokee web server. Cherokee has two ways of working,
one designed for most Unix-like systems, and one that uses features
unique to Linux 2.6.x (epoll). I will need to build both versions, but
I have a couple of questions:

- How can I mark a package to depend on having kernel 2.6 or higher?
  Even more, how can I make it build-depend on it? (If I am not
  mistaken, I will only need a kernel 2.6.x installed in order to
  build, even though the system can be running 2.4.x)
- What naming scheme should I use? Cherokee's upstream suggests 
  libcherokee-base and libcherokee-base-epoll 
- Just to check on how they manage to do this: Do any such packages
  currently exist? Please point me to an example so I can base my work
  on them (I checked module-init-tools/modutils, but what they have is
  a conflicts: - I would much prefer a cleaner, more generic solution)

Greetings,

-- 
Gunnar Wolf - gwolf@gwolf.org - (+52-55)1451-2244 / 5554-9450
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF



Reply to: