Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate


Friday, November 26th, 2010 at 6:00:12pm UTC 

  1. # Contributor: Henry Jensen <[email protected]>
  2. pkgname=iscsitarget-kernel
  3. pkgver=
  4. pkgrel=1
  5. pkgdesc="An opensource iSCSI target - kernel module"
  6. url=""
  7. license="GPL-2"
  8. arch=('i686' 'x86_64')
  9. rundepends=('kernel26')
  10. depends=('kernel26' 'openssl')
  11. install=iscsitarget.install
  12. source=($pkgver/iscsitarget-$pkgver.tar.gz)
  13. md5sums=('2f23c0bfe124d79f5c20e34ef2aaff82')
  16. build() {
  17.   msg "Fetching patch for 2.6.36 compile fix..."
  18.   svn diff -c 373 > $startdir/svn_2.6.36_compile.patch
  19.   cd $startdir/src/iscsitarget-$pkgver
  20.   patch -p1 < ../../svn_2.6.36_compile.patch
  21.   export KERNSRC=/usr/src/linux-$(uname -r)
  22.   sed -i 's/slackware-version/arch-release/' Makefile
  23.   make kernel || return 1
  24.   make DESTDIR=$startdir/pkg install-kernel
  25. }


Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)

Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus