aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-11 14:09:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-11 14:09:07 +0000
commit783ca90f26987937ee21ade19f699d51b44805c6 (patch)
tree6342edd9b8a23bccf7672ab486a444aec634ef7e /unmaintained
parent8b583c1fe4ccb002c7162d017c684407a00b6e9c (diff)
downloadaports-783ca90f26987937ee21ade19f699d51b44805c6.tar.bz2
aports-783ca90f26987937ee21ade19f699d51b44805c6.tar.xz
testing/flashcache-grsec: moved back from unmaintained and upgrade to 3.1.2
this supports 3.14 kernel
Diffstat (limited to 'unmaintained')
-rw-r--r--unmaintained/flashcache-grsec/APKBUILD68
-rw-r--r--unmaintained/flashcache-grsec/depmod.patch20
2 files changed, 0 insertions, 88 deletions
diff --git a/unmaintained/flashcache-grsec/APKBUILD b/unmaintained/flashcache-grsec/APKBUILD
deleted file mode 100644
index 25ffcad7a0..0000000000
--- a/unmaintained/flashcache-grsec/APKBUILD
+++ /dev/null
@@ -1,68 +0,0 @@
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-_flavor=${FLAVOR:-grsec}
-_kpkg=linux-$_flavor
-_realname=flashcache
-_name=$_realname-$_flavor
-
-_kver=3.14.2
-_kpkgrel=0
-
-_realver=3.1.1
-_mypkgrel=0
-
-# source the kernel version
-if [ -f ../linux-$_flavor/APKBUILD ]; then
- . ../linux-$_flavor/APKBUILD
- [ "$_kver" != "$pkgver" ] && die "$_name: Please update _kver to $pkgver"
- [ "$_kpkgrel" != "$pkgrel" ] && die "$_name: Please update _kpkgrel to $pkgrel"
-fi
-
-_kernelver=$_kver-r$_kpkgrel
-_abi_release=${_kver}-${_kpkgrel}-${_flavor}
-
-pkgname=$_name
-pkgver=$_kver
-pkgrel=$(($_kpkgrel + $_mypkgrel))
-pkgdesc="a general purpose writeback block cache for Linux"
-url="https://github.com/facebook/flashcache/"
-arch=""
-license="GPL"
-depends="linux-${_flavor}=${_kernelver}"
-makedepends="linux-${_flavor}-dev=${_kernelver}"
-install=
-install_if="linux-$_flavor=$_kernelver $_realname"
-subpackages=
-source="$_realname-$_realver.tar.gz::https://github.com/facebook/flashcache/archive/$_realver.tar.gz
- depmod.patch"
-
-# override kernel's prepare()
-prepare() {
- cd "$srcdir/$_realname-$_realver"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
-
-build() {
- cd "$srcdir/$_realname-$_realver"/src
- export GCC_SPECS=hardenednopie.specs
- make CC="${CC:-gcc}" KERNEL_SOURCE_VERSION=$_abi_release modules \
- || return 1
-}
-
-package() {
- cd "$srcdir/$_realname-$_realver"/src
-
- make DESTDIR="$pkgdir" CC="${CC:-gcc}" \
- KERNEL_SOURCE_VERSION=$_abi_release \
- DEPMOD=: modules_install || return 1
-}
-
-md5sums="387028e77ceb835b398e071e04988055 flashcache-3.1.1.tar.gz
-ef9bd511f2b964bf22863814679bfba3 depmod.patch"
-sha256sums="3e2d96ff618f947628f80212c9d8dd2c72c628f81f18cf0e4b6195bb3922ad61 flashcache-3.1.1.tar.gz
-05c0fefaaaea624c12b9ff3e66e0029b8dcc0c0d3246e10683bf217e10b3c450 depmod.patch"
-sha512sums="0a9189b26c0b6cea7935428f633e565cfe2ef7b094a66f36d98f7d6b93b2c7314d20b052a0ac245ce4b1a0c7b117fd2df0712faf00987d088882f11fafe287f1 flashcache-3.1.1.tar.gz
-55543347d76171352199294a29bcf19ba6b511f57e63c2a4254c4ebad8829912c65cdbef95bc7485d079dd66c56c1624b9570e7faf038cc5cb80e81079fcadc6 depmod.patch"
diff --git a/unmaintained/flashcache-grsec/depmod.patch b/unmaintained/flashcache-grsec/depmod.patch
deleted file mode 100644
index 15c0615057..0000000000
--- a/unmaintained/flashcache-grsec/depmod.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./src/Makefile.orig 2013-08-15 11:20:54.575932175 +0000
-+++ ./src/Makefile 2013-08-15 11:21:37.813472296 +0000
-@@ -24,6 +24,8 @@
- KERNEL_TREE := $(RHEL5_TREE)
- endif
-
-+DEPMOD ?= depmod
-+
- obj-m += flashcache.o
- flashcache-objs := flashcache_conf.o flashcache_main.o flashcache_subr.o flashcache_ioctl.o flashcache_procfs.o
-
-@@ -42,7 +44,7 @@
- modules_install: modules
- install -o root -g root -m 0755 -d $(DESTDIR)/lib/modules/$(KERNEL_SOURCE_VERSION)/extra/flashcache/
- install -o root -g root -m 0755 flashcache.ko $(DESTDIR)/lib/modules/$(KERNEL_SOURCE_VERSION)/extra/flashcache/
-- depmod -a $(KERNEL_SOURCE_VERSION)
-+ $(DEPMOD) -a $(KERNEL_SOURCE_VERSION)
-
- .PHONY: utils_install
- utils_install: utils