diff options
author | Alex Talker | 2017-07-21 22:05:44 +0300 |
---|---|---|
committer | Alex Talker | 2017-07-21 22:05:44 +0300 |
commit | a3e224db02e8fafab48d8047bc32134c7bd80273 (patch) | |
tree | 36280a8fccd44611bec2db243a434bf32e529b3e | |
parent | a05c3d5bab0496ffac8f7a486d8b3c70708e6276 (diff) | |
download | aur-a3e224db02e8fafab48d8047bc32134c7bd80273.tar.gz |
Remove kernel sources. Update to SVN version so it builds again.
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 17 | ||||
-rw-r--r-- | scst.install | 2 |
3 files changed, 10 insertions, 19 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Fri May 12 17:07:06 UTC 2017 pkgbase = scst pkgdesc = Generic SCSI Target Subsystem For Linux - pkgver = 3.2.0.7058 + pkgver = 3.2.0.7211 pkgrel = 1 url = http://scst.sourceforge.net install = scst.install @@ -11,12 +9,8 @@ pkgbase = scst license = GPL makedepends = linux makedepends = linux-headers - source = scst-3.2.0.7058.tar.bz2::https://sourceforge.net/projects/scst/files/scst-3.2.0.7058.tar.bz2/download - source = https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.10.8.tar.xz - source = queue.patch + source = scst-svn-7211-branches-3.2.x.zip:https://sourceforge.net/code-snapshots/svn/s/sc/scst/svn/scst-svn-7211-branches-3.2.x.zip md5sums = SKIP - md5sums = SKIP - md5sums = 0e0c06a0f050f8aca3824e7d371b9a50 pkgname = scst pkgdesc = Generic SCSI Target Subsystem For Linux @@ -3,8 +3,7 @@ # Contributor bitwave < aur [at] oomlu [d0t] de > # Alex say thanks to Filip about support this package while he was away from Arch. pkgname=(scst scst_local iscsi-scst scstadmin) -pkgver=3.2.0.7058 -kversion=4.10.8 +pkgver=3.2.0.7211 pkgrel=1 pkgdesc="Generic SCSI Target Subsystem For Linux" arch=('i686' 'x86_64') @@ -13,14 +12,12 @@ license=('GPL') install=${pkgname}.install makedepends=('linux' 'linux-headers') source=( - "scst-${pkgver}.tar.bz2::https://sourceforge.net/projects/scst/files/scst-${pkgver}.tar.bz2/download" - "https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${kversion}.tar.xz" - 'queue.patch' +# use SVN version so we succeeded with latest kernel + "scst-svn-7211-branches-3.2.x.zip:https://sourceforge.net/code-snapshots/svn/s/sc/scst/svn/scst-svn-7211-branches-3.2.x.zip" +# "scst-${pkgver}.tar.bz2::https://sourceforge.net/projects/scst/files/scst-${pkgver}.tar.bz2/download" ) md5sums=( 'SKIP' - 'SKIP' - '0e0c06a0f050f8aca3824e7d371b9a50' ) _base() { @@ -70,7 +67,7 @@ _package_module() { prepare() { cd $(find "$srcdir" -maxdepth 1 -type d -name 'scst*') - patch -Np0 -i "$srcdir/queue.patch" +# patch -Np0 -i "$srcdir/queue.patch" } build() { @@ -80,8 +77,8 @@ build() { # Fix problems with linux-headers package # (rdma headers is missing) - _kern_inc=("$srcdir"/linux-*/include/) - cp -r "$_kern_inc/rdma" "scst/include" +# _kern_inc=("$srcdir"/linux-*/include/) +# cp -r "$_kern_inc/rdma" "scst/include" #export CFLAGS="$CFLAGS -I'$_kern_inc'" for d in scst scst_local iscsi-scst; do diff --git a/scst.install b/scst.install index 44ab0697a69a..d4d2586c9955 100644 --- a/scst.install +++ b/scst.install @@ -1,5 +1,5 @@ post_install() { - EXTRAMODULES='extramodules-4.10-ARCH' + EXTRAMODULES='extramodules-4.11-ARCH' depmod $(cat /usr/lib/modules/${EXTRAMODULES}/version) echo 'In order to use scst module, reboot the system or insert manually.' } |