Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 4C8452236C1 for ; Wed, 18 Jan 2023 20:44:09 +0000 (UTC) Received: by mail-ej1-x629.google.com with SMTP id kt14so322892ejc.3 for ; Wed, 18 Jan 2023 12:44:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=D9qRBtvzkt/2ytgTipowSttCdaXDw+H29iYfSIYqKwA=; b=ieOWLwn3w649XtwsWixfCpr55fE092carylcqteVvVP8obMiUybLdlEFwEmX6SEYRv UlHU7ZR9Jl18dKvU77mGoRRR8ISRKhWswoe1QaPrLm2m5WxKJ1emhSMSDK7RPJDQ7nWi NY35u04++Zdt/cdQpS79+1RLxtKB6l3pz56EWK+rgLrU9AYa38h+ee8rtk80iTIQgZ7G nnIk08n31DmySjYu1P6Kx1lxEuW/tID4XnSRNH6fn9rhpI4CAqG1izkLdXKU04AMtrUf zQ3HkjaKw7m+k/uyQUqWpy31MzRcIGixfzoTh4+YFKc2qvekfRJe08hOu+S7G2hNAntB 2jKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=D9qRBtvzkt/2ytgTipowSttCdaXDw+H29iYfSIYqKwA=; b=7Jok7GpbVjEN3hxPBLD1IiHoMuZiT1xiIB0wUMRSKczxGYd67/sUOkAmYf7HKvHKSR 1Na9hfAloabBNRmcp8XncDX4pMOpDUnPUUGyl6myfy975T2phW3se7eeYLGKaofnUC1o MnTsLd9NNXoOCkyvylK7bT6AHgdeoo1FvDXJy5cyga4/TCsvfGmrIlt6AEk46g7IWFV3 lSxYgO0NDh6yYWrO0028POv3pX4+XRC05pKM4rEzJvy/IhsN81q8kieOhXutnpRvyzbS SukEBWmJ6zTw9lxVYf/pxwerOPXmn1c4v2k2ITzZSSu+dQcolbK2LsHoQ3CRRAI61RDL Gsaw== X-Gm-Message-State: AFqh2kqoV4k9i8OPdQDBLIE+TwA1OPVi1Ofl6ZsLqVCwLqGfOWic+1Xy rYR5HhNzLgfiXeJfuoqiPOATj4S+MH0u+rO7m8ig/nIF5Xc= X-Google-Smtp-Source: AMrXdXuSIBfPZa1NzGtz6rD4Hl/2polSz47+luLS/Y4RmohflCE9PafUzqAr/OsJ8Eepa7Il2unC3pm5+sO3NR2mK0g= X-Received: by 2002:a17:907:7652:b0:7c1:275d:976c with SMTP id kj18-20020a170907765200b007c1275d976cmr1066932ejc.280.1674074647397; Wed, 18 Jan 2023 12:44:07 -0800 (PST) MIME-Version: 1.0 References: <20210125190921.151669-1-petr.vorel@gmail.com> In-Reply-To: <20210125190921.151669-1-petr.vorel@gmail.com> From: Petr Vorel Date: Wed, 18 Jan 2023 21:43:55 +0100 Message-ID: Subject: Re: [PATCH v2 1/1] testing/linux-test-project: new aport To: alpine-aports@lists.alpinelinux.org Cc: maxice8 , alice , Kevin Daudt Content-Type: text/plain; charset="UTF-8" Hi all, would it be possible to add LTP [1] to Alpine? I'm using it for testing kernel on various architectures I suppose others would use it as well (it's at least in Buildroot, Yocto). I wonder if Alpine just does not want this package or there is something wrong with the patch (I haven't got any reply to my patches). Thanks for info. Kind regards, Petr [1] https://github.com/linux-test-project/ltp On Mon, 25 Jan 2021 at 20:09, Petr Vorel wrote: > > Signed-off-by: Petr Vorel > --- > Changes v1->v2: > * update title to testing to reflect directory > > Kind regards, > Petr > > testing/linux-test-project/APKBUILD | 79 +++++++++++++++++++++++++++++ > 1 file changed, 79 insertions(+) > create mode 100644 testing/linux-test-project/APKBUILD > > diff --git a/testing/linux-test-project/APKBUILD b/testing/linux-test-project/APKBUILD > new file mode 100644 > index 0000000000..e8bd718b90 > --- /dev/null > +++ b/testing/linux-test-project/APKBUILD > @@ -0,0 +1,79 @@ > +# Contributor: Petr Vorel > +# Maintainer: Petr Vorel > +pkgname=ltp-full > +pkgver=20210121 > +pkgrel=0 > +pkgdesc="The Linux Test Project" > +url="http://linux-test-project.github.io" > +arch="all" > +license="GPL-2.0-or-later" > +depends=" > + acl > + attr > + bc > + binutils > + e2fsprogs > + iputils > + iproute2 > +" > +depends_dev=" > + acl-dev > + autoconf > + automake > + bison > + flex > + gcc > + keyutils-dev > + libaio-dev > + libacl > + libcap-dev > + libselinux-dev > + libsepol-dev > + libtirpc-dev > + linux-headers > + make > + musl-dev > + numactl-dev > + openssl-dev > + pkgconfig > +" > +makedepends="$depends_dev" > +options="!check" # no tests > +subpackages="$pkgname-dev $pkgname-doc" > +source="https://github.com/linux-test-project/ltp/releases/download/$pkgver/ltp-full-$pkgver.tar.xz" > +builddir="$srcdir/ltp-full-$pkgver" > + > +prepare() { > + default_prepare > + > + # https://github.com/linux-test-project/ltp/blob/master/travis/alpine.sh > + cd "$builddir" > + rm -rf \ > + testcases/kernel/sched/process_stress/process.c \ > + testcases/kernel/syscalls/confstr/confstr01.c \ > + testcases/kernel/syscalls/fmtmsg/fmtmsg01.c \ > + testcases/kernel/syscalls/getcontext/getcontext01.c \ > + testcases/kernel/syscalls/rt_tgsigqueueinfo/rt_tgsigqueueinfo01.c \ > + testcases/kernel/syscalls/timer_create/timer_create01.c \ > + testcases/kernel/syscalls/timer_create/timer_create03.c \ > + utils/benchmark/ebizzy-0.3 > + cd - > +} > + > +build() { > + LEXLIB=-lfl \ > + ./configure \ > + --with-realtime-testsuite \ > + --with-open-posix-testsuite \ > + --disable-metadata \ > + --build=$CBUILD \ > + --host=$CHOST \ > + --prefix=/usr > + make V=1 > +} > + > +package() { > + make DESTDIR="$pkgdir" install > +} > + > +sha512sums="382e4b851138805f58093bc8232df5d22f9cf64ffa110bbaa5c5637517c47663772b96c55eca172f447bee7d1a1fb29084660c5374c4042461c59ba8faab3101 ltp-full-20210121.tar.xz" > -- > 2.28.0 >