summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Talker2017-07-21 22:05:44 +0300
committerAlex Talker2017-07-21 22:05:44 +0300
commita3e224db02e8fafab48d8047bc32134c7bd80273 (patch)
tree36280a8fccd44611bec2db243a434bf32e529b3e
parenta05c3d5bab0496ffac8f7a486d8b3c70708e6276 (diff)
downloadaur-a3e224db02e8fafab48d8047bc32134c7bd80273.tar.gz
Remove kernel sources. Update to SVN version so it builds again.
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD17
-rw-r--r--scst.install2
3 files changed, 10 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e3bb3a9a1af5..54f84c18464a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 9f085ee47ee1..be0851131bad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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.'
}