re-import sources as agreed with the maintainer

This commit is contained in:
Adam Samalik 2023-07-11 11:27:38 +02:00
parent bcb5b1f8ea
commit 8a49576477
3 changed files with 44 additions and 1 deletions

7
.gitignore vendored
View File

@ -1,2 +1,7 @@
SOURCES/libsepol-2.9.tar.gz
/libsepol-2.7.tar.gz
/libsepol-2.8-rc1.tar.gz
/libsepol-2.8-rc3.tar.gz
/libsepol-2.8.tar.gz
/libsepol-2.9-rc1.tar.gz
/libsepol-2.9-rc2.tar.gz
/libsepol-2.9.tar.gz

18
STAGE1-libsepol Normal file
View File

@ -0,0 +1,18 @@
srpm libsepol
mcd $BUILDDIR/t-libsepol
rsync -av $SRC/libsepol*/ ./
make $J \
CC=${TARGET}-gcc \
AS=${TARGET}-as \
AR=${TARGET}-ar \
STRIP=${TARGET}-strip \
RANLIB=${TARGET}-ranlib \
CFLAGS="" \
TLSFLAGS="" \
all
ARGS="DESTDIR=${ROOTFS}"
if [ "$SUFFIX" = "64" ]
then
ARGS="$ARGS LIBDIR=${ROOTFS}/usr/lib64 SHLIBDIR=${ROOTFS}/usr/lib64"
fi
make $J $ARGS install

20
tests/tests.yml Normal file
View File

@ -0,0 +1,20 @@
---
# Tests that run in all contexts
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- classic
- container
repositories:
- repo: "https://src.fedoraproject.org/tests/selinux.git"
dest: "selinux"
tests:
- selinux/libsepol/sepol_check_context
required_packages:
- gcc
- libsepol-devel
- policycoreutils
- selinux-policy-devel
- findutils # beakerlib needs find command