~alpine/aports

2

[alpine-aports]

Details
Message ID
<1451404835-11311-1-git-send-email-developer@it-offshore.co.uk>
Sender timestamp
1451404832
DKIM signature
missing
Download raw message
zram / zram-init 3.5 support using lz4 compression. 

linux-grsec built & tested.



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] [PATCH 1/3] main/linux-grsec: enable CONFIG_ZRAM_LZ4_COMPRESS

Details
Message ID
<1451404835-11311-2-git-send-email-developer@it-offshore.co.uk>
In-Reply-To
<1451404835-11311-1-git-send-email-developer@it-offshore.co.uk> (view parent)
Sender timestamp
1451404833
DKIM signature
missing
Download raw message
Patch: +9 -9
---
 main/linux-grsec/APKBUILD            | 14 +++++++-------
 main/linux-grsec/config-grsec.x86    |  2 +-
 main/linux-grsec/config-grsec.x86_64 |  2 +-
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/main/linux-grsec/APKBUILD b/main/linux-grsec/APKBUILD
index 7ccfe6e..4884f8d 100644
--- a/main/linux-grsec/APKBUILD
+++ b/main/linux-grsec/APKBUILD
@@ -7,7 +7,7 @@ case $pkgver in
*.*.*)	_kernver=${pkgver%.*};;
*.*)	_kernver=${pkgver};;
esac
pkgrel=0
pkgrel=1
pkgdesc="Linux kernel with grsecurity"
url=http://grsecurity.net
depends="mkinitfs"
@@ -208,8 +208,8 @@ d23ac8110941baf0f37f9e3a011e3720  pax-linux-4.1.15-test24-alpine.patch
ba5670790e9ee117227024cb4b187756  grsec-4.1.15-3.1-201509112213-alpine.patch
b0337a2a9abed17c37eae5db332522d2  fix-spi-nor-namespace-clash.patch
1a307fc1d63231bf01d22493a4f14378  imx6q-no-unclocked-sleep.patch
f8eec4df8fcd64f5f4810a2840e8cee7  config-grsec.x86
dcccfa220ed2b2041971492d1dfa9440  config-grsec.x86_64
8592323596689e3ef967ff96d1190d1b  config-grsec.x86
27e0c6c4afe6bcee1d381541780d6bc1  config-grsec.x86_64
cf395fd923139074f3f1095c29a63e2b  config-grsec.armhf
28754e558f94f3b3e0b0fcc27c1c955f  config-virtgrsec.x86
e1ee16152cd6b92aef67466e1710cf87  config-virtgrsec.x86_64"
@@ -219,8 +219,8 @@ sha256sums="caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f  li
a92b81dbd4fa4fbee28cebad93b0bd623820c809e98e8841151842341b9626eb  grsec-4.1.15-3.1-201509112213-alpine.patch
01279cfb93273d99670c56e2465957ecde3d03693beeb929a743f03afa0b7bdc  fix-spi-nor-namespace-clash.patch
21179fbb22a5b74af0a609350ae1a170e232908572b201d02e791d2ce0a685d3  imx6q-no-unclocked-sleep.patch
b179db21c31861da5da8a49307994e11e6a6b83d88fb3dffcf20b369ab32f8e6  config-grsec.x86
f2c3a2b565346baa29bdf48bab6da6fcfa1723b505237ef33a0655bf80ef2e18  config-grsec.x86_64
fbc303521afbecbe2dccbe9955d108af53aaaa3388f2ca0962fc93f26a535a56  config-grsec.x86
43cdcbe95e447a0ad50431665ae577dbb27eaeb77be73f3af884752450c5a64c  config-grsec.x86_64
b996d6fc9eb8bd453826fb9c0ae573ef42a6fff3193adf33c2bf14480924ca16  config-grsec.armhf
fcfeedde29606b94f79f79ceb9351bd5d018aca6a76bba04459d85e4ad94939f  config-virtgrsec.x86
a3f09fc1092ecf4456980a6e2e723a9ea95746e0da5bf4a7363046614dc6ffd8  config-virtgrsec.x86_64"
@@ -230,8 +230,8 @@ e5bb53ac77a4b285fa4dd52cf50856669cb932669c2c8b1b9cd14d2384375d1ce9e997a760848c2c
c737219a382206894889ddf8e807836a6fd08bb983b5e2327fae9f8427a0fa591c17f896b6e3f8dab4e356ae2d5f2aaa1cb642dea162eddc0c53c3a494928d52  grsec-4.1.15-3.1-201509112213-alpine.patch
4e3aeb70712f9838afea75fe9e6c1389414d833a89286ea55441d6a8d54ce74b0e39b565721e3153443af0a614bff57c767251b7e5b81faa5e0784eddfcd2164  fix-spi-nor-namespace-clash.patch
87d1ad59732f265a5b0db54490dc1762c14ea4b868e7eb1aedc3ce57b48046de7bbc08cf5cfcf6f1380fa84063b0edb16ba3d5e3c5670be9bbb229275c88b221  imx6q-no-unclocked-sleep.patch
b31862d0998cbe72882f2db3ab9452051bb5202a3921f5f4aebb24727a187227792af88c6b6ceef8ff28ab34123d1321bb8d06656f37c844afcf566571ba8865  config-grsec.x86
87c4c3be53f03ee6e7c4fa1853b43c506ee5d35d4c156b5030424b7712e469521898a56c0b6a4562e31ea2bca855dae7429ea9048f9d2fa8b29db2d14211d230  config-grsec.x86_64
819ff2d16b5c15399de9b3c254d4ed6b7ef580a5b7cdacb209d90d35d178e93e34a5d6159b0edfab4afec9decf404901a7504f7b106c62c3dba0cdb4f0951a61  config-grsec.x86
801481e2626dc7cf159c64a005eefbe38ee86633ae686316360bd108a72d1a9151595639f9bf36fe74f602fbe9c88155db1c0f7e9b7841c046cb7807e061631c  config-grsec.x86_64
aecd465ceb265355ef71c213ee589cc18c7695589e3410fb8762669d5f728a7e071e1b05e3864a8c621dec870a472a0e1075b2b335fafabfe62891c7d746161d  config-grsec.armhf
caec0c97bfd25c9cc6921addc8b39941284a38746d5b9c5f19c0f1fe679d9f4c6ee7881a2eb95a16dcfbb082486435f467d27d539405ee6094b70d13b3bf2276  config-virtgrsec.x86
36f4cb73009cb5cf9f8e52ceae3537e8d84f4eaa1a7aa3850c893472cc661ce76b65b88403a3d7fa0bf31b179ac030bf0b8a1188214c771ebbc1c92c95d398a2  config-virtgrsec.x86_64"
diff --git a/main/linux-grsec/config-grsec.x86 b/main/linux-grsec/config-grsec.x86
index 93d2afb..d06609a 100644
--- a/main/linux-grsec/config-grsec.x86
+++ b/main/linux-grsec/config-grsec.x86
@@ -1702,7 +1702,7 @@ CONFIG_BLK_DEV_FD=m
# CONFIG_PARIDE is not set
CONFIG_BLK_DEV_PCIESSD_MTIP32XX=m
CONFIG_ZRAM=m
# CONFIG_ZRAM_LZ4_COMPRESS is not set
CONFIG_ZRAM_LZ4_COMPRESS=y
# CONFIG_ZRAM_DEBUG is not set
CONFIG_BLK_CPQ_CISS_DA=m
CONFIG_CISS_SCSI_TAPE=y
diff --git a/main/linux-grsec/config-grsec.x86_64 b/main/linux-grsec/config-grsec.x86_64
index 143dd81..6406100 100644
--- a/main/linux-grsec/config-grsec.x86_64
+++ b/main/linux-grsec/config-grsec.x86_64
@@ -1692,7 +1692,7 @@ CONFIG_BLK_DEV_FD=m
# CONFIG_PARIDE is not set
CONFIG_BLK_DEV_PCIESSD_MTIP32XX=m
CONFIG_ZRAM=m
# CONFIG_ZRAM_LZ4_COMPRESS is not set
CONFIG_ZRAM_LZ4_COMPRESS=y
# CONFIG_ZRAM_DEBUG is not set
CONFIG_BLK_CPQ_CISS_DA=m
CONFIG_CISS_SCSI_TAPE=y
-- 
2.6.4



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---

[alpine-aports] [PATCH 3/3] testing/zram-init: update to 3.5

Details
Message ID
<1451404835-11311-4-git-send-email-developer@it-offshore.co.uk>
In-Reply-To
<1451404835-11311-1-git-send-email-developer@it-offshore.co.uk> (view parent)
Sender timestamp
1451404835
DKIM signature
missing
Download raw message
Patch: +20 -8
adds zsh-completions
version 3.5 supports using lz4 commpression (which is faster than lzo)

https://github.com/vaeth/zram-init/blob/master/README
---
 testing/zram-init/APKBUILD | 28 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)

diff --git a/testing/zram-init/APKBUILD b/testing/zram-init/APKBUILD
index 2c448d0..50ca8d4 100644
--- a/testing/zram-init/APKBUILD
+++ b/testing/zram-init/APKBUILD
@@ -1,14 +1,16 @@
# Maintainer:
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>

pkgname=zram-init
pkgver=2.7
pkgver=3.5
pkgrel=0
pkgdesc='rapper script for the zram kernel module'
pkgdesc='wrapper script for the zram kernel module'
arch=noarch
url='http://github.com/vaeth/zram-init'
url='https://github.com/vaeth/zram-init'
license='GPL2'
source="$url/archive/2.7.tar.gz"
depends="e2fsprogs-extra"
subpackages="$pkgname-zsh-completion:zshcomp"
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"

@@ -24,6 +26,16 @@ package() {
  install -Dm755 openrc/init.d/zram-init "$pkgdir"/etc/init.d/zram-init
}

md5sums="6e12160b0597181c88150961fd37c53b  2.7.tar.gz"
sha256sums="205765243bd36bf62c471363c4fddf8173275d37f5f919716b5b71afea0fe94d  2.7.tar.gz"
sha512sums="db8dc5580b8405752d58996e5927573b687795b598c94948ccc51d038f7c7dfc47b64651d9554c1807d8f6453498c3f1efe6f2d34b82eb6b1df2d8f7e84980a5  2.7.tar.gz"
zshcomp() {
        depends=""
        pkgdesc="Zsh completions for $pkgname"
        install_if="$pkgname=$pkgver-r$pkgrel zsh"
        arch="noarch"

        install -Dm644 "$_builddir"/zsh/_$pkgname \
                "$subpkgdir"/usr/share/zsh/site-functions/_$pkgname
}

md5sums="228dd3901e4b8def156bcb01d1ba90de  zram-init-3.5.tar.gz"
sha256sums="84b50e93fe0421ffa20581aa43de117968a4c5455b0023b3ff8a4cc27b97a8d0  zram-init-3.5.tar.gz"
sha512sums="6628efd0df9a65284a23a3261d7d4f62d8ec7eb64e52d21bd7514bfb92814cf21a93661b7aca52e0653f5f750586c5e66d734ff98d1f9579aa18f0ef228d177b  zram-init-3.5.tar.gz"
-- 
2.6.4



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)