Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] libcap $KVER?

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Juuso Alasuutari <iuso AT sourcemage.org>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] libcap $KVER?
  • Date: Sun, 19 Aug 2007 12:18:28 +0300

On Saturday 18 August 2007 17:09:27 Treeve Jelbert wrote:
> On Saturday 18 August 2007 15:43:14 Juuso Alasuutari wrote:
<snip>
> > Ookay I see it. I don't know _why_ I didn't see this line at the
> > beginning of libcap DETAILS yesterday, maybe I was too tired. But:
> >
> > SPELL=libcap
> > KVER=$(installed_version linux | cut -c-3)
> > if [[ $KVER == 2.4 ]];then
> > VERSION=1.10
> > else
> > VERSION=1.97
> > fi
> > SOURCE=$SPELL-$VERSION.tar.bz2
> > SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
> >
> > SOURCE_URL[0]=http://www.kernel.org/pub/linux/libs/security/linux-privs/k
> >er nel-${KVER}/$SOURCE
> >
> > As you see, that will fail if the linux spell isn't installed.
> > installed_version should be replaced with get_kernel_version.
>
> fixed

Thanks a lot. :)

--
Juuso Alasuutari
[[ Source Mage GNU/Linux ]]

Attachment: signature.asc
Description: This is a digitally signed message part.




Archive powered by MHonArc 2.6.24.

Top of Page