aboutsummaryrefslogtreecommitdiffstats
path: root/main/mkinitfs/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-26 14:41:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-26 14:42:29 +0000
commit94032669d284f150939429526300518b06ced8fe (patch)
tree94580ff2e064061264f798d50ef4e57e35bff77e /main/mkinitfs/APKBUILD
parent8ded1f134b51cdc2229dff4ed5edc5aea041d834 (diff)
downloadaports-94032669d284f150939429526300518b06ced8fe.tar.bz2
aports-94032669d284f150939429526300518b06ced8fe.tar.xz
main/mkinitfs: security fix. make sure initramfs is not world writeable
ref #788
Diffstat (limited to 'main/mkinitfs/APKBUILD')
-rw-r--r--main/mkinitfs/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD
index 2067ae1428..31f3270697 100644
--- a/main/mkinitfs/APKBUILD
+++ b/main/mkinitfs/APKBUILD
@@ -1,12 +1,13 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
pkgver=2.4.0
-pkgrel=0
+pkgrel=1
pkgdesc="Tool to generate initramfs images for Alpine"
url=http://git.alpinelinux.org/cgit/mkinitfs
depends="busybox apk-tools>=2.0"
triggers="$pkgname.trigger=/usr/share/kernel/*"
source="http://git.alpinelinux.org/cgit/$pkgname.git/snapshot/$pkgname-$pkgver.tar.bz2
+ 0001-mkinitfs-ensure-that-initramfs-image-is-not-world-wr.patch
eglibc.patch
"
arch="noarch"
@@ -43,4 +44,5 @@ package() {
make install DESTDIR="$pkgdir" || return 1
}
md5sums="3b7ca4f70bdded5fca0c0c70ddac56f6 mkinitfs-2.4.0.tar.bz2
+3885d1eb3f76bc87120159f007db3cea 0001-mkinitfs-ensure-that-initramfs-image-is-not-world-wr.patch
e59c2f7de496fe430b07e32fd812ebe0 eglibc.patch"