X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id DFC40DC0522 for ; Fri, 22 Jan 2016 02:21:48 +0000 (UTC) Received: from st11p00im-asmtp003.me.com (st11p00im-asmtp003.me.com [17.172.80.97]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id BB5A2DC00BF for ; Fri, 22 Jan 2016 02:21:48 +0000 (UTC) Received: from alpine.lan (c-73-22-200-3.hsd1.il.comcast.net [73.22.200.3]) by st11p00im-asmtp003.me.com (Oracle Communications Messaging Server 7.0.5.36.0 64bit (built Sep 8 2015)) with ESMTPSA id <0O1C00KPS17X2200@st11p00im-asmtp003.me.com> for alpine-aports@lists.alpinelinux.org; Fri, 22 Jan 2016 02:21:45 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-01-21_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 clxscore=1015 suspectscore=4 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1510270003 definitions=main-1601220037 From: Ben Allen To: alpine-aports@lists.alpinelinux.org Cc: Ben Allen Subject: [alpine-aports] [PATCH v2] testing/sch-cake: new aport Date: Fri, 22 Jan 2016 02:21:31 +0000 Message-id: <1453429291-23582-1-git-send-email-bensallen@me.com> X-Mailer: git-send-email 2.7.0 X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Out of tree build for the new Common Applications Kept Enhanced (cake) qdisc kernel model. sch_cake is still under development, without published releases. - http://www.bufferbloat.net/projects/codel/wiki/Cake?version=24 - https://github.com/dtaht/sch_cake --- Changes v1 -> v2: - Rebuilt against 4.1.15-r5 kernel - Updated to latest commit testing/sch-cake/APKBUILD | 64 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 testing/sch-cake/APKBUILD diff --git a/testing/sch-cake/APKBUILD b/testing/sch-cake/APKBUILD new file mode 100644 index 0000000..0492bc8 --- /dev/null +++ b/testing/sch-cake/APKBUILD @@ -0,0 +1,64 @@ +# Contributor: Ben Allen +# Maintainer: Ben Allen +_flavor=${FLAVOR:-grsec} +_kpkg=linux-$_flavor +_realname=sch-cake +_name=$_realname-$_flavor + +_kver=4.1.15 +_kpkgrel=5 + +_gitver=2add740a79bb50b04e0497400a501df7b1857f48 +_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)) + +pkgrel=0 +pkgdesc="Out of tree build for the new cake qdisc" +url="https://github.com/dtaht/sch_cake" +arch="all" +license="Dual BSD/GPL" +depends="linux-${_flavor}=${_kernelver}" +makedepends="linux-${_flavor}-dev=${_kernelver} linux-headers" +install= +install_if="linux-$_flavor=$_kernelver $_realname" +subpackages= +source="saveas-https://github.com/dtaht/sch_cake/archive/$_gitver.tar.gz/$_realname-$_gitver.tar.gz" +_builddir="$srcdir"/sch_cake-$_gitver + +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + install -v -m 0755 -d $pkgdir/lib/modules/$_abi_release/kernel/net/sched + install -v -m 0644 $_builddir/sch_cake.ko $pkgdir/lib/modules/$_abi_release/kernel/net/sched/ +} + +md5sums="d07172020bc9e93e10e3800a9dd9fac1 sch-cake-2add740a79bb50b04e0497400a501df7b1857f48.tar.gz" +sha256sums="7fb81a3662d7669ecc7ed64d5ca8e92806bba854ede17088b6081067e0df276d sch-cake-2add740a79bb50b04e0497400a501df7b1857f48.tar.gz" +sha512sums="8e83311326893ce441fe9a3d9aa92e4ed1937e90b022211af5a612f2ae64646aa14f941d0ba3e0613b0d08ae3edcbcb8e25f6c9419955cc6e1f738ba1eb4d6da sch-cake-2add740a79bb50b04e0497400a501df7b1857f48.tar.gz" -- 2.7.0 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---